summaryrefslogtreecommitdiff
path: root/npc/027-2_Caretakers_House
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-09-07 15:25:33 -0600
committerJared Adams <jaxad0127@gmail.com>2009-09-07 15:25:33 -0600
commit9f3b9ca0ff56a90201c7587a04da5aca7d915ae3 (patch)
treecee88395915bafef26f06f0696f40e29e779cec4 /npc/027-2_Caretakers_House
parent1ee9568bcdc4da17f0f608fce21f3ff6b4781f1a (diff)
downloadserverdata-9f3b9ca0ff56a90201c7587a04da5aca7d915ae3.tar.gz
serverdata-9f3b9ca0ff56a90201c7587a04da5aca7d915ae3.tar.bz2
serverdata-9f3b9ca0ff56a90201c7587a04da5aca7d915ae3.tar.xz
serverdata-9f3b9ca0ff56a90201c7587a04da5aca7d915ae3.zip
Add woodland cemetery
Some work still needs to be done on the maps themselves, and the new NPCs.
Diffstat (limited to 'npc/027-2_Caretakers_House')
-rw-r--r--npc/027-2_Caretakers_House/_import.txt4
-rw-r--r--npc/027-2_Caretakers_House/_mobs.txt7
-rw-r--r--npc/027-2_Caretakers_House/_warps.txt3
-rw-r--r--npc/027-2_Caretakers_House/caretaker.txt85
4 files changed, 99 insertions, 0 deletions
diff --git a/npc/027-2_Caretakers_House/_import.txt b/npc/027-2_Caretakers_House/_import.txt
new file mode 100644
index 00000000..58d2b8c0
--- /dev/null
+++ b/npc/027-2_Caretakers_House/_import.txt
@@ -0,0 +1,4 @@
+map: 027-2.gat
+npc: npc/027-2_Caretakers_House/_mobs.txt
+npc: npc/027-2_Caretakers_House/_warps.txt
+npc: npc/027-2_Caretakers_House/caretaker.txt
diff --git a/npc/027-2_Caretakers_House/_mobs.txt b/npc/027-2_Caretakers_House/_mobs.txt
new file mode 100644
index 00000000..e765f51c
--- /dev/null
+++ b/npc/027-2_Caretakers_House/_mobs.txt
@@ -0,0 +1,7 @@
+// 027-2 Caretaker's House mobs
+
+
+
+027-2.gat,0,0,0 script Mob027-2 -1,{
+ end;
+}
diff --git a/npc/027-2_Caretakers_House/_warps.txt b/npc/027-2_Caretakers_House/_warps.txt
new file mode 100644
index 00000000..8b7af158
--- /dev/null
+++ b/npc/027-2_Caretakers_House/_warps.txt
@@ -0,0 +1,3 @@
+// 027-2 Caretaker's House warps
+
+027-2.gat,26,33 warp toGraveyard -1,-1,027-1.gat,88,85
diff --git a/npc/027-2_Caretakers_House/caretaker.txt b/npc/027-2_Caretakers_House/caretaker.txt
new file mode 100644
index 00000000..36715ad5
--- /dev/null
+++ b/npc/027-2_Caretakers_House/caretaker.txt
@@ -0,0 +1,85 @@
+// Cemetary Caretaker
+// TODO: add dialog/code for when first letter is delivered
+// Airlia supports receiving an infinate number of letters
+
+027-2.gat,24,25,0 script Caretaker 159,{
+ if (QUEST_Graveyard_Caretaker == 1) goto L_Return_Dialog;
+ if (QUEST_Graveyard_Caretaker == 2) goto L_Has_Letter;
+ if (QUEST_Graveyard_Caretaker == 3) goto L_Delivered_Letter;
+
+ mes "[Caretaker]";
+ mes "\"...Another adventurer come to slay the already dead.\"";
+ next;
+ menu
+ "And what are you?", L_Who,
+ "Thats right, so move and let me kill that demon behind you.", -;
+ close;
+
+L_Who:
+ mes "[Caretaker]";
+ mes "\"I was once the caretaker to these cemetery grounds, but look at what they have become.";
+ mes "I now care only for my wife. I watch over her... make sure that nobody ever does her harm.\"";
+ next;
+
+ menu
+ "You guard her corpse day and night?", -;
+
+ mes "[Caretaker]";
+ mes "\"I am bound to this place by the very same spell that was cast to keep the undead from leaving. Until the day that this cemetery is cured of its curse, I remain within these gates.\"";
+ set QUEST_Graveyard_Caretaker, 1;
+ close;
+
+L_Return_Dialog:
+ mes "[Caretaker]";
+ mes "\"I am somewhat fortunate that adventurers like yourself frequent this place... despite your intentions.";
+ mes "Perhaps you can do me a favor?\"";
+ next;
+
+ menu
+ "What is the favor?", L_Favor,
+ "I'm sure I can, for a price.", L_Favor,
+ "Sorry, I am busy.", -;
+ close;
+
+L_Favor:
+ mes "[Caretaker]";
+ mes "\"I have not seen my daughter since I was cursed to stay in this cemetery 25 years ago.";
+ mes "We communicate now through letters. Would you please take this to her?";
+ mes "I am sure she will compensate you for your trouble.\"";
+ next;
+
+ menu
+ "I will take it to her.", L_Receive,
+ "I will help you. Where can I find your daughter?", L_Receive,
+ "Sorry, but I am too busy.", -;
+ close;
+
+L_Receive:
+ set QUEST_Graveyard_Caretaker, 2;
+ mes "You receive the letter and put it in a special place so it doesn't get lost among your inventory.";
+ if (@menu == 2) goto L_Location;
+ close;
+
+L_Location:
+ next;
+
+L_Location_Real:
+ mes "[Caretaker]";
+ mes "\"Her name is Airlia. She works at the city hall in Hurnscald. Thank you for your help.\"";
+ close;
+
+L_Has_Letter:
+ mes "[Caretaker]";
+ mes "\"Have you found my daughter?\"";
+ next;
+
+ menu
+ "Not Yet.", -,
+ "I'll get there when I get there.", -,
+ "Where did you say I could find her?", L_Location_Real;
+ close;
+
+L_Delivered_Letter:
+ // TODO
+ close;
+}