Add red alert that stops after exiting bunk

This commit is contained in:
Dan Jones 2022-01-11 16:08:48 -06:00
commit 2d45970029
3 changed files with 9 additions and 0 deletions

View file

@ -5,3 +5,8 @@ Decoration poster "Starfleet recruitment poster" bunk
with before [;
Take: print_ret (The) self, " is stuck on the ceiling.";
];
Decoration red_alert "Red alert"
with daemon [;
"A red alert sounds";
];

View file

@ -8,4 +8,7 @@ Room bunk "your bunk" lower_decks
with name 'bunk' 'bunks',
description "Your bunk is like every other bunk on the lower decks.^
It's barely big enough to fit you. But it's home.",
after [;
Exit: StopDaemon(red_alert);
],
has proper enterable container static ~open ~light;

View file

@ -32,6 +32,7 @@ Include "Items.inf";
player.description = "You are wearing an operations uniform,
with a single pip.";
move computer to bunk;
StartDaemon(red_alert);
];
Include "Grammar";