Hey all.
I wanted to switch marsh-clearing and wood-chopping to new, other techs that I have created. My code looks as follows:
When I go to the technology screen, it looks great! But, when I researched Tool Crafting without Masonry, and I went to clear a marsh, I get an error "Must have researched prerequisite tech (Masonry) before clearing marsh."
Any ideas on what other XMLs I might have to change to get it to work? Thanks!
I wanted to switch marsh-clearing and wood-chopping to new, other techs that I have created. My code looks as follows:
Code:
<Builds>
<Update>
<Set PrereqTech="TECH_FISHING"/>
<Where Type="BUILD_FISHING_BOATS"/>
</Update>
<Update>
<Set PrereqTech="TECH_WOODWORKING"/>
<Where Type="BUILD_REMOVE_FOREST"/>
</Update>
<Update>
<Set PrereqTech="TECH_WOODWORKING"/>
<Where Type="BUILD_REMOVE_JUNGLE"/>
</Update>
<Update>
<Set PrereqTech="TECH_TOOL_CRAFTING"/>
<Where Type="BUILD_REMOVE_MARSH"/>
</Update>
</Builds>
When I go to the technology screen, it looks great! But, when I researched Tool Crafting without Masonry, and I went to clear a marsh, I get an error "Must have researched prerequisite tech (Masonry) before clearing marsh."
Any ideas on what other XMLs I might have to change to get it to work? Thanks!