diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-09-07 18:36:40 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-09-07 18:36:40 -0300 |
commit | ba77ee333e36ce15fb83d045c4160425436fcc68 (patch) | |
tree | 71fab1e3a400210378cef218e481c9929c5a6a7c /npc | |
parent | 4a9820cc8a3ea7b2c62a976ba2bbc46030478cb0 (diff) | |
download | serverdata-ba77ee333e36ce15fb83d045c4160425436fcc68.tar.gz serverdata-ba77ee333e36ce15fb83d045c4160425436fcc68.tar.bz2 serverdata-ba77ee333e36ce15fb83d045c4160425436fcc68.tar.xz serverdata-ba77ee333e36ce15fb83d045c4160425436fcc68.zip |
Central Room - As it is activated manually, add regular warps systems
Diffstat (limited to 'npc')
-rw-r--r-- | npc/018-6-3/main.txt | 5 | ||||
-rw-r--r-- | npc/018-6-3/wsys.txt | 47 |
2 files changed, 52 insertions, 0 deletions
diff --git a/npc/018-6-3/main.txt b/npc/018-6-3/main.txt index 8ee45b75b..956f19b53 100644 --- a/npc/018-6-3/main.txt +++ b/npc/018-6-3/main.txt @@ -194,6 +194,11 @@ L_Room128: } end; +OnRoomCC: + enablenpc instance_npcname("#01863_fromCCtoNC"); + enablenpc instance_npcname("#01863_fromCCtoSC"); + end; + OnFinalRoom: // Room: 74,83 ~ 106,97 .@x1=74; diff --git a/npc/018-6-3/wsys.txt b/npc/018-6-3/wsys.txt index 53c5f8e28..0fce5f11a 100644 --- a/npc/018-6-3/wsys.txt +++ b/npc/018-6-3/wsys.txt @@ -617,4 +617,51 @@ OnInstanceInit: end; } +018-6-3,90,74,0 script #01863_fromNCtoCC NPC_SUMMONING_CIRC,0,0,{ + dispbottom l("I should be prepared before walking on this."); + end; + +OnTouch: + // Disable any other active portal + 01863_DisableAllWarps(); + + // Warp you to next room coordinates + slide 90, 85; + + // Execute the next room code and finish + doevent instance_npcname("#01863_InstCtrl", .@q2)+"::OnRoomCC"; + end; + +// NPC must remain hidden. +OnInit: + disablenpc .name$; + end; +OnInstanceInit: + disablenpc instance_npcname(.name$); + end; +} + +018-6-3,90,105,0 script #01863_fromSCtoCC NPC_SUMMONING_CIRC,0,0,{ + dispbottom l("I should be prepared before walking on this."); + end; + +OnTouch: + // Disable any other active portal + 01863_DisableAllWarps(); + + // Warp you to next room coordinates + slide 90, 95; + + // Execute the next room code and finish + doevent instance_npcname("#01863_InstCtrl", .@q2)+"::OnRoomCC"; + end; + +// NPC must remain hidden. +OnInit: + disablenpc .name$; + end; +OnInstanceInit: + disablenpc instance_npcname(.name$); + end; +} |