🚚 Move include files to subdirectory
This commit is contained in:
parent
fd508d9ab0
commit
8a6446617d
7 changed files with 4 additions and 4 deletions
40
includes/Characters.inf
Normal file
40
includes/Characters.inf
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
Object computer "Computer"
|
||||
with name 'computer' 'ship',
|
||||
description "The computer of the ship uses non-sentient artificial intelligence^
|
||||
It can perform many tasks and answer questions.",
|
||||
found_in [; rtrue; ],
|
||||
orders [loc ;
|
||||
loc = parent(player);
|
||||
SetTo:
|
||||
if (noun == lights && second == 'full') {
|
||||
give loc light;
|
||||
print_ret "Lights at full.";
|
||||
}
|
||||
if (noun == lights && (second == 'zero' || second == 'off')) {
|
||||
give loc ~light;
|
||||
print_ret "Lights are off.";
|
||||
}
|
||||
print_ret "I do not know how to set ", (the) noun, " to ", (address) second;
|
||||
Open:
|
||||
switch(noun) {
|
||||
bunk:
|
||||
give noun open;
|
||||
print_ret (The) noun, " is open.";
|
||||
}
|
||||
Close:
|
||||
switch(noun) {
|
||||
bunk:
|
||||
give noun ~open;
|
||||
print_ret (The) noun, " is closed.";
|
||||
}
|
||||
Tell:
|
||||
! @todo fill this out for various things to talk about
|
||||
print_ret "You want me to tell you about ", (string) second;
|
||||
NotUnderstood: print_ret "I do not understand.";
|
||||
],
|
||||
has animate scenery;
|
||||
|
||||
Object lights "Lights"
|
||||
with name 'lights',
|
||||
found_in [; rtrue; ],
|
||||
has static scenery;
|
||||
30
includes/Classes.inf
Normal file
30
includes/Classes.inf
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
Class Room
|
||||
with add_to_scope [;
|
||||
AddToScope(computer);
|
||||
PlaceInScope(computer);
|
||||
AddToScope(lights);
|
||||
PlaceInScope(lights);
|
||||
],
|
||||
has light;
|
||||
|
||||
! Class Set
|
||||
! with before [;
|
||||
! Examine: return false;
|
||||
! default: print_ret "You can't do that with ", (the) self, ".";
|
||||
! ],
|
||||
! has scenery;
|
||||
|
||||
Class Decoration
|
||||
with before [;
|
||||
Take,Pull,Push,PushDir:
|
||||
print_ret "You can't do that with ", (the) self, ".";
|
||||
],
|
||||
has static;
|
||||
|
||||
! Class Furniture
|
||||
! class Decoration,
|
||||
! with before [;
|
||||
! Take,Pull,Push,PushDir:
|
||||
! print_ret (the) self, " is too heavy for that.";
|
||||
! ],
|
||||
! has supporter;
|
||||
0
includes/Globals.inf
Normal file
0
includes/Globals.inf
Normal file
7
includes/Items.inf
Normal file
7
includes/Items.inf
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
Decoration poster "Starfleet recruitment poster" bunk
|
||||
with name 'poster' 'recruitment',
|
||||
description "A poster is attached to the roof of your bunk.^
|
||||
This poster is what inspired you to join Starfleet.",
|
||||
with before [;
|
||||
Take: print_ret (The) self, " is stuck on the ceiling.";
|
||||
];
|
||||
0
includes/MoreVerbs.inf
Normal file
0
includes/MoreVerbs.inf
Normal file
13
includes/Rooms.inf
Normal file
13
includes/Rooms.inf
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
! @todo fix "You stand" when in bunk
|
||||
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.";
|
||||
|
||||
! @todo fix "in the Your bunk"
|
||||
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.",
|
||||
has enterable container static ~open ~light;
|
||||
Loading…
Add table
Add a link
Reference in a new issue