1 [Always Before]:
2 if stink is 3
3 You have died from the bad smells!
4 You are deceased. You can no longer navigate the house. :-(
5 STOP!
6 endif
7
8
9
10 [Always After]:
11 You have smelled
12 print stink
13 stinky things.
14
15 if stink is 3
16 You have died from the bad smells!
17 You are deceased. You can no longer navigate the house. :-(
18 endif
19
20
21
22 [Start]:
23 set stink to 0
24 You have arrived at a tropical island. This is going to be great!
25 You are renting a cute little house on the beach.
26
27 Oh no, there are some bad smells in this house!
28
29 insert room list here
30
31
32
33 [room list]:
34 link Living room to living room
35
36 link Kitchen to kitchen
37
38 link Bedroom to bedroom
39
40
41
42 [living room]:
43 The couch smells terrible! You are taking damage!
44 inc stink
45 insert room list here
46
47
48
49 [kitchen]:
50 This is a kitchen. Everything is old-fashioned, with enamel
51 paint and chrome on the applicances. It's small, but serviceable.
52
53 link Check the fridge to kitchen.fridge
54
55 link Check the trash to kitchen.trash
56
57 Or just
58 link go back to the living room to living room
59
60
61
62 [kitchen.fridge]:
63 Oh, it's so bad! This is a smelly fridge!
64 inc stink
65
66 You are in the
67 link kitchen to kitchen
68 .
69
70
71
72
73 [kitchen.trash]:
74 You fool! Of COURSE the trash stinks! What were you expecting?
75 inc stink
76
77 You are in the
78 link kitchen to kitchen
79 .
80
81
82
83 [bedroom]:
84 The bedroom is decorated in neutral beige tones.
85 Sheer curtains billow in the breeze, inviting you
86 to take in the view.
87
88 There is a perfectly made
89 link bed to bedroom.sleep
90 in the corner.
91
92 Unfortunately, there is also a
93 link small stain to bedroom.sniff
94 in the other corner.
95
96 insert room list here
97
98
99
100 [bedroom.sleep]:
101 Ahhhh, this is so nice.
102 if stink is 0
103 You have a relaxing sleep.
104 else
105 The sleep restores your mind and olefactory senses.
106 dec stink
107 endif
108 You are in the
109 link bedroom to bedroom
110 .
111
112
113
114 [bedroom.sniff]:
115 Why did you do that? You knew that stain was going to smell bad,
116 but you sniffed it anyway. You have taken more damage!
117 inc stink
118 You are in the
119 link bedroom to bedroom
120 .
121
122
123