maplemario
Chieftain
- Joined
- Feb 18, 2013
- Messages
- 5
So I've got two mods set up in ModBuddy. The first, MMDLL, is a mod containing two DLLs (game + expansion) and one SQL file which adds two custom fields to the Buildings table (TerrainRequiredWithinCityRadius1 and TerrainRequiredWithinCityRadius2). The second, Inuit, is a mod that adds a civilization. Inuit has a CIV5Buildings.xml file which initializes a building that uses these two properties.
Here's the thing. I used to have the SQL file, that is now in MMDLL, in Inuit--and it worked perfectly. However, now that I've moved it over to a different mod, despite the fact that it is the same file (with some comments removed), I am getting an error saying the two columns don't exist:
Import into VFS is set to True on both DLLs, the SQL file in question is being loaded OnModActivated, and Inuit is set to be dependent on MMDLL (and it works, as Civ won't let me activate Inuit without first activating MMDLL). What could possibly be going wrong?
Here's the thing. I used to have the SQL file, that is now in MMDLL, in Inuit--and it worked perfectly. However, now that I've moved it over to a different mod, despite the fact that it is the same file (with some comments removed), I am getting an error saying the two columns don't exist:
Code:
[12232.859] table Buildings has no column named TerrainRequiredWithinCityRadius1
[12232.859] In Query - insert into Buildings('Type', 'BuildingClass', 'Cost', 'GoldMaintenance', 'PrereqTech', 'Description', 'Civilopedia', 'Strategy', 'Help', 'ArtDefineTag', 'TerrainRequiredWithinCityRadius1', 'TerrainRequiredWithinCityRadius2', 'MinAreaSize', 'ConquestProb', 'HurryCostModifier', 'IconAtlas', 'PortraitIndex', 'Happiness') values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);
[12232.859] In XMLSerializer while updating table Buildings from file XML/Buildings/CIV5Buildings.xml.
Import into VFS is set to True on both DLLs, the SQL file in question is being loaded OnModActivated, and Inuit is set to be dependent on MMDLL (and it works, as Civ won't let me activate Inuit without first activating MMDLL). What could possibly be going wrong?