Hello all, I am new to modding and trying to make a simple mod where some buildings require multiple technologies before than can be built.
For example, I would like Stonehenge to require both Mysticism and Masonry before it can be built.
I have tried modding the code in the file CIV4BuildingInfos.xml but keep getting an error when loading the mod.
The code i have tried to add is the following:
<PrereqTech>TECH_MYSTICISM</PrereqTech>
<TechTypes>
<PrereqTech>TECH_MASONRY</PrereqTech>
</TechTypes>
I have added the techtypes tag after looking at the macman unit, which requires two technologies before being built. Apprarently this tag doesn't work for units....
Can anybody help me please?
Thanks in advance.
For example, I would like Stonehenge to require both Mysticism and Masonry before it can be built.
I have tried modding the code in the file CIV4BuildingInfos.xml but keep getting an error when loading the mod.
The code i have tried to add is the following:
Spoiler :
<PrereqTech>TECH_MYSTICISM</PrereqTech>
<TechTypes>
<PrereqTech>TECH_MASONRY</PrereqTech>
</TechTypes>
I have added the techtypes tag after looking at the macman unit, which requires two technologies before being built. Apprarently this tag doesn't work for units....

Can anybody help me please?
Thanks in advance.