sman1975
Emperor
Am working on a mod that really needs the ability to force an 'Open Borders' and/or a 'Peace Treaty' (of more than a turn) between two civs. Have researched this a lot, but all roads seem to lead to a dead end.
I did find one thing that looked interesting:
https://forums.civfanatics.com/threads/lua-how-do-you-force-a-peace-treaty.531720/#post-13383171
Since it's from @WHoward, I'm assuming it's good advice, but so far, I haven't been able to find a mechanism (in Lua) that can actually make a trade happen. Is this something that can only be done within a DLL?
Does anyone have any suggestions? Realize it's a long-shot. Thanks!
I did find one thing that looked interesting:
The duration is part of the deal mechanism (via CvTeam:: setForcePeace()), so you'll have to force a deal between the two players containing the peace treaty
https://forums.civfanatics.com/threads/lua-how-do-you-force-a-peace-treaty.531720/#post-13383171
Since it's from @WHoward, I'm assuming it's good advice, but so far, I haven't been able to find a mechanism (in Lua) that can actually make a trade happen. Is this something that can only be done within a DLL?
Does anyone have any suggestions? Realize it's a long-shot. Thanks!