Пример #1
0
    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)
Пример #2
0
 def act_near(self, info):
     TZObj.act_near(self, info)