+ player = self.game.get_thing(self.game.player_id)
+ if mode_name == 'command_thing' and\
+ (not hasattr(player, 'carrying') or not player.carrying.commandable):
+ self.log_msg('? not carrying anything commandable')
+ self.flash = True
+ self.switch_mode('play')
+ return
+ if mode_name == 'drop_thing' and\
+ not (hasattr(player, 'carrying' or player.carrying)):
+ self.log_msg('? not carrying anything droppable')
+ self.flash = True
+ self.switch_mode('play')
+ return