summaryrefslogtreecommitdiff
path: root/npc/008-1_Hurnscald_outskirts
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2008-11-19 13:38:20 +0000
committerJared Adams <jaxad0127@gmail.com>2008-11-19 13:38:20 +0000
commit1195ea1eb880ca9c77f2471e036d8bb8009fd70d (patch)
tree888b3dded2573c38c92acb7d6faf528d02abfd8b /npc/008-1_Hurnscald_outskirts
parentc35d7a43946974cc85497980f4542f0b8abc1a56 (diff)
downloadserverdata-1195ea1eb880ca9c77f2471e036d8bb8009fd70d.tar.gz
serverdata-1195ea1eb880ca9c77f2471e036d8bb8009fd70d.tar.bz2
serverdata-1195ea1eb880ca9c77f2471e036d8bb8009fd70d.tar.xz
serverdata-1195ea1eb880ca9c77f2471e036d8bb8009fd70d.zip
Change all script folders
Script files fixes are comming
Diffstat (limited to 'npc/008-1_Hurnscald_outskirts')
-rw-r--r--npc/008-1_Hurnscald_outskirts/_import.txt6
-rw-r--r--npc/008-1_Hurnscald_outskirts/_mobs.txt7
-rw-r--r--npc/008-1_Hurnscald_outskirts/_warps.txt10
-rw-r--r--npc/008-1_Hurnscald_outskirts/george.txt25
-rw-r--r--npc/008-1_Hurnscald_outskirts/hinnak.txt100
-rw-r--r--npc/008-1_Hurnscald_outskirts/monsters.txt34
6 files changed, 182 insertions, 0 deletions
diff --git a/npc/008-1_Hurnscald_outskirts/_import.txt b/npc/008-1_Hurnscald_outskirts/_import.txt
new file mode 100644
index 00000000..a734d9f3
--- /dev/null
+++ b/npc/008-1_Hurnscald_outskirts/_import.txt
@@ -0,0 +1,6 @@
+map: 008-1.gat
+npc: npc/008-1_Hurnscald_outskirts/monsters.txt
+npc: npc/008-1_Hurnscald_outskirts/hinnak.txt
+npc: npc/008-1_Hurnscald_outskirts/george.txt
+npc: npc/008-1_Hurnscald_outskirts/_warps.txt
+npc: npc/008-1_Hurnscald_outskirts/_mobs.txt
diff --git a/npc/008-1_Hurnscald_outskirts/_mobs.txt b/npc/008-1_Hurnscald_outskirts/_mobs.txt
new file mode 100644
index 00000000..2ae45fb9
--- /dev/null
+++ b/npc/008-1_Hurnscald_outskirts/_mobs.txt
@@ -0,0 +1,7 @@
+// 008-1 Hurnscald outskirts mobs
+
+
+
+008-1.gat,0,0,0 script Mob008-1 -1,{
+ end;
+}
diff --git a/npc/008-1_Hurnscald_outskirts/_warps.txt b/npc/008-1_Hurnscald_outskirts/_warps.txt
new file mode 100644
index 00000000..275de68e
--- /dev/null
+++ b/npc/008-1_Hurnscald_outskirts/_warps.txt
@@ -0,0 +1,10 @@
+// 008-1 Hurnscald outskirts warps
+
+008-1.gat,54,61 warp HurnscaldWestGate -1,1,009-1.gat,26,36
+008-1.gat,79,80 warp HurnscaldSouthGate 2,-1,009-1.gat,48,54
+008-1.gat,127,61 warp HurnscaldEastGate -1,0,009-1.gat,96,35
+008-1.gat,79,49 warp HurnscaldNorthGate 2,-1,009-1.gat,48,24
+008-1.gat,24,62 warp ToWoodland -1,2,011-1.gat,122,61
+008-1.gat,79,17 warp ToWoodlandMines 2,-1,018-1.gat,79,97
+008-1.gat,79,102 warp ToWoodland 2,-1,007-1.gat,68,23
+008-1.gat,132,101 warp ToWoodland 1,-1,007-1.gat,122,23
diff --git a/npc/008-1_Hurnscald_outskirts/george.txt b/npc/008-1_Hurnscald_outskirts/george.txt
new file mode 100644
index 00000000..42966bf8
--- /dev/null
+++ b/npc/008-1_Hurnscald_outskirts/george.txt
@@ -0,0 +1,25 @@
+//
+
+new_18-1.gat,136,36,0 script George 138,{
+ if (getequipid(equip_head) == 617) goto L_Pirate;
+ if (getequipid(equip_head) == 622) goto L_Bandana;
+ if (getequipid(equip_head) == 621) goto L_EyePatch;
+ mes "[George the Pirate]";
+ mes "\"Arrrrh! 'Tis some kind of treasure map!\"";
+ close;
+
+L_Pirate:
+ mes "[George the Pirate]";
+ mes "\"Arrrrh! Ye be wearing a pirate's hat!\"";
+ close;
+
+L_Bandana:
+ mes "[George the Pirate]";
+ mes "\"Arrrrh! Ye remind me of my old first mate!\"";
+ close;
+
+L_EyePatch:
+ mes "[George the Pirate]";
+ mes "\"Arrrrh! Looks like ye lost an eye there!\"";
+ close;
+}
diff --git a/npc/008-1_Hurnscald_outskirts/hinnak.txt b/npc/008-1_Hurnscald_outskirts/hinnak.txt
new file mode 100644
index 00000000..39f4bc5a
--- /dev/null
+++ b/npc/008-1_Hurnscald_outskirts/hinnak.txt
@@ -0,0 +1,100 @@
+//#################################################################################
+//# #
+//# this script file contains the npc scripts for the quest to obtain a scythe. #
+//# #
+//# Needed: 10 Pink Antenna #
+//# #
+//# Reward: Scythe #
+//# #
+//#################################################################################
+
+//Farmer
+
+new_18-1.gat,101,30,0 script Hinnak 142, {
+ if (Inspector == 10) goto L_NohMask;
+ if (QUEST_Scythe_state == 1) goto L_Exchange;
+ if (QUEST_Scythe_state == 2) goto L_ThanksAgain;
+ mes "[Farmer Hinnak]";
+ mes "\"Argh! I hate them! I @#$% hate them! I @#$% hate these @#$% pinkies!\"";
+ next;
+
+ menu
+ "You need some anger control therapy.", -,
+ "Why do you hate them?", L_Reason;
+ close;
+
+L_Reason:
+ mes "[Farmer Hinnak]";
+ mes "\"These @#$% beasts are jumping around in my fields destroying all my harvest.";
+ mes "But they are too fast. I can't catch them.\"";
+ next;
+
+ menu
+ "Want me to help you?", L_Help,
+ "Well, life ain't fair.", -;
+ close;
+
+L_Help:
+ mes "[Farmer Hinnak]";
+ mes "\"Yes, you look quite fast. Maybe you can catch some of them. That will pay them a lesson.";
+ mes "Slay some of them and bring me 10 of their antennae.\"";
+ set QUEST_Scythe_state, 1;
+ next;
+
+ menu
+ "Sure, I'm on my way", -,
+ "How much is this worth to you?", L_Reward;
+ close;
+
+L_Reward:
+ mes "[Farmer Hinnak]";
+ mes "\"Well, I can't offer you much. But I got an old scythe laying around. Maybe you can use it as a weapon.\"";
+ close;
+
+L_Exchange:
+ mes "[Farmer Hinnak]";
+ mes "Have you got the 10 antennae?";
+ next;
+
+ if (countitem(614) < 10) goto L_Exchange_Notenough;
+
+ menu
+ "Not yet, but I am working on it.", -,
+ "Sure, here they are!", L_Exchange_Exchange;
+ close;
+
+L_Exchange_Exchange:
+ delitem 614, 10;
+ getitem 623, 1;
+ set QUEST_Scythe_state, 2;
+ mes "[Farmer Hinnak]";
+ mes "\"Thank you very much. I've got something for you. My old scythe. Maybe you can use it as a weapon. It is a bit cumbersome but its strikes are deadly.\"";
+ close;
+
+L_Exchange_Notenough:
+ menu
+ "Not yet, but I am working on it.", -;
+ close;
+
+L_ThanksAgain:
+ mes "[Farmer Hinnak]";
+ mes "Thanks again for helping me with the pinkies.";
+ close;
+
+L_NohMask:
+ menu
+ "Did you see anyone in a mask come by here at night?", L_NohMask_Mask,
+ "Did you see anyone with a large satchel come by here at night?", L_NohMask_Satchel,
+ "Nothing...", -;
+ close;
+
+L_NohMask_Mask:
+ mes "[Farmer Hinnak]";
+ mes "\"No. It tends to be too dark to see a mask.\"";
+ close;
+
+L_NohMask_Satchel:
+ mes "[Farmer Hinnak]";
+ mes "\"Yes, I saw someone with a large sack on their back go to the minning camp.\"";
+ close;
+} \ No newline at end of file
diff --git a/npc/008-1_Hurnscald_outskirts/monsters.txt b/npc/008-1_Hurnscald_outskirts/monsters.txt
new file mode 100644
index 00000000..8755285c
--- /dev/null
+++ b/npc/008-1_Hurnscald_outskirts/monsters.txt
@@ -0,0 +1,34 @@
+// Map: new_18-1
+// This is Woodland around Hurnscald.
+//
+
+new_18-1.gat,0,0,0,0 monster Pinkie 1018,20,0,0,Mob18::OnPinkie
+new_18-1.gat,0,0,0,0 monster SpikyMushroom 1019,20,0,0,Mob18::OnSpikyMushroom
+
+new_18-1.gat,0,0,0,0 monster Mauve 1029,1,2700000,1800000,Mob18::OnMauve
+
+new_18-1.gat,0,0,0,0 monster SilkWorm 1035,2,60000,30000,Mob18::OnSilkWorm
+
+new_18-1.gat,0,0,0 script Mob18 -1,{
+OnPinkie:
+ set @mobID, 1018;
+ callfunc "MobPoints";
+ break;
+
+OnSpikyMushroom:
+ set @mobID, 1019;
+ callfunc "MobPoints";
+ break;
+
+OnMauve:
+ set @mobID, 1029;
+ callfunc "MobPoints";
+ break;
+
+OnSilkWorm:
+ set @mobID, 1035;
+ callfunc "MobPoints";
+ break;
+
+ end;
+}