diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-05-02 03:02:11 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-05-02 03:02:11 -0300 |
commit | cb94e5c89da9505eea2cdd2627ce2989a838f8ff (patch) | |
tree | d2a3bc7fdec167d4191e4420c2c72c5f85ab41de | |
parent | efb732d949f25eafbc3473ddee7289b47cb77df6 (diff) | |
download | serverdata-cb94e5c89da9505eea2cdd2627ce2989a838f8ff.tar.gz serverdata-cb94e5c89da9505eea2cdd2627ce2989a838f8ff.tar.bz2 serverdata-cb94e5c89da9505eea2cdd2627ce2989a838f8ff.tar.xz serverdata-cb94e5c89da9505eea2cdd2627ce2989a838f8ff.zip |
Move Katazuli's Engravings to their own NPCs.
-rw-r--r-- | npc/042-10/ctrl.txt | 32 |
1 files 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 |