Login
User Name:

Password:



Register

Forgot your password?
AFKMud 2.2.3
Author: AFKMud Team
Submitted by: Samson
SWFOTEFUSS 1.5
Author: Various
Submitted by: Samson
SWRFUSS 1.4
Author: Various
Submitted by: Samson
SmaugFUSS 1.9.4
Author: Various
Submitted by: Samson
SmaugFUSS 1.9.3
Author: Various
Submitted by: Samson
Users Online
CommonCrawl, SemrushBot

Members: 0
Guests: 5
Stats
Files
Topics
Posts
Members
Newest Member
486
3,768
19,542
575
Zedethar

Today's Birthdays
There are no member birthdays today.
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 578 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)