summaryrefslogtreecommitdiff
path: root/npc/events
diff options
context:
space:
mode:
authorAnnieRuru <jeankof@ymail.com>2015-12-21 20:12:45 +0800
committerHaru <haru@dotalux.com>2015-12-31 23:39:22 +0100
commitefaaf842dc3717e21b915edf37b3e907b02fa5a1 (patch)
tree5412410e6c953b7abc42b7a6c21d28e78b3688ef /npc/events
parentef171a8ac1e063ca98cc6c8e9788a2ddcfa6fa35 (diff)
downloadhercules-efaaf842dc3717e21b915edf37b3e907b02fa5a1.tar.gz
hercules-efaaf842dc3717e21b915edf37b3e907b02fa5a1.tar.bz2
hercules-efaaf842dc3717e21b915edf37b3e907b02fa5a1.tar.xz
hercules-efaaf842dc3717e21b915edf37b3e907b02fa5a1.zip
Replace -1,{ with FAKE_NPC,{
replace using Notepad++
Diffstat (limited to 'npc/events')
-rw-r--r--npc/events/halloween_2006.txt10
-rw-r--r--npc/events/nguild/nguild_ev_agit.txt10
-rw-r--r--npc/events/nguild/nguild_guardians.txt8
-rw-r--r--npc/events/nguild/nguild_treas.txt8
4 files changed, 18 insertions, 18 deletions
diff --git a/npc/events/halloween_2006.txt b/npc/events/halloween_2006.txt
index 970170f5c..f6ed03906 100644
--- a/npc/events/halloween_2006.txt
+++ b/npc/events/halloween_2006.txt
@@ -661,7 +661,7 @@ nif_fild01,167,113,3 script Masta's chicken#06_hw01 4_NFCOCK,{
close;
}
-- script HwChicken::HwChicken -1,{
+- script HwChicken::HwChicken FAKE_NPC,{
if ((halloween == 102) || (halloween == 103)) {
mes "Oh, this must be Chicken Masta's chicken.";
mes "I should insert the magic word.";
@@ -690,7 +690,7 @@ nif_fild01,167,113,3 script Masta's chicken#06_hw01 4_NFCOCK,{
}
}
-- script HwChicken2::HwChicken2 -1,{
+- script HwChicken2::HwChicken2 FAKE_NPC,{
@egg_temp = rand(1,4);
if( @egg_temp == 3) {
mes "As soon as you got close to the chicken and touched it, it disappeared completely.";
@@ -706,7 +706,7 @@ nif_fild01,167,113,3 script Masta's chicken#06_hw01 4_NFCOCK,{
}
}
-- script HwChicken3::HwChicken3 -1,{
+- script HwChicken3::HwChicken3 FAKE_NPC,{
@egg_temp = rand(1,4);
if( @egg_temp == 3) {
mes "As soon as you got close to the chicken and touched it, it disappeared completely.";
@@ -739,7 +739,7 @@ nif_fild01,185,325,8 duplicate(HwChicken) Masta's chicken#06_hw07 4_NFCOCK
nif_fild01,133,105,1 duplicate(HwChicken) Masta's chicken#06_hw08 4_NFCOCK
nif_fild01,331,329,2 duplicate(HwChicken) Masta's chicken#06_hw09 4_NFCOCK
-pay_dun03,1,1,0 script #06_hw_timer01 -1,{
+pay_dun03,1,1,0 script #06_hw_timer01 FAKE_NPC,{
OnInit:
disablenpc "Chicken#06_hw_p01";
disablenpc "Chicken#06_hw_p02";
@@ -920,7 +920,7 @@ pay_dun03,157,131,3 duplicate(HwChicken2) Chicken#06_hw_p40 4_NFCOCK
pay_dun03,158,131,3 duplicate(HwChicken3) Chicken#06_hw_p41 4_NFCOCK
//== Payon Field chickens ==================================
-pay_fild08,1,1,0 script #06_hw_timer02 -1,{
+pay_fild08,1,1,0 script #06_hw_timer02 FAKE_NPC,{
OnInit:
disablenpc "Chicken#06_hw_pf01";
disablenpc "Chicken#06_hw_pf02";
diff --git a/npc/events/nguild/nguild_ev_agit.txt b/npc/events/nguild/nguild_ev_agit.txt
index c94fbc7ea..cbf6aec3c 100644
--- a/npc/events/nguild/nguild_ev_agit.txt
+++ b/npc/events/nguild/nguild_ev_agit.txt
@@ -113,7 +113,7 @@ function script F_AgitEnd {
}
//== Castle 1 ==============================================
-nguild_alde,0,0,0 script Agit_N01 -1,{
+nguild_alde,0,0,0 script Agit_N01 FAKE_NPC,{
OnInterIfInitOnce:
donpcevent "::OnRecvCastleN01";
end;
@@ -140,7 +140,7 @@ OnAgitEnd:
}
//== Castle 2 ==============================================
-nguild_gef,0,0,0 script Agit_N02 -1,{
+nguild_gef,0,0,0 script Agit_N02 FAKE_NPC,{
OnInterIfInitOnce:
donpcevent "::OnRecvCastleN02";
end;
@@ -167,7 +167,7 @@ OnAgitEnd:
}
//== Castle 3 ==============================================
-nguild_pay,0,0,0 script Agit_N03 -1,{
+nguild_pay,0,0,0 script Agit_N03 FAKE_NPC,{
OnInterIfInitOnce:
donpcevent "::OnRecvCastleN03";
end;
@@ -194,7 +194,7 @@ OnAgitEnd:
}
//== Castle 4 ==============================================
-nguild_prt,0,0,0 script Agit_N04 -1,{
+nguild_prt,0,0,0 script Agit_N04 FAKE_NPC,{
OnInterIfInitOnce:
donpcevent "::OnRecvCastleN04";
end;
@@ -221,7 +221,7 @@ OnAgitEnd:
}
//== Treasure Spawn Time ===================================
-- script TreasSpawn -1,{
+- script TreasSpawn FAKE_NPC,{
end;
OnClock0005:
diff --git a/npc/events/nguild/nguild_guardians.txt b/npc/events/nguild/nguild_guardians.txt
index e5b8bc959..2598776f3 100644
--- a/npc/events/nguild/nguild_guardians.txt
+++ b/npc/events/nguild/nguild_guardians.txt
@@ -33,7 +33,7 @@
//= 1.0
//=========================================================================
-nguild_alde,216,24,0 script Guardian_N01 -1,{
+nguild_alde,216,24,0 script Guardian_N01 FAKE_NPC,{
OnAgitInit:
if (getcastledata("nguild_alde",10) == 1) guardian "nguild_alde",18,219,"Soldier Guardian",1287,"Guardian_N01::OnGuardianDied",0;
if (getcastledata("nguild_alde",11) == 1) guardian "nguild_alde",117,42,"Soldier Guardian",1287,"Guardian_N01::OnGuardianDied",1;
@@ -51,7 +51,7 @@ OnGuardianDied:
end;
}
-nguild_gef,198,182,0 script Guardian_N02 -1,{
+nguild_gef,198,182,0 script Guardian_N02 FAKE_NPC,{
OnAgitInit:
if (getcastledata("nguild_gef",10) == 1) guardian "nguild_gef",30,178,"Soldier Guardian",1287,"Guardian_N02::OnGuardianDied",0;
if (getcastledata("nguild_gef",11) == 1) guardian "nguild_gef",64,180,"Soldier Guardian",1287,"Guardian_N02::OnGuardianDied",1;
@@ -69,7 +69,7 @@ OnGuardianDied:
end;
}
-nguild_pay,139,139,0 script Guardian_N03 -1,{
+nguild_pay,139,139,0 script Guardian_N03 FAKE_NPC,{
OnAgitInit:
if (getcastledata("nguild_pay",10) == 1) guardian "nguild_pay",210,120,"Soldier Guardian",1287,"Guardian_N03::OnGuardianDied",0;
if (getcastledata("nguild_pay",11) == 1) guardian "nguild_pay",69,26,"Soldier Guardian",1287,"Guardian_N03::OnGuardianDied",1;
@@ -87,7 +87,7 @@ OnGuardianDied:
end;
}
-nguild_prt,197,197,0 script Guardian_N04 -1,{
+nguild_prt,197,197,0 script Guardian_N04 FAKE_NPC,{
OnAgitInit:
if (getcastledata("nguild_prt",10) == 1) guardian "nguild_prt",196,92,"Soldier Guardian",1287,"Guardian_N04::OnGuardianDied",0;
if (getcastledata("nguild_prt",11) == 1) guardian "nguild_prt",113,200,"Soldier Guardian",1287,"Guardian_N04::OnGuardianDied",1;
diff --git a/npc/events/nguild/nguild_treas.txt b/npc/events/nguild/nguild_treas.txt
index c2ca26451..92cbe585a 100644
--- a/npc/events/nguild/nguild_treas.txt
+++ b/npc/events/nguild/nguild_treas.txt
@@ -82,7 +82,7 @@ function script F_GldTreasSw {
//== Castle 1 ==============================================
//- Treasure Spawn -
-nguild_alde,1,1,1 script Treasure_N01 -1,{
+nguild_alde,1,1,1 script Treasure_N01 FAKE_NPC,{
OnRecvCastleN01:
end;
@@ -108,7 +108,7 @@ nguild_alde,123,223,0 script Switch#TresN01 HIDDEN_NPC,{
//== Castle 2 ==============================================
//- Treasure Spawn -
-nguild_gef,1,1,1 script Treasure_N02 -1,{
+nguild_gef,1,1,1 script Treasure_N02 FAKE_NPC,{
OnRecvCastleN02:
end;
@@ -134,7 +134,7 @@ nguild_gef,152,117,0 script Switch#TresN02 HIDDEN_NPC,{
//== Castle 3 ==============================================
//- Treasure Spawn -
-nguild_pay,1,1,0 script Treasure_N03 -1,{
+nguild_pay,1,1,0 script Treasure_N03 FAKE_NPC,{
OnRecvCastleN03:
end;
OnInit:
@@ -159,7 +159,7 @@ nguild_pay,295,8,0 script Switch#TresN03 HIDDEN_NPC,{
//== Castle 4 ==============================================
//- Treasure Spawn -
-nguild_prt,1,1,0 script Treasure_N04 -1,{
+nguild_prt,1,1,0 script Treasure_N04 FAKE_NPC,{
OnRecvCastleN04:
end;
OnInit: