1
0
Fork 0
mirror of https://gitlab.com/Oreolek/black_phone.git synced 2024-06-17 07:30:57 +03:00

added The Box

This commit is contained in:
Alexander Yakovlev 2015-12-29 20:57:45 +07:00
parent cda4cd7262
commit 5e2c1862a0
2 changed files with 6 additions and 1 deletions

View file

@ -5,5 +5,7 @@ undum.game.init = (character, system) ->
event.preventDefault()
undum.processClick($(this).attr("href"))
)
document.onmousedown = (e) ->
e.target.click()
window.onload = undum.begin

View file

@ -7,6 +7,7 @@ update_ways = (ways) ->
# Сюжет игры:
# герой находит коробку, коробка закрыта
# коробка - отдельная ситуация с вариантами действий
# сломать коробку = шум
# открыть коробку - нужен код
# когда он хочет уйти, за дверью кто-то стоит - это другой вор, который оглушил Петю
@ -87,8 +88,10 @@ situation "bedroom",
title: "Bedroom"
ways: ["living-room", "kitchen"]
content: """
Bedroom here
On a small table near the bed is an ornate #{textlink("wooden box.", "box")}
"""
writers:
box: ""
situation "kitchen",
before: () ->