Login
User Name:

Password:



Register

Forgot your password?
do_owhere recursive
Author: Khonsu
Submitted by: Khonsu
Changes list / Addchange
Author: Khonsu
Submitted by: Khonsu
6Dragons mp3 sound pack
Author: Vladaar
Submitted by: Vladaar
AFKMud 2.2.3
Author: AFKMud Team
Submitted by: Samson
SWFOTEFUSS 1.5
Author: Various
Submitted by: Samson
Users Online
DotBot, Google, Bing

Members: 0
Guests: 10
Stats
Files
Topics
Posts
Members
Newest Member
489
3,794
19,649
596
Elwood

Today's Birthdays
kiasyn (35)
Files
Upload Rules | File Index | Search | Recent Uploads
» Root » SWFotE FUSS » SWFotE Snippets
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)