PC [BUG] Crops can still take longer than expected to grow (1.5.1)

Rainn

Newcomer
In vanilla, this only affects Taro Tubers, but if higher crop growth modifiers are added either in future patches or by mods, it can affect other crops.

The highest modifier in vanilla is 68% (Irrigated + Agriculturist + Hyper-speed Gro), and with Taro Tubers that results in 7 days removed (0.68 * 10 rounded up).
The phases for Taro Tubers are 1 2 3 4 for a total of 10 days.
With 7 days to remove it goes: 1 2 3 4 → 1 1 3 4 → 1 1 2 4 → 1 1 2 3 → 1 0 2 3 → 1 0 1 3 → 1 0 1 2 → 1 -1 1 2, based on the removal requirements (phase > 1 || Phase time > 0).

1 -1 1 2 does add up to 3, but that second phase of -1 is treated like 0, so it is instead 1 0 1 2, or a total of 4 days to grow. I tested this in game with the relevant speed modifiers and confirmed the 1 0 1 2 phases and 4 growth days.

The second bug doesn't actually affect anything in the base game right now, but could in the future or with mods.
Since it will only cycle through all the phases 3 times, it can only remove maximum 3 days from each phase. This doesn't matter for most crops, but for long growing ones like Ancient fruit or Sweet Gem Berry that need a lot of days removed means there is a limit (in this case 13 days).
 
Top