Replacement mp_*_passage funcs
Author
Submitted by
Version
D/L
File Size
Date Added
Last Updated
Andril
Andril
1
756
5.84 KB
Sep 11, 2012
Sep 12, 2012
Description
Revamped mp_open_passage and mp_close_passage commands. Allows two things: 1) named exit directions e.g. north instead of 0 and 2) no need to specify a fromRoom if the exit being opened/closed is in the room the room the mob (supermob for obj/room progs) is in. Also more informative error messages. Still allows for old syntax as well so you don't NEED to update progs that already use these mp commands.
Example rpstat:
>speech_prog test1
mpopenpassage 100 105 east <--- actual exit names, yay!
mpopenpassage 105 west <--- fromRoom defaults to current room
>speech_prog test2
mpclosepassage east
mpclosepassage 100 west
These should work with little to no changes on any Smaug derivative really. I'm just sticking this in here because FotE is what I made these changes on in the first place.
Revisions: 1
Rating:
| Download
| Comments(0)