diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-12-15 04:53:33 -0200 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-12-15 04:53:33 -0200 |
commit | 1fc15127923dd14005a2b7013555155dfcca90f6 (patch) | |
tree | b6c1069e447c8d7e59a5ce88eaec47119a69bd0c /npc/019-4-1/golbarez.txt | |
parent | 3d9e3555b5ea1348bbd49d6b530f44723fea1e9e (diff) | |
download | serverdata-1fc15127923dd14005a2b7013555155dfcca90f6.tar.gz serverdata-1fc15127923dd14005a2b7013555155dfcca90f6.tar.bz2 serverdata-1fc15127923dd14005a2b7013555155dfcca90f6.tar.xz serverdata-1fc15127923dd14005a2b7013555155dfcca90f6.zip |
Golbanez Christmas Quest is complete.
Diffstat (limited to 'npc/019-4-1/golbarez.txt')
-rw-r--r-- | npc/019-4-1/golbarez.txt | 44 |
1 files changed, 41 insertions, 3 deletions
diff --git a/npc/019-4-1/golbarez.txt b/npc/019-4-1/golbarez.txt index 3cc343d79..326c1e550 100644 --- a/npc/019-4-1/golbarez.txt +++ b/npc/019-4-1/golbarez.txt @@ -3,12 +3,50 @@ // TMW-LoF Team // Jesusalva // Description: -// Permanently repeatable quest, without any special limit -// NPC_GNOME_ABC NPC_LOF_RICH +// Christmas quest. ported from 2010 and adapted for TMW2:ML. +// Original Name: Golbenez 019-4-1,30,45,0 script Golbarez NPC_LOF_RICH,{ + if ($EVENT$ != "Christmas") + goto L_OutOfSeason; + goto L_Main; + +L_OutOfSeason: + mesn; + if (rand(1,2) == 1) + mesq l("AAH! You scared me!"); + else + mesq l("Land Of Fire is a place so warm... Although this workshop is a better place to break time and space during Christmas."); + close; + +L_Main: + if (getq(SQuest_Christmas) != gettime(GETTIME_YEAR)) { + mesn; + mesq l("Please talk with this workshop Chief before talking to me."); + close; + } + .@q=getq3(SQuest_Christmas); + mesn; + mesq l("Mortal! I am @@! I have broken through the barriers of space and time!", .name$); + mesq l("I want to keep breaking them, until I find the paradise! Thus far, I only found the Land Of Fire!"); + next; + mesn; + mesq l("I need millions of GP to fund my time-space shattering, and thus far, I've only collected @@ GP.", $XMAS_MONEY); + mesq l("If you sponsor me, while I break into more dimensions, I'll give you any stuff I find. Hey, they could be rare here!"); + next; + mesc l("Sponsor @@ in how much GP?", .name$); + input .@count; + mes ""; + if (Zeny < .@count) { + mesn; + mesq l("Don't try to trick me, this attracts bad karma! You could get stolen on Christmas! Seriously, this has happened before!"); + close; + } + Zeny=Zeny-.@count; + $XMAS_MONEY+=.@count; + setq3 SQuest_Christmas, .@q+.@count; mesn; - mesq l("The paradise!"); + mesq l("Thanks for your patronage! The rewards will be available with @@, in case I do find the paradise!", "Christmas Chief"); close; OnInit: |