From bdb035187978df6d2057bdc429c3c3570df4104b Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 14 Jun 2018 08:50:42 -0300 Subject: Add templates for Hinnak and Oscar, make maps --- npc/012-1/hinnak.txt | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 npc/012-1/hinnak.txt (limited to 'npc/012-1/hinnak.txt') diff --git a/npc/012-1/hinnak.txt b/npc/012-1/hinnak.txt new file mode 100644 index 000000000..b19792e88 --- /dev/null +++ b/npc/012-1/hinnak.txt @@ -0,0 +1,36 @@ +// TMW2 Script +// Author: +// Jesusalva +// Description: +// Hurnscald farmer + +014-3,187,84,0 script Hinnak NPC_ORC,{ + .@q1=getq(HurnscaldQuest_Farmers); + .@q2=getq2(HurnscaldQuest_Farmers); + mesn; + if (strcharinfo(0) == $MOST_HEROIC$) mesq l("Ah, if it isn't @@? You're the talk of the town!", $MOST_HEROIC$); + if (strcharinfo(0) == $MOST_HEROIC$) next; + if (.@q1 < 2) goto L_Oscar; + + +L_Oscar: + mesq l("Don't bother me, I'm busy right now. Since the Monster King left, I barely got a night of rest..."); + close; + +L_Close: + close; + +OnInit: + .@npcId = getnpcid(0, .name$); + setunitdata(.@npcId, UDT_HEADTOP, RiceHat); + setunitdata(.@npcId, UDT_HEADMIDDLE, MoonshroomRobe); + setunitdata(.@npcId, UDT_HEADBOTTOM, TulimsharGuardBoots); + setunitdata(.@npcId, UDT_WEAPON, CottonTrousers); + setunitdata(.@npcId, UDT_HAIRSTYLE, 2); + setunitdata(.@npcId, UDT_HAIRCOLOR, 0); + + .sex = G_MALE; + .distance = 5; + end; +} + -- cgit v1.2.3-60-g2f50