Difference between revisions of "MUCK Reference Guide/Building and Object Creation"

From TwistedMUCK
Jump to: navigation, search
(Created page with "Welcome to the beginers guide to building! Everything you could ever need right here as a handy refrence guide!!! ''You need to have a builder's bit to build on Twisted. Plea...")
 
m
Line 3: Line 3:
 
''You need to have a builder's bit to build on Twisted. Please speak to a member of staff for more information.''
 
''You need to have a builder's bit to build on Twisted. Please speak to a member of staff for more information.''
  
----
 
 
==Room Building and Describing==
 
==Room Building and Describing==
  

Revision as of 19:18, 18 July 2014

Welcome to the beginers guide to building! Everything you could ever need right here as a handy refrence guide!!!

You need to have a builder's bit to build on Twisted. Please speak to a member of staff for more information.

Room Building and Describing

@dig [roomname]
@open [exit name];[alt name1];[alt name 2]=[room dbref]
@desc [room dbref]=[room description]

To open a new room, simply use the command: @dig [roomname]

Upon opening your new room you will be presented with a dbref number (i.e. #666).

To open an exit to your new room, the command is: @open [exit name displayed];[alternate exit name1];[alt exit 2]=[dbref number of room] (i.e. @open (O)ut;O;o=#666)

To set the room's description simpy use the command: @desc [here or dbref]=[description]


Item Creation

@create [object name]
@desc [object dbref]=[object description]

For more help, look up the help files for @link, @unlink, and flags...


Puppets

@create [puppet]
@set [puppet]=Z
@set [puppet]=X
@flock [puppet]=me
@action [control action]=me
@link [control action]=$null
@succ [control action]={force:[puppet's dbref],{&arg}}

NPC Waitress Program

Here's how to add an npc waitress, or at the very least a custom message that displays after someone triggers an action.

First, open an exit and link it to null. Remember that this exit won't show in the room your in so you may wish to add the trigger to the room description. In this instance we'll assume the desc includes something about summoning the (W)aitress.

@open W;w=$null
@suc W={otell:{name:me} summons the waitress and politely asks for a cup of water. Glaring coldly she turns her nose to {name:me} and storms off to the kitchen
complaing to herself. After what feels like an eternity she shoves the door open and marches over to the table slaming a glass of water violently down - but not
hard enough to break it. As she goes back to what she was doing she can clearly be heard muttering{lit:,} "I don't get paid enough for this..."}

All the text has to be between the brackets and after the otell:. The part that reads {name:me} displays the name of the person who triggered the text. It's totally optional. {lit:,} is the most important. A comma will break the code and display an error message. {lit:,} is the work around for it as it will display a comma anyways without any problems. So if you get an error, you might want to check for commas first.


Using lsedit for Descriptions

You can use lsedit for a room description and save everything to a text document by setting the desc to {list:name} where name is the title of the file your linking it to. If you don't understand what this means, don't worry about it. It's not that important.

Personal tools