Fixes invisibility potions (#18565)

* Fixes invisibility potions

Fixed invisibility potions being able to spawn in fruit.
Cleaned up some missing reagent defines for glamour potions.

* Fix thingies

* Oopsies
This commit is contained in:
SatinIsle
2025-09-26 19:18:05 +02:00
committed by GitHub
parent ff697c53fe
commit cce5936e76
3 changed files with 17 additions and 11 deletions
+2 -2
View File
@@ -54,8 +54,8 @@
rtotal += round(potency/reagent_data[2])
if(rid == REAGENT_ID_NUTRIMENT)
data[seed.seed_name] = max(1,rtotal)
reagents.add_reagent(rid,max(1,rtotal),data)
if(rid != REAGENT_ID_GLAMOUR_INVIS)
reagents.add_reagent(rid,max(1,rtotal),data)
update_desc()
if(reagents.total_volume > 0)
bitesize = 1+round(reagents.total_volume / 2, 1)