summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-10-03 21:53:48 -0600
committerJared Adams <jaxad0127@gmail.com>2009-10-03 21:53:48 -0600
commitb0cd6ed5c3ee7bff662bd3249c67eadbd28c8f09 (patch)
tree244d6b1a3efd38c05ba153643365c05180c5d1d3
parentf5a909eb148694d5921d07960f86aea9900b4822 (diff)
downloadserverdata-b0cd6ed5c3ee7bff662bd3249c67eadbd28c8f09.tar.gz
serverdata-b0cd6ed5c3ee7bff662bd3249c67eadbd28c8f09.tar.bz2
serverdata-b0cd6ed5c3ee7bff662bd3249c67eadbd28c8f09.tar.xz
serverdata-b0cd6ed5c3ee7bff662bd3249c67eadbd28c8f09.zip
Add the caretaker's wife
Killing her results in a 5 minute ban of the player.
-rw-r--r--npc/027-2_Caretakers_House/caretaker.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/npc/027-2_Caretakers_House/caretaker.txt b/npc/027-2_Caretakers_House/caretaker.txt
index 174134b0..274c13f1 100644
--- a/npc/027-2_Caretakers_House/caretaker.txt
+++ b/npc/027-2_Caretakers_House/caretaker.txt
@@ -92,4 +92,19 @@ L_Has_No_New_Letter:
L_Has_New_Letter:
// TODO: The player has to deliver the current letter first
close;
+
+OnTimer3000:
+ monster "027-2.gat", 29, 21, "Caretaker's Wife", 1044, 1, "Caretaker::OnWifeDeath";
+ end;
+
+OnWifeDeath:
+ mapannounce "027-2.gat", "NO! YOU KILLED MY WIFE!", 0;
+ gmcommand strcharinfo(0) + " : @l I killed the caretaker's wife!";
+ gmcommand strcharinfo(0) + " : @ban +5m " + strcharinfo(0);
+ setnpctimer 0;
+ end;
+
+OnInit:
+ initnpctimer;
+ end;
}