mirror of
https://gitlab.com/Oreolek/black_phone.git
synced 2024-07-05 16:24:30 +03:00
101 lines
4.1 KiB
CoffeeScript
101 lines
4.1 KiB
CoffeeScript
|
update_ways = (ways) ->
|
|||
|
content = ""
|
|||
|
for way in ways
|
|||
|
if undum.game.situations[way]?
|
|||
|
content += way_to(undum.game.situations[way].title, way)
|
|||
|
$("#ways").html(content)
|
|||
|
|
|||
|
# Сюжет игры:
|
|||
|
# герой находит коробку, коробка закрыта
|
|||
|
# сломать коробку = шум
|
|||
|
# открыть коробку - нужен код
|
|||
|
# когда он хочет уйти, за дверью кто-то стоит - это другой вор, который оглушил Петю
|
|||
|
# его можно убрать при помощи Чёрного Телефона
|
|||
|
|
|||
|
situation "living-room",
|
|||
|
title: "Living room"
|
|||
|
before: () ->
|
|||
|
if not $(".ways h2").is(':visible')
|
|||
|
$(".ways h2").fadeIn()
|
|||
|
update_ways(this.ways)
|
|||
|
ways: ["bedroom", "kitchen"]
|
|||
|
content: """
|
|||
|
Ronald is standing in a dark room with a big #{textlink("window.", "window")}
|
|||
|
|
|||
|
The walls are covered with a dingy rose wallpaper.
|
|||
|
The room is very unnerving.
|
|||
|
Was it actually her home?
|
|||
|
|
|||
|
On a coffee table lies an opened envelope.
|
|||
|
|
|||
|
#{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.
|
|||
|
"""
|
|||
|
writers:
|
|||
|
window: "The moon is full today. It illuminates the flat, makes the things stand out in some weird angles."
|
|||
|
bookcase: """
|
|||
|
Either Anastacia has a very conflicting taste in books, or she has no taste at all. Let's see...
|
|||
|
#{textlink("“Master and Margarita”,", "bulgakov")}
|
|||
|
#{textlink("“Breakfast at Tiffany's”,", "tiffanys")}
|
|||
|
#{textlink("The Soviet Encyclopedic Dictionary,", "dictionary")}
|
|||
|
#{textlink("“Grey”,", "grey")}
|
|||
|
#{textlink("”Also sprach Zarathustra”,", "zaratustra")}
|
|||
|
#{textlink("”Poker with sharks”,", "dontzova")}
|
|||
|
#{textlink("”Classic sauce. Culinary collection”", "culinary")}
|
|||
|
and #{textlink("The Bible.", "bible")}
|
|||
|
"""
|
|||
|
bulgakov: """
|
|||
|
“Master and Margarita” by Mikhail Bulgakov.
|
|||
|
A famous urban fantasy satire of Soviet nineteen-thirties.
|
|||
|
This is a cheap paperback edition, she read this at least a couple of times.
|
|||
|
The pages have dog's ears, and coffee stains too.
|
|||
|
Ronald can even see a hint of lipstick smearing the episode of Satan's dark magic variety show performance.
|
|||
|
"""
|
|||
|
tiffanys: """
|
|||
|
This book looks scrawny wedged between the fat dictionary and an epic novel.
|
|||
|
It looks rather new, the pages are still white and straight.
|
|||
|
Maybe she didn't catch the right moment to read this.. or maybe just forgot about it.
|
|||
|
"""
|
|||
|
dictionary: "A big fat dictionary of everything, issued in 1989. Nobody reads every page of these. Ronald doubts Anastacia got to read at least one page."
|
|||
|
grey: "Fifty Shades of Grey, an unnecessary remake. Now from a psychopath's point of view. And she actually read that."
|
|||
|
zaratustra: (character, system) ->
|
|||
|
money(character, system, 20000)
|
|||
|
"""
|
|||
|
Nietsche's four-part novel about The Man, The Superman and everything in-between.
|
|||
|
It's surprisingly worn down.
|
|||
|
She took this book out a lot.
|
|||
|
|
|||
|
Was she secretly a philosophy nut?
|
|||
|
An Übermensch dreamer?
|
|||
|
|
|||
|
No, of course not.
|
|||
|
Ronald opens the book and finds a stash of money inside.
|
|||
|
"""
|
|||
|
dontzova: """
|
|||
|
An "ironic detective" by Daria Dontzova about Evlampia Romanova, an amateur detective.
|
|||
|
The heroine (nicknamed as Lamp) plays harp and solves murders.
|
|||
|
It's a trash book filled with blatant product placement.
|
|||
|
"""
|
|||
|
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."
|
|||
|
|
|||
|
situation "bedroom",
|
|||
|
before: () ->
|
|||
|
update_ways(this.ways)
|
|||
|
title: "Bedroom"
|
|||
|
ways: ["living-room", "kitchen"]
|
|||
|
content: """
|
|||
|
Bedroom here
|
|||
|
"""
|
|||
|
|
|||
|
situation "kitchen",
|
|||
|
before: () ->
|
|||
|
update_ways(this.ways)
|
|||
|
title: "Kitchen"
|
|||
|
ways: ["living-room", "bedroom"]
|
|||
|
content: """
|
|||
|
Bedroom here
|
|||
|
"""
|