Home › Effects › PLAYERS › EFFECT_ADJUST_PLAYER_VALID_UNIT_BUILD uses

Available out of the box. Usable from Lua in the unmodified game.

EFFECT_ADJUST_PLAYER_VALID_UNIT_BUILD: where the game uses it

2 modifiers in the game's own data use this effect. Modifier ids, argument values, owners and requirement sets come from the installed game's data files (the base game and every DLC; mods are not included). Text keys are shown as keys: load your own game text to read the in-game wording here.

Arguments: UnitType (String).

Used by Modifier Arguments Applies to Conditions In-game text From
Trait MINOR_CIV_LAHORE_NIHANG_TRAIT (attached through another modifier)
LOC_LEADER_TRAIT_LAHORE_NAME
MINOR_CIV_LAHORE_NIHANG_UNIQUE_UNIT
MODIFIER_PLAYER_ADJUST_VALID_UNIT_BUILD
UnitType = UNIT_LAHORE_NIHANG OWNER — LOC_LEADER_TRAIT_LAHORE_DESCRIPTION GranColombia_Maya
GovernorPromotion GOVERNOR_PROMOTION_VOIDSINGERS_3
LOC_GOVERNOR_PROMOTION_VOIDSINGERS_3_NAME
SECRET_SOCIETY_UNLOCK_CULTIST_UNIT
MODIFIER_PLAYER_ADJUST_VALID_UNIT_BUILD
UnitType = UNIT_CULTIST OWNER — LOC_GOVERNOR_PROMOTION_VOIDSINGERS_3_DESCRIPTION Ethiopia