Difference between revisions of "Manual:Zone Manual/The Room Section/Putting the rooms together"
Jump to navigation
Jump to search
(checked against the current code (wiki review 2026-11-15)) |
|||
| Line 1: | Line 1: | ||
=== Putting the rooms together === | === Putting the rooms together === | ||
| − | + | Here is everything from this chapter in one zone: a space station with a secret door, two transporters and a trap. Save it as <code>dragonst.zon</code> (the zone name and the file name must be the same) and compile it as shown in [[Manual:Zone_Manual/The_Room_Section/Compiling_and_debugging_your_first_room|Compiling and debugging your first room]]. It compiles without errors or warnings, also with <code>-l</code>. | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | The chamber has grown a little since the first version: a longer description, and the station's terrain, light and flags. | |
| − | |||
| − | |||
| − | + | <pre> | |
| − | + | #include <macros.h> | |
| − | |||
| − | |||
| − | + | %zone dragonst | |
| + | lifespan 20 | ||
| + | reset RESET_ANYHOW | ||
| + | creators {"whistler"} | ||
| − | + | notes | |
| − | + | "This is the dragon station. I shortened it to dragonst for ease in | |
| − | + | loading." | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | help | |
| − | + | "Not sure what could help you now. You are stuck on one of the | |
| − | + | weirdest space stations you have ever seen and you smell burning | |
| + | sulphur." | ||
| − | + | %rooms | |
| − | |||
| − | |||
| − | + | chamber | |
| − | + | title "The middle chamber of the station" | |
| + | descr | ||
| + | "This chamber seems to have the entire station rotating around it. It | ||
| + | is unbelievably large: the ceiling is a good 200 metres high and the | ||
| + | room is perfectly cubic. Small human-size ornate chairs with dragon | ||
| + | designs on the arms and backs are arranged in a triangle, with one | ||
| + | large chair at the front. This must be where all station meetings are | ||
| + | held. Large pictures cover the walls, showing dragons in all kinds of | ||
| + | situations. Large passages lead off to the west and the east." | ||
| − | + | extra {"chairs", "chair"} | |
| − | + | "The chairs are made of some metal you don't recognise and every inch | |
| − | + | is covered with some kind of dragon." | |
| − | + | extra {"dragon picture", "picture"} | |
| − | + | "Thousands of dragons dot the skies of this rather lifelike picture. In | |
| + | the centre you see something move. It looks to be a little green | ||
| + | dragon." | ||
| − | + | extra {"green dragon", "dragon", "green"} | |
| − | + | "An intelligent-looking dragon is sitting perched on a large chair, | |
| + | watching you." | ||
| − | + | movement SECT_INSIDE | |
| + | ALWAYS_LIGHT | ||
| + | flags {UNIT_FL_NO_WEATHER, UNIT_FL_INDOORS} | ||
| − | + | west to disposal_room descr | |
| − | + | "You see a small room."; | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | east to hallway descr | |
| − | + | "You see what looks to be a hallway."; | |
| − | + | end | |
| − | |||
| − | |||
| − | + | hallway | |
| − | + | title "Module tunnel" | |
| − | + | descr | |
| + | "The hallway is about 50 metres long and around 100 metres from side to | ||
| + | side and top to bottom. It seems to be dust free. The walls and the | ||
| + | floor are made of the same sterile metal-plastic that all space | ||
| + | agencies use. Large plate glass windows open up into space. The | ||
| + | hallway is filled with a dim light that seems to come from everywhere | ||
| + | and nowhere at once. You notice a glimmer of bright light coming from | ||
| + | the windows. To the east you see an air lock and to the west the | ||
| + | hallway opens up into a larger room." | ||
| − | + | extra {"windows", "window"} | |
| − | + | "Your eyes are drawn to a large ship lit up with running lights, | |
| − | + | sitting about a kilometre from the station." | |
| − | + | extra {"floor", "walls", "wall"} | |
| − | + | "Well, what can be said? It looks to be in perfect condition." | |
| − | + | extra {"large ship", "ship"} | |
| − | + | "The ship looks really big and is shaped like a dragon. The scales | |
| − | + | sparkle and seem to be many colours." | |
| − | |||
| − | + | movement SECT_INSIDE | |
| + | ALWAYS_LIGHT | ||
| + | flags {UNIT_FL_NO_WEATHER, UNIT_FL_INDOORS} | ||
| − | + | west to chamber descr | |
| − | + | "The hallway opens up into a chamber."; | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | east to office descr | |
| − | + | "You see what looks to be an office." | |
| − | + | keyword {"air lock door", "air lock", "door"} | |
| + | open {EX_OPEN_CLOSE, EX_CLOSED}; | ||
| + | end | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | office | |
| − | + | title "The station office" | |
| − | + | descr | |
| − | + | "Large paintings fill the walls of this part of the station. The room | |
| + | is as large as the other rooms, big enough for dragons to lounge in, | ||
| + | while a desk in one corner is small enough for a humanoid. The floor | ||
| + | along the north wall is lined with some kind of fabric and seems very | ||
| + | soft to walk on; judging by how large an area it covers, it may be a | ||
| + | dragon lounge. There is a passage to the west." | ||
| − | + | extra {"paintings", "painting"} | |
| − | + | "The paintings show many dragons and riders at all kinds of tasks, from | |
| − | + | combat to lookout. All the figures seem to be staring at a staff held | |
| + | by a wizard painted on the south wall." | ||
| − | + | extra {"wizard", "staff"} | |
| − | + | "The wizard has his hand stretched out, and it seems there is a place | |
| + | where you could almost grab the staff. Maybe if you searched the staff | ||
| + | you would find something." | ||
| − | + | extra {"desk"} | |
| − | + | "It's a desk all right, but it has no drawers and it is totally empty." | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | extra {"fabric"} | |
| + | "Wussshhhhh! You bound across the comfortable floor. Wasn't that fun?" | ||
| − | + | movement SECT_INSIDE | |
| − | + | ALWAYS_LIGHT | |
| − | + | flags {UNIT_FL_NO_WEATHER, UNIT_FL_INDOORS} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | west to hallway descr | |
| − | + | "You see what looks to be a hallway." | |
| − | + | keyword {"air lock door", "air lock", "door"} | |
| + | open {EX_OPEN_CLOSE, EX_CLOSED}; | ||
| − | + | south to portal_room descr | |
| − | + | "You see what looks to be a portal room." | |
| − | + | keyword {"air lock door", "air lock", "staff", "door"} | |
| + | key nokey | ||
| + | open {EX_OPEN_CLOSE, EX_CLOSED, EX_LOCKED, EX_HIDDEN} | ||
| + | difficulty 10; | ||
| + | end | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | portal_room | |
| − | + | title "Green field room" | |
| + | descr | ||
| + | "Like the other rooms on the station this one is large enough for | ||
| + | dragons to fit in comfortably. The strange thing about this room is | ||
| + | that it is totally empty except for a green field right in the centre. | ||
| + | A door leads to another room to the north." | ||
| − | + | extra {"green field", "field"} | |
| − | + | "The field looks to be a green fog, shifting and churning as you watch. | |
| − | + | If you are nuts you could probably enter it." | |
| − | |||
| − | |||
| − | + | movement SECT_INSIDE | |
| − | + | ALWAYS_LIGHT | |
| − | + | flags {UNIT_FL_NO_WEATHER, UNIT_FL_INDOORS} | |
| − | + | north to office descr | |
| + | "You see what looks to be an office." | ||
| + | keyword {"air lock door", "air lock", "door"} | ||
| + | key nokey | ||
| + | open {EX_OPEN_CLOSE, EX_CLOSED, EX_LOCKED} | ||
| + | difficulty 10; | ||
| − | + | // room_port is inside this room: the green field | |
| − | + | end | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | room_port | |
| − | + | names {"green field", "field"} | |
| − | + | title "Green field" | |
| − | + | descr | |
| − | + | "Green mist swirls about you." | |
| − | |||
| − | |||
| − | |||
| − | + | movement SECT_INSIDE | |
| + | ALWAYS_LIGHT | ||
| + | flags {UNIT_FL_NO_WEATHER, UNIT_FL_INDOORS} | ||
| − | + | in portal_room | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | dilcopy force_move@function( | |
| + | // ticks between moves: 12 is 3 seconds | ||
| + | 12, | ||
| + | // the room to move to, then '!' and the message | ||
| + | "ship@dragonst!You feel your body dissolving.<br/>You appear on the deck of a ship.", | ||
| + | // FALSE: move at a steady rate | ||
| + | FALSE); | ||
| + | end | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | ship | |
| − | + | title "War dragon" | |
| − | + | descr | |
| + | "Blue light softly glows from conduits that line the walls of this | ||
| + | ship. The floors beside the east and west walls have what looks to be | ||
| + | soft fabric covering. Small controls along the south wall seem to be | ||
| + | made for humanoids, with two small chairs that look to be pilot seats. | ||
| + | View ports are about 50 metres up the sides of the ship on the west | ||
| + | and east walls, and some kind of electronic screen covers the south | ||
| + | wall. The ship seems to be a one-room ship, but there is a green field | ||
| + | by the north wall." | ||
| − | + | extra {"view ports", "view port", "ports", "port"} | |
| − | + | "Sorry, you're not 50 metres tall. Maybe they are made for a dragon?" | |
| − | |||
| − | + | extra {"view screen", "screen"} | |
| − | + | "It seems to be the pilot's view screen, but you can't see a way to | |
| + | turn it on." | ||
| − | + | extra {"controls", "control"} | |
| − | + | "The controls are in some weird language, and you're afraid that if you | |
| + | start pushing buttons you might rocket into the station or, worse, slam | ||
| + | into a planet." | ||
| − | + | extra {"soft fabric", "fabric"} | |
| − | + | "It looks to be a dragon lounge area." | |
| − | |||
| − | |||
| − | |||
| − | + | extra {"green field", "field"} | |
| − | + | "The field looks to be a green fog, shifting and churning as you watch." | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | movement SECT_INSIDE | |
| + | ALWAYS_LIGHT | ||
| + | flags {UNIT_FL_NO_WEATHER, UNIT_FL_INDOORS} | ||
| − | + | // ship_port is inside this room: the green field | |
| − | + | end | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | ship_port | |
| − | + | names {"green field", "field"} | |
| + | title "Green field" | ||
| + | descr | ||
| + | "Green mist swirls about you." | ||
| − | + | movement SECT_INSIDE | |
| − | + | ALWAYS_LIGHT | |
| − | + | flags {UNIT_FL_NO_WEATHER, UNIT_FL_INDOORS} | |
| − | + | in ship | |
| − | |||
| − | |||
| − | |||
| − | + | dilcopy force_move@function(12, | |
| − | + | "portal_room@dragonst!You feel your body dissolving.<br/>You appear in the station.", | |
| + | FALSE); | ||
| + | end | ||
| − | |||
| − | |||
| − | + | disposal_room | |
| − | + | title "Red field room" | |
| − | + | descr | |
| − | + | "Like the other rooms on the station this one is large enough for | |
| + | dragons to fit in comfortably. The strange thing about this room is | ||
| + | that it is totally empty except for a red field right in the centre. | ||
| + | A passage leads back to the east." | ||
| − | + | extra {"red field", "field"} | |
| − | + | "The field looks to be a red fog, shifting and churning as you watch. | |
| − | + | If you are nuts you could probably enter it." | |
| − | + | movement SECT_INSIDE | |
| − | + | ALWAYS_LIGHT | |
| − | + | flags {UNIT_FL_NO_WEATHER, UNIT_FL_INDOORS} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | east to chamber descr | |
| + | "You see the main chamber."; | ||
| − | + | // dis_port is inside this room: the red field | |
| + | end | ||
| + | |||
| + | |||
| + | dis_port | ||
| + | names {"red field", "field"} | ||
| + | title "Red field" | ||
| + | descr | ||
| + | "Red mist swirls about you." | ||
| + | |||
| + | movement SECT_INSIDE | ||
| + | ALWAYS_LIGHT | ||
| + | flags {UNIT_FL_NO_WEATHER, UNIT_FL_INDOORS} | ||
| + | |||
| + | in disposal_room | ||
| + | |||
| + | dilcopy force_move@function(12, | ||
| + | "deathspace@dragonst!You feel your body dissolving.", | ||
| + | FALSE); | ||
| + | end | ||
| + | |||
| + | |||
| + | deathspace | ||
| + | title "Open space" | ||
| + | descr | ||
| + | "You see the ship and the station far off in the distance, and you are | ||
| + | in space!" | ||
| + | |||
| + | movement SECT_INSIDE | ||
| + | ALWAYS_LIGHT | ||
| + | flags {UNIT_FL_NO_WEATHER, UNIT_FL_INDOORS, UNIT_FL_NOSAVE} | ||
| + | |||
| + | dilcopy death_room@function( | ||
| + | // ticks between hits: 12 is 3 seconds, the shortest it allows | ||
| + | 12, | ||
| + | // hit points of damage per hit | ||
| + | 400, | ||
| + | // the message for each hit | ||
| + | "Too late you realise that was the rubbish disposal. Your lungs explode!"); | ||
| + | end | ||
| + | |||
| + | %end | ||
| + | </pre> | ||
| + | |||
| + | A walk through the station: | ||
| + | * From the chamber, east leads through the hallway and its air lock door to the office. | ||
| + | * In the office, <code>search staff</code> finds the hidden air lock door to the south. It is locked and nobody has the key (<code>nokey</code>), so it has to be picked (or opened with the <code>unlock</code> spell). | ||
| + | * In the portal room, <code>enter field</code> puts you in the green field, which sends you to the dragon ship after a few seconds. The ship's own green field brings you back to the portal room. | ||
| + | * West of the chamber, <code>enter field</code> in the disposal room sends you into open space, where you die within seconds. | ||
| + | |||
| + | There is no <code>%reset</code> section yet, so a door that a player opens stays open until the next reboot. The [[Manual:Zone_Manual/The_Reset_Section|reset section]] adds the <code>door</code> resets that close and lock the doors again. The [[Manual:Zone_Manual/The_NPC_Section|NPC section]] adds the station's inhabitants. | ||
<div style='padding-top: 30px; padding-bottom: 20px; text-align: left;float:left;width:50%;'>[[Manual:Zone_Manual/The_Room_Section/A_more_complex_set_of_rooms|Previous: A more complex set of rooms]]</div> | <div style='padding-top: 30px; padding-bottom: 20px; text-align: left;float:left;width:50%;'>[[Manual:Zone_Manual/The_Room_Section/A_more_complex_set_of_rooms|Previous: A more complex set of rooms]]</div> | ||
<div style='padding-top: 30px; padding-bottom: 20px; text-align: right;float:right;width:50%;'>[[Manual:Zone_Manual/The_Room_Section/Suggested_room_exercises|Next: Suggested room exercises]]</div> | <div style='padding-top: 30px; padding-bottom: 20px; text-align: right;float:right;width:50%;'>[[Manual:Zone_Manual/The_Room_Section/Suggested_room_exercises|Next: Suggested room exercises]]</div> | ||
Latest revision as of 06:20, 15 November 2026
Putting the rooms together
Here is everything from this chapter in one zone: a space station with a secret door, two transporters and a trap. Save it as dragonst.zon (the zone name and the file name must be the same) and compile it as shown in Compiling and debugging your first room. It compiles without errors or warnings, also with -l.
The chamber has grown a little since the first version: a longer description, and the station's terrain, light and flags.
#include <macros.h>
%zone dragonst
lifespan 20
reset RESET_ANYHOW
creators {"whistler"}
notes
"This is the dragon station. I shortened it to dragonst for ease in
loading."
help
"Not sure what could help you now. You are stuck on one of the
weirdest space stations you have ever seen and you smell burning
sulphur."
%rooms
chamber
title "The middle chamber of the station"
descr
"This chamber seems to have the entire station rotating around it. It
is unbelievably large: the ceiling is a good 200 metres high and the
room is perfectly cubic. Small human-size ornate chairs with dragon
designs on the arms and backs are arranged in a triangle, with one
large chair at the front. This must be where all station meetings are
held. Large pictures cover the walls, showing dragons in all kinds of
situations. Large passages lead off to the west and the east."
extra {"chairs", "chair"}
"The chairs are made of some metal you don't recognise and every inch
is covered with some kind of dragon."
extra {"dragon picture", "picture"}
"Thousands of dragons dot the skies of this rather lifelike picture. In
the centre you see something move. It looks to be a little green
dragon."
extra {"green dragon", "dragon", "green"}
"An intelligent-looking dragon is sitting perched on a large chair,
watching you."
movement SECT_INSIDE
ALWAYS_LIGHT
flags {UNIT_FL_NO_WEATHER, UNIT_FL_INDOORS}
west to disposal_room descr
"You see a small room.";
east to hallway descr
"You see what looks to be a hallway.";
end
hallway
title "Module tunnel"
descr
"The hallway is about 50 metres long and around 100 metres from side to
side and top to bottom. It seems to be dust free. The walls and the
floor are made of the same sterile metal-plastic that all space
agencies use. Large plate glass windows open up into space. The
hallway is filled with a dim light that seems to come from everywhere
and nowhere at once. You notice a glimmer of bright light coming from
the windows. To the east you see an air lock and to the west the
hallway opens up into a larger room."
extra {"windows", "window"}
"Your eyes are drawn to a large ship lit up with running lights,
sitting about a kilometre from the station."
extra {"floor", "walls", "wall"}
"Well, what can be said? It looks to be in perfect condition."
extra {"large ship", "ship"}
"The ship looks really big and is shaped like a dragon. The scales
sparkle and seem to be many colours."
movement SECT_INSIDE
ALWAYS_LIGHT
flags {UNIT_FL_NO_WEATHER, UNIT_FL_INDOORS}
west to chamber descr
"The hallway opens up into a chamber.";
east to office descr
"You see what looks to be an office."
keyword {"air lock door", "air lock", "door"}
open {EX_OPEN_CLOSE, EX_CLOSED};
end
office
title "The station office"
descr
"Large paintings fill the walls of this part of the station. The room
is as large as the other rooms, big enough for dragons to lounge in,
while a desk in one corner is small enough for a humanoid. The floor
along the north wall is lined with some kind of fabric and seems very
soft to walk on; judging by how large an area it covers, it may be a
dragon lounge. There is a passage to the west."
extra {"paintings", "painting"}
"The paintings show many dragons and riders at all kinds of tasks, from
combat to lookout. All the figures seem to be staring at a staff held
by a wizard painted on the south wall."
extra {"wizard", "staff"}
"The wizard has his hand stretched out, and it seems there is a place
where you could almost grab the staff. Maybe if you searched the staff
you would find something."
extra {"desk"}
"It's a desk all right, but it has no drawers and it is totally empty."
extra {"fabric"}
"Wussshhhhh! You bound across the comfortable floor. Wasn't that fun?"
movement SECT_INSIDE
ALWAYS_LIGHT
flags {UNIT_FL_NO_WEATHER, UNIT_FL_INDOORS}
west to hallway descr
"You see what looks to be a hallway."
keyword {"air lock door", "air lock", "door"}
open {EX_OPEN_CLOSE, EX_CLOSED};
south to portal_room descr
"You see what looks to be a portal room."
keyword {"air lock door", "air lock", "staff", "door"}
key nokey
open {EX_OPEN_CLOSE, EX_CLOSED, EX_LOCKED, EX_HIDDEN}
difficulty 10;
end
portal_room
title "Green field room"
descr
"Like the other rooms on the station this one is large enough for
dragons to fit in comfortably. The strange thing about this room is
that it is totally empty except for a green field right in the centre.
A door leads to another room to the north."
extra {"green field", "field"}
"The field looks to be a green fog, shifting and churning as you watch.
If you are nuts you could probably enter it."
movement SECT_INSIDE
ALWAYS_LIGHT
flags {UNIT_FL_NO_WEATHER, UNIT_FL_INDOORS}
north to office descr
"You see what looks to be an office."
keyword {"air lock door", "air lock", "door"}
key nokey
open {EX_OPEN_CLOSE, EX_CLOSED, EX_LOCKED}
difficulty 10;
// room_port is inside this room: the green field
end
room_port
names {"green field", "field"}
title "Green field"
descr
"Green mist swirls about you."
movement SECT_INSIDE
ALWAYS_LIGHT
flags {UNIT_FL_NO_WEATHER, UNIT_FL_INDOORS}
in portal_room
dilcopy force_move@function(
// ticks between moves: 12 is 3 seconds
12,
// the room to move to, then '!' and the message
"ship@dragonst!You feel your body dissolving.<br/>You appear on the deck of a ship.",
// FALSE: move at a steady rate
FALSE);
end
ship
title "War dragon"
descr
"Blue light softly glows from conduits that line the walls of this
ship. The floors beside the east and west walls have what looks to be
soft fabric covering. Small controls along the south wall seem to be
made for humanoids, with two small chairs that look to be pilot seats.
View ports are about 50 metres up the sides of the ship on the west
and east walls, and some kind of electronic screen covers the south
wall. The ship seems to be a one-room ship, but there is a green field
by the north wall."
extra {"view ports", "view port", "ports", "port"}
"Sorry, you're not 50 metres tall. Maybe they are made for a dragon?"
extra {"view screen", "screen"}
"It seems to be the pilot's view screen, but you can't see a way to
turn it on."
extra {"controls", "control"}
"The controls are in some weird language, and you're afraid that if you
start pushing buttons you might rocket into the station or, worse, slam
into a planet."
extra {"soft fabric", "fabric"}
"It looks to be a dragon lounge area."
extra {"green field", "field"}
"The field looks to be a green fog, shifting and churning as you watch."
movement SECT_INSIDE
ALWAYS_LIGHT
flags {UNIT_FL_NO_WEATHER, UNIT_FL_INDOORS}
// ship_port is inside this room: the green field
end
ship_port
names {"green field", "field"}
title "Green field"
descr
"Green mist swirls about you."
movement SECT_INSIDE
ALWAYS_LIGHT
flags {UNIT_FL_NO_WEATHER, UNIT_FL_INDOORS}
in ship
dilcopy force_move@function(12,
"portal_room@dragonst!You feel your body dissolving.<br/>You appear in the station.",
FALSE);
end
disposal_room
title "Red field room"
descr
"Like the other rooms on the station this one is large enough for
dragons to fit in comfortably. The strange thing about this room is
that it is totally empty except for a red field right in the centre.
A passage leads back to the east."
extra {"red field", "field"}
"The field looks to be a red fog, shifting and churning as you watch.
If you are nuts you could probably enter it."
movement SECT_INSIDE
ALWAYS_LIGHT
flags {UNIT_FL_NO_WEATHER, UNIT_FL_INDOORS}
east to chamber descr
"You see the main chamber.";
// dis_port is inside this room: the red field
end
dis_port
names {"red field", "field"}
title "Red field"
descr
"Red mist swirls about you."
movement SECT_INSIDE
ALWAYS_LIGHT
flags {UNIT_FL_NO_WEATHER, UNIT_FL_INDOORS}
in disposal_room
dilcopy force_move@function(12,
"deathspace@dragonst!You feel your body dissolving.",
FALSE);
end
deathspace
title "Open space"
descr
"You see the ship and the station far off in the distance, and you are
in space!"
movement SECT_INSIDE
ALWAYS_LIGHT
flags {UNIT_FL_NO_WEATHER, UNIT_FL_INDOORS, UNIT_FL_NOSAVE}
dilcopy death_room@function(
// ticks between hits: 12 is 3 seconds, the shortest it allows
12,
// hit points of damage per hit
400,
// the message for each hit
"Too late you realise that was the rubbish disposal. Your lungs explode!");
end
%end
A walk through the station:
- From the chamber, east leads through the hallway and its air lock door to the office.
- In the office,
search stafffinds the hidden air lock door to the south. It is locked and nobody has the key (nokey), so it has to be picked (or opened with theunlockspell). - In the portal room,
enter fieldputs you in the green field, which sends you to the dragon ship after a few seconds. The ship's own green field brings you back to the portal room. - West of the chamber,
enter fieldin the disposal room sends you into open space, where you die within seconds.
There is no %reset section yet, so a door that a player opens stays open until the next reboot. The reset section adds the door resets that close and lock the doors again. The NPC section adds the station's inhabitants.