Upgrade planer alternatives

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
kryojenik
Inserter
Inserter
Posts: 37
Joined: Fri Jun 26, 2020 8:18 pm
Contact:

Upgrade planer alternatives

Post by kryojenik »

There are destruction_alternative, and factoriopedia_alternative properties that allow entities with differing properties to be merged into a single (player facing) entity in all the selections. However, this doesn't apply to the upgrade planer. When a player tries to make an upgrade planer they see several (version) of the same thing. When a modder has tried to make it appear as multiple entities are the same thing, (same localized string, deconstruction_alternative, factoriopedia_alternative) the upgrade planer breaks the illusion, and makes it confusing for the player.

In a custom upgrade planer care needs to be taken to properly match up the entities to make them keep intended operation, and that onus is on the player. I'd like behavior like the deconstruction_alternative to make it seem like they are the same things getting up graded. If it is possible for the game engine to take care of making sure the correct "upgraded" entity is created, that would be awesome. However, it is upon the mod creator to make sure the correct entities get placed in on_entity_built (or whatever is needed) that works too.
Post Reply

Return to “Modding interface requests”