|
Rabbit Newbie
Joined: 20 Aug 2004 Posts: 4
|
Posted: Fri Aug 20, 2004 9:17 pm
Mapping Problem - Weather in Room Name & / water \ exits |
Hello,
I am having a bit of fun mapping out my Mud.
However I have two problems atm.
Firstly, in the room names go as follows:
A Dark Forest [Sunny]
The problem here is when the weather changes, & its goes to raining, the mapper will recognise it as a new room (and create a new room) instead of an existing one.
How to I work around this? I vaguely remember that this can be done via #gag or something so the words inside the brackets dont get caught inside the room title?
Secondly, if I am in a room that has water exits, they are represented as /east\ , /west\ etc. This does not get picked up. ANy suggestions on how I work around this one also?
Cheers! |
|
|
|
geniusclown Magician
Joined: 23 Apr 2003 Posts: 358 Location: USA
|
Posted: Sat Aug 21, 2004 2:01 pm |
First solution (untested): try using #SUB to remove it, and store it into the variable "Weather", which you can use for a caption on a button or something so you still get the information. Note that this may cause problems in other instances where the server uses []:
Quote: |
#TR {( ~[*~])} {#SUB "";Weather=%1} |
Second solution (also untested): go to your "System|Directions" and/or "System|DirectionsDiag" classes. To the appropriate directions, add "|/east\", etc. The pipe will turn it into a list (which it may already be). If water slows you down like it does in my MUD (Dragonrealms), then you can add a seperate trigger to handle the swimming when using speedwalking (slow mode only):
Quote: |
#TR {^You swim} {#PAUSE}
#COND {@roomname} {#OK} {exp}
#COND {@arrived} {#STEP} {exp} |
Where @roomname is a variable set whenever you arrive in a new room, and @arrived in a string that lets you know you can move again. |
|
_________________ .geniusclown |
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|