diff options
author | Fedja Beader <fedja@protonmail.ch> | 2023-08-22 00:05:54 +0200 |
---|---|---|
committer | Fedja Beader <fedja@protonmail.ch> | 2023-08-22 00:05:54 +0200 |
commit | 4b5a2062dc67fd613c6be8f72730b75a0d24db5f (patch) | |
tree | bff68b1f1e61e27b90847a4c2a93ccecf8afe3b3 /npc/025-1 | |
parent | d99010422f9ab7244b1966d82eaada5b2b62c721 (diff) | |
download | serverdata-4b5a2062dc67fd613c6be8f72730b75a0d24db5f.tar.gz serverdata-4b5a2062dc67fd613c6be8f72730b75a0d24db5f.tar.bz2 serverdata-4b5a2062dc67fd613c6be8f72730b75a0d24db5f.tar.xz serverdata-4b5a2062dc67fd613c6be8f72730b75a0d24db5f.zip |
Fix fortress rum barrel inventory space test (and add more redundant paranthesis, hehe)
Diffstat (limited to 'npc/025-1')
-rw-r--r-- | npc/025-1/rum.txt | 7 |
1 files changed, 4 insertions, 3 deletions
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; } |