diff options
Diffstat (limited to 'localserver/npc/023-4_blackbox.txt')
-rw-r--r-- | localserver/npc/023-4_blackbox.txt | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/localserver/npc/023-4_blackbox.txt b/localserver/npc/023-4_blackbox.txt new file mode 100644 index 0000000..a5687e5 --- /dev/null +++ b/localserver/npc/023-4_blackbox.txt @@ -0,0 +1,36 @@ +// TMW2 Script +// Author: +// Jesusalva +// Description: +// 023-4 Blackbox + +// Syntax: +// 0234_Password_BlackBox( PASSWORD ) +// 0234_Init_BlackBox( - ) +function script 0234_Password_BlackBox { + .@message$=getarg(0, ""); + // Only react if the message is what we want to hear + if (.@message$ == "PASSWORD") { + if (getq(FrostiaQuest_Homunculus) < 1) + end; + + if (isat("023-3", 26, 219)) { + warp "023-4", 42, 69; + sleep2(15); + dispbottom l("The gates to Aethyr have opened themselves to you."); + } + } + return; +} + +function script 0234_Init_BlackBox { + return; +} + +- script #0234BlackBox NPC_HIDDEN,{ + end; +OnIter: + end; +} + + |