Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Troublemag
Wanderer


Joined: 14 Jul 2004
Posts: 83

PostPosted: 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:
Code:
#door north
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
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5187

PostPosted: 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
Reply with quote
Troublemag
Wanderer


Joined: 14 Jul 2004
Posts: 83

PostPosted: Sun Mar 09, 2008 2:56 am   
 
That seems to have done the trick! Thank you!
_________________
CMUDPro 3.22
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
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

© 2009 Zugg Software. Hosted by Wolfpaw.net