summary refs log tree commit diff stats
path: root/res/scripts/hallucination_beach.lua
diff options
context:
space:
mode:
Diffstat (limited to 'res/scripts/hallucination_beach.lua')
-rw-r--r--res/scripts/hallucination_beach.lua38
1 files changed, 38 insertions, 0 deletions
diff --git a/res/scripts/hallucination_beach.lua b/res/scripts/hallucination_beach.lua new file mode 100644 index 0000000..be9277d --- /dev/null +++ b/res/scripts/hallucination_beach.lua
@@ -0,0 +1,38 @@
1hallucination_beach = {}
2
3function hallucination_beach.script0001()
4 StartCutscene()
5 SetAnimation("boney", "barking")
6 local barkingNoise = LoopSound("barking_at_hallucination.wav")
7
8 SetAnimation("flint", "talk")
9 DisplayMessage("* Lucas. It's me, Flint. Your father.\n\f* I found Claus. He's here. After three years I've finally found your brother.\n\fAre you ready to see him again?", "Flint", SpeakerType.MAN)
10 ShowChoice("Yes", "No")
11 WaitForEndOfMessage()
12
13 SetAnimation("boney", "crouch")
14 StopSound(barkingNoise)
15 PlaySound("boney_growl.wav")
16
17 if GetChoiceSelection() == 0 then
18 DisplayMessage("* I can hear the tremor in your voice, Lucas.\n\fLies are little games a mouth plays while the person attached withers away slowly.\n\fClaus is coming, whether you like it or not.\nWill you be able to look him in the eye?", "Flint", SpeakerType.MAN)
19 else
20 DisplayMessage("* Look at me when I'm talking to you, Lucas.\n\f* When Claus gets home, we won't need you anymore.\nYou're nothing compared to him.", "Flint", SpeakerType.MAN)
21 end
22
23 WaitForEndOfMessage()
24 SetAnimation("flint", "still")
25 HideCutsceneBars()
26end
27
28function hallucination_beach.off_right()
29 ChangeMap("hallucination_interior", "fromLeft")
30end
31
32function hallucination_beach.test_trigger()
33 StartCutscene()
34 PlaySound("boney_growl.wav")
35 DisplayMessage("* Hi! Welcome to the funky zone.", "", SpeakerType.NONE)
36 WaitForEndOfMessage()
37 HideCutsceneBars()
38end