From cb94e5c89da9505eea2cdd2627ce2989a838f8ff Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 2 May 2020 03:02:11 -0300 Subject: Move Katazuli's Engravings to their own NPCs. --- npc/042-10/ctrl.txt | 32 ++++++++++++++++++++++---------- 1 file changed, 22 insertions(+), 10 deletions(-) diff --git a/npc/042-10/ctrl.txt b/npc/042-10/ctrl.txt index a94df5e0b..c9553c264 100644 --- a/npc/042-10/ctrl.txt +++ b/npc/042-10/ctrl.txt @@ -47,7 +47,7 @@ L_NoAccess: mesc l("Do not break my seal to prevent the curse from reaching Kamelot."), 1; mes ""; mes l("-- Merlin"); - end; + close; OnInit: .distance=4; end; @@ -80,6 +80,8 @@ L_NoAccessBlock: end; } + + //////////////////////////////////////////////////////////////////// // TODO: Catazuli info monument // KatazuliInfo( ) @@ -219,14 +221,25 @@ function script KatazuliCore { //////////////////////// -// The first Katazuli -042-10,128,85,0 script #Katazuli01 NPC_SUMMONING_CIRC,0,0,{ +// Katazuli's Engravings +042-10,36,110,0 script Engraving#Katazuli1 NPC_HIDDEN,{ mes "Read tutorial?"; select l("No"), l("Yes"); if (@menu == 2) KatazuliInfo(); - dispbottom l("This is probably related to the magic barrier."); close; +OnInit: + .distance=4; + end; +} +042-10,124,85,0 duplicate(Engraving#Katazuli1) Engraving#Katazuli2 NPC_HIDDEN + + +//////////////////////// +// The first Katazuli +042-10,128,85,0 script #Katazuli01 NPC_SUMMONING_CIRC,0,0,{ + dispbottom l("This looks magical, I wonder what it does."); + end; OnInit: .kataId=8; @@ -289,12 +302,8 @@ OnTimer60000: //////////////////////// // The second Katazuli 042-10,32,108,0 script #Katazuli02 NPC_SUMMONING_CIRC,0,0,{ - mes "Read tutorial?"; - select l("No"), l("Yes"); - if (@menu == 2) - KatazuliInfo(); - dispbottom l("This is probably related to the magic barrier."); - close; + dispbottom l("This looks magical, I wonder what it does."); + end; OnInit: .kataId=16; @@ -353,6 +362,8 @@ OnTimer60000: end; } + + //////////////////////////////////////////////////////////////////// // KamelotSwitch( "_SWITCH ID" ) function script KamelotSwitch { @@ -490,6 +501,7 @@ OnInit: 042-10,82,64,0 duplicate(#K4210Switch_1) #K4210Switch_16 NPC_HIDDEN,0,0 // C + /////////////////////////////////////////////////////////////////// // THIS CONTROLS EVERYTHING ELSE ON THIS ROOM // TODO: Spawn monsters -- cgit v1.2.3-60-g2f50