-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path01-schoolboy-room.ink
222 lines (167 loc) · 8.04 KB
/
01-schoolboy-room.ink
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
VAR knows_name = false
VAR mum_suspicious = false
VAR knows_gf = false
VAR took_gf_photo = false
VAR doctor_name = "Williams"
VAR seen_cheatsheet = false
VAR has_cheatsheet = false
VAR wearing_hat = false
VAR hat_color = "none"
VAR seen_doctor = false
VAR powers_activated = false
VAR jacket_description = "black leather"
~ temp explore_counts = 0
~ temp first_explore = true
~ temp max_explore = 1
=== schoolboy_room ===
It looks like a normal schoolboy's room. There is a stack of books on the table, and a name tag on the table. In the corner of the room, there is a wardrobe with a mirror. -> explore_room.start
=== explore_room ===
= start
+ [Go towards the table.] I walk towards the table. The first book on the stack says Chemistry. An A-level chemistry textbook. The nametag lay on its side.
-> explore_room.table
+ [Go to the wardrobe.] I walk towards the wardrobe. -> explore_room.wardrobe
= wardrobe
{wardrobe == 1:
I look at the mirror. He looks puny. Oversized clothes, powerless hands.
}
+ {explore_counts > max_explore and not first_explore } I have taken too long. -> explore_room.need_to_go
+ {explore_counts <= max_explore or first_explore } [Open the wardrobe.] I open the wardrobe. This guy obviously likes black.
~ explore_counts += 1
** {first_explore} -> explore_room.mum_calls
++ {not first_explore} There are a few hats in the wardrobe.
Should I wear a hat to school?
+++ [Yes] -> explore_room.choose_hat
+++ [No] Bleh, his hats are terrible. -> explore_room.wardrobe
++ { not first_explore }[Look around to see if there's anything interesting.] Wary of time, I rummage through his clothes. -> explore_room.inside_wardrobe
+ {explore_counts <= max_explore } [Go towards the table] I walk towards the table. -> explore_room.table
= choose_hat
A hat will probably look good on me.
What color should I wear?
+ [Green] Green? Maybe not such a good choice, but I can't be bothered.
~ wearing_hat = true
~ hat_color = "green"
+ [Red] Red, oh yeah!
~ wearing_hat = true
~ hat_color = "red"
+ [Yellow] A yellow hat it is!
~ wearing_hat = true
~ hat_color = "yellow"
+ [Black] {name} probably likes black, I'll pick black.
~ wearing_hat = true
~ hat_color = "black"
+ [Purple] Purple is my favourite color!
~ wearing_hat = true
~ hat_color = "purple"
+ I changed my mind. Not going to wear a hat after all.
- -> explore_room.wardrobe
= inside_wardrobe
{ not seen_cheatsheet:
+ There is a piece of paper sticking out of his {jacket_description} jacket.
I carefully straighten out the paper. There are {num_questions} letters written in bold with a {writing_instrument}, over and over again: {answer1}{answer2}{answer3}{answer4}{answer5}
~ seen_cheatsheet = true
++ What does this mean? []I wonder.
The paper looks ancient, and the handwriting looks strange.
I should probably remember this.
+++ [Take the paper.] I mutter the {num_questions} letters as I pocket the piece of paper. Hopefully it will come in useful.
~ has_cheatsheet = true
-> explore_room.wardrobe
+++ [Leave it there.] I'm not the owner of this body. It is not good to take things at will.
-> explore_room.wardrobe
- else:
There is nothing new here.
+ {not has_cheatsheet} [The piece of paper is still there. Take it with me?] I mutter the {num_questions} letters as I pocket the piece of paper. Hopefully it will come in useful.
~ has_cheatsheet = true
-> explore_room.wardrobe
+ [Go back.] -> explore_room.wardrobe
}
= table
+ {explore_counts <= max_explore or first_explore } [Check out the books.] I briefly flip through the books. Something catches my eye.
~ explore_counts += 1
++ {first_explore} -> explore_room.mum_calls
++ {not first_explore}What's that? -> girlfriend_photo
++ {not first_explore } Never mind.
+++ [Go back.] -> explore_room.table
+ {explore_counts <= max_explore or first_explore } [Look at the name tag.] I look at the name tag.
~ explore_counts += 1
It says {name}.
~ knows_name = true
++ {first_explore} -> explore_room.mum_calls
++ {not first_explore} [Go back.] -> explore_room.table
+ {explore_counts <= max_explore or first_explore } [Go to the wardrobe.] I walk towards the wardrobe. ->explore_room.wardrobe
+ {explore_counts > max_explore and not first_explore } I have taken too long. -> explore_room.need_to_go
= mum_calls
"Hey, {name}, it's time for school!" A voice calls, and middle aged woman steps into the room.
~ first_explore = false
// reset explore counts
~ explore_counts = 0
+ { knows_name } "Coming!" [] I shout back.
I have a few more minutes to explore.
-> explore_room.start
* { not knows_name } "Who's {name}?"[] I say, confused.
~ mum_suspicious = true
"Are you okay?" She seems concerned.
** Uh oh. {name} is probably the name of this body.
- She stretches out her hand and touches my forehead.
"Oh dear, you're having a fever! Do you want to go to the doctor?"
** "Yes, I think I need a doctor." -> go_to_doctor
** "No, I think I'm fine."
"Okay then. Get ready quick, you're going to be late," She peers at me before leaving the room.
I have a few more minutes to explore.
~ explore_counts = 0
-> explore_room.start
= need_to_go
// has taken too long, needs to go
+ It's about time to go out. {name}'s mother is waiting. -> before_going_outside
=== girlfriend_photo ===
~ knows_gf = true
+ {girlfriend_photo == 1} -> first_time
+ {girlfriend_photo > 1} -> subsequent_times
= first_time
It's a photo of a girl. There is a heart written at the back. {name}'s girlfriend?
* {girlfriend_photo == 1}[Take it with me. ] I carefully pick up the photo and put it in my pocket.
~ took_gf_photo = true
++ [Go back.] -> explore_room.table
* {girlfriend_photo == 1} [Leave it there. It's not good to take things without permission.] I put the photo back.
++ [Go back.] -> explore_room.table
= subsequent_times
There's nothing new here.
* {not took_gf_photo} [The photo of {name}'s girlfriend is still here. Take it with me?] I decide to take the photo.
+ [Go back] -> explore_room.table
=== before_going_outside ===
I go outside. The mother busies herself around me.
{before_going_outside == 1 and not mum_suspicious:
"Oh dear, you look feverish," she suddenly exclaims. "Do you need to go to the doctor?"
* "No, I'm fine[."]," I reply. -> go_to_school
* ["Yes, I think I'm sick."] "Yes, I think I'm sick," I reply. Maybe the doctor would be able to tell me what is going on. -> go_to_doctor
- else:
-> go_to_school
}
=== go_to_school ===
Before long, I am on my way to school.
+ [Continue]
-> school.start
=== go_to_doctor ===
She drives me to the doctor.
He looks oddly familiar.
~ seen_doctor = true
"How has he been recently?" he asks.
* I thought I saw something dangerous in his eyes when he spoke.
-
{mum_suspicious:
"Oh, I don't know, Dr {doctor_name}. He was acting strange just this morning. That's why I'm worried. He even forgot his name this morning."
** The look on his face darkens.
"Sure, I just need to do some checkups on him to make sure he's fine. In the meantime, would you mind waiting outside?"
Something does not feel right.
"Sure," she happily obliged.
*** The door closes behind her. -> killed_by_doctor_ending
}
{not mum_suspicious:
"Oh, he's excellent, Dr {doctor_name}. I just thought he looked feverish this morning," the mother replied, looking slightly worried.
I look again. The dangerous look is gone.
* Maybe it was just an illusion.
He gives me a regular checkup and tells the mother that it's nothing much and I just need a rest.
The mother hurries me home and makes me sleep while she watches over me worriedly.
** The next day, my fever subsides.
~ explore_counts = 0
She tells me to get ready for school again. I have a few more minutes to look around the room before she barges in. -> explore_room.start
}