🐛 Allow computer to always set lights

This commit is contained in:
Dan Jones 2022-01-11 11:13:34 -06:00
commit fd508d9ab0
4 changed files with 10 additions and 3 deletions

View file

@ -1,4 +1,3 @@
! @todo fix talking to computer when lights are off
Object computer "Computer" Object computer "Computer"
with name 'computer' 'ship', with name 'computer' 'ship',
description "The computer of the ship uses non-sentient artificial intelligence^ description "The computer of the ship uses non-sentient artificial intelligence^

View file

@ -1,4 +1,11 @@
Class Room has light; Class Room
with add_to_scope [;
AddToScope(computer);
PlaceInScope(computer);
AddToScope(lights);
PlaceInScope(lights);
],
has light;
! Class Set ! Class Set
! with before [; ! with before [;

0
MoreVerbs.inf Normal file
View file

View file

@ -28,10 +28,11 @@ Include "Characters.inf";
Include "Items.inf"; Include "Items.inf";
[ Initialise ; [ Initialise ;
location = bunk; ! @todo switch to bunk location = bunk;
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;
]; ];
Include "Grammar"; Include "Grammar";
Include "MoreVerbs.inf";