Changeset 107
- Timestamp:
- 10/14/07 14:35:46 (2 years ago)
- Files:
-
- 1 modified
-
adventure/world.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
adventure/world.py
r106 r107 176 176 if text == '?': 177 177 player.send_message(None, '(Command) who') 178 for go in place(player.place).each_element('go'): 179 player.send_message(None, '(Command) go %s' % #{go.attributes['spec']}) 178 place = self.place(player.place) 179 if place: 180 for exit_name in place.exits.keys(): 181 player.send_message(None, '(Command) go %s' % exit_name) 180 182 for thing in foreach_thing_by_place(player.place): 181 183 for c in thing.actions:
