ZMud Difficulties

by Unknown

Back to Mechanic's Corner.

Unknown2004-11-07 15:30:54
1. Healing

My pipe system seems to have hit a snag. For starters, I'm not content with just 'Your pipe has gone out.' 'light pipe;light pipe;light pipe;light pipe'.

Well, let's say my aura of rebounding goes down, AND I get hit with anorexia. I need to smoke faeleaf and coltsfoot. That's easy enough to write. However, say my pipes are out, or even empty - I can fill the pipes rather easily, I can light the pipes easily - but I can't tell WHICH pipe I lit first, or WHICH pipe I smoked. Same messages and all that.

2. Mapping

I've never mapped before, so obviously am having some difficulty. However, the #TR {There is no exit in that direction.} {#NODIR}
and
#TR {Now now, don't be so hasty!} {#NODIR}

doesn't seem to work for me. Map still tries putting links and rooms where there aren't any.


Any ideas?
Unknown2004-11-07 16:34:52
Well, getting the pipes to work with a list variable, #ADDI, and %pop, so that should be fine.
Unknown2004-11-07 20:03:23
for the mapper... also use things like:

#nomap
#stop
Unknown2004-11-07 20:26:02
I was able to come up with a decent (not totally infallible) pipe system for Achaea, and it looks like it should work without much modification in Lusternia. If you're interested, check out the ACP and see if you can figure out what the heck I did to make it all work. The queues and actions are all a little complex, but it works quite well for me.

The #NODIR command will keep the map from moving you in a direction (like if there's a closed door), but will still create a room in mapping mode. Combining it with #NOMAP will prevent the mapper from creating rooms erroneously. I use both for things like swimming, tumbling, hitting an invalid direction, slipping on ice, etc.