Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes Smartfridge deletions + Turing/Smartfridge networking issue (#4696
) # About the pull request <!-- Remove this text and explain what the purpose of your PR is. Mention if you have tested your changes. If you changed a map, make sure you used the mapmerge tool. If this is an Issue Correction, you can type "Fixes Issue #169420" to link the PR to the corresponding Issue number #169420. Remember: something that is self-evident to you might not be to others. Explain your rationale fully, even if you feel it goes without saying. --> This fixes 2 things: * Smartfridges deletion would not clean `item_quants` keeping references preventing contents deletion * The Turing machine was never updated to work with new Smartfridges and would botch `item_quants` when trying to delete empty bottles The second would manifest as such in game logs: `RUNTIME: type mismatch: -4 += Phoron bottle (/obj/item/reagent_container/glass/bottle) - code/game/machinery/kitchen/smartfridge.dm@136` because the Turing was still using it as a number and not a list. This probably fixes all sorts of weirdnesses with Turing/Fridge and possibly links to #4694 - but i recommend this be TMed by Real Research Mains to ensure nothing broke # Explain why it's good for the game Less bugs more consistency # Testing Photographs and Procedure Tested simple Turing usage, and chemical auto-bottling (looping phoron without new chems creation) # Changelog :cl: fix: Fixed various issues in the Networking between Turing machine and Smartfridges. /:cl:
- Loading branch information