The Apartment Code(file still VERY much in progress... this is ghastly. ;-p )
Source of the Code
The apartment code we are using on Reality Fault is ClaimHome.muf by
Jessy @ FurryMUCK, written 5/95. These are available online by typing
Setting up Apartments
To set up apartments type the following:
That's the minimum that works to set up the command.
A player can then type dir or directory and get a
list of apartments, with the owners, and any vacancies. If they type
claim <home>they'll be assigned that one, presuming it's free.
A bunch of other things -- the defaults for the new rooms created, and some other stuff about how the program works -- can all be set on the exit. That would be the actual action. Use the dbref for the apartment 'action,' and the items below:
@set <exit>=roomdesc:<desc of rooms created by program>
@set <exit>=indesc:<desc of exit leading into room>
@set <exit>=insucc:<@succ of exit leading into room>
@set <exit>=inosucc:<@osucc of exit leading into room>
@set <exit>=inodrop:<@odrop of exit leading into room>
@set <exit>=outdesc:<@desc of exit leading out of room>
@set <exit>=outsucc:<@succ of exit leading out of room>
@set <exit>=outosucc:<@osucc of exit leading out of room>
@set <exit>=outodrop:<@odrop of exit leading out of room>
@set <exit>=succmsg:<String to be given to a player when a home is successfully claimed. Like a @succ.>
@set <exit>=namepad:<# of characters in exit name/number field on the directory. Defaults to 3, which is good for numbers.>
@set <exit>=parent:<parent of created rooms, if different from parent of room holding trigger exit>
@set <exit>=show_exits:<'no' or 'yes'. Determines whether created exits will be dark or not. Defaults to not-dark.>
lsedit <exit>=header <info/text/decoration preceding directory listings>
lsedit <exit>=trailer <info/text/decoration following directory listings>
Residents can change the name displayed on the directory by typing
@set here=%n:<whatever>while in the room linked to the exit created by ClaimHome.muf.
Last modified: 2002-Mar-28 22:27:40
All material on this site is
Copyright © 1995-2022 Reality Fault
unless specifically indicated on each document.
All Rights Reserved.
Administrated by Reality Fault Webmaster