branchrust_reboot/main/qol_compost_uicancel
13 Commits over 0 Days - Infinitycph!
Fix items that are both cookable and compostable (meat) using the lesser of the two times for composting instead of the correct time for each
Fix the composter showing "Furnace" in the loot panel title instead of "Composter"
Don't show the icon as burning when it's inside the composter
Fix item creation loop running for 0 amount (due to chance of creating fertilizer) so early exit if chance fails
Increase the smelt speed of the composter so it behaves the same as before when you were splitting stacks (same as furnaces were back in the day)
Fix composter set to only accept food from old prefab / item filter setup
Fix items that are compostable but don't produce any compost being allowed in the compost (because ItemModCompostable is used for bait value)
Fix the loot panel for the composter not working the editor
- OnValidate() was overwriting the offset of the inventory panel
Fix loot panel not predicting cook time for composting because it was only checking the ItemModCookable
Add the "automatically start cooking" code from the apartment stove to the BaseOven and enable it for the composter (so the composter automatically "cooks" items added into it)
Add prefab variant for composter loot panel (so we can remove / change the background icons for the composter inputs)
Change the composter prefab
Rewrite the hackweek composter UI to merge all of the composter code into normal cooking code
- move ItemModCookable -> CookableItemInfo so we can create a "cooking compost" component at runtime
- turn ItemModCompostable into an ItemMod
- convert Composter class from StorageContainre -> BaseOven