TRIGEDIT-VARIABLES-ROOMS ROOM-VARIABLES WEATHER ID NAME DIRECTION TRIGEDIT-ROOM-VAR VNUM CONTENTS CONTENTS ROOMS ROOM-VARS

From 4Dimensions
Jump to: navigation, search

TRIGEDIT-VARIABLES-ROOMS ROOM-VARIABLES WEATHER ID NAME DIRECTION TRIGEDIT-ROOM-VAR VNUM CONTENTS CONTENTS ROOMS ROOM-VARS


Rooms When using field - The variable returns:


contents - The id of the first obj in the room.

(dir) - The list of flags affecting the exit in the specified direction:

north, south, east, west, up or down. The result is either:

subfield, "vnum" - vnum of room in direction

subfield, "key" - vnum of key to use

subfield, "bits" - CLOSED LOCKED, etc.

subfield, "room" - room variable for room in direction

no subfield: same as 'bits'. %self.north(key)%

id - The unique id of the room.

name - The name of the room.

people - The id of the first character in the room, or an empty return.

sector - The sector type of the room.

vnum - The room's vnum.

weather - current weather: sunny, cloudy, rainy, or lightning {cRTSTAT 41098{c0.


Example: {cRTSTAT 29{c0