| 1 |
<?xml version='1.0' encoding='utf-8'?> |
|---|
| 2 |
<world node='cave' name='A mysterious dark cave' start='cave (1)'> |
|---|
| 3 |
|
|---|
| 4 |
<place name='cave (1)'> |
|---|
| 5 |
<description>You are in the dark, but you can hear a little sound from the East, and the wind from the West.</description> |
|---|
| 6 |
<go spec="east" place="cave (2)" /> |
|---|
| 7 |
<go spec="west" place="cave (3)" /> |
|---|
| 8 |
|
|---|
| 9 |
<npc name="Wizard"> |
|---|
| 10 |
<on-enter> |
|---|
| 11 |
<narration>%self% looks at %actor%...</narration> |
|---|
| 12 |
<say>Hello %actor%! I'm the greatest Wizard in the World! |
|---|
| 13 |
Welcome to this strange place! |
|---|
| 14 |
If you need help, talk to me!</say> |
|---|
| 15 |
</on-enter> |
|---|
| 16 |
|
|---|
| 17 |
<presence> |
|---|
| 18 |
<show>available</show> |
|---|
| 19 |
<status>A strange man</status> |
|---|
| 20 |
</presence> |
|---|
| 21 |
|
|---|
| 22 |
<commands> |
|---|
| 23 |
<command name="talk to %self%" aliases="I need help"><say>So, you want some help? Type "?"! |
|---|
| 24 |
It will list all the available commands!</say></command> |
|---|
| 25 |
</commands> |
|---|
| 26 |
</npc> |
|---|
| 27 |
</place> |
|---|
| 28 |
|
|---|
| 29 |
<place name="cave (2)"> |
|---|
| 30 |
<description>There is a strange man, lying on the floor, with a happy face.</description> |
|---|
| 31 |
<go spec="west" place="cave (1)" /> |
|---|
| 32 |
|
|---|
| 33 |
<npc name="Drunk man" aliases='the man,man'> |
|---|
| 34 |
<on-enter> |
|---|
| 35 |
<say>...!</say> |
|---|
| 36 |
</on-enter> |
|---|
| 37 |
|
|---|
| 38 |
<commands> |
|---|
| 39 |
<command name="look at %self%"><narration target="actor"> A drunk man with a bottle </narration></command> |
|---|
| 40 |
<command name="talk to %self%" signal="Bottle_taken"><say> ...! </say></command> |
|---|
| 41 |
<command name="hit %self%"><narration> He didn't move... Don't drink as much as him...</narration></command> |
|---|
| 42 |
</commands> |
|---|
| 43 |
|
|---|
| 44 |
<presence> |
|---|
| 45 |
<show>dnd</show> |
|---|
| 46 |
<status>A man lying on the floor</status> |
|---|
| 47 |
</presence> |
|---|
| 48 |
</npc> |
|---|
| 49 |
|
|---|
| 50 |
<thing name="bottle" aliases='the bottle'> |
|---|
| 51 |
<commands> |
|---|
| 52 |
<command name="pick up %self%"> |
|---|
| 53 |
<narration> %actor% take the bottle </narration> |
|---|
| 54 |
<signal>Bottle_taken</signal> |
|---|
| 55 |
<give>bottle</give> |
|---|
| 56 |
</command> |
|---|
| 57 |
</commands> |
|---|
| 58 |
</thing> |
|---|
| 59 |
</place> |
|---|
| 60 |
|
|---|
| 61 |
<place name="cave (3)"> |
|---|
| 62 |
<description>You can see a light ray from the North.</description> |
|---|
| 63 |
<go spec="east" place="cave (1)" /> |
|---|
| 64 |
<go spec="north" place="cave (4)" /> |
|---|
| 65 |
</place> |
|---|
| 66 |
|
|---|
| 67 |
<place name="cave (4)"> |
|---|
| 68 |
<description>There is a fire, and a stupid rat... |
|---|
| 69 |
No exit, make what you want, but please don't hurt any animal.</description> |
|---|
| 70 |
<go spec="south" place="cave (3)" /> |
|---|
| 71 |
|
|---|
| 72 |
<thing name="fire"> |
|---|
| 73 |
<commands> |
|---|
| 74 |
<command name="look at %self%"><narration target="actor">A wood fire...</narration></command> |
|---|
| 75 |
</commands> |
|---|
| 76 |
</thing> |
|---|
| 77 |
|
|---|
| 78 |
<npc name="Rat" aliases="stupid rat,ugly rat" respawn="60"> |
|---|
| 79 |
|
|---|
| 80 |
<presence> |
|---|
| 81 |
<show>chat</show> |
|---|
| 82 |
<status>Happy Rat</status> |
|---|
| 83 |
</presence> |
|---|
| 84 |
|
|---|
| 85 |
<commands> |
|---|
| 86 |
<command name="look at %self%"><narration target="actor">An ugly rat</narration></command> |
|---|
| 87 |
<command name="use %s on %self%" objects="bottle"> |
|---|
| 88 |
<use target="actor">bottle</use> |
|---|
| 89 |
<narration>%actor% use alcool bottle on %self%</narration> |
|---|
| 90 |
<say>Gniii!</say> |
|---|
| 91 |
<narration>%self% run away, and go through the fire. |
|---|
| 92 |
The rat was ugly, its uglier now, don't watch.</narration> |
|---|
| 93 |
<destroy /> |
|---|
| 94 |
</command> |
|---|
| 95 |
</commands> |
|---|
| 96 |
</npc> |
|---|
| 97 |
</place> |
|---|
| 98 |
|
|---|
| 99 |
</world> |
|---|