Open new window
Last update:

OasisOLC and Deaths Gate script reference

REDIT - Room editor

Room edit is probably the command you'll use the most, during your building. It has the following syntax:

      
      redit <vnum>        - edit the room with number <vnum>
                            You can only do this in your own zone.

      rlist [low high]    - To list the rooms in your zone.
                            The optional arguments are only available to Gods, 
                            and lists the specified range of room numbers.

      redit save <zone>   - save rooms in this zone to disk. This happens
                            automagically, so this is only if some strange error
                            should occur.

      olc                 - list unsaved data

The redit command starts the menu based room editor - here's a look at a new room:

>redit 1299
-- Room number : [1299]         Room zone: [12]
1) Name        : An unfinished room
2) Description :
You are in an unfinished room.
3) Room flags  : NOBITS
4) Sector type : Inside
5) Exit north  : -1
6) Exit east   : -1
7) Exit south  : -1
8) Exit west   : -1
9) Exit up     : -1
A) Exit down   : -1
B) Extra descriptions menu
S) Script      : Not Set.
Q) Quit
Enter choice :

The menu is pretty self explanatory. It utilizes the improved editor commands where long text is wanted.

Anyway, here's a step by step walkthrough of the redit menu:

-- Room number : [1299]         Room zone: [12]
1) Name : An unfinished room

First off, the number and name of the room. This example is from the God complex in zone 12. The name is the one you see when you use common commands like 'where', 'look', 'locate object', 'rlist' and many more. It doesn't have to be unique, but mostly it is. After all, how many 'A sunlit path' can you have..
When building your first (trial) room on the Builders Academy, your char name must be in the room name.
The room name can be up to 74 chars in length.

2) Description :
You are in an unfinished room.

This is the room description people will see when they walk into the room or 'look' in the room. This text can be a maximum of 4095 characters. This should be enough for everyone - it translates to about two full pages (50 lines of 80 chars).
Remember to delete the standard text, using either /d1 or /c. This uses the improved editor.

3) Room flags  : NOBITS

These are all listed here.

4) Sector type : Inside

These are all listed here.

5) Exit north  : -1
6) Exit east   : -1
7) Exit south  : -1
8) Exit west   : -1
9) Exit up     : -1
A) Exit down   : -1

An exit to -1 means it doesn't exist. When you edit one of these, you're sent to the exits menu for the corresponding exit.

B) Extra descriptions menu

Selecting this will take you to the extra description menu.

S) Script : Not Set.

This menu point will let you edit which triggers (if any) are attached to the room.  This opens the script menu.

Q) Quit

And lastly Q quits the editor. If you've changed anything, it'll ask if you want to save. 

To top of page.

Exits menu:

1) Exit to     : 0
2) Description :-
<NONE>
3) Door name   : 
4) Key         : 0
5) Door flags  : No door
6) Purge exit.

The exits menu consists of the following:

1) Exit to : 0

Where the exit leads to. This is a room number - NOTE the standard room number (0) is illegal. If you make an exit, make sure to give it a place to point other than the void.

2) Description :-
<NONE>

What people see if they 'look <direction>'. This text can be a maximum of 255 characters.

3) Door name   : <NONE>

The keywords for the door. You may have several keywords. The first is used in the description when you 'look <direction>'. For instance: The oak is closed.

4) Key         : 0

The vnum of the key that unlocks/locks this door, if any.

5) Door flags  : No door

A description of the flags are here.

6) Purge exit.

This removes the exit from the room completely.

To top of page.

Extra description menu:

1) Keyword: 
2) Description:
<NONE>
3) Goto next description: <NOT SET>
Enter choice (0 to quit) : 

The extra description menu consists of the following parts:

1) Keyword: <NONE>

These are the things people need to look at to see the description, i.e. 'look plant'

2) Description:
<NONE>

What people see, when they look - this uses the improved editor.
Each extra description may be up to 511 characters in length. If you need more, try using multiple descriptions instead. You can have as many extra descriptions as you wish.

3) Goto next description: <NOT SET>

You may have an arbitrary number of extra descriptions. Choose menu point 3 to edit the next.

Enter choice (0 to quit) : 

Or press 0 to return to the main menu.

To top of page.

 

© 2005 Thomas Arp (Welcor). All rights reserved.