1
0
Fork 0
mirror of https://gitlab.com/Oreolek/ludumdare37.git synced 2024-04-25 21:59:39 +03:00
ludumdare37/game/story.coffee

52 lines
1.7 KiB
CoffeeScript
Raw Normal View History

room "start",
before: (from) ->
if (!from)
"""
-- Только что звонили из клуба.
Приехали какие-то чмыри из администрации, нас отменяют.
"""
dsc: () -> """
### В машине
Рядом с вами сидит [Лёша](alexey) и #{Improv.gen("alexey")}
На переднем сидении [Марго](margo) #{Improv.gen("margo")}
Вы сидите на заднем сидении, за спиной водителя. [Катя](katie) #{Improv.gen("katie")}
Вы положили в карман дверцы [мобильный телефон.](phone)
За [окном машины](./_writer_window) проносится трасса.
2016-12-10 08:32:43 +02:00
#{Improv.gen("you")}
"""
writers:
2016-12-10 08:32:43 +02:00
window: () ->
salet.view.clearContent()
salet.here().entering()
return "<em>"+Improv.gen("window")+"</em>"
room "phone",
choices: "#call",
dsc: "Вы открываете список контактов. Кому бы позвонить…"
room "director",
tags: ["call"],
choices: "#director"
optionText: "Директор музыкального клуба"
dsc: """
Алло? Анна Борисовна?
"""
dialogue "Попрощаться", "director", "call", """
Спасибо. Созвонимся.
"""
# Virtual room to go around limitations
room "vstart",
tags: ["call"]
optionText: (from) ->
switch from
when "start" then "Осмотреться ещё раз"
when "phone" then "Отложить телефон"
else "Передумать"
enter: () ->
salet.goTo("start")