[.915] Multiple Anti-Requisites Confusion

The faction trait No Ranged is supposed to prevent players from building ranged staffs and bows. In the case of the ranged staffs it accomplishes this through adding an anti-requisite tag.

        <Prereq>
            <Type>RestrictedAbilityBonusOption</Type>
            <Attribute>NoRangedWeapons</Attribute>
            <Target>Player</Target>
        </Prereq>

However this tag doesn't appear in the xml for bows, but if you have the No Ranged trait you can't build bows... There appears to be an invisible aspect to this trait that does not appear in the XML. I would imagine this is because bows already have an anti-requisite tag for the Archers faction trait, and thus they couldn't add another one.

Except one weapon does have 2 anti-requisites.... The Greatsword has one for Assassin's Tool's and one for Legacy of Serrene. Since when does Legacy of Serrene prevent you from getting Greatswords?

My questions are as follows: can you have multiple antireq tags, why then don't bows have them, and why does Legacy of Serrene prevent you from getting Greatswords? If it is not possible to have multiple antreqs please give us a way to add more then one anti-requisite tag to something. The current system is very limiting as you can only replace each item once.

1,848 views 1 replies
Reply #1 Top

1) Yes you can have multiplie

2) The no archer trait is restricted from the tech, not the bows. This is so you don't have 3 archery techs in the middle of your warfare tree that gives you nothing at all

3) I don't know why legacy of serrene prevents you from getting broadswords. I think it's because legacy belongs to one of the two unfinished factions. It's half-done, in other words.