From 290588af2b44218964681facf84e4aef157484b5 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 31 Aug 2021 19:57:17 -0300 Subject: Barbara - Add rewards for both killing as not pleading in her favor. The reward for pleading for her comes much later, the map area for it is NYI. --- npc/016-1/captain.txt | 6 ++++++ npc/018-6-1/main.txt | 4 ++++ npc/025-1/commander.txt | 26 ++++++++++++++++++++++++++ 3 files changed, 36 insertions(+) (limited to 'npc') diff --git a/npc/016-1/captain.txt b/npc/016-1/captain.txt index 5bbbeb1ef..c6f119817 100644 --- a/npc/016-1/captain.txt +++ b/npc/016-1/captain.txt @@ -72,6 +72,12 @@ L_THurns: mesq l("It'll cost you @@ GP.", .@price); mes ""; + // Should not even be allowed on the ship, but well. Double-check + if (!$HURNS_LIBDATE) { + mesc l("BUG, REPORT ME! Hurncald Liberation Day check FAIL"), 1; + close; + } + if (Zeny < .@price) { mes l("You still need @@ GP to afford it.", (.@price-Zeny)); close; diff --git a/npc/018-6-1/main.txt b/npc/018-6-1/main.txt index c85cf76b5..3a8744390 100644 --- a/npc/018-6-1/main.txt +++ b/npc/018-6-1/main.txt @@ -388,6 +388,10 @@ L_MainStory: BARBARA_STATE=1; setq1 LoFQuest_Barbara, 5; disablenpc instance_npcname(.name$); // NPC will now go to rest + next; + closeclientdialog; + dispbottom l("You see a fruit on her body. You take it."); + getitembound MysteriousFruit, 1, 4; close; } else { @evil=false; diff --git a/npc/025-1/commander.txt b/npc/025-1/commander.txt index 52b01c846..891c79d42 100644 --- a/npc/025-1/commander.txt +++ b/npc/025-1/commander.txt @@ -8,6 +8,32 @@ mesn; mesq l("Greetings %s, I am %s, the man in charge for the Alliance occupation of Fortress Town.", (strcharinfo(0) == $MOST_HEROIC$ ? lg("Hero") : lg("Adventurer")), .name$); next; + if (BARBARA_STATE == 2) { + inventoryplace NPCEyes, 1; + mesn; + mesq l("Sir Pyndragon and Lady Lalica asked to thank thee for the situation with the thief."); + next; + mesn; + mesq l("Therefore, please choose a permanent stat-boosting fruit."); + next; + menuint + l("I'll decide later"), 0, + l("Strength"), StrengthFruit, + l("Agility"), AgilityFruit, + l("Vitality"), VitalityFruit, + l("Intelligence"), IntelligenceFruit, + l("Dexterity"), DexterityFruit, + l("Luck"), LuckFruit; + mes ""; + if (@menuret) { + getitembound @menuret, 1, 4; + BARBARA_STATE += 10; + getexp 0, 250; + mesn; + mesq l("Here you go. Please, keep fighting and growing strong. Improving oneself is... Damn, I forgot the proverb."); + next; + } + } // Endtrail mes ""; -- cgit v1.2.3-60-g2f50