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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
Josiah.Bruns
Apprentice


Joined: 04 Mar 2007
Posts: 103

PostPosted: Wed Oct 28, 2009 2:21 pm   

cool feature idea
 
well its cool in my opinion.

would it be feasible to have a property on the path command that allowed for a custom return path for those area's that are not the same in both directions.

it would be really cool because then i could just have one path for each location and i wouldn't need a second path to get back from a location.

if this isn't the right place to post this please tell me where i should post it.

Thanks

Josiah K. Bruns
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Wed Oct 28, 2009 5:51 pm   
 
I'll have to think about that.

For most common situations, you just define your own custom directions, such as "in" and "out". If a custom direction exists, then CMUD can use that to determine the reverse path.

When you use the mapper, you can also change the exit command in each direction of an exit link, so speedwalking with the mapper can already do this very easily.

Adding something which can handle other cases not covered by the above would only effect a very small subset of users, and as you said, you can always create a different path name.
Reply with quote
Josiah.Bruns
Apprentice


Joined: 04 Mar 2007
Posts: 103

PostPosted: Wed Oct 28, 2009 7:22 pm   there is a bunch of area's in my mud
 
like on the way to the viking village you go down in one spot and the reverse there is climb 2 times.

stuff like that

or there is an area when you go east once you get to a room but to get back you have to go west 3 times because you slip down a few times.
Reply with quote
GeneralStonewall
Magician


Joined: 02 Feb 2004
Posts: 364
Location: USA

PostPosted: Wed Oct 28, 2009 11:18 pm   
 
I don't use the mapper, so I'm not sure if you can do this. But you're talking about something like this?

Code:
   __________
  /          \
 v            |
[x] -> [x] -> -[x]
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Thu Oct 29, 2009 6:10 pm   
 
Well, if the "slipping" just means you don't actually move anywhere, that is easily handled. Create a trigger for the message you get when you slip, and give it the value "#nodir" and a new direction command to try again. Something like this:
Quote:
#trigger {You slip back!} {#nodir;#send west}


For your first situation, you essentially have a series of one-way exits. For a situation like that, the only solution is separate paths.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum 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