MUME Help
GMCP ROOM
These are the messages in the GMCP
Room module.
Sent by server
Room.Info
- Sent when a player moves into a new room
- Contains information about the room that the player is in
-
Message body is an object with the following keys:
namestring with the room name without the preposition; null if not visible areastring containing the zone area name environmentstring of the room terrain type idroom number (optional) in [1..0x7fffffff]; not all rooms have numbers exitsdescstring of the room description; null if not visible -
Example:
Room.Info { "name": "The Inn's Rooms", "area": "Bree", "id": 1234, "environment": "building", "desc": "..." "exits": { "e": { "name": "gate" "id": 222 }, "d": {"id": 19} } } -
Possible exit flag strings:
brokendoor is broken climb-downis a downward climb climb-upis an upward climb closeddoor is closed; if not set any door is open hiddendoor is a hidden exit roadis a road sundeathcauses sundeath (Troll only) sunnyis sunny (Troll and Orc only) trailis a trail waterleads to water
Room.UpdateExits
- Sent when the state of exits change
-
Message body is an object containing the new
state of exits like the
exitsfield in theRoom.Infomessage - Only exits that changed state are included
-
If an exit is removed, its value
becomes
false -
Example:
Room.UpdateExits { "n": false, "e": { "flags": ["closed"], "name": "gate" } }means the exit to the north was removed and that there now is a closed gate to the east
| See also: | GMCP Room.Chars |
Generated on Tue Oct 14 20:48:23 2025