Building Your First Room With redit
Rooms are the backbone of the MUD, without rooms there would be no place for the action of the game to take place. A room is any region of a zone, it is not simply a part of a building, but can also be an open region outdoors, a part of a forest, whatever you need it to be.
redit is the command that is used to edit rooms.
You should have been given a zone number to work on when you first were made a builder. This means that you can edit rooms, objects, mobs, triggers and shops XX00 through XX99 where XX is your zone number. These numbers are referred throughout this and other texts as the virtual numbers for rooms, mobs, etc.
Type redit XX00 and you'll be on your way to creating your first room.
First off, your room will need a name. Type 1 at the prompt and type in a name for the room. Then hit enter. You'll be brought back to the main redit screen, notice that the name of the room has been changed to display your new room name.
Next off your room will need a description. Descriptions are entered using Valarin's standard text editor. Type in 2 at the prompt and hit enter. The current text of the description will be displayed "You are in an unfinished room." You'll want to get rid of this before you start typing. Type in /d1 to delete the first line of the description. Now type in your description, hitting enter at the end of each line you type. Once the description is complete, type /f to format it and /l to see a listing of what you typed. If everything is to your liking type /s to save the description and you'll be returned to the redit main screen.
To get further help on using the text editor, type /h on a new line.
Next up, the room flags. Room flags allow you to add special functionality to your room. Type 3 and enter to get to the room flags menu. You can add flags by typing their number and hitting enter (flags can only be added one at a time), typing a flag's number a second time removes the flag. The flags you can set are:
1 DARK Room is dark.
2 DEATH Room is a death trap; char 'dies' (no xp lost).
3 !MOB MOBs (monsters) cannot enter room.
4 INDOORS Room is indoors.
5 PEACEFUL Room is peaceful (violence not allowed).
6 SOUNDPROOF Shouts, gossips, etc. will not be heard in room.
7 !TRACK "track" will never find a path through this room.
8 !MAGIC All magic attempted in this room will fail.
9 TUNNEL Only one person allowed in room at a time.
10 PRIVATE Cannot teleport in or GOTO if two people here.
11 GODROOM LVL_GOD and above only allowed.
12 HOUSE Reserved for internal use. Do not set.
13 HCRASH Reserved for internal use. Do not set.
14 ATRIUM Reserved for internal use. Do not set.
15 OLC Reserved for internal use. Do not set.
16 BFS_MARK Reserved for internal use. Do not set.
17 DISEMBARK Room is where people can disembark from boats.
Once you've finished adding and removing flags, type 0 and enter to leave the flags menu.
Now you have to set the sector of the room. The sector is a description of the kind of room that this is. You must pick one type of sector for your room from the following choices.
0 INSIDE Indoors - typically small number of move points needed.
1 CITY The streets of a city.
2 FIELD An open field.
3 FOREST A dense forest.
4 HILLS Low foothills.
5 MOUNTAIN Steep mountain regions.
6 WATER_SWIM Water (swimmable).
7 WATER_NOSWIM Unswimmable water - boat required for passage.
8 UNDERWATER Underwater. *** NOT IMPLEMENTED DON'T USE***
9 FLYING Wheee! *** NOT IMPLEMENTED DON'T USE***
Pick the sector that best describes your room (the sector type affects how travel through your region affects the players).
For now we'll ignore the exits and script (exits are coming up right away, scripts will be dealt with in their own dedicated section)
So that leaves us with one more thing to look at, the extra descriptions menu. This menu allow you to add extra descriptions that are displayed when the player types in certain words. The menu is not essential for redit, however I will mention some stuff about it because it does allow you to add layers to your room, beyond the main room description. First off, the menu looks like this:
1) Keyword: <NONE>
2) Description:
<NONE>
3) Goto next description: <NOT SET>
The keyword is the word that will cause the description to be shown and the description is the description that is shown when look <keyword> is typed. Additional keywords and descriptions can be set by using the Goto next description option.
Feel free to add an extra description or two to your room (perhaps a window that the player can see out of) but, again, its not all that vital for rooms to have extra descriptions (not the case, however, for objects, see below). If your room is to have an extra description it must be referred to in the room's description otherwise the player won't know that the extra description exists.
|