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
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
|
# File 'lib/invader_zim/cli.rb', line 106
def show_character(character)
system "clear"
print CLIColorize.colorize("Name:", :red).strip
puts CLIColorize.colorize(" #{character.name}\n", :cyan).strip
if character.name == "Professor Membrane" || character.name == "Ms. Bitters" || character.name == "Recap Kid"
print CLIColorize.colorize("Homeworld:", :red).strip
puts CLIColorize.colorize(" Earth", :cyan).strip
elsif character.name == "GIR" || character.name == "Minimoose" || character.name == "Roboparents"
print CLIColorize.colorize("Homeworld:", :red).strip
puts CLIColorize.colorize(" Irk", :cyan).strip
else
print CLIColorize.colorize("Homeworld:", :red).strip
puts CLIColorize.colorize(" #{character.homeworld}", :cyan).strip
end
print CLIColorize.colorize("\nGender:", :red).strip
puts CLIColorize.colorize(" #{character.gender}\n", :cyan).strip
if character.affiliation == ""
print CLIColorize.colorize("Affiliation:", :red).strip
puts CLIColorize.colorize(" None\n", :cyan).strip
else
print CLIColorize.colorize("Affiliation:", :red).strip
puts CLIColorize.colorize(" #{character.affiliation}\n", :cyan).strip
end
print CLIColorize.colorize("Debut:", :red).strip
puts CLIColorize.colorize(" #{character.debut}\n", :cyan).strip
puts CLIColorize.colorize("Introduction:", :red).strip
puts CLIColorize.colorize(" #{character.introduction}\n", :cyan).strip
puts CLIColorize.colorize("Appearance:", :red).strip
puts CLIColorize.colorize(" #{character.appearance}\n", :cyan).strip
sleep(3)
puts CLIColorize.colorize("#{@human.name}, would you like to know some Facts of Doom!? Enter Y or N", :red).strip
input = gets.strip.downcase
if input == "y"
system "clear"
print_image("girdisguise.gif")
puts CLIColorize.colorize("Yay! I'm gunna sing The Doom Song now!\n", :yellow).strip
sleep(3)
puts CLIColorize.colorize("Doom doom doom doom doom, doom doom do DOOM, DOOOM doom do-doom, DOOM do-doom doom doooom, doom doom dooom, do-do-DOOOM!\n", :yellow).strip
sleep(5)
puts CLIColorize.colorize("(6 months later...)\n", :white).strip
sleep(3)
puts CLIColorize.colorize("Doom doom doo doom doom, DOOMY-DOOMY-DOOM, doom do do DOOM, Do do DOOM, doomy-doomy-doomy, Doom doom doom THE END." , :yellow).strip
sleep(6)
system "clear"
if character.facts_of_doom == ""
puts CLIColorize.colorize("Sorry #{@human.name}, this character has no Facts of Doom.", :red).strip
sleep(3)
else
puts CLIColorize.colorize("Facts of Doom:", :red).strip
puts CLIColorize.colorize(" #{character.facts_of_doom}\n", :cyan).strip
sleep(3)
end
puts CLIColorize.colorize("#{@human.name}, would you like to gain knowledge about a different character? Enter Y or N", :red).strip
input = gets.strip.downcase
if input == "y"
system "clear"
print_image("gir_red.gif")
puts CLIColorize.colorize("\nThe knowledge, it fills me. It is neat.", :yellow).strip
sleep(5)
elsif input == "n" || input == "exit"
system "clear"
print_image("zim2.gif")
puts CLIColorize.colorize("Nooooo! You lie! YOU LIIIIIIIIIEEEEEEEEEE!!!!!\n", :green).strip
puts CLIColorize.colorize("[makes wild scratching motions with his arms]\n", :white).strip
sleep(5)
delete_all_images
exit
else
system "clear"
print_image("gir_transformation.gif")
sleep(3)
puts CLIColorize.colorize("Leprechauns!", :yellow).strip
sleep(5)
end
elsif input == "n"
system "clear"
print_image("ms_bitters.gif")
puts CLIColorize.colorize("\n#{@human.name}, your performance was miserable! Your parents will get a phone call instructing them to love you less.\n", :magenta).strip
sleep(5)
system "clear"
puts CLIColorize.colorize("#{@human.name}, would you like to learn about a different character? Enter Y or N", :red).strip
input = gets.strip.downcase
if input == "y"
system "clear"
print_image("recap_kid.gif")
puts CLIColorize.colorize("Previously at Invader Zim's Secret Lair...", :white).strip
sleep(4)
elsif input == "n" || input == "exit"
system "clear"
print_image("sad_gir.gif")
puts CLIColorize.colorize("\nWhy!? Why!? I loveded you! I loveded you!\n", :yellow).strip
sleep(5)
delete_all_images
exit
else
system "clear"
print_image("professor.gif")
puts CLIColorize.colorize("[transmitting from his lab on a floating monitor]\n", :white).strip
sleep(3)
puts CLIColorize.colorize("I'm sorry, but I'm very busy right now.\n", :red).strip
sleep(3)
puts CLIColorize.colorize("We're testing some highly unstable- \n", :red).strip
sleep(3)
puts CLIColorize.colorize("[gasps, alerts going off]\n", :white).strip
sleep(3)
puts CLIColorize.colorize("OH NO!! YOU PRESSED AN INCORRECT KEY!!\n", :red).strip
sleep(3)
puts CLIColorize.colorize("[A large explosion occurs across town and the screen plays elevator music with 'Please Stand By' appearing]\n", :white).strip
sleep(4)
end
elsif input == "exit"
system "clear"
print_image("zim.gif")
puts CLIColorize.colorize("For your betrayal in attempting to leave I have decided to launch you into space\n", :green).strip
sleep(4)
puts CLIColorize.colorize("Launching you into space is just the first part of my plan! Now is where the fun really starts!\n", :green).strip
sleep(4)
puts CLIColorize.colorize("I researched many different wormholes with many possible outcomes. It was a very difficult decision deciding which wormhole would be the most horrible for you.\n", :green).strip
sleep(5)
puts CLIColorize.colorize("One wormhole would have spat you out into a dimension of pure itching!\n", :green).strip
sleep(4)
puts CLIColorize.colorize("Another would've sent you to a dimension of pure dookie! \n", :green).strip
sleep(4)
puts CLIColorize.colorize("But I chose this particular wormhole especially for the occasion.\n", :green).strip
sleep(4)
puts CLIColorize.colorize("You see, at the end of this wormhole lies... a room... with a moose!\n", :green).strip
sleep(4)
system "clear"
print_image("moose.gif")
sleep(6)
system "clear"
print_image("zim.gif")
puts CLIColorize.colorize("Prepare your bladder for imminent release!\n", :green).strip
sleep(4)
puts CLIColorize.colorize("Now, #{@human.name}. I leave you to your... em... \n", :green).strip
sleep(4)
system "clear"
print_image("girdisguise.gif")
puts CLIColorize.colorize("Moosey fate, say moosey fate!\n", :yellow).strip
sleep(4)
system "clear"
print_image("zim.gif")
puts CLIColorize.colorize("Your...moosey fate!\n", :green).strip
sleep(3)
puts CLIColorize.colorize("[Gir laughs hysterically. Zim hesitates, then laughs too and then launches you into space]\n", :white).strip
sleep(4)
delete_all_images
exit
else
system "clear"
print_image("mini_moose.gif")
puts CLIColorize.colorize("You have entered an incorrect key. Minimoose judges you. The Shame....", :white).strip
sleep(6)
end
end
|