♻️ getting classy
This commit is contained in:
parent
229633cd48
commit
64381da786
4 changed files with 18 additions and 4 deletions
8
Classes.inf
Normal file
8
Classes.inf
Normal 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
0
Globals.inf
Normal file
|
|
@ -1,8 +1,10 @@
|
||||||
Object lower_decks "Lower Decks Corridor"
|
Room lower_decks "Lower Decks Corridor"
|
||||||
with description "You stand in a 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."
|
This corridor contains several bunks
|
||||||
has light;
|
lining the walls where the lower deckers
|
||||||
|
sleep.";
|
||||||
|
|
||||||
|
! @todo fix "in the Your bunk"
|
||||||
Object bunk "Your bunk" lower_decks
|
Object 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.^
|
||||||
|
|
|
||||||
|
|
@ -6,10 +6,14 @@ Release 1;
|
||||||
Include "Parser";
|
Include "Parser";
|
||||||
Include "VerbLib";
|
Include "VerbLib";
|
||||||
|
|
||||||
|
Include "Globals.inf";
|
||||||
|
Include "Classes.inf";
|
||||||
Include "Rooms.inf";
|
Include "Rooms.inf";
|
||||||
|
|
||||||
[ Initialise ;
|
[ Initialise ;
|
||||||
location = bunk;
|
location = bunk;
|
||||||
|
player.description = "You are wearing an operations uniform,
|
||||||
|
with a single pip.";
|
||||||
];
|
];
|
||||||
|
|
||||||
Include "Grammar";
|
Include "Grammar";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue