The set_friend() documentation says the second argument is "cease_fire", which gave me the impression it influenced the cease_fire attribute. After that didn't go as expected, I noticed there was no "set_enemy" etc function. The second argument sets the "friend" status to true or false. I believe the documentation could be changed to reflect that more accurately. Such as "status" instead of cease_fire with a description "set 'other' as friend or non-friend".
Edit: sorry, this should probably be moved to modding API discussions.
[1.0.0] LuaForce API set_friend() detail
[1.0.0] LuaForce API set_friend() detail
I have mods! I guess!
Link
Link
Re: [1.0.0] LuaForce API set_friend() detail
Thanks for the report. I fixed the lua API documentation.
If you want to get ahold of me I'm almost always on Discord.