All help topics · Link to this topic
Showing help on '@placechunk'
A chunk is a set of rooms you build once and can then copy into the world as often as you like: a cabin, a corridor, a whole deck.Make one: type @makechunk for a blank workspace and dig your rooms there. Wherever the chunk should attach to other rooms, stand in that room and type @chunk socket DIRECTION (several at once: @chunk socket north south). Those open exits are its sockets. Then type @defchunk NAME for every room in the area, @defchunk NAME here for this room only, or @defchunk NAME from #ROOM #ROOM ... for a chosen set. The chunk goes into your inventory and its socket names are listed.
Change one: @chunk rename NAME SOCKET to NEW renames a socket (fore, aft, port...). After editing your source rooms, @chunk recapture NAME (standing in their area) or @chunk recapture NAME from #ROOM #ROOM ... replaces the chunk's rooms; sockets in the same room and direction keep their names. @chunk rescan NAME re-reads the chunk's own rooms after you edit them in place.
Place one: in a room you own, make an unfinished exit where it should attach (@chunk socket east), then type @chunk place NAME join SOCKET to here east. @placechunk NAME SOCKET east does the same for a single join.
@chunk list shows your chunks. @chunk inspect NAME shows a chunk, its rooms and its sockets.
@chunk plan NAME join SOCKET to here east shows what placing it would add and how much quota it uses, without building anything.
@chunk place NAME join SOCKET to here east places one copy. Add orientation NAME to turn it, and var NAME VALUE to fill $NAME in the copied text (var deck 2). A wrong name lists the choices.
@chunk array NAME count 3 chain aft to fore join fore to here east places a row of three copies, each copy aft socket joined to the next copy fore socket.
@chunk placements here lists the copies you placed in this area. @chunk inspect #ROOM says whether the copy holding that room can be removed. @chunk remove #ROOM removes that copy, and @chunk remove-array #ROOM removes the whole row. Nobody may be inside it.
@chunk refit-plan #SHIP lists furniture and equipment that a ship you own is missing compared with its design. @chunk refit #SHIP adds it.
You can use only chunks and rooms you own, and placing copies uses your building quota. Options may also be written as a MOO map literal, as before.