mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-17 05:03:28 +00:00
* Removes a lot of boilerplate from hydroponics apply, adds a mushroom mechanic for milk as implied by comments (#75491) ## About The Pull Request - Removes a ton of boilerplate from `on_hydroponics_apply` - Replaces `chems.get_reagent_amount(type)` with `volume`. The former is a roundabout way of accomplishing the latter, the only thing the proc did was add un-necessary iterating and also round to the chemical quantisiation level, which wasn't really necessary as most locations rounded anyways. - While doing this, I saw th is comment: `Milk is good for humans, but bad for plants. The sugars cannot be used by plants, and the milk fat harms growth. Not shrooms though. I can't deal with this now...` This was super easy to just throw in so I did it. - Additionally, I noticed Uranium and Radium had this var, `tox_damage`, which was ... the same for both, but one used REM and one didn't, but it shouldn't have been using REM since it was multiplied by REM in the proc... so I removed the REM from the latter, making it doubly strong (0.5 -> 1). I did this just because I could use it nicely for the hydro proc but... I unno. ## Why It's Good For The Game Makes it a bit clearer on working with hydro chems ## Changelog 🆑 Melbert balance: Milk no longer harms the potency of mushrooms. Apparently it's good for them? balance: Radium now does slightly more tox damage than Uranium code: Removed a ton of boilerplate from chem hydro interactions /🆑 * Removes a lot of boilerplate from hydroponics apply, adds a mushroom mechanic for milk as implied by comments --------- Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>