Changeset 144
Legend:
- Unmodified
- Added
- Removed
-
adventure/cave.xml
r131 r144 36 36 37 37 <commands> 38 <command name="look at %self%"><narration > A drunk man with a bottle </narration></command>38 <command name="look at %self%"><narration target="actor"> A drunk man with a bottle </narration></command> 39 39 <command name="talk to %self%" signal="Bottle_taken"><say> ...! </say></command> 40 40 <command name="hit %self%"><narration> He didn't move... Don't drink as much as him...</narration></command> … … 71 71 <thing name="fire"> 72 72 <commands> 73 <command name="look at %self%"><narration >A wood fire...</narration></command>73 <command name="look at %self%"><narration target="actor">A wood fire...</narration></command> 74 74 </commands> 75 75 </thing> … … 83 83 84 84 <commands> 85 <command name="look at %self%"><narration >An ugly rat</narration></command>85 <command name="look at %self%"><narration target="actor">An ugly rat</narration></command> 86 86 <command name="use %s on %self%" objects="bottle"> 87 87 <use target="actor">bottle</use> -
adventure/thing.py
r143 r144 113 113 # <narration>text</narration> 114 114 elif action['name'] == 'narration': 115 self.place.broadcast_message(None, params) 115 if target: 116 target.send_message(None, params) 117 else: 118 self.place.broadcast_message(None, params) 116 119 117 120 # <follow [target="actor|self|name"] /> -
adventure/tower/tower.xml
r143 r144 20 20 21 21 <commands> 22 <command name="look at %self%"><narration > A little cat </narration></command>22 <command name="look at %self%"><narration target="actor"> A little cat </narration></command> 23 23 <command name="talk to %self%"><say> Meow? </say></command> 24 24 <command name="hit %self%"> … … 59 59 60 60 <commands> 61 <command name="look at %self%"><narration >A frog...</narration></command>61 <command name="look at %self%"><narration target="actor">A frog...</narration></command> 62 62 <command name="talk to %self%"><say>Koa!</say><narration>Frog are speechless, boy...</narration></command> 63 63 <command signal="Fear"> … … 81 81 82 82 <commands> 83 <command name="look at %self%" ><say>Why are you looking at me?</say></command>83 <command name="look at %self%" target="actor"><say>Why are you looking at me?</say></command> 84 84 <command name="talk to %self%"><signal target="Cat">Is_kitty_here</signal></command> 85 85 <command signal="Is_kitty_here:Failed"><say>No, I won't open the door.</say></command> … … 165 165 <commands> 166 166 <command name="look at %self%"> 167 <narration >You're used to see ugly spiders. This one isn't.</narration>167 <narration target="actor">You're used to see ugly spiders. This one isn't.</narration> 168 168 </command> 169 169 <command name="hit %self%">
