✨ Add red alert that stops after exiting bunk
This commit is contained in:
parent
407d5c9d1b
commit
2d45970029
3 changed files with 9 additions and 0 deletions
|
|
@ -5,3 +5,8 @@ Decoration poster "Starfleet recruitment poster" bunk
|
||||||
with before [;
|
with before [;
|
||||||
Take: print_ret (The) self, " is stuck on the ceiling.";
|
Take: print_ret (The) self, " is stuck on the ceiling.";
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Decoration red_alert "Red alert"
|
||||||
|
with daemon [;
|
||||||
|
"A red alert sounds";
|
||||||
|
];
|
||||||
|
|
@ -8,4 +8,7 @@ Room bunk "your bunk" lower_decks
|
||||||
with name 'bunk' 'bunks',
|
with name 'bunk' 'bunks',
|
||||||
description "Your bunk is like every other bunk on the lower decks.^
|
description "Your bunk is like every other bunk on the lower decks.^
|
||||||
It's barely big enough to fit you. But it's home.",
|
It's barely big enough to fit you. But it's home.",
|
||||||
|
after [;
|
||||||
|
Exit: StopDaemon(red_alert);
|
||||||
|
],
|
||||||
has proper enterable container static ~open ~light;
|
has proper enterable container static ~open ~light;
|
||||||
|
|
|
||||||
|
|
@ -32,6 +32,7 @@ Include "Items.inf";
|
||||||
player.description = "You are wearing an operations uniform,
|
player.description = "You are wearing an operations uniform,
|
||||||
with a single pip.";
|
with a single pip.";
|
||||||
move computer to bunk;
|
move computer to bunk;
|
||||||
|
StartDaemon(red_alert);
|
||||||
];
|
];
|
||||||
|
|
||||||
Include "Grammar";
|
Include "Grammar";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue