X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=new%2Fexample_client.py;h=bd8bcfd1a8a9667f762e74b22414cb13e860663a;hb=8550ed04290fd6690ac73b3fd15412ce19e32b4d;hp=88939ba4d9fe026584fbaff0206dcec14e5f4a9d;hpb=1fbd3687acb5edcdf043abfed92ec022d342f807;p=plomrogue2-experiments diff --git a/new/example_client.py b/new/example_client.py index 88939ba..bd8bcfd 100755 --- a/new/example_client.py +++ b/new/example_client.py @@ -79,6 +79,7 @@ cmd_TURN_FINISHED.argtypes = 'int:nonneg' def cmd_TURN(game, n): """Set game.turn to n, empty game.things.""" + game.log_text = '' game.turn = n game.things = [] game.pickable_items[:] = [] @@ -554,7 +555,8 @@ class TUI: def move_examiner(direction): start_pos = self.examiner_position new_examine_pos = self.game.map_geometry.move(start_pos, direction, - self.game.map_.size) + self.game.map_.size, + self.game.map_.start_indented) if new_examine_pos[0] == (0,0): self.examiner_position = new_examine_pos self.to_update['map'] = True