summaryrefslogtreecommitdiff
path: root/npc/012-1/hinnak.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/012-1/hinnak.txt')
-rw-r--r--npc/012-1/hinnak.txt36
1 files changed, 36 insertions, 0 deletions
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;
+}
+