From fc0b556ae917ae855e0c3947b6007ce71504e257 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 1 Jun 2024 14:53:51 -0300 Subject: Update Mana Tree Quest layout --- npc/025-2-4/tree.txt | 1 + npc/029-0/amelia.txt | 1 + npc/functions/util.txt | 6 +++++- 3 files changed, 7 insertions(+), 1 deletion(-) (limited to 'npc') diff --git a/npc/025-2-4/tree.txt b/npc/025-2-4/tree.txt index 943c8ada7..7b7dee71a 100644 --- a/npc/025-2-4/tree.txt +++ b/npc/025-2-4/tree.txt @@ -39,6 +39,7 @@ function manatreeAgain { inventoryplace Manapple, 1; mesc l("The tree generously offer you one of its fruits."); mesc l("You gladly accept it. But probably better not disturb it for a few days."); + compareandsetq FortressQuest_ManaTree, 2, 3; // If you pledged for Barbara's life, 2 days cooldown, else 3d if (BARBARA_STATE == 3) setq3 FortressQuest_ManaTree, gettimeparam(GETTIME_DAYOFMONTH)+2; diff --git a/npc/029-0/amelia.txt b/npc/029-0/amelia.txt index da98601ef..26a2c8b70 100644 --- a/npc/029-0/amelia.txt +++ b/npc/029-0/amelia.txt @@ -12,6 +12,7 @@ if (.@q == 0) goto L_Start; if (.@q == 1) goto L_Cheerful; if (.@q == 2) goto L_Short; + if (.@q == 3) goto L_Short; // Generic reply npctalk3 l("*sigh*"); diff --git a/npc/functions/util.txt b/npc/functions/util.txt index 5ebb3793d..4e6494d34 100644 --- a/npc/functions/util.txt +++ b/npc/functions/util.txt @@ -651,8 +651,12 @@ function script reputation { if (getq(FortressQuest_RangedHunt) >= 2) .@nr=.@nr+1; + // The Mana Tree (+1 rep) + if (getq(FortressQuest_ManaTree) >= 3) + .@nr=.@nr+1; + // FORTRESS TOWN Magical Formula - .@nr=.@nr*100/5; + .@nr=.@nr*100/6; // Final -- cgit v1.2.3-70-g09d2