I’ve been having difficulties with the triggers for a few ancillaries I put in the game the other day. Their acquisition is tied to a building tree with a new ancillary for each level of the tree. Each ancillary also excludes the others. Here’s the thing. Each new level that is constructed, the new governor gets the lowest-level ancillary. At times that is the only ancillary he acquires—at others he acquires all the available ancillaries at one time, even though they are mutually exclusive. Here’s my code:
Code:;------------------------------------------ Trigger sitting_around_town_with_cabildo WhenToTest GovernorBuildingCompleted Condition SettlementBuildingFinished >= cabildo and not Trait Negro >= 1 and not Trait Mestizo >= 1 AcquireAncillary alcalde chance 100 ;------------------------------------------ Trigger sitting_around_town_with_cabildo2 WhenToTest CharacterTurnEnd Condition IsGeneral and EndedInSettlement and CharacterNumTurnsIdle >= 2 and not Trait Negro >= 1 and not Trait Mestizo >= 1 and SettlementBuildingExists = cabildo AcquireAncillary regidor chance 100 ;------------------------------------------ Trigger sitting_around_town_with_corregidore WhenToTest GovernorBuildingCompleted Condition SettlementBuildingFinished >= residence_corregidore and IsGeneral and not Trait Negro >= 1 and not Trait Mestizo >= 1 AcquireAncillary corregidore chance 100 ;------------------------------------------ Trigger sitting_around_town_with_audiencia WhenToTest GovernorBuildingCompleted Condition SettlementBuildingFinished >= audiencia_small and IsGeneral and not Trait Negro >= 1 and not Trait Mestizo >= 1 AcquireAncillary audiencia chance 75 ;------------------------------------------ Trigger sitting_around_town_with_audiencia2 WhenToTest GovernorBuildingCompleted Condition SettlementBuildingFinished >= audiencia_large and IsGeneral and not Trait Negro >= 1 and not Trait Mestizo >= 1 and not WorldWideAncillaryExists presidente AcquireAncillary presidente chance 50
Thanks ahead for any help.





Reply With Quote







