diff options
author | Jessica Tölke <jtoelke@mail.upb.de> | 2012-11-28 15:36:32 +0100 |
---|---|---|
committer | Jessica Tölke <jtoelke@mail.upb.de> | 2012-11-28 15:37:53 +0100 |
commit | a6aa02bb42c8742222e21e3e8901e126a99e99d8 (patch) | |
tree | afa073e3012556e40cf71f6368de79f518e94880 /world/map/npc/xmas/2012/chiefHelper.txt | |
parent | 2768100b78ddff29b1a375c753b1c5b12ddd8cce (diff) | |
download | serverdata-a6aa02bb42c8742222e21e3e8901e126a99e99d8.tar.gz serverdata-a6aa02bb42c8742222e21e3e8901e126a99e99d8.tar.bz2 serverdata-a6aa02bb42c8742222e21e3e8901e126a99e99d8.tar.xz serverdata-a6aa02bb42c8742222e21e3e8901e126a99e99d8.zip |
Christmas Event 2012.v2012.11.28
Diffstat (limited to 'world/map/npc/xmas/2012/chiefHelper.txt')
-rw-r--r-- | world/map/npc/xmas/2012/chiefHelper.txt | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/world/map/npc/xmas/2012/chiefHelper.txt b/world/map/npc/xmas/2012/chiefHelper.txt new file mode 100644 index 00000000..10116f53 --- /dev/null +++ b/world/map/npc/xmas/2012/chiefHelper.txt @@ -0,0 +1,67 @@ +// This file is part of Christmas Event 2012 +// author: Jenalya + +030-2.gat,87,77,0|script|Chief Warrick|329,{ + callfunc "xmas2012time"; + + set @reinboo, (xmas2012 & NIBBLE_0_MASK) >> NIBBLE_0_SHIFT; + + if (@xmas_time == $@xmas2012_no_event_time) + goto L_NoEvent; + if (@xmas_time == $@xmas2012_reward_time) + goto L_RewardTime; + + if (@reinboo == 14) goto L_Done; + if (@reinboo > 8) goto L_Talisman; + if (@reinboo > 1) goto L_Neiremes; + + mes "[Chief Warrick]"; + mes "\"Welcome to Santa's residence. We're currently in the Christmas preparations, but feel free to have a look around the house and talk to the helpers.\""; + + if ((BaseLevel < 30) || (gettimetick(2) - TUT_var < 4*7*86400)) // player must be created at least four weeks ago + goto L_Close; + menu + "Can I help somehow?", -, + "Thank you.", L_Close; + mes "[Chief Warrick]"; + mes "\"Help? Oh, did you hear about the troubles we had last year? Well, everything is going well this year, so we don't need help from outside this time."; + mes "Unless...\""; + next; + mes "\"Maybe you could have a talk with Grombadil, the equerry. He mentioned some trouble with one of the young Reinboos that are going to begin their duty this year. You can find him outside the house.\""; + goto L_Close; + +L_Neiremes: + mes "[Chief Warrick]"; + mes "\"I really hope Neiremes will pull himself together soon enough. Everything else is going well, and it'd be a shame if all the preparations get ruined.\""; + goto L_Close; + +L_Talisman: + mes "[Chief Warrick]"; + mes "\"Tarmo told me about Neimeres' idea with the Flight Talisman. That kind of magic isn't very common among the Sages and their helpers, as it is rather archaic. But if it can help, why not?\""; + goto L_Close; + +L_Done: + mes "[Chief Warrick]"; + mes "\"Grombadil let me know that Neiremes has much more self-confidence now, thanks to you! Let's see how he does on the Christmas Flight. Make sure to be around at that time if you want to see how he will do.\""; + goto L_Close; + +L_NoEvent: + mes "[Chief Warrick]"; + mes "\"Excuse me, you should leave now. The residence is closed at this time of the year.\""; + warp "030-1.gat", 99, 55; + goto L_Close; + +L_RewardTime: + mes "[Chief Warrick]"; + mes "\"This year's Christmas was a good year. And much less stressful than last year. Very well.\""; + if (@reinboo != 14) + goto L_Close; + next; + mes "\"You were of great help for Neiremes. I think he'd like to thank you personally.\""; + goto L_Close; + +L_Close: + set @reinboo, 0; + set @xmas_time, 0; + close; +} |