summaryrefslogtreecommitdiff
path: root/npc/012-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-14 08:50:42 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-14 08:50:42 -0300
commitbdb035187978df6d2057bdc429c3c3570df4104b (patch)
tree03713d8e8cc53b146b15fb3fc1d03b74fdb153b1 /npc/012-1
parent9d9b30bf3a94fe7a0cfcf916cfa4d3dadf984d9c (diff)
downloadserverdata-bdb035187978df6d2057bdc429c3c3570df4104b.tar.gz
serverdata-bdb035187978df6d2057bdc429c3c3570df4104b.tar.bz2
serverdata-bdb035187978df6d2057bdc429c3c3570df4104b.tar.xz
serverdata-bdb035187978df6d2057bdc429c3c3570df4104b.zip
Add templates for Hinnak and Oscar, make maps
Diffstat (limited to 'npc/012-1')
-rw-r--r--npc/012-1/_import.txt1
-rw-r--r--npc/012-1/_mobs.txt2
-rw-r--r--npc/012-1/hinnak.txt36
3 files changed, 38 insertions, 1 deletions
diff --git a/npc/012-1/_import.txt b/npc/012-1/_import.txt
index 1c82193bc..3e50006cc 100644
--- a/npc/012-1/_import.txt
+++ b/npc/012-1/_import.txt
@@ -6,6 +6,7 @@
"npc/012-1/dyrinthetraveler.txt",
"npc/012-1/guards.txt",
"npc/012-1/gwendolyn.txt",
+"npc/012-1/hinnak.txt",
"npc/012-1/jack.txt",
"npc/012-1/locamit.txt",
"npc/012-1/mapflags.txt",
diff --git a/npc/012-1/_mobs.txt b/npc/012-1/_mobs.txt
index 1f6feba67..0d87ed307 100644
--- a/npc/012-1/_mobs.txt
+++ b/npc/012-1/_mobs.txt
@@ -2,7 +2,7 @@
// Map 012-1: Hurnscald mobs
012-1,90,63,35,14 monster Red Butterfly 1025,4,30000,90000
012-1,90,62,36,15 monster Mana Bug 1075,5,30000,90000
-012-1,92,33,45,15 monster Pinkie 1132,8,30000,90000
+012-1,85,33,35,15 monster Pinkie 1132,8,30000,90000
012-1,44,47,21,32 monster Clover Patch 1028,4,60000,90000
012-1,135,58,7,29 monster Piousse 1003,6,40000,60000
012-1,85,86,52,15 monster Silk Worm 1034,5,30000,30000
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;
+}
+