1
0
Fork 0
mirror of https://github.com/Oreolek/anthill.git synced 2024-05-17 00:18:16 +03:00
anthill/game.coffee

35 lines
1.1 KiB
CoffeeScript
Raw Normal View History

2014-07-22 18:16:05 +03:00
undum.game.id = "ac196662-11ac-11e4-aaef-8b0f8bf3404a"
undum.game.version = "1.0"
undum.game.situations =
intro: new undum.SimpleSituation(
"""
<p>
Каждый год я прихожу на берег озера. Возле высокой <a href="./tree">сосны</a> лежит огромный камень.
</p>
""",
actions:
"tree": """<p>Дерево как дерево. Длинная ветка</p>"""
,
enter: (character, system, from) ->
if character.qualities.time <= 2
system.write(
"""
<p>
Her bright, blood red lips had caught my sight when I came in. But when youre in my line of work, you learn to not let your glances show. She hesitated for a full five minutes, or however long it took for Elroy to mix my drink. She said, in a voice that betrayed nothing but polite inqry, perhaps the slightest hint of desperation, Is this seat taken?
</p>
"""
)
else
system.write(
"""
<p>TBW</p>
"""
)
)
undum.game.start = "intro"
undum.game.init = (character, system) ->
character.qualities.time = 1