home · contact · privacy
Add weariness mechanic.
[plomrogue2] / plomrogue / game.py
index 1658808eda6d1ae108045961e83a75a2bf25b996..5e6c14433a2a8ea045e4cb090d04ad1fc2be9297 100755 (executable)
@@ -277,7 +277,8 @@ class Game(GameBase):
             player = self.get_player(c_id)
             self.io.send('PLAYERS_HAT_CHARS ' + quote(player.get_cookie_chars()),
                          c_id)
-            self.io.send('BLADDER_PRESSURE %s' % player.need_for_toilet, c_id)
+            self.io.send('STATS %s %s' % (player.need_for_toilet,
+                                          player.weariness), c_id)
             if player.id_ in player_ids_send_fov:
                 self.io.send('FOV %s' % quote(player.fov_stencil.terrain), c_id)
                 self.io.send('MAP %s %s %s' % (self.get_map_geometry_shape(),