🐛 Ensure computer is in every room or enterable
This commit is contained in:
parent
670fb183e1
commit
a8bf9baaf8
2 changed files with 17 additions and 2 deletions
|
|
@ -1,5 +1,4 @@
|
|||
! @todo fix talking to computer when lights are off
|
||||
! @todo fix computer not being in bunk
|
||||
Object computer "Computer"
|
||||
with name 'computer' 'ship',
|
||||
description "The computer of the ship uses non-sentient artificial intelligence^
|
||||
|
|
|
|||
18
remontel.inf
18
remontel.inf
|
|
@ -4,7 +4,22 @@ Constant Headline "^A Star Trek fan production^";
|
|||
Release 1;
|
||||
|
||||
Include "Parser";
|
||||
|
||||
Replace PlayerTo;
|
||||
Include "VerbLib";
|
||||
[ PlayerTo newplace flag;
|
||||
NoteDeparture();
|
||||
move player to newplace;
|
||||
move computer to newplace;
|
||||
while (parent(newplace)) newplace = parent(newplace);
|
||||
location = real_location = newplace;
|
||||
MoveFloatingObjects(); AdjustLight(1);
|
||||
switch (flag) {
|
||||
0: <Look>;
|
||||
1: NoteArrival(); ScoreArrival();
|
||||
2: LookSub(1);
|
||||
}
|
||||
];
|
||||
|
||||
Include "Globals.inf";
|
||||
Include "Classes.inf";
|
||||
|
|
@ -13,9 +28,10 @@ Include "Characters.inf";
|
|||
Include "Items.inf";
|
||||
|
||||
[ Initialise ;
|
||||
location = lower_decks; ! @todo switch to bunk
|
||||
location = bunk; ! @todo switch to bunk
|
||||
player.description = "You are wearing an operations uniform,
|
||||
with a single pip.";
|
||||
move computer to bunk;
|
||||
];
|
||||
|
||||
Include "Grammar";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue