Additional API calls related to entity upgrades

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
unhott
Inserter
Inserter
Posts: 30
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”