From 89e029d6c44a92bfe63b62cfcb1785cd519b09f0 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sat, 6 Mar 2021 17:10:27 -0500 Subject: Made the mirror room! Not totally done yet. Also not hooked up to anything yet. --- res/scripts/hallucination_mirror.lua | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 res/scripts/hallucination_mirror.lua (limited to 'res/scripts') 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 @@ +hallucination_mirror = {} + +function hallucination_mirror.mailbox() + StartCutscene() + DisplayMessage("* The mailbox lid is open...\n* Peek inside?", "", SpeakerType.NONE) + ShowChoice("Yes", "No") + WaitForEndOfMessage() + + if GetChoiceSelection() == 1 then + HideCutsceneBars() + return + end + + DisplayMessage("* Inside the mailbox is a poem.\n* Read it?", "", SpeakerType.NONE) + ShowChoice("Yes", "No") + WaitForEndOfMessage() + + if GetChoiceSelection() == 1 then + HideCutsceneBars() + return + end + + gamestate.read_mirror_message = true + + DisplayMessage("* \n* \n* \n\f...\n\f* You get the feeling you're being watched.", "", SpeakerType.NONE) + WaitForEndOfMessage() + HideCutsceneBars() +end -- cgit 1.4.1