An upgrade planner.
For an entity to be allowed as an upgrade source, it must be minable, may not have "not-upgradable" flag set and may not be hidden. Additionally, the source entity's mining result must not be an item product that is hidden. Mining results with no item products are allowed.
For an entity to be allowed as an upgrade target, it must have least 1 item that builds it that isn't hidden.
For two entities to be upgrades of each other, the two entities must have the same fast replaceable group, the same collision box and the same collision mask. Additionally, underground belts cannot be upgraded to transport belts and vice versa.
For an entity to be automatically upgraded to another entity without configuring the upgrade planner, the next upgrade of the upgrade source entity must be set.
SelectionToolPrototype1falsetrueCount of items of the same name that can be stored in one inventory slot. Must be 1 when the "not-stackable" flag is set.
stack_size = 1
booleantruetrueIf the item will draw its label when held in the cursor in place of the item count.
SelectionModeDatafalsetrueThe SelectionModeData::mode is hardcoded to "upgrade".
The filters are parsed, but then ignored and forced to be empty.
SelectionModeDatafalsetrueThe SelectionModeData::mode is hardcoded to "cancel-upgrade".
The filters are parsed, but then ignored and forced to be empty.
booleantruetrueThis property is hardcoded to false.