- self.thing.game.hats[self.thing.name] = self.thing.carrying.design
- self.thing.game.things.remove(self.thing.carrying)
+ if self.thing.carrying.type_ == 'Bottle':
+ self.thing.send_msg('CHAT "Your attempt to wear a bottle on '
+ 'your head fails."')
+ self.thing.carrying.sound('BOTTLE', 'SMASH')
+ elif self.thing.carrying.type_ == 'Hat':
+ self.thing.game.hats[self.thing.name] =\
+ self.thing.carrying.design
+ self.thing.send_msg('CHAT "You put on a hat."')
+ self.thing.game.remove_thing(self.thing.carrying)