how to add an object property: indestructible?
Posted: Fri Jan 20, 2017 11:51 am
How to Use the console command to add an object property: indestructible? How this is done in the Map Editor
www.factorio.com
https://forums.factorio.com/
Code: Select all
entity.destructible=false
Code: Select all
entity=game.player.selected
Thank you!Adil wrote:Entity is a reference to an object you want to change, you get one by using find_entity() functions for example. Or byCode: Select all
entity.destructible=false
Code: Select all
entity=game.player.selected