193d828ec70d87c35b829d88d934cdf17b8b3c88
[homeland.git] / src / objects / neighborkitchen.inf
1 ! Copyright (C) 2019 Jason Self <j@jxself.org>
2 !
3 ! This file is free software: you may copy, redistribute gand/or
4 ! modify it under the terms of the GNU Affero General Public License
5 ! as published by the Free Software Foundation, either version 3 of
6 ! the License, or (at your option) any later version.
7 !
8 ! This file is distributed in the hope that it will be useful, but
9 ! WITHOUT ANY WARRANTY; without even the implied warranty of
10 ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 ! Affero General Public License for more details.
12 !
13 ! You should have received a copy of the GNU Affero General Public
14 ! License along with this file. If not, see https://gnu.org/licenses/
15
16 Object  neighborkitchen "Kitchen"
17   with  description 
18             "You are in your neighbor's kitchen. A large kitchen, 
19             though by now everything has been removed. Only the 
20             kitchen island and fireplace remain in stark contrast to 
21             the bare kitchen. The livingroom is to the east. The door 
22             to the back yard is to the west.",
23         e_to neighborlivingroom,
24         w_to backyard,
25   has   light;
26
27 Object  island "kitchen island" neighborkitchen
28   with  name 'kitchen' 'island' 'table' 'wood' 'wooden' 'top' 'wood',
29         description 
30             "It has metal legs firmly embedded into the floor, and a 
31             wooden top. Strangely, all of the drawers have been 
32             removed.",
33         before [;
34           Take, Pull, Push, PushDir, Turn:
35             print_ret "The kitchen island is firmly planted in the floor.";
36         ],
37   has   scenery supporter enterable;
38
39 Object  brick "brick" neighborkitchen
40   with  name 'brick' 'bricks' 'mortar',
41         description 
42             "You find nothing special about the bricks that make up 
43             the fireplace.",
44   has   scenery;
45
46 Object  fireplace "fireplace" neighborkitchen
47   with  name 'fireplace' 'fire' 'place' 'mouth',
48         description [;
49             print 
50                 "A stain is splayed against the brick fireplace, 
51                 making its curved mouth appear like a black, toothless 
52                 scream. A confection of ashes occupy the fireplace";
53             if (poker in self)
54                 print 
55                     ", and a poker hangs out which looks like it 
56                     could make an effective weapon";
57             print ".";
58             new_line;
59         ],
60   has   scenery container transparent open;
61
62 Object  poker "poker" fireplace
63   with  name 'poker',
64         description 
65             "This poker may have once been used to expedite the 
66             flame's envelopment, as well as the house's many stories 
67             and secrets.",
68         before [;
69           Take, Pull, Push, PushDir, Remove:
70             give poker ~concealed;
71             if (player in neighborlivingroom) {
72                 if (bluebutton has on)
73                     machine.shoot();
74             }
75         ],
76   has   concealed;
77
78 Object  ashes "ashes" fireplace
79   with  name 'ash' 'ashes',
80         description "It looks like a pile of ash.",
81         before [;
82           Take, Pull, Push, PushDir:
83             print_ret "The ashes are so fine they fall between your fingers.";
84         ],
85   has   concealed pluralname;
86
87 Object  stain "stain" fireplace
88   with  name 'stain',
89   has   scenery;
90
91 Object  mouth "mouth of the fireplace" fireplace
92   with  name 'mouth',
93   has   scenery;
94
95 Object  letter "letter" island
96   with  name 'letter',
97         description 
98             "The letter reads: ~Thank you for evaluating this 
99             prototype of the Frobozz Magic Teleporter. Please refer to 
100             the enclosed manual to learn how to program destinations 
101             in to your teleporter. Pressing the red button recalls the 
102             last-used destination and teleports you there. Pressing 
103             the blue button engages Defense Mode, which instantly 
104             whisks intruders away. Use it to provide defense for any 
105             location! Please send feedback about this prototype to 
106             your local FrobozzCo International sales person. Warning: 
107             Side effects can include disorientation, loss of memory, 
108             lightheadedness, loss of appetite, nausea, vomiting, 
109             weakness, and death.~";