summaryrefslogtreecommitdiff
path: root/npc/015-2
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-22 00:59:00 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-22 00:59:00 -0300
commit2ef642d234f5b289e8eac0e93595f03027ee3665 (patch)
tree412540ef6cc320120d7f8337d256f7ab6035e536 /npc/015-2
parent91f2e2b7fbf9a7b6830cd7a1ab6df1cae82eb9e9 (diff)
downloadserverdata-2ef642d234f5b289e8eac0e93595f03027ee3665.tar.gz
serverdata-2ef642d234f5b289e8eac0e93595f03027ee3665.tar.bz2
serverdata-2ef642d234f5b289e8eac0e93595f03027ee3665.tar.xz
serverdata-2ef642d234f5b289e8eac0e93595f03027ee3665.zip
Prepare Helena's friend, for the Bandit Lord
Diffstat (limited to 'npc/015-2')
-rw-r--r--npc/015-2/_import.txt1
-rw-r--r--npc/015-2/guard.txt46
2 files changed, 47 insertions, 0 deletions
diff --git a/npc/015-2/_import.txt b/npc/015-2/_import.txt
index fce140ddf..25b948ad8 100644
--- a/npc/015-2/_import.txt
+++ b/npc/015-2/_import.txt
@@ -2,4 +2,5 @@
// This file is generated automatically. All manually added changes will be removed when running the Converter.
"npc/015-2/_mobs.txt",
"npc/015-2/_warps.txt",
+"npc/015-2/guard.txt",
"npc/015-2/lordcave.txt",
diff --git a/npc/015-2/guard.txt b/npc/015-2/guard.txt
new file mode 100644
index 000000000..e9ba3fe37
--- /dev/null
+++ b/npc/015-2/guard.txt
@@ -0,0 +1,46 @@
+// TMW2 Script.
+// Author:
+// Jesusalva
+// Description:
+// Part of Helena's quest
+
+012-2,47,40,0 script Helena's Teammate NPC_ORC,{
+ .@q=getq(HurnscaldQuest_Bandits);
+ if (.@q == 5) goto L_SilverKey;
+ if (.@q == 6) goto L_BanditLord;
+ mesn;
+ mesq lg("Welcome.");
+ mesq l("This small island is a good place to heal our wounds, the slimes and the snakes are not threating.");
+ close;
+
+L_SilverKey:
+ mesn;
+ mesq l("Don't say anything, I can smell the scent of Helena's hair on you.");
+ next;
+ geitem SilverKey, 1;
+ setq HurnscaldQuest_Bandits, 6;
+ mesn;
+ mesq l("I guess she sent you to kill another Bandit Lord, right? Ok, I'll give you the key for his room.");
+ next;
+ mesn;
+ mesq l("It is pretty close to here. I advise you to bring friends, and use a sword, but I can't give keys to them and etc.");
+ close;
+
+L_BanditLord:
+ mesn strcharinfo(0);
+ mesq l("There was nobody on the Bandit Lord's room.");
+ close;
+
+OnInit:
+ .@npcId = getnpcid(0, .name$);
+ setunitdata(.@npcId, UDT_HEADTOP, FairyHat);
+ setunitdata(.@npcId, UDT_HEADMIDDLE, ForestArmor);
+ setunitdata(.@npcId, UDT_HEADBOTTOM, JeansChaps);
+ setunitdata(.@npcId, UDT_WEAPON, DeepDarkBoots);
+ setunitdata(.@npcId, UDT_HAIRSTYLE, 24);
+ setunitdata(.@npcId, UDT_HAIRCOLOR, 1);
+
+ .sex = G_MALE;
+ .distance = 5;
+ end;
+}