home
·
contact
·
privacy
projects
/
plomrogue2
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
On thing removal, uncarry carried things.
[plomrogue2]
/
plomrogue
/
game.py
diff --git
a/plomrogue/game.py
b/plomrogue/game.py
index 143248f4e7afaf0546beca3431fe1df485ca2887..31c9f2f61b83f3ceaf50cac640c81417c2e0dcc1 100755
(executable)
--- a/
plomrogue/game.py
+++ b/
plomrogue/game.py
@@
-184,6
+184,8
@@
class Game(GameBase):
def get_string_options(self, string_option_type):
if string_option_type == 'direction':
return self.map_geometry.directions
def get_string_options(self, string_option_type):
if string_option_type == 'direction':
return self.map_geometry.directions
+ elif string_option_type == 'direction+here':
+ return ['HERE'] + self.map_geometry.directions
elif string_option_type == 'char':
return [c for c in
string.digits + string.ascii_letters + string.punctuation + ' ']
elif string_option_type == 'char':
return [c for c in
string.digits + string.ascii_letters + string.punctuation + ' ']
@@
-211,6
+213,8
@@
class Game(GameBase):
return None
def remove_thing(self, t):
return None
def remove_thing(self, t):
+ if t.carrying:
+ t.uncarry()
self.things.remove(t)
self.record_fov_change(t.position)
self.things.remove(t)
self.record_fov_change(t.position)