Cookbook: Recipes That Spoil In 3 days & 6 days Have The Same Spoilage Label of "Quickly"


lakhnish
  • Fixed

In the cookbook, many recipes that spoil in 6 days share the same spoilage rate label as Ice Cream, which spoils in 3 days, with the label name being "Quickly".

Adding a perish rate to reflect the 3 day spoilage rate would would be appreciated, as I was getting confused on the spoilage rates on some foods till I noticed this.

As per strings.lua, the perish_rates are as follows:

		PERISH_NEVER = "Never",
		PERISH_QUICKLY = "Quickly", --6 days
		PERISH_AVERAGE = "Average", --10 days
		PERISH_SLOWLY = "Slowly", --15 days
		PERISH_VERY_SLOWLY = "Very Slowly", --20 days

This is the current logic check in cookbookpage_crockpot.lua, with there not being a check for TUNING.PERISH_SUPERFAST (i.e. 3 days).

function CookbookPageCrockPot:_GetSpoilString(perishtime)
	return perishtime == nil and STRINGS.UI.COOKBOOK.PERISH_NEVER
			or perishtime <= TUNING.PERISH_FAST and STRINGS.UI.COOKBOOK.PERISH_QUICKLY --6 days
			or perishtime <= TUNING.PERISH_MED and STRINGS.UI.COOKBOOK.PERISH_AVERAGE
			or perishtime <= TUNING.PERISH_SLOW and STRINGS.UI.COOKBOOK.PERISH_SLOWLY
			or STRINGS.UI.COOKBOOK.PERISH_VERY_SLOWLY
end

I suggest the very creative label of "very quickly" :>


Steps to Reproduce

icecream.thumb.png.682c4a58c8f76494c0e99b97abd68c64.pngturkeyDinner.thumb.png.ba391b25107e5c4f5a8921eefc118115.png

 

  • Like 1


User Feedback


A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now