Sid Meier's Civilization V

Sid Meier's Civilization V

Iska's Il Principe
yanivtal2003 2023 年 11 月 20 日 上午 9:15
Modding The Mod - Questions and answers for how to customize Il Principe to your liking
I would like to disable the Embargo mechanic completely from Il Principe on my computer.
The Iska_Embargo lua file is in front of me, how do I disable it?
< >
正在显示第 1 - 3 条,共 3 条留言
Iska and Ismet  [开发者] 2023 年 11 月 21 日 下午 1:02 
Bit complex, as it involves some DLL stuff that can't be disabled without editing and then compiling the DLL.

Your comment is noted, I'll include a pre-game "No Third Party Embargoes" option with the next patch.

Feed mod awards to speed dev progress.
Iska and Ismet  [开发者] 2023 年 11 月 22 日 上午 7:50 
Totally possible I was wrong, try adding " if 0 == 0 then return false end" (no quotes) after

GameEvents.CanTeamEmbargoOtherTeam.Add(function(ePlayer, eOtherPlayer, eThirdTeam)

and see if that disables it. (Should just make it so it's never tradeable.)
最后由 Iska and Ismet 编辑于; 2023 年 11 月 22 日 上午 7:51
yanivtal2003 2023 年 11 月 23 日 上午 12:22 
It works!
Thank you so much Iska, I can't wait for the war to be over so I can start to learn how to mess around with Lua and scripting in general
< >
正在显示第 1 - 3 条,共 3 条留言
每页显示数: 1530 50