summary refs log tree commit diff stats
path: root/res/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'res/scripts')
-rw-r--r--res/scripts/default.lua2
-rw-r--r--res/scripts/script0001.lua6
-rw-r--r--res/scripts/test_trigger.lua2
3 files changed, 5 insertions, 5 deletions
diff --git a/res/scripts/default.lua b/res/scripts/default.lua index 936a543..b8f7768 100644 --- a/res/scripts/default.lua +++ b/res/scripts/default.lua
@@ -1,5 +1,5 @@
1function default() 1function default()
2 StartCutscene() 2 StartCutscene()
3 DisplayMessage("No problem here.", "", SpeakerType.NONE) 3 DisplayMessage("* No problem here.", "", SpeakerType.NONE)
4 HideCutsceneBars() 4 HideCutsceneBars()
5end 5end
diff --git a/res/scripts/script0001.lua b/res/scripts/script0001.lua index 0be8382..bf6a0c2 100644 --- a/res/scripts/script0001.lua +++ b/res/scripts/script0001.lua
@@ -4,7 +4,7 @@ function script0001()
4 local barkingNoise = LoopSound("barking_at_hallucination.wav") 4 local barkingNoise = LoopSound("barking_at_hallucination.wav")
5 5
6 SetAnimation("flint", "talk") 6 SetAnimation("flint", "talk")
7 DisplayMessage("Lucas. It's me, Flint. Your father.\n\fI 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) 7 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)
8 ShowChoice("Yes", "No") 8 ShowChoice("Yes", "No")
9 WaitForEndOfMessage() 9 WaitForEndOfMessage()
10 10
@@ -13,9 +13,9 @@ function script0001()
13 PlaySound("boney_growl.wav") 13 PlaySound("boney_growl.wav")
14 14
15 if GetChoiceSelection() == 0 then 15 if GetChoiceSelection() == 0 then
16 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) 16 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)
17 else 17 else
18 DisplayMessage("Look at me when I'm talking to you, Lucas.\n\fWhen Claus gets home, we won't need you anymore.\nYou're nothing compared to him.", "Flint", SpeakerType.MAN) 18 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)
19 end 19 end
20 20
21 WaitForEndOfMessage() 21 WaitForEndOfMessage()
diff --git a/res/scripts/test_trigger.lua b/res/scripts/test_trigger.lua index 58325e5..4d9d06c 100644 --- a/res/scripts/test_trigger.lua +++ b/res/scripts/test_trigger.lua
@@ -1,7 +1,7 @@
1function test_trigger() 1function test_trigger()
2 StartCutscene() 2 StartCutscene()
3 PlaySound("boney_growl.wav") 3 PlaySound("boney_growl.wav")
4 DisplayMessage("Hi! Welcome to the funky zone.", "", SpeakerType.NONE) 4 DisplayMessage("* Hi! Welcome to the funky zone.", "", SpeakerType.NONE)
5 WaitForEndOfMessage() 5 WaitForEndOfMessage()
6 HideCutsceneBars() 6 HideCutsceneBars()
7end 7end