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/009-2/librarian.txt | 2 +- npc/009-2/ryan.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/009-2') diff --git a/npc/009-2/librarian.txt b/npc/009-2/librarian.txt index 1f9027c8e..89ed94583 100644 --- a/npc/009-2/librarian.txt +++ b/npc/009-2/librarian.txt @@ -121,7 +121,7 @@ L_Report: close; OnInit: - .@npcId = getnpcid(0, .name$); + .@npcId = getnpcid(.name$); setunitdata(.@npcId, UDT_HEADTOP, FancyHat); setunitdata(.@npcId, UDT_HEADMIDDLE, CreasedShirt); //setunitdata(.@npcId, UDT_HEADBOTTOM, NPCEyes); diff --git a/npc/009-2/ryan.txt b/npc/009-2/ryan.txt index 4be079e38..a10853dc6 100644 --- a/npc/009-2/ryan.txt +++ b/npc/009-2/ryan.txt @@ -87,7 +87,7 @@ L_Prologue: close; OnInit: - .@npcId = getnpcid(0, .name$); + .@npcId = getnpcid(.name$); setunitdata(.@npcId, UDT_HEADTOP, ChefHat); setunitdata(.@npcId, UDT_HEADMIDDLE, SilkRobe); setunitdata(.@npcId, UDT_HEADBOTTOM, CottonTrousers); -- cgit v1.2.3-70-g09d2