From 0932a5b0c04eb47ff44572be3e0d8d91598a5a4f Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 5 Jun 2019 13:43:49 -0300 Subject: Sagratha's "Daily" Reward - get Mouboo Milk every 4 hours! But the requeriments are a bit annoying :> --- npc/014-5-1/sagratha.txt | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) (limited to 'npc/014-5-1') 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; -- cgit v1.2.3-60-g2f50