mirror of
https://gitlab.com/Oreolek/black_phone.git
synced 2024-04-28 23:29:42 +03:00
Finale and everything.
Almost done now.
This commit is contained in:
parent
92f5cc3cb7
commit
cae7bcac72
|
@ -49,12 +49,21 @@ code_reset = (character) ->
|
|||
|
||||
code_check = (character, system) ->
|
||||
if character.sandbox.code.length >= 6
|
||||
if character.sandbox.code != "27032017"
|
||||
writemd(system, "Something clicks and the display resets, but the box stays locked.")
|
||||
if character.sandbox.code == "000000"
|
||||
writemd(system, "Of course, Ronald didn't hope it would be that easy.")
|
||||
else
|
||||
if character.sandbox.code == "31122017" or character.sandbox.code == "01012017"
|
||||
character.sandbox.box_opened = 1
|
||||
if character.sandbox.knows_the_code == 0
|
||||
writemd(system, """
|
||||
Is he an extraordinary puzzle cracker or was it a sheer luck, but Ronald manages to *guess* the code.
|
||||
""")
|
||||
else
|
||||
writemd(system, """
|
||||
New Year 2017.
|
||||
L. Y. must be Leonard Yakovlev, a famous painter.
|
||||
Some tabloids tried to connect him with Ana but it seemed like a weak link.
|
||||
|
||||
By that logic, his sketch is worth more than all the cash here.
|
||||
Ronald thinks about it, but decides to "let the woman have her memories".
|
||||
""")
|
||||
writemd(system, """
|
||||
Something clicks and box opens.
|
||||
|
||||
|
@ -65,6 +74,11 @@ code_check = (character, system) ->
|
|||
Ronald has no other business here.
|
||||
It's time to go.
|
||||
""")
|
||||
else
|
||||
writemd(system, "Something clicks and the display resets, but the box stays locked.")
|
||||
if character.sandbox.code == "000000"
|
||||
writemd(system, "Of course, Ronald didn't hope it would be that easy.")
|
||||
|
||||
character.sandbox.code = ""
|
||||
|
||||
situation "start",
|
||||
|
@ -80,8 +94,8 @@ situation "start",
|
|||
In fact, he wasn't looking for meeting anybody here.
|
||||
|
||||
Fourth floor, apartment 406.
|
||||
There, he tried four keys.
|
||||
The third of them fitted the lock.
|
||||
There, he tried two keys.
|
||||
The second of them fitted the lock.
|
||||
|
||||
Burglary is a curious line of employment.
|
||||
Befittedly, Ronald Chernoff was very curious about a black phone behind the door of apartment 406 in a wooden box on a small table no farther than two meters from the bed.
|
||||
|
|
|
@ -9,6 +9,7 @@ undum.game.init = (character, system) ->
|
|||
e.target.click()
|
||||
character.sandbox.view_smash = 1
|
||||
character.sandbox.code = ""
|
||||
character.sandbox.knows_the_code = 0
|
||||
character.sandbox.box_opened = 0
|
||||
|
||||
window.onload = undum.begin
|
||||
|
|
|
@ -5,7 +5,6 @@ update_ways = (ways) ->
|
|||
content += way_to(undum.game.situations[way].title, way)
|
||||
$("#ways").html(content)
|
||||
|
||||
# the code is the day she met her lover
|
||||
# if the player enters the code prior to learning the birthday, the game responds accordingly
|
||||
# when he wants to go, there's someone at rge door
|
||||
# it's another thief (someone who is at ease with Ana's Instagram too) who took out Petya
|
||||
|
@ -29,7 +28,7 @@ situation "living-room",
|
|||
|
||||
#{textlink("A book stand", "bookcase")} is hanging above #{textlink("a television set.", "tv")}
|
||||
|
||||
Oh, and the door Ronald came into the apartment is there, too.
|
||||
Oh, and #{textlink("the door Ronald came into", "door")} the apartment is there, too.
|
||||
"""
|
||||
writers:
|
||||
window: "The moon is full today. It illuminates the flat, makes the things stand out in some weird angles."
|
||||
|
@ -79,6 +78,11 @@ situation "living-room",
|
|||
culinary: "An old culinary book. Nothing about it."
|
||||
bible: "An Orthodox Christian Bible, Old Testament. A decent hardcover edition. Bookmarked at the Sodom episode."
|
||||
tv: "An expensive 40-something inch TV standing on a stylish black stand. The room looks kinda small for that monster."
|
||||
door: (character, system) ->
|
||||
if character.sandbox.box_opened == 0
|
||||
"Ronald has a job here. It's still on."
|
||||
else
|
||||
system.doLink("door")
|
||||
|
||||
situation "bedroom",
|
||||
before: () ->
|
||||
|
@ -87,12 +91,56 @@ situation "bedroom",
|
|||
ways: ["living-room", "kitchen", "bathroom"]
|
||||
content: (character, system) ->
|
||||
return """
|
||||
The bedroom is spacious. There's a wardrobe and a big bed.
|
||||
The bedroom is spacious; its walls are lavender green, almost white in the moonlight.
|
||||
|
||||
#{textlink("A massive wardrobe", "wardrobe")} occupies one of the walls.
|
||||
|
||||
On the wall across #{textlink("a big bed", "bed")} hangs #{textlink("a full sized mirror.", "mirror")}
|
||||
|
||||
#{if character.sandbox.box_opened == 0
|
||||
"On a small table near the bed is an ornate #{way_to("wooden box.", "box")}"
|
||||
}
|
||||
"""
|
||||
writers:
|
||||
bed: """
|
||||
A double bed with flower-embroidered sheets.
|
||||
She left several days ago.
|
||||
The sheets are still fresh.
|
||||
"""
|
||||
wardrobe: """
|
||||
TODO [This is about Ana's looks, her body.]
|
||||
"""
|
||||
mirror: """
|
||||
The mirror looks directly at the bed.
|
||||
Kinky, though not very much *Feng Shui* in it.
|
||||
|
||||
#{textlink("The frame","frame")} depicts various artists (all women) making sculptures of men.
|
||||
It's a very *unusual* art.
|
||||
"""
|
||||
frame: """
|
||||
On a close examination, the frame isn't attached to the wall.
|
||||
There is #{textlink("a safe", "safe")} behind the mirror!
|
||||
"""
|
||||
safe: """
|
||||
The safe is locked with a regular lock.
|
||||
Ronald tries two keys.
|
||||
The first of them opens the door.
|
||||
|
||||
There are #{textlink("money", "money")} inside, and #{textlink("a rough sketch.", "sketch")}
|
||||
"""
|
||||
money: (character, system) ->
|
||||
money(character, system, 50000)
|
||||
"""
|
||||
It's a big cash.
|
||||
Odd that she didn't take this when she left.
|
||||
But someone's fault just makes Ronald's payday now.
|
||||
"""
|
||||
sketch: """
|
||||
It's a portrait of Anastacia.
|
||||
She bites her lower lip slightly.
|
||||
Her eyes are sad, or maybe concerned with something.
|
||||
The sketch is signed: *"L. Y. - 2017"*
|
||||
"""
|
||||
|
||||
situation "kitchen",
|
||||
before: () ->
|
||||
|
@ -100,8 +148,29 @@ situation "kitchen",
|
|||
title: "Kitchen"
|
||||
ways: ["living-room", "bedroom"]
|
||||
content: """
|
||||
Bedroom here
|
||||
The white, perfectly clean kitchen could be called spartan: #{textlink("a fridge,", "fridge")} a microwave and #{textlink("a big table", "table")} where one can eat whatever she "cooked" that way.
|
||||
"""
|
||||
writers:
|
||||
fridge: """
|
||||
No magnets or stickers on the outside.
|
||||
The door opens easily.
|
||||
*If only the hinges on the apartment doors were as good as refrigerator ones.*
|
||||
|
||||
A hearty bunch of salad.
|
||||
|
||||
Some fruits, carrots, two beets.
|
||||
|
||||
Three eggs, one cracked.
|
||||
|
||||
A bottle of ketchup, bottle of whiskey, valerian vial.
|
||||
|
||||
A jar of raspberry preserve, half-finished.
|
||||
|
||||
And enough frozen pizzas to last a month.
|
||||
"""
|
||||
table: """
|
||||
TODO [Here the player learns why Ana decided to bolt away]
|
||||
"""
|
||||
|
||||
situation "bathroom",
|
||||
before: (character,system) ->
|
||||
|
@ -119,8 +188,28 @@ situation "balcony",
|
|||
title: "Balcony"
|
||||
ways: ["living-room"]
|
||||
content: """
|
||||
A small balcony
|
||||
A small glazed-in empty balcony.
|
||||
It's an amazing night.
|
||||
The whole town is lit by moonlight, standing perfectly still.
|
||||
|
||||
On a short stand is #{textlink("an ashtray","ashtray")} with some ash in it.
|
||||
"""
|
||||
writers:
|
||||
ashtray: (character) ->
|
||||
character.sandbox.knows_the_code = 1
|
||||
return """
|
||||
She completely smoked out two cigarettes here.
|
||||
There's also a #{textlink("piece of paper nearby,", "paper")} half-burnt.
|
||||
"""
|
||||
paper: """
|
||||
It's a letter, written by hand on a thick sheet of what must be an A4 paper.
|
||||
The handwriting is wobbly and the first three quarters of the sheet is gone, but the ending is legible.
|
||||
|
||||
...ok at them, celebrating the New Year, think of our anniversary.
|
||||
The day of White.
|
||||
I will fly to you no matter what.
|
||||
*L. Y.*
|
||||
"""
|
||||
|
||||
situation "box",
|
||||
before: () ->
|
||||
|
@ -232,3 +321,53 @@ situation "reset",
|
|||
content: """
|
||||
You press Backspace until the display is empty.
|
||||
"""
|
||||
|
||||
situation "door",
|
||||
before: () ->
|
||||
update_ways(this.ways)
|
||||
ways: ["living-room"]
|
||||
choices: "#door"
|
||||
content: """
|
||||
Ronald is ready to go.
|
||||
Maybe he's satisfied with his explorations or just wants to finish this.
|
||||
But then a new problem arrives.
|
||||
|
||||
Someone's shadow is under the doorframe.
|
||||
"""
|
||||
|
||||
situation "finale",
|
||||
before: () ->
|
||||
update_ways(this.ways)
|
||||
optionText: "Use the Phone"
|
||||
tags: ["door"]
|
||||
ways: []
|
||||
content: (character, system) -> """
|
||||
"LOADING... 100%"
|
||||
|
||||
Ronald opens the door and presses his finger to the phone screen.
|
||||
|
||||
### A CACOPHONY OF MONKEY SOUNDS
|
||||
|
||||
There stands a tall man in a grey jacket.
|
||||
*Another Instagram follower, perhaps?*
|
||||
|
||||
An older man in his pajamas and slippers lies motionless on the floor near him.
|
||||
|
||||
### A QUANTUM MAGICAL SMART PHONE FIESTA
|
||||
|
||||
The man in a grey jacket slumps as if struck by something.
|
||||
Ronald taps the Phone again and quietly escapes the floor.
|
||||
|
||||
“Well, that was a good night.”
|
||||
|
||||
#{if character.qualities.money > 0
|
||||
"The pocket is heavy with #{character.qualities.money} rubles and the phone."
|
||||
else
|
||||
"The phone is heavy in the pocket."
|
||||
}
|
||||
The sun is coming up soon.
|
||||
|
||||
If you're not sleeping at night, you risk to learn something secret about your neighbors.
|
||||
|
||||
<center><h3>END</h3></center>
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue