Additional API calls related to entity upgrades
Posted: Fri Mar 01, 2019 1:23 am
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.
luaEntity.get_upgrade_target --> luaPrototype
luaEntity.upgrade() similar to .revive() which leverages multiple return values.