summary refs log tree commit diff stats
path: root/res/scripts
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2021-03-06 17:10:27 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2021-03-06 17:10:27 -0500
commit89e029d6c44a92bfe63b62cfcb1785cd519b09f0 (patch)
tree77af7ef3e8e993203060b5984ca60e1db1b02eec /res/scripts
parent1c462ef3780b33468ed93dde3ab6178765807ffe (diff)
downloadtanetane-89e029d6c44a92bfe63b62cfcb1785cd519b09f0.tar.gz
tanetane-89e029d6c44a92bfe63b62cfcb1785cd519b09f0.tar.bz2
tanetane-89e029d6c44a92bfe63b62cfcb1785cd519b09f0.zip
Made the mirror room!
Not totally done yet. Also not hooked up to anything yet.
Diffstat (limited to 'res/scripts')
-rw-r--r--res/scripts/hallucination_mirror.lua28
1 files changed, 28 insertions, 0 deletions
diff --git a/res/scripts/hallucination_mirror.lua b/res/scripts/hallucination_mirror.lua new file mode 100644 index 0000000..5b336af --- /dev/null +++ b/res/scripts/hallucination_mirror.lua
@@ -0,0 +1,28 @@
1hallucination_mirror = {}
2
3function hallucination_mirror.mailbox()
4 StartCutscene()
5 DisplayMessage("* The mailbox lid is open...\n* Peek inside?", "", SpeakerType.NONE)
6 ShowChoice("Yes", "No")
7 WaitForEndOfMessage()
8
9 if GetChoiceSelection() == 1 then
10 HideCutsceneBars()
11 return
12 end
13
14 DisplayMessage("* Inside the mailbox is a poem.\n* Read it?", "", SpeakerType.NONE)
15 ShowChoice("Yes", "No")
16 WaitForEndOfMessage()
17
18 if GetChoiceSelection() == 1 then
19 HideCutsceneBars()
20 return
21 end
22
23 gamestate.read_mirror_message = true
24
25 DisplayMessage("* <Your eyes that watch me walking by\nYour ears that listen to me cry\nYour mouth, alit with laughter strong\nYour forehead creased to say I'm wrong>\n* <They think you're dead, but here you stare\nReflected in the mirror's glare\nWith pounding fists and fevered moans\nThat shake me to my very bones>\n* <One day I know you'll fall right through\nTo haunt me in my life anew>\n\f...\n\f* You get the feeling you're being watched.", "", SpeakerType.NONE)
26 WaitForEndOfMessage()
27 HideCutsceneBars()
28end