 |
Troublemag Wanderer
Joined: 14 Jul 2004 Posts: 83
|
Posted: Sat Mar 08, 2008 9:12 am
Doors are driving me insane! (automapper in [2.18]) |
The mud I play on shows in the exit prompt whether an exit door is open or closed, which does come in handy... except for the fact that the closed doors show up as a (D) and I can't get the automapper to not mark those as down exits.
I've attempted to write triggers that specify that (D)north means that there's a door to the north by using the #door command as below:
and while this does force CMUD to record the fact that there is a door to the north, it also records a down exit.
I've gone into the Configuration settings and unchecked the Single Character Exits option under the Exits tab as well as unchecking the Auto Door creation option in Strings and Doors, running a Reconfigure after each attempt. I still get down exits whenever it runs across a closed door.
An example of the mud output is below:
Code: |
Along the South Wall
Archways lead away from the tower to the east and west. The cobblestones
are cracked and worn from years of passage. Great stone steps disappear up
into the heights of the tower. To the east is the South Gate. A door to
the north leads to the South Barracks. Small groups of soldiers, heading on
or off duty, hurry to and from the barracks.
[Exits: (D)north east west up]
|
The number of exits mentioned in the description is atypical of the game as a whole, so I haven't even considered using the exits in room desc option and don't think that would even be a viable choice.
Is there any #nodoor option to go along with the #door option? Does anyone have an idea how to go about fixing my configuration so my insanity factor doesn't go up any higher? |
|
_________________ CMUDPro 3.22 |
|
|
 |
Vijilante SubAdmin

Joined: 18 Nov 2001 Posts: 5187
|
Posted: Sat Mar 08, 2008 12:33 pm |
This should fix it. I also wouldn't suggest using the triggers you currently have for door creation, as they may place doors in the wrong room.
Code: |
#TRIGGER {^~[Exits: (*)~]$} {
$Exits=%replace(%1,"(D)","")
#TAG exit $Exits
} |
|
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
 |
Troublemag Wanderer
Joined: 14 Jul 2004 Posts: 83
|
Posted: Sun Mar 09, 2008 2:56 am |
That seems to have done the trick! Thank you!
|
|
_________________ CMUDPro 3.22 |
|
|
 |
|
|