Vaya
Warlord
I was wondering for quite some time now why many wonder requirments dont work in my games but nobody mention it here and I just found out why. I disabled Bamyan WW in MainRulesForWorldWonders.sql following instructions in FAQ and hints in file. I was trying to limit weird religion pressures in all my games.
This is what it causes(lua.log):
[109758.750] Runtime Error: ...\MODS\(overhaul) More Wonders for VP\1.WorldWonders/Lua/UniqueWorldWondersRequirements.lua:727: attempt to index field 'BUILDING_BAMYAN' (a nil value)
[109758.750] Runtime Error: Error loading ...\MODS\(overhaul) More Wonders for VP\1.WorldWonders/Lua/UniqueWorldWondersRequirements.lua.
In short: Disabling Bamyan world wonder and possibly any other wonders with unique requirments causes all other unique requirments fail to load.
I deleted/edited 3 lines mentioning Bamyan wonder in UniqueWorldWondersRequirements.lua but still kept it disabled in MainRulesForWorldWonders.sql and now everything is working just fine. No lua errors and in my test game I suddenly cant build Nazca Lines without camp.
This is what it causes(lua.log):
[109758.750] Runtime Error: ...\MODS\(overhaul) More Wonders for VP\1.WorldWonders/Lua/UniqueWorldWondersRequirements.lua:727: attempt to index field 'BUILDING_BAMYAN' (a nil value)
[109758.750] Runtime Error: Error loading ...\MODS\(overhaul) More Wonders for VP\1.WorldWonders/Lua/UniqueWorldWondersRequirements.lua.
In short: Disabling Bamyan world wonder and possibly any other wonders with unique requirments causes all other unique requirments fail to load.
I deleted/edited 3 lines mentioning Bamyan wonder in UniqueWorldWondersRequirements.lua but still kept it disabled in MainRulesForWorldWonders.sql and now everything is working just fine. No lua errors and in my test game I suddenly cant build Nazca Lines without camp.
Last edited:

.
. But never mind, a gwennog version existed for a few seconds on this thread
.