diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-06-05 13:43:49 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-06-05 13:43:49 -0300 |
commit | 0932a5b0c04eb47ff44572be3e0d8d91598a5a4f (patch) | |
tree | b18257cc8e789b728aa9c4fbe714ea7164e4d84f /npc/014-5-1/sagratha.txt | |
parent | feac78520c665e5ccf9a050ae267b8d63537d8c0 (diff) | |
download | serverdata-0932a5b0c04eb47ff44572be3e0d8d91598a5a4f.tar.gz serverdata-0932a5b0c04eb47ff44572be3e0d8d91598a5a4f.tar.bz2 serverdata-0932a5b0c04eb47ff44572be3e0d8d91598a5a4f.tar.xz serverdata-0932a5b0c04eb47ff44572be3e0d8d91598a5a4f.zip |
Sagratha's "Daily" Reward - get Mouboo Milk every 4 hours!
But the requeriments are a bit annoying :>
Diffstat (limited to 'npc/014-5-1/sagratha.txt')
-rw-r--r-- | npc/014-5-1/sagratha.txt | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/npc/014-5-1/sagratha.txt b/npc/014-5-1/sagratha.txt index 71e0ccf50..35cef5faa 100644 --- a/npc/014-5-1/sagratha.txt +++ b/npc/014-5-1/sagratha.txt @@ -87,9 +87,11 @@ function script SaggyMobCount { { select l("Can I return to the shrine?"), + l("I would like some Mouboo Milk."), l("Good bye."); mes ""; switch (@menu) { + // XXX: Sealed Shrine case 1: mesn; mesq l("Why would you want to go back there?"); @@ -129,12 +131,36 @@ function script SaggyMobCount { closeclientdialog; warp "015-8", 99, 178; close; + // XXX: Mouboo Milk + case 2: + if (SAGRATHA_SCORE < 50) { + mesn; + mesq l("You don't need, nor deserve it."); + next; + mesn; + mesq l("Learn milking a Mouboo. And if you harm them, I'll cast a lightning bolt at you!"); + next; + break; + } + if (SAGRATHA_MILK > gettimeparam(GETTIME_HOUR)) { + mesn; + mesq l("I just gave you it. Come back later."); + next; + break; + } + inventoryplace Milk, 2; + SAGRATHA_SCORE-=8; // :o + SAGRATHA_MILK=gettimeparam(GETTIME_HOUR)+4; + getitem Milk, 2; + mesn; + mesq l("Here. You know that milking Mouboos won't cause them harm, right? It's a different story with @@.", getitemlink(MoubooSteak)); + close; + break; default: close; } // TODO: Learn Magic // TODO: Request help with stuff (eg. protecting mouboos?) - // TODO: Get Mouboo Milk :> } while (true); close; |