Way to assign trees to forces other than neutral
Posted: Mon Aug 17, 2020 1:00 pm
Currently, it seems that all entities with type "tree" are hard-locked to the "neutral" force (if placed with other forces in /editor it ends up being neutral anyways, and assigning a new value to LuaEntity.force does not work as it does for other types of entities).
Is it possible to have a property on the tree prototype that allows specifying a different force for that type of tree? I'd like to make a mod that gives some weight to the saying that "trees are the real enemy in Factorio"
If the strict neutrality of trees is a vital optimization in the game engine, I understand if it's not possible to do this.
Is it possible to have a property on the tree prototype that allows specifying a different force for that type of tree? I'd like to make a mod that gives some weight to the saying that "trees are the real enemy in Factorio"
If the strict neutrality of trees is a vital optimization in the game engine, I understand if it's not possible to do this.