Original PR: https://github.com/tgstation/tgstation/pull/33181
add: Grinding runed metal and brass now produces iron/blood and iron/teslium, respectively.
balance: As part of some code-side improvements, the amount of reagents you get from grinding some objects might be slightly different.
fix: Some grinding recipes that didn’t work, like dead mice and glowsticks, now do.
fix: All-In-One grinders now correctly grind up everything, instead of one thing at a time.
Fixes #32532. (I think!)
I had some time free, and noticed how awful the reagent grinder code was - it used huge static lists containing types and their associated reagents from grinding.
This is now split into two new vars on
var/list/juice_results, as well as two new helper procs,
on_juice() to allow those to change based on conditions like plant potency. Such checks and the like have been moved to that. If any of these procs return -1, the operation is canceled.
I also fixed some of the recipes that didn’t work. The reagent IDs for them didn’t exist, leading me to believe that they weren’t tested. I corrected that! (I’ve tested every single recipe in this PR, with the exception of a few juicing-related ones.)