Added the ability to have "friend" forces. Friend forces are given unrestricted access to buildings and won't be attacked.
From patch Notes but how to do this? Can you post pls the command for it?
Added the ability to have "friend" forces. Howto
Re: Added the ability to have "friend" forces. Howto
http://lua-api.factorio.com/latest/LuaF ... set_friendl4m3r wrote:Added the ability to have "friend" forces. Friend forces are given unrestricted access to buildings and won't be attacked.
From patch Notes but how to do this? Can you post pls the command for it?
Also check PvP scenario for some example usage
Re: Added the ability to have "friend" forces. Howto
Îts like this?
/c game.forces["forcename"].get_friend("forcename")?
Edit: found it out its
/c game.forces["forcename"].set_friend("forcename", true)
works great for all the volks who want to trade with other ones...
/c game.forces["forcename"].get_friend("forcename")?
Edit: found it out its
/c game.forces["forcename"].set_friend("forcename", true)
works great for all the volks who want to trade with other ones...