diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-02-13 12:14:58 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-02-13 12:14:58 -0500 |
commit | ed933607765a6e010689aaaf85184053ff6e8a2b (patch) | |
tree | 9c59ddfa9c7ddb221788485ad96cad116f8b0c28 /res/scripts/map2.lua | |
parent | e9602acecd1c5f63c6cf72a270a1bd09eba1e7e1 (diff) | |
download | tanetane-ed933607765a6e010689aaaf85184053ff6e8a2b.tar.gz tanetane-ed933607765a6e010689aaaf85184053ff6e8a2b.tar.bz2 tanetane-ed933607765a6e010689aaaf85184053ff6e8a2b.zip |
Added non-looping animations
Lucas can get electrocuted now.
Diffstat (limited to 'res/scripts/map2.lua')
-rw-r--r-- | res/scripts/map2.lua | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/res/scripts/map2.lua b/res/scripts/map2.lua index 1b55072..3bc9eff 100644 --- a/res/scripts/map2.lua +++ b/res/scripts/map2.lua | |||
@@ -23,3 +23,17 @@ function map2.mailbox1() | |||
23 | 23 | ||
24 | HideCutsceneBars() | 24 | HideCutsceneBars() |
25 | end | 25 | end |
26 | |||
27 | function map2.mailbox_lightning() | ||
28 | StartCutscene() | ||
29 | DisplayMessage("* ...?", "", SpeakerType.NONE) | ||
30 | WaitForEndOfMessage() | ||
31 | |||
32 | SetDirection("lucas", Direction.DOWN) | ||
33 | SetAnimation("lucas", "electrocute!") | ||
34 | WaitForAnimation("lucas") | ||
35 | |||
36 | DisplayMessage("* It was lightning.\n\fAh.", "", SpeakerType.NONE) | ||
37 | WaitForEndOfMessage() | ||
38 | HideCutsceneBars() | ||
39 | end | ||