♻️ getting classy

This commit is contained in:
Dan Jones 2022-01-09 22:55:57 -06:00
commit 64381da786
4 changed files with 18 additions and 4 deletions

8
Classes.inf Normal file
View file

@ -0,0 +1,8 @@
Class Room has light;
Class Set
with before [;
Examine: return false;
default: print_ret "You can't do that with ", (the) self, ".";
],
has scenery;

0
Globals.inf Normal file
View file

View file

@ -1,10 +1,12 @@
Object lower_decks "Lower Decks Corridor"
Room lower_decks "Lower Decks Corridor"
with description "You stand in a lower decks corridor.
This corridor contains several bunks lining the walls where the lower deckers sleep."
has light;
This corridor contains several bunks
lining the walls where the lower deckers
sleep.";
! @todo fix "in the Your bunk"
Object 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."
has enterable container openable;
has enterable container openable;

View file

@ -6,10 +6,14 @@ Release 1;
Include "Parser";
Include "VerbLib";
Include "Globals.inf";
Include "Classes.inf";
Include "Rooms.inf";
[ Initialise ;
location = bunk;
player.description = "You are wearing an operations uniform,
with a single pip.";
];
Include "Grammar";