Afforess
The White Wizard
I've been using WoC lite for some time, and I like all the extra features it brings. However, I and another modder seem to have an issue with a module and dependancy. Here goes:
I have a module that adds a new tech, "Cloud Patterns". The other modder has another new tech which wishes to have Cloud Patterns as a AndPrereq for it. Since these are different modules, I figured that the best way would be to make the tech was this way, so it checked for the dependency, and if the player had my tech in his mod, it would add the AndPrereq. Here's what I'm talking about in XML:
The problem is, that even with my tech, the new dependency never shows up. I even checked the dependency logs in my log folder, and it clearly shows it reading the dependency, and saying "OK!" I'm completely miffed as to why that doesn't work. Any ideas?
I have a module that adds a new tech, "Cloud Patterns". The other modder has another new tech which wishes to have Cloud Patterns as a AndPrereq for it. Since these are different modules, I figured that the best way would be to make the tech was this way, so it checked for the dependency, and if the player had my tech in his mod, it would add the AndPrereq. Here's what I'm talking about in XML:
Code:
<TechInfo>
<Type>TECH_GEOMANCY</Type>
<Description>TXT_KEY_TECH_GEOMANCY</Description>
<Civilopedia>TXT_KEY_TECH_GEOMANCY_PEDIA</Civilopedia>
<Help/>
<Strategy>TXT_KEY_TECH_GEOMANCY_STRATEGY</Strategy>
<Advisor>ADVISOR_GROWTH</Advisor>
<iAIWeight>0</iAIWeight>
<iAITradeModifier>0</iAITradeModifier>
<iCost>240</iCost>
<iAdvancedStartCost>100</iAdvancedStartCost>
<iAdvancedStartCostIncrease>0</iAdvancedStartCostIncrease>
<Era>ERA_CLASSICAL</Era>
<FirstFreeUnitClass>NONE</FirstFreeUnitClass>
<iFeatureProductionModifier>0</iFeatureProductionModifier>
<iWorkerSpeedModifier>0</iWorkerSpeedModifier>
<iTradeRoutes>0</iTradeRoutes>
<iHealth>0</iHealth>
<iHappiness>1</iHappiness>
<iFirstFreeTechs>0</iFirstFreeTechs>
<iAsset>16</iAsset>
<iPower>0</iPower>
<bRepeat>0</bRepeat>
<bTrade>1</bTrade>
<bDisable>0</bDisable>
<bGoodyTech>0</bGoodyTech>
<bExtraWaterSeeFrom>0</bExtraWaterSeeFrom>
<bMapCentering>0</bMapCentering>
<bMapVisible>0</bMapVisible>
<bMapTrading>0</bMapTrading>
<bTechTrading>0</bTechTrading>
<bGoldTrading>0</bGoldTrading>
<bOpenBordersTrading>0</bOpenBordersTrading>
<bDefensivePactTrading>0</bDefensivePactTrading>
<bPermanentAllianceTrading>0</bPermanentAllianceTrading>
<bVassalTrading>0</bVassalTrading>
<bBridgeBuilding>0</bBridgeBuilding>
<bIrrigation>0</bIrrigation>
<bIgnoreIrrigation>0</bIgnoreIrrigation>
<bWaterWork>0</bWaterWork>
<iGridX>7</iGridX>
<iGridY>10</iGridY>
<DomainExtraMoves/>
<CommerceFlexible/>
<TerrainTrades/>
<bRiverTrade>0</bRiverTrade>
<Flavors>
<Flavor>
<FlavorType>FLAVOR_SCIENCE</FlavorType>
<iFlavor>6</iFlavor>
</Flavor>
<Flavor>
<FlavorType>FLAVOR_GOLD</FlavorType>
<iFlavor>4</iFlavor>
</Flavor>
<Flavor>
<FlavorType>FLAVOR_GROWTH</FlavorType>
<iFlavor>6</iFlavor>
</Flavor>
</Flavors>
<OrPreReqs/>
<AndPreReqs>
<PrereqTech>TECH_CALENDAR</PrereqTech>
</AndPreReqs>
<Quote>TXT_KEY_TECH_GEOMANCY_QUOTE</Quote>
<Sound>AS2D_TECH_GENERIC</Sound>
<SoundMP></SoundMP>
<Button>Modules/DancingHoskuld/ShintoAndShamanism/Button/geomancy.dds</Button>
</TechInfo>
<TechInfo>
<Type>TECH_GEOMANCY</Type>
<AndDependencyTypes>
<DependencyType>TECH_CLOUD_PATTERNS</DependencyType>
</AndDependencyTypes>
<AndPreReqs>
<PrereqTech>TECH_CLOUD_PATTERNS</PrereqTech>
</AndPreReqs>
</TechInfo>
The problem is, that even with my tech, the new dependency never shows up. I even checked the dependency logs in my log folder, and it clearly shows it reading the dependency, and saying "OK!" I'm completely miffed as to why that doesn't work. Any ideas?