From 4b5a2062dc67fd613c6be8f72730b75a0d24db5f Mon Sep 17 00:00:00 2001 From: Fedja Beader Date: Tue, 22 Aug 2023 00:05:54 +0200 Subject: Fix fortress rum barrel inventory space test (and add more redundant paranthesis, hehe) --- npc/025-1/rum.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'npc/025-1') diff --git a/npc/025-1/rum.txt b/npc/025-1/rum.txt index 68a6e1676..f7fd22514 100644 --- a/npc/025-1/rum.txt +++ b/npc/025-1/rum.txt @@ -142,7 +142,8 @@ L_Main: mesn; mesc l("Your request for @@ @@ are being fermented for @@.", FORTRESS_AMMO, getitemlink(CrazyRum), FuzzyTime(FORTRESS_DATE)); next; - inventoryplace CrazyRum, FORTRESS_AMMO; + inventoryplace CrazyRum, (FORTRESS_AMMO * .cupammo); + inventoryplace WhiskeyAle, (FORTRESS_AMMO * .cupammo); mesn; mes l("Trying to retrieve it now will have @@ % chance to be successful.", rumbarrel_chance()/100); mes l("Attempt to retrieve it now?"); @@ -151,9 +152,9 @@ L_Main: if (rand(1000,10000) < rumbarrel_chance()) { mesc l("Success!"), 3; if (REBIRTH > rand2(20)) - getitem WhiskeyAle, FORTRESS_AMMO*.cupammo; + getitem WhiskeyAle, (FORTRESS_AMMO*.cupammo); else - getitem CrazyRum, FORTRESS_AMMO*.cupammo; + getitem CrazyRum, (FORTRESS_AMMO*.cupammo); } else { mesc l("The %s wasn't ready yet and you lost it...", l("Rum")), 1; } -- cgit v1.2.3-70-g09d2