Command reference
Room
Help on Room
Introduction
This command is used primarily to build rooms and their locations. Almost all uses of this command require you to be editing a room overlay package. If you are not familiar with these, you should read the section on them below before proceeding with this command.
Room Overlay Packages
A room overlay package is used to allow building to take place on the "live" game server, and also permit review, roll-back and multiple versions of room building to exist. All room-based building begins with a room overlay package.
While you have a package open, any changes you make to the location are made to an "overlay" of the room that's stored in the package. It's not until you're done building, the package has been submitted, reviewed and swapped in as the "current" package that any of the building appears to anyone but you.
The key process is as follows: Open a Room Overlay Package -> Do your building -> Submit the package -> Someone approves the package -> The package is swapped in and becomes live.
Where possible you should prefer to revise existing room overlay packages instead of creating new ones, as the latest approved version of the package will be used for any swap commands or progs. This is especially true if you have event-based special building where you have multiple versions of a room.
Room Commands
The following commands do not require you to have adopted an overlay package:
room show - shows builder-specific info about the location you are in
room preview <factor> <value> [<factor> <value> ...] - reads this overlay's name and description with temporary time, wind, rain, recentrain, season or light values
room overlay <id> [<revnum>] - temporarily adopt a specific package so you can view the world as if it were live
room overlay clear - clears your current override for seeing room packages
room exit list - lists all exits for the current room (including in other overlays)
room exit hide <exit> <prog> - hides a room exit with a specified prog controlling who can see it
room exit unhide <exit> - unhides a room exit
room set register <varname> <value> - sets the specified prog variable for the current room to the specified value
room set register delete <varname> - resets the specified prog variable to its default value for the current room
room landmark [<prog>] [<sphere>] - sets your current location as a landmark (with optional applicability prog and sphere)
room landmark - toggles being a landmark off
room meeting [<prog>] [<sphere>] - sets your current location as a meeting place landmark (with optional applicability prog and sphere)
room meeting - toggles being a meeting place off
room landmarktext - shows all extra texts for a landmark room
room landmarktext add <prog> - drops into an editor to create a new extra text
room landmarktext prog <#> <prog> - replaces the prog of a specific extra text
room landmarktext text <#> - drops into an editor to replace an extra text
room landmarktext swap <#> <#> - swaps the order of two extra texts
room landmarktext delete <#> - deletes a landmark text
room private property <property> - marks this room private under a property controller
room private host <host-type> <host> - marks this room private under an employment host
room private show|clear - shows or clears the private-property controller
These are the commands used to work with overlay packages:
room package list [all|by <who> | mine] - lists all room packages (optionally filtered)
room package new "name of your package" - creates a new package with the specified name
room package open <id>|"name of your package"> - opens an existing unapproved package for further editing
room package rename <name> - renames your open room package to something else
room package revise <id>|"name of your package"> - creates a new revision of an existing package
room package close - closes the package you are currently editing
room package show <id>|"name"> - views an existing package
room package submit - submits the package for review by an appropriate reviewer
room package review list - shows all packages ready for review
room package review all - reviews all submitted packages at once
room package review <id> - reviews a specific package
room package history <id> - shows the building/review history of a particular room package
room package swap <id|"name of your package"> - swaps the package into the affected rooms and makes it live
room package delete - deletes your open under-design package only if no room uses it as its active overlay
These commands all require you to have an open overlay package:
room new - creates a new room and transports you to it
room dig <direction - creates a new room and a two-way exit in the specified direction, and transports you to it
room ndig <template> <outboundkeyword> <inboundkeyword> "<outbounddescription>" "<inbounddescription>" - creates a new room with a non cardinal exit, and transports you to it
room exit add <id> - adds an existing exit from another overlay for this room to this overlay
room exit remove <id> - removes an exit from this overlay
room exit size <id|direction> <size> - sets the maximum size of creatures that can use the exit
room exit upright <id|direction> <size> - sets the maximum size of creatures that can use the exit in a standing position
room exit reset <id|direction> - turns a climb/fall exit into a regular exit
room exit fall <id|direction> - turns an up/down exit into a fall exit or toggles it off
room exit climb <id|direction> <difficulty> - turns an exit into a climb exit with a specified difficulty
room exit climb <id|direction> - toggles a climb exit off
room exit block <id|direction> <layer> - blocks an exit from appearing in a specified layer
room exit unblock <id|direction> <layer> - removes a block on an exit from appearing in a specified layer
room link <direction> <cellid**> - creates a new exit in the specified direction to the specified room
room nlink <template> <cellid**> <outboundkeyword> <inboundkeyword> "<outbounddescription>" "<inbounddescription>" - creates a non-cardinal exit using a template to a room
room set name <name> - sets the name of the room
room set desc - drops you into an editor to edit the room description
room set terrain <id|name> - sets the terrain of this room
room set hearing <id|name> - sets the hearing/noise profile for this room
room set lightmultiplier <multiplier> - sets the multiplier for natural light (e.g. from shade etc)
room set lightlevel <lux> - sets the added light for the location to the specified lux level
room set type outdoors|indoors|cave|windows|exposed - sets the room exposure type
room set door <exit id|direction> clear - clears the exit from accepting doors
room set door <exit id|direction> <size> - sets the exit to accept doors of the specified size
room set forage clear - clears an existing forage profile
room set forage <id|name> - sets the forage profile to the specified profile
room set atmosphere liquid|gas <id|name> - sets the atmosphere to the specified
room set atmosphere none - sets the location to have no atmosphere
room set route ... - creates, edits, maps and validates linear RouteRoom geometry
room set safequit - toggles whether the current room is a safe quit room
** Note: You can use the alternate syntax @n instead of the room ID for this.
For example, @1 is the most recently created new room, @2 is the 2nd most recently created room etc.
This only works for rooms created since the last reboot.
This command is useful when you write-up a bunch of room creation commands in a text file to paste into the MUD at once, so you can refer to the rooms that you create rather than having to presuppose what the room ID will be.
Working with the Autobuilder
Autobuilder templates allow you to automatically build areas based on some set parameters. They can vary from simply ways to easily kick off pre-linked areas (like large rectangles of rooms with exits between them) from full-blown randomly generated descriptions and properties. Autobuilder templates are created by your MUD's senior designers and each one may have different usage guidelines.
To see a list of all autobuilder templates, you simply use the SHOW AUTOAREAS command.
In order to use an autobuilder template, you must first be editing a room overlay package, and then use the following command:
room new <template id|name> ...
room new <terrain-stack-area> [prog=<prog>] <room-template> <FMS1:token|editor>
Each template has its own required arguments, which you will see if you simply type the command above with no further text.
There is also a universal optional argument which must come first in the form of prog=someprog. This allows you to specify a prog that accepts either a single location or a collection of locations as an argument, and the template will execute that prog on the generated rooms. You may specify this option multiple times but they must always be the first arguments in the list, before any template specific ones.