diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-12-30 18:31:06 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-12-30 18:31:06 -0300 |
commit | 36d03e27f61e96b5736e7e0b7ffa896631931080 (patch) | |
tree | cad32d142cc95b9e774644356e711232e7c91524 /npc/015-8 | |
parent | a636815010c2f28b229ae048db5de1fea1f49c65 (diff) | |
download | serverdata-36d03e27f61e96b5736e7e0b7ffa896631931080.tar.gz serverdata-36d03e27f61e96b5736e7e0b7ffa896631931080.tar.bz2 serverdata-36d03e27f61e96b5736e7e0b7ffa896631931080.tar.xz serverdata-36d03e27f61e96b5736e7e0b7ffa896631931080.zip |
Pirate Treasure Map - Part I
Diffstat (limited to 'npc/015-8')
-rw-r--r-- | npc/015-8/_import.txt | 1 | ||||
-rw-r--r-- | npc/015-8/logic.txt | 26 |
2 files changed, 27 insertions, 0 deletions
diff --git a/npc/015-8/_import.txt b/npc/015-8/_import.txt index 27ea8907a..e71682db8 100644 --- a/npc/015-8/_import.txt +++ b/npc/015-8/_import.txt @@ -3,5 +3,6 @@ "npc/015-8/015-8_blackbox.txt", "npc/015-8/_mobs.txt", "npc/015-8/config.txt", +"npc/015-8/logic.txt", "npc/015-8/puzzle.txt", "npc/015-8/sealedshrine.txt", diff --git a/npc/015-8/logic.txt b/npc/015-8/logic.txt new file mode 100644 index 000000000..04d3780be --- /dev/null +++ b/npc/015-8/logic.txt @@ -0,0 +1,26 @@ +// TMW2 scripts. +// Authors: +// Diogo_RBG +// Jesusalva +// Description: +// Pirate Caves gateway main logic +// Adapted from TMW-BR for Moubootaur Legends + +015-3,128,161,0 script #0153WG1 NPC_HIDDEN,0,0,{ + end; +OnTouch: + compareandsetq HurnscaldQuest_PirateCave, 3, 4; + slide 166, 38; + end; +} + +015-3,132,23,0 script #0153WG2 NPC_HIDDEN,0,0,{ + end; +OnTouch: + if (getq(HurnscaldQuest_PirateCave) >= 5) { + slide 98, 162; + } + end; +} + + |