diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-02-26 16:47:24 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-02-26 16:47:24 -0500 |
commit | d5e3bc615b300eb985d59b91ebd1f2f1a4d4e107 (patch) | |
tree | 7356a6796ff166a85b8f7accb20e82596f200a63 /res/scripts/underwater.lua | |
parent | 46bf85e7b85b8d3e61f0d2b276450c4f439b5c30 (diff) | |
download | tanetane-d5e3bc615b300eb985d59b91ebd1f2f1a4d4e107.tar.gz tanetane-d5e3bc615b300eb985d59b91ebd1f2f1a4d4e107.tar.bz2 tanetane-d5e3bc615b300eb985d59b91ebd1f2f1a4d4e107.zip |
Added first underwater map
Also spruced up the event that takes you there. Also fixed an issue where transplantParty wouldn't take the medium of the new position into consideration. Also added a constructor to the lua version of vec2i.
Diffstat (limited to 'res/scripts/underwater.lua')
-rw-r--r-- | res/scripts/underwater.lua | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/res/scripts/underwater.lua b/res/scripts/underwater.lua index cc6d085..602c8d4 100644 --- a/res/scripts/underwater.lua +++ b/res/scripts/underwater.lua | |||
@@ -1,57 +1,50 @@ | |||
1 | underwater = {} | 1 | underwater = {} |
2 | 2 | ||
3 | function underwater.fish1() | ||
4 | StartCutscene() | ||
5 | DisplayMessage("* You deserved what she did to you.", "Fish", SpeakerType.BOY) | ||
6 | WaitForEndOfMessages() | ||
7 | HideCutsceneBars() | ||
8 | end | ||
9 | |||
10 | function underwater.fish2() | 3 | function underwater.fish2() |
11 | StartCutscene() | 4 | StartCutscene() |
12 | DisplayMessage("* What are you complaining about?\nYou're so powerful now...\n\fYou owe it all to her.", "Fish", SpeakerType.BOY) | 5 | DisplayMessage("* What are you complaining about?\nYou're so powerful now...\n\fYou owe it all to her.", "Fish", SpeakerType.BOY) |
13 | WaitForEndOfMessages() | 6 | WaitForEndOfMessage() |
14 | HideCutsceneBars() | 7 | HideCutsceneBars() |
15 | end | 8 | end |
16 | 9 | ||
17 | function underwater.fish3() | 10 | function underwater.fish3() |
18 | StartCutscene() | 11 | StartCutscene() |
19 | DisplayMessage("* You wanted to become stronger, and now you're stronger. Quit crying.\n\f* Oh wait, that wasn't you.\n\fThat was Claus.\n\fYou were totally willing to stay at home and cry.", "Fish", SpeakerType.BOY) | 12 | DisplayMessage("* You wanted to become stronger, and now you're stronger. Quit crying.\n\f* Oh wait, that wasn't you.\n\fThat was Claus.\n\fYou were totally willing to stay at home and cry.", "Fish", SpeakerType.BOY) |
20 | WaitForEndOfMessages() | 13 | WaitForEndOfMessage() |
21 | HideCutsceneBars() | 14 | HideCutsceneBars() |
22 | end | 15 | end |
23 | 16 | ||
24 | function underwater.fish4() | 17 | function underwater.fish4() |
25 | StartCutscene() | 18 | StartCutscene() |
26 | DisplayMessage("* You think it hurt when your PSI unlocked?\n\fJust picture what it was like for Claus.", "Fish", SpeakerType.BOY) | 19 | DisplayMessage("* You think it hurt when your PSI unlocked?\n\fJust picture what it was like for Claus.", "Fish", SpeakerType.BOY) |
27 | WaitForEndOfMessages() | 20 | WaitForEndOfMessage() |
28 | HideCutsceneBars() | 21 | HideCutsceneBars() |
29 | end | 22 | end |
30 | 23 | ||
31 | function underwater.fish5() | 24 | function underwater.fish5() |
32 | StartCutscene() | 25 | StartCutscene() |
33 | DisplayMessage("* What did Aeolia do to your brother?\n\fStrangle him?\n\fPush him down a flight of stairs?\n\fMaybe it was in the hot spring just like you.", "Fish", SpeakerType.BOY) | 26 | DisplayMessage("* What did Aeolia do to your brother?\n\fStrangle him?\n\fPush him down a flight of stairs?\n\fMaybe it was in the hot spring just like you.", "Fish", SpeakerType.BOY) |
34 | WaitForEndOfMessages() | 27 | WaitForEndOfMessage() |
35 | HideCutsceneBars() | 28 | HideCutsceneBars() |
36 | end | 29 | end |
37 | 30 | ||
38 | function underwater.fish6() | 31 | function underwater.fish6() |
39 | StartCutscene() | 32 | StartCutscene() |
40 | DisplayMessage("* Still, you're probably eager to get your revenge. You don't fool me.\n\f* You have everyone else fooled but you can't fool yourself.", "Fish", SpeakerType.BOY) | 33 | DisplayMessage("* Still, you're probably eager to get your revenge. You don't fool me.\n\f* You have everyone else fooled but you can't fool yourself.", "Fish", SpeakerType.BOY) |
41 | WaitForEndOfMessages() | 34 | WaitForEndOfMessage() |
42 | HideCutsceneBars() | 35 | HideCutsceneBars() |
43 | end | 36 | end |
44 | 37 | ||
45 | function underwater.fish7() | 38 | function underwater.fish7() |
46 | StartCutscene() | 39 | StartCutscene() |
47 | DisplayMessage("* There's only three left.\nAnd after Mixolydia, it'll be her.", "Fish", SpeakerType.BOY) | 40 | DisplayMessage("* There's only three left.\nAnd after Mixolydia, it'll be her.", "Fish", SpeakerType.BOY) |
48 | WaitForEndOfMessages() | 41 | WaitForEndOfMessage() |
49 | HideCutsceneBars() | 42 | HideCutsceneBars() |
50 | end | 43 | end |
51 | 44 | ||
52 | function underwater.fish8() | 45 | function underwater.fish8() |
53 | StartCutscene() | 46 | StartCutscene() |
54 | DisplayMessage("* I bet you can't wait to wrap your hands around her needle,\n\fand\n\fpull\n\fas\n\fhard\n\fas\n\fyou\n\fcan.", "Fish", SpeakerType.BOY) | 47 | DisplayMessage("* I bet you can't wait to wrap your hands around her needle,\n\fand\n\fpull\n\fas\n\fhard\n\fas\n\fyou\n\fcan.", "Fish", SpeakerType.BOY) |
55 | WaitForEndOfMessages() | 48 | WaitForEndOfMessage() |
56 | HideCutsceneBars() | 49 | HideCutsceneBars() |
57 | end | 50 | end |