3f313e10ae47c5a96f4fb6db9e18c956e9ecb6fa
[homeland.git] / src / objects / intro / neighborkitchen.inf
1 ! Copyright (C) 2019, 2020 Jason Self <j@jxself.org>
2 !
3 ! This file is free software: you may copy, redistribute and/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. It's a large 
19              contemporary kitchen with an open design and many flat 
20              surfaces. The color palette is very bright and in 
21              perfect harmony with the kitchen. It's timeless and 
22              beautiful. The walls look like they've been used to 
23              store things, with some faint outlines remaining that 
24              gives a lived-in look. It could have been a luxury 
25              cooking environment, though by now everything has been 
26              removed. Only the kitchen island and fireplace remain in 
27              stark contrast to the bare kitchen. The livingroom is to 
28              the east. The door to the back yard is to the west.",
29         e_to neighborlivingroom,
30         w_to backyard,
31   has   light;
32
33 Object  island "kitchen island" neighborkitchen
34   with  name 'kitchen' 'island' 'table' 'wood' 'wooden' 'top' 'wood',
35         description 
36             "It has metal legs firmly embedded into the floor, and a 
37             wooden top. Strangely, all of the drawers have been 
38             removed.",
39         before [;
40           Take, Pull, Push, PushDir, Turn:
41             print_ret "The kitchen island is firmly planted in the floor.";
42         ],
43   has   scenery supporter enterable;
44
45 Object  brick "brick" neighborkitchen
46   with  name 'brick' 'bricks' 'mortar',
47         description 
48             "You find nothing special about the bricks that make up 
49             the fireplace.",
50   has   scenery;
51
52 Object  fireplace "fireplace" neighborkitchen
53   with  name 'fireplace' 'fire' 'place' 'mouth',
54         description [;
55             print 
56                 "A stain is splayed against the brick fireplace, 
57                 making its curved mouth appear like a black, toothless 
58                 scream. A confection of ashes occupy the fireplace";
59             if (poker in self)
60                 print 
61                     ", and a poker hangs out which looks like it 
62                     could make an effective weapon";
63             print ".";
64             new_line;
65         ],
66   has   scenery container transparent open;
67
68 Object  poker "poker" fireplace
69   with  name 'poker',
70         description 
71             "This poker may have once been used to expedite the 
72             flame's envelopment, as well as the house's many stories 
73             and secrets.",
74         before [;
75           Take, Pull, Push, PushDir, Remove:
76             give poker ~concealed;
77             if (poker hasnt visited) {
78                 score = score + 1;
79                 give poker visited;
80                 }
81             if (player in neighborlivingroom) {
82                 if (bluebutton has on)
83                     machine.shoot();
84             }
85         ],
86   has   concealed;
87
88 Object  ashes "ashes" fireplace
89   with  name 'ash' 'ashes',
90         description "It looks like a pile of ash.",
91         before [;
92           Take, Pull, Push, PushDir:
93             print_ret "The ashes are so fine they fall between your fingers.";
94         ],
95   has   concealed pluralname;
96
97 Object  stain "stain" fireplace
98   with  name 'stain',
99   has   scenery;
100
101 Object  mouth "mouth of the fireplace" fireplace
102   with  name 'mouth',
103   has   scenery;
104
105 Object  letter "letter" island
106   with  name 'letter',
107         description 
108             "The letter reads: ~Thank you for evaluating this 
109             prototype of the Frobozz Magic Teleporter. Please refer to 
110             the enclosed manual to learn how to program destinations 
111             in to your teleporter. Pressing the red button recalls the 
112             last-used destination and teleports you there. Pressing 
113             the blue button engages Defense Mode, which instantly 
114             whisks intruders away. Use it to provide defense for any 
115             location! Please send feedback about this prototype to 
116             your local FrobozzCo International sales person. Warning: 
117             Side effects can include disorientation, loss of memory, 
118             lightheadedness, loss of appetite, nausea, vomiting, 
119             weakness, and death.~";