diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-04-09 13:33:57 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-04-09 13:33:57 -0300 |
commit | cf18ce071c79ae37e14ea38943e0b1d88da70a7b (patch) | |
tree | f9159c9b60b3018300dd22ffba0d797bc5e828e5 /npc/027-2/caretaker.txt | |
parent | 8a4bf716002a017de77fe7df301ef8e4aaf00a2e (diff) | |
download | serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.tar.gz serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.tar.bz2 serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.tar.xz serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.zip |
Override
Diffstat (limited to 'npc/027-2/caretaker.txt')
-rwxr-xr-x | npc/027-2/caretaker.txt | 112 |
1 files changed, 112 insertions, 0 deletions
diff --git a/npc/027-2/caretaker.txt b/npc/027-2/caretaker.txt new file mode 100755 index 00000000..792cd79b --- /dev/null +++ b/npc/027-2/caretaker.txt @@ -0,0 +1,112 @@ + +027-2,44,25,0 script Caretaker NPC159,{ + @halloween_npc_id = $@halloween_npc_caretaker; + callfunc "TrickOrTreat"; + + 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; + if (QUEST_Graveyard_Caretaker == 4) goto L_Give_New_Letter; + if (QUEST_Graveyard_Caretaker == 5) goto L_Has_Letter; + + mes "[Caretaker]"; + mes "\"...another adventurer comes to slay the already dead.\""; + next; + menu + "And what are you?", L_Who, + "That's right, so move and let me kill that demon behind you.", L_close; + +L_Who: + mes "[Caretaker]"; + mes "\"I was once the caretaker of these cemetery grounds, but look at what they have become."; + mes "Now, I 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?", L_WatchCorpse; + +L_WatchCorpse: + mes "[Caretaker]"; + mes "\"I am bound to this wretched place by the very same spell that was cast to keep the undead from leaving. Until the day that this cemetery is free from its curse, I shall remain within these gates.\""; + 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's the favor?", L_Favor, + "I'm sure I can, for a price.", L_Favor, + "Sorry, I am busy.", L_close; + +L_Favor: + mes "[Caretaker]"; + mes "\"I have not seen my daughter since I was cursed to stay in this cemetery, twenty-five years ago."; + mes "We communicate through letters, now. 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.", L_close; + +L_Receive: + QUEST_Graveyard_Caretaker = 2; + mes "You receive the letter and put it in a special place so it doesn't get lost in your inventory."; + next; + if (@menu != 2) + close; + goto L_Location; + +L_Location: + mes "[Caretaker]"; + mes "\"Her name is Airlia. She works at the town hall in Hurnscald. Thank you for your help.\""; + close; + +L_Has_Letter: + mes "[Caretaker]"; + mes "\"Have you found my daughter?\""; + next; + menu + "Not yet.", L_close, + "I'll get there when I get there.", L_close, + "Where did you say I could find her?", L_Location; + +L_Delivered_Letter: + mes "[Caretaker]"; + mes "\"Have you found my daughter?\""; + next; + menu + "Yes.", L_Next; + +L_Next: + mes "[Caretaker]"; + mes "\"Thank you for delivering my letter.\""; + QUEST_Graveyard_Caretaker = 4; + close; + +L_Give_New_Letter: + mes "[Caretaker]"; + mes "\"I have another letter, if you want to deliver it.\""; + next; + menu + "Sure.", L_Give_New_Letter_Real, + "I'm too busy right now.", L_close; + +L_Give_New_Letter_Real: + QUEST_Graveyard_Caretaker = 5; + mes "You receive the letter and put it in a special place so it doesn't get lost in your inventory."; + next; + mes "[Caretaker]"; + mes "\"Thank you.\""; + close; + +L_close: + close; +} +027-2,48,22,0 script Joan NPC409,{ + mes "[Joan]"; + mes "..."; + end; +} |