Additional API calls related to entity upgrades

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
unhott
Inserter
Inserter
Posts: 29
Joined: Tue Jan 09, 2018 3:01 am
Contact:

Additional API calls related to entity upgrades

Post by unhott »

https://lua-api.factorio.com/latest/eve ... or_upgrade uses the terminology 'target' , so I think it would be nice to have the ability to say something along the lines of
luaEntity.get_upgrade_target --> luaPrototype
luaEntity.upgrade() similar to .revive() which leverages multiple return values.

Post Reply

Return to “Modding interface requests”