Replacement mp_*_passage funcsAuthor Submitted by Version D/L File Size Date Added Last Updated Andril Andril 1 304 5.84 KB Sep 11, 2012 Sep 12, 2012
DescriptionRevamped 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.
mpopenpassage 100 105 east <--- actual exit names, yay!
mpopenpassage 105 west <--- fromRoom defaults to current room
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.