a "quality_affects_spoil_ticks" item prototype parameter to ignore quality

Honktown
Smart Inserter
Smart Inserter
Posts: 1080
Joined: Thu Oct 03, 2019 7:10 am
Contact:

a "quality_affects_spoil_ticks" item prototype parameter to ignore quality

Post by Honktown »

A person on the discord wanted to have a "fixed" spoil time for their items, but it's currently not really feasible. Bind the freshness at craft start to 1, reduce the 'added freshness' by 1, and assign back to the total stack during a crafting event, like a balance of concentrations with different volumes, but worse, and does not really fit with normal behavior of crafting with spoiling ingredients.

Having a parameter " quality_affects_spoil_ticks " combines existing naming conventions, and accurately describes the behavior that would be desired.
I have mods! I guess!
Link
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 4951
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: a "quality_affects_spoil_ticks" item prototype parameter to ignore quality

Post by boskid »

ItemPrototype::quality_affects_spoil_ticks added for 2.1.18.
Post Reply

Return to “Implemented mod requests”