Enable butchering of very heavy corpses #62326
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Bugfixes "Enable butchering of very heavy corpses"
Purpose of change
Related to #44508
Items can already overflow to nearby tiles if there's no more space. However butchering could create items with large amounts of charges that are over 1000 liter big and thus can't be placed anywhere.
Describe the solution
Split up stacks so they end up as multiple items that don't exceed 1000 liter.
Describe alternatives you've considered
Removing charges would also fix this. (Soon™)
Testing
Set Alamosaurus to 70 tons and butchered it. Got myself 30k chunks of meat and literally tons of other stuff. That almost filled up the overflow range, I'd estimate the actual limit will be at around 100 tons (with some variability) at which point stuff will be deleted again because it can't overflow anymore.
Additional context
Still no support for larger corpses. Doing that would mean actual work and have design implications and stuff.