summaryrefslogtreecommitdiff
path: root/npc/012-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-12-14 02:34:47 -0200
committerJesusaves <cpntb1@ymail.com>2018-12-14 02:34:47 -0200
commiteb1c2abd3d093f0c293568dfbcbbf0d8c4caa12f (patch)
treebb92c5bf6259d66385d5c357d107eb027d80375e /npc/012-1
parenta36d6b759f36636fa4d68f2ed1c4630feb8f3673 (diff)
downloadserverdata-eb1c2abd3d093f0c293568dfbcbbf0d8c4caa12f.tar.gz
serverdata-eb1c2abd3d093f0c293568dfbcbbf0d8c4caa12f.tar.bz2
serverdata-eb1c2abd3d093f0c293568dfbcbbf0d8c4caa12f.tar.xz
serverdata-eb1c2abd3d093f0c293568dfbcbbf0d8c4caa12f.zip
New Hercules Syntax for getnpcid().
sed -i 's/getnpcid(0, /getnpcid(/g' */*.txt
Diffstat (limited to 'npc/012-1')
-rw-r--r--npc/012-1/bot.txt2
-rw-r--r--npc/012-1/dyrinthetraveler.txt2
-rw-r--r--npc/012-1/guards.txt4
-rw-r--r--npc/012-1/hinnak.txt2
-rw-r--r--npc/012-1/luffyx.txt2
-rw-r--r--npc/012-1/mahad.txt2
6 files changed, 7 insertions, 7 deletions
diff --git a/npc/012-1/bot.txt b/npc/012-1/bot.txt
index 8423567f4..8f471bb34 100644
--- a/npc/012-1/bot.txt
+++ b/npc/012-1/bot.txt
@@ -70,7 +70,7 @@ L_Close:
close;
OnInit:
- .@npcId = getnpcid(0, .name$);
+ .@npcId = getnpcid(.name$);
setunitdata(.@npcId, UDT_HEADTOP, CenturionHelmet);
setunitdata(.@npcId, UDT_HEADMIDDLE, SaviorArmor);
setunitdata(.@npcId, UDT_HEADBOTTOM, TulimsharGuardBoots);
diff --git a/npc/012-1/dyrinthetraveler.txt b/npc/012-1/dyrinthetraveler.txt
index ebacbfecd..43853b860 100644
--- a/npc/012-1/dyrinthetraveler.txt
+++ b/npc/012-1/dyrinthetraveler.txt
@@ -89,7 +89,7 @@ L_Close:
close;
OnInit:
- .@npcId = getnpcid(0, .name$);
+ .@npcId = getnpcid(.name$);
setunitdata(.@npcId, UDT_HEADTOP, NPCEyes);
setunitdata(.@npcId, UDT_HEADMIDDLE, UglyChristmasSweater); // All travelers wear this stuff
setunitdata(.@npcId, UDT_HEADBOTTOM, TulimsharGuardBoots);
diff --git a/npc/012-1/guards.txt b/npc/012-1/guards.txt
index 492ef05a0..ff34e134c 100644
--- a/npc/012-1/guards.txt
+++ b/npc/012-1/guards.txt
@@ -84,7 +84,7 @@ OnInit:
.sex = G_MALE;
.distance = 4;
- .@npcId = getnpcid(0, .name$);
+ .@npcId = getnpcid(.name$);
setunitdata(.@npcId, UDT_HEADTOP, Bull);
setunitdata(.@npcId, UDT_HEADMIDDLE, LegionTrainingShirt);
setunitdata(.@npcId, UDT_HEADBOTTOM, RaidTrousers);
@@ -131,7 +131,7 @@ OnSet:
OnInit:
.CYCLES=0;
- .@npcId = getnpcid(0, .name$);
+ .@npcId = getnpcid(.name$);
setunitdata(.@npcId, UDT_HEADTOP, GoldenWarlordPlate); // Light armor
setunitdata(.@npcId, UDT_HEADMIDDLE, JeansChaps); // Pants
setunitdata(.@npcId, UDT_HEADBOTTOM, DeepBlackBoots); // Shoes
diff --git a/npc/012-1/hinnak.txt b/npc/012-1/hinnak.txt
index cce9100b1..89172ee84 100644
--- a/npc/012-1/hinnak.txt
+++ b/npc/012-1/hinnak.txt
@@ -140,7 +140,7 @@ L_Thanks:
close;
OnInit:
- .@npcId = getnpcid(0, .name$);
+ .@npcId = getnpcid(.name$);
setunitdata(.@npcId, UDT_HEADTOP, FarmerHat);
setunitdata(.@npcId, UDT_HEADMIDDLE, LeatherShirt);
setunitdata(.@npcId, UDT_HEADBOTTOM, TulimsharGuardBoots);
diff --git a/npc/012-1/luffyx.txt b/npc/012-1/luffyx.txt
index 283a1c8d7..54f521bbb 100644
--- a/npc/012-1/luffyx.txt
+++ b/npc/012-1/luffyx.txt
@@ -71,7 +71,7 @@ L_Lying:
goto L_Main;
OnInit:
- .@npcId = getnpcid(0, .name$);
+ .@npcId = getnpcid(.name$);
setunitdata(.@npcId, UDT_HEADTOP, CommunityShirt);
setunitdata(.@npcId, UDT_HEADMIDDLE, JeansChaps);
setunitdata(.@npcId, UDT_HEADBOTTOM, DeepBlackBoots);
diff --git a/npc/012-1/mahad.txt b/npc/012-1/mahad.txt
index de1b02728..4631825d7 100644
--- a/npc/012-1/mahad.txt
+++ b/npc/012-1/mahad.txt
@@ -47,7 +47,7 @@ OnInit:
.sex = G_MALE;
.distance = 7;
- .@npcId = getnpcid(0, .name$);
+ .@npcId = getnpcid(.name$);
// Check items.xml for info about this
setunitdata(.@npcId, UDT_HEADTOP, InfantryHelmet);
setunitdata(.@npcId, UDT_HEADMIDDLE, SailorShirt);