X-Git-Url: https://plomlompom.com/repos/processes?a=blobdiff_plain;f=plomrogue%2Fgame.py;h=31c9f2f61b83f3ceaf50cac640c81417c2e0dcc1;hb=571e36aae0c760cc008ef04c5ab2f7308eefa8f6;hp=143248f4e7afaf0546beca3431fe1df485ca2887;hpb=ba09978e0179406218f052ed29690f1f7c508920;p=plomrogue2 diff --git a/plomrogue/game.py b/plomrogue/game.py index 143248f..31c9f2f 100755 --- 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 + 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 + ' '] @@ -211,6 +213,8 @@ class Game(GameBase): return None def remove_thing(self, t): + if t.carrying: + t.uncarry() self.things.remove(t) self.record_fov_change(t.position)