﻿# Trait-based Cucked status avoids per-character opinion records.

domcom_cucked_trait = {
    index = 3001
    desc = {
        first_valid = {
            triggered_desc = {
                trigger = { NOT = { exists = this } }
                desc = trait_domcom_cucked_trait_desc
            }
            triggered_desc = {
                trigger = { NOT = { has_variable = domcom_cuck_xp } }
                desc = trait_domcom_cucked_trait_desc
            }
            desc = trait_domcom_cucked_trait_character_desc
        }
    }

    category = fame
    # Use CK3's vanilla Disputed Heritage trait artwork. Trait icon= expects the filename from
    # gfx/interface/icons/traits, not a full gfx path.
    icon = disputed_heritage.dds

    shown_in_ruler_designer = no
    random_creation = 0
    birth = 0
    inherit_chance = 0
    both_parent_has_trait_inherit_chance = 0
    can_have_children = yes

    # Public stigma, aimed at everyone who is not in the same position.
    general_opinion = -15
    attraction_opinion = -25

    same_opinion = 15

}


# Male-only public Final Collapse identity. CK3 does not expose a safe runtime sex-flip effect for an
# existing character, so Dominion changes the permanent status and portrait presentation while preserving
# the original character object, history, titles, dynasty and relationships.
domcom_feminized_trait = {
    index = 3002
    desc = {
        first_valid = {
            triggered_desc = {
                trigger = { NOT = { exists = this } }
                desc = trait_domcom_feminized_trait_desc
            }
            desc = trait_domcom_feminized_trait_character_desc
        }
    }

    category = fame
    # Reuse one of Dominion's existing visual assets as a dedicated file so the icon can be swapped later
    # without changing script references.
    icon = domcom_feminized.dds

    shown_in_ruler_designer = no
    random_creation = 0
    birth = 0
    inherit_chance = 0
    both_parent_has_trait_inherit_chance = 0
    can_have_children = yes

    general_opinion = -20
    attraction_opinion = -10
    monthly_prestige_gain_mult = -0.20
    # Final Collapse also represents a severe reproductive penalty. This is intentionally persistent
    # and lives on the authoritative Fame trait so save repair / reapplication cannot lose it.
    fertility = -0.85
}


# 2.6.0 — Optional player power-fantasy mode. The trait itself is legal on a child so a custom infant can
# begin with it; every sexual/reproductive interaction supplied by this system is hard-gated to age 18.
domcom_human_among_ai_trait = {
    index = 3003
    category = fame
    icon = physique_good_3.dds
    shown_in_ruler_designer = yes
    random_creation = 0
    birth = 0
    inherit_chance = 0
    both_parent_has_trait_inherit_chance = 0
    can_have_children = yes
    desc = trait_domcom_human_among_ai_trait_desc

    # 2.6.2: put the core package on the trait itself. This makes Ruler Designer, console-added,
    # and pre-existing save characters receive their powers immediately rather than depending on
    # a maintenance pulse to attach a second modifier.
    prowess = 100
    diplomacy = 20
    martial = 35
    stewardship = 10
    intrigue = 35
    learning = 20
    health = 50
    fertility = 1.0
    dread_baseline_add = 100
    enemy_hostile_scheme_success_chance_add = -90
    army_damage_mult = 5.0
    army_toughness_mult = 5.0
    army_screen_mult = 5.0
    army_siege_value_mult = 5.0
    movement_speed = 1.50
    siege_phase_time = -0.80
    # Flight: Power Trips use literal CK3 travel, so superhuman movement also accelerates the travel system.
    character_travel_speed_mult = 5.0
    character_travel_safety = 100
}
