+ self.thing.game.record_change(self.thing.position, 'other')
+ terrain = \
+ self.thing.game.maps[self.thing.position[0]][self.thing.position[1]]
+ if terrain in self.thing.game.terrains:
+ 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."'
+ % terrain_type.description)
+ self.thing.invalidate('fov')
+ if self.thing.blocks_light:
+ self.thing.game.record_change(self.thing.position, 'fov')