1
0
Fork 0
mirror of https://gitlab.com/Oreolek/ludumdare37.git synced 2024-07-08 17:54:26 +03:00
ludumdare37/game/story.coffee
Alexander Yakovlev 80f30194d7 Куча ненужных файлов
Которые я потом переведу.
2016-12-10 20:46:48 +07:00

34 lines
748 B
CoffeeScript

room "start",
before: (from) ->
if (!from)
return "intro".l()
dsc: () -> "dsc".l(Improv)
writers:
window: () ->
# re-enter the room, reroll the description
salet.view.clearContent()
salet.here().entering("start")
return "<em>"+Improv.gen("window")+"</em>"
room "phone",
choices: "#call",
dsc: "phone_dsc".l()
room "director",
tags: ["call"],
choices: "#director"
optionText: "director_prompt".l()
dsc: "director_dsc".l()
dialogue "bye".l(), "director", "call", "cyalater".l()
# Virtual room to go around limitations
room "vstart",
tags: ["call"]
optionText: (from) ->
switch from
when "phone" then "end_phone".l()
else "end".l()
enter: () ->
salet.goTo("start")