diff options
| author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-03-07 10:29:38 -0500 |
|---|---|---|
| committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-03-07 10:29:38 -0500 |
| commit | 5fe3fd37b65d9e4650053dfff4d077d192f31739 (patch) | |
| tree | dd02b4912025334156e57d6965868677dc1f6f00 /res/scripts | |
| parent | 33467f58a04a37085f72324b095ee75b59d61355 (diff) | |
| download | tanetane-5fe3fd37b65d9e4650053dfff4d077d192f31739.tar.gz tanetane-5fe3fd37b65d9e4650053dfff4d077d192f31739.tar.bz2 tanetane-5fe3fd37b65d9e4650053dfff4d077d192f31739.zip | |
Added connection between mirror map and hallucination_interior
Diffstat (limited to 'res/scripts')
| -rw-r--r-- | res/scripts/hallucination_interior.lua | 4 | ||||
| -rw-r--r-- | res/scripts/hallucination_mirror.lua | 4 |
2 files changed, 8 insertions, 0 deletions
| diff --git a/res/scripts/hallucination_interior.lua b/res/scripts/hallucination_interior.lua index 9ef808e..f009196 100644 --- a/res/scripts/hallucination_interior.lua +++ b/res/scripts/hallucination_interior.lua | |||
| @@ -8,6 +8,10 @@ function hallucination_interior.off_top() | |||
| 8 | ChangeMap("hallucination_cliff", "fromBottom") | 8 | ChangeMap("hallucination_cliff", "fromBottom") |
| 9 | end | 9 | end |
| 10 | 10 | ||
| 11 | function hallucination_interior.off_right() | ||
| 12 | ChangeMap("hallucination_mirror", "fromLeft") | ||
| 13 | end | ||
| 14 | |||
| 11 | function hallucination_interior.mailbox1() | 15 | function hallucination_interior.mailbox1() |
| 12 | StartCutscene() | 16 | StartCutscene() |
| 13 | DisplayMessage("* The mailbox lid is open...\n* Peek inside?", "", SpeakerType.NONE) | 17 | DisplayMessage("* The mailbox lid is open...\n* Peek inside?", "", SpeakerType.NONE) |
| diff --git a/res/scripts/hallucination_mirror.lua b/res/scripts/hallucination_mirror.lua index 73763f9..afacd59 100644 --- a/res/scripts/hallucination_mirror.lua +++ b/res/scripts/hallucination_mirror.lua | |||
| @@ -22,6 +22,10 @@ function hallucination_mirror.init() | |||
| 22 | end | 22 | end |
| 23 | end | 23 | end |
| 24 | 24 | ||
| 25 | function hallucination_mirror.off_left() | ||
| 26 | ChangeMap("hallucination_interior", "fromRight") | ||
| 27 | end | ||
| 28 | |||
| 25 | function hallucination_mirror.mailbox() | 29 | function hallucination_mirror.mailbox() |
| 26 | StartCutscene() | 30 | StartCutscene() |
| 27 | DisplayMessage("* The mailbox lid is open...\n* Peek inside?", "", SpeakerType.NONE) | 31 | DisplayMessage("* The mailbox lid is open...\n* Peek inside?", "", SpeakerType.NONE) |
