This part deletes the tech prereqs for ALL techs!<GameData>
<Technology_PrereqTechs>
<Delete />
<Row>
<TechType>TECH_MINING</TechType>
<PrereqTech>TECH_AGRICULTURE</PrereqTech>
</Row>
</Technology_PrereqTechs>
</GameData>
Whats wrong?
<Technology_PrereqTechs>
<Delete TechType="TECH_MINING"/>
<Row>
<TechType>TECH_MINING</TechType>
<PrereqTech>TECH_AGRICULTURE</PrereqTech>
</Row>
</Technology_PrereqTechs>
This part deletes the tech prereqs for ALL techs!
What you want to do is something like this:
At least if I understand your intentions properly - but Agriculture already is prereq for Mining, so perhaps it's something else you want to do?Code:<Technology_PrereqTechs> <Delete TechType="TECH_MINING"/> <Row> <TechType>TECH_MINING</TechType> <PrereqTech>TECH_AGRICULTURE</PrereqTech> </Row> </Technology_PrereqTechs>
Obviously, because Agriculture already IS prereq technology for Mining, so deleting current prereq and setting new to Agriculture just retains status quo. This is why I asked what it was you actually wanted to achieve?No effect.
Obviously, because Agriculture already IS prereq technology for Mining, so deleting current prereq and setting new to Agriculture just retains status quo. This is why I asked what it was you actually wanted to achieve?
<Technology_PrereqTechs>
<Delete TechType="TECH_MINING"/>
</Technology_PrereqTechs>
unless you remove the free Agriculture tech an makes it something that has to be researched - right?
I thought it was specified somewhere that Agriculture was free tech, but I might be mistaken.Hi, how would you do that please with the agri ID=0?
<GameData>
<Update> <!-- Moves AGRICULTURE to the Y3 position @ X0 to make space for your MINING to come -->
<Where TechType="TECH_AGRICULTURE" />
<Set GridY="3"/>
</Update>
<Update> <!-- Moves MINING to the X0 horizontal position/column -->
<Where TechType="TECH_MINING" />
<Set GridX="0"/>
</Update>
<Update> <!-- Moves MINING to the Y5 vertical position within the column X0 ( -->
<Where TechType="TECH_MINING" />
<Set GridY="5"/>
</Update>
<Update><!-- Makes MINING be it's own PrereqTech - it's now independent -->
<Where TechType="TECH_MINING" />
<Set PrereqTech="TECH_MINING"/>
</Update>
<GameData>