def act_near(self, info): '''Something has happened in this room. Handle it if necessary, and pass the action on to any contained items. ''' TZObj.act_near(self, info) for player in self.players(): player.act_near(info) for mob in self.mobs(): mob.act_near(info) for item in self.items(): item.act_near(info) for x in self.exits(): x.act_near(info)
def act_near(self, info): TZObj.act_near(self, info)