Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes the Independent Litieguai organ freezer (#2098)
<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may not be viewable. --> <!-- You can view Contributing.MD for a detailed description of the pull request process. --> ## About The Pull Request TLDR - The Litieguai's provided organs now decay as you would expect, pausing when in the shut freezer crate. As to the nature of the bug, just in case there's a more generalized solution anyone could suggest: Freezer crates work by toggling the decay state of organs, whenever the crate is opened or closed, as well as when the crate is initialized- in order to freeze any organs that are inside when created. However, currently the organs are just dropped onto the same tile as the crate, and picked up on a 0 second timer (so after the freeze toggle), which leads to the organs having an inverted decay state- only decaying when the box is closed, and stopping their decay when the box is opened and even when picked up or moved to the floor. <!-- Describe The Pull Request. Please be sure every change is documented or this can delay review and even discourage maintainers from merging your PR! --> ## Why It's Good For The Game Fix bugs! Also turn an interesting snowflake crate into a proper subtype, perhaps encouraging it to be used elsewhere. <!-- Please add a short description of why you think these changes would benefit the game. If you can't justify it in words, it might not be worth adding. --> ## Changelog :cl: fix: Independent Litieguai's organ freezer now properly freezes the provided organs /:cl: <!-- Both :cl:'s are required for the changelog to work! You can put your name to the right of the first :cl: if you want to overwrite your GitHub username as author ingame. --> <!-- You can use multiple of the same prefix (they're only used for the icon ingame) and delete the unneeded ones. Despite some of the tags, changelogs should generally represent how a player might be affected by the changes rather than a summary of the PR's contents. --> --------- Co-authored-by: linkylink21 <duncanlam@outlook.com>
- Loading branch information