Yeah I made those changes and have checked the actual .lua file itself in Notepad to make sure they got saved OK. I don't know, it's like the mod simply isn't firing at all, I'm wondering if it's something wrong in the config in ModBuddy rather than the script.
Edit: I changed the GUID of the...
Thank you, I'll give it a try now :)
Edit: Tried it just now and unfortunately it's still not working. All Wonders still available on the Production pane. Siiiiigh.
I would've thought such a simple mod would've been easy to get working...it just doesn't seem to be firing at all.
Yeah I set it as an InGameUIAddin etc. the only thing I'm not sure about is whether to set it to VFS or not. I've read you shouldn't for an lua file that doesn't replace an existing lua file so I set it to False.
I just wondered though - do you know if the CityCanConstruct event is just for AI...
Do I need to use BuildingClass.ID then instead?
Sorry, I simply used an existing script from this thread:
http://forums.civfanatics.com/showthread.php?t=486154
Hiya,
I'm trying to use a lua script to disable wonders (lua so it'll work better with wonders added by mods) but I cannot get it to work - all wonders are still buildable.
It's just a slightly changed version of something whoward69 wrote:
function CityCanConstructWonder(iPlayer, iCity...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.