terrain_type = self.thing.game.terrains[terrain]
if 'sittable' in terrain_type.tags:
self.thing.standing = False
- self.thing.send_msg('CHAT "You sink into the %s.'
+ self.thing.send_msg('CHAT "You sink into the %s. '
'Staying here will reduce your weariness."'
% terrain_type.description)
self.thing.invalidate('fov')
if random.random() > 0.9999:
if self.standing:
self.weariness += 1
+ if self.weariness % 5 == 0:
+ self.send_msg('CHAT "All that walking or standing makes '
+ 'you weary, and thereby slower. Find a place '
+ 'to sit or lie down to regain energy."')
elif self.weariness > 0:
self.weariness -= 1
self.game.changed = True