From eb1c2abd3d093f0c293568dfbcbbf0d8c4caa12f Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 14 Dec 2018 02:34:47 -0200 Subject: New Hercules Syntax for getnpcid(). sed -i 's/getnpcid(0, /getnpcid(/g' */*.txt --- npc/003-2/eistein.txt | 2 +- npc/003-2/estard.txt | 2 +- npc/003-2/lua.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'npc/003-2') diff --git a/npc/003-2/eistein.txt b/npc/003-2/eistein.txt index ce9f6587b..c846c7f52 100644 --- a/npc/003-2/eistein.txt +++ b/npc/003-2/eistein.txt @@ -65,7 +65,7 @@ close; OnInit: - .@npcId = getnpcid(0, .name$); + .@npcId = getnpcid(.name$); setunitdata(.@npcId, UDT_HEADTOP, GraduationCap); setunitdata(.@npcId, UDT_HEADMIDDLE, SilkRobe); setunitdata(.@npcId, UDT_WEAPON, DeepBlackBoots); diff --git a/npc/003-2/estard.txt b/npc/003-2/estard.txt index b03c9e31f..953001b8c 100644 --- a/npc/003-2/estard.txt +++ b/npc/003-2/estard.txt @@ -115,7 +115,7 @@ close; OnInit: - .@npcId = getnpcid(0, .name$); + .@npcId = getnpcid(.name$); setunitdata(.@npcId, UDT_HEADTOP, BowlerHat); setunitdata(.@npcId, UDT_HEADMIDDLE, CreasedShirt); setunitdata(.@npcId, UDT_HEADBOTTOM, JeansChaps); diff --git a/npc/003-2/lua.txt b/npc/003-2/lua.txt index ca4bc5627..c59ddfce3 100644 --- a/npc/003-2/lua.txt +++ b/npc/003-2/lua.txt @@ -198,7 +198,7 @@ L_Close: close; OnInit: - .@npcId = getnpcid(0, .name$); + .@npcId = getnpcid(.name$); setunitdata(.@npcId, UDT_HEADTOP, NPCEyes); setunitdata(.@npcId, UDT_HEADMIDDLE, GMRobe); setunitdata(.@npcId, UDT_HEADBOTTOM, LousyMoccasins); -- cgit v1.2.3-70-g09d2