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
SUMMARY: Balance "Adds Spoilage to Cakes"
Purpose of change
Someone pointed out on discord that cakes never spoil and that ain't right.
Describe the solution
I did some quick research online. Looks like cakes will last around 4-5 days unrefrigerated, although it does vary based on conditions that we can't actually measure in Cataclysm (like adjusting the spoilage timer based on whether it's been cut, how thick the frosting is, etc.) so I called it 4 days and that's that.
For cake 1, the buttercream cake, I set it to a little over two days. Apparently buttercream doesn't do well at room temperature and thus that cake has a lower shelf life. Honestly, the 52 hours I set it to might be a little generous.
Additional context
It may be worth looking into whether the buttercream cake should get the FREEZERBURN flag. Apparently buttercream is a little difficult to keep together when taking it to/from frozen. I don't know if this qualifies as making it 'rotten', but it certainly isn't good for the cake. That's not really what I came to do, though, so I just left it alone.