代码被吞了 再发一次
# Less Discrimination: Advancement
citizenship_laws.4 = {
type = country_event
placement = root
title = citizenship_laws.4.t
desc = citizenship_laws.4.d
flavor = citizenship_laws.4.f
category = enactment
duration = 3
event_image = {
video = "asia_politician_parliament_motion"
}
on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
icon = "gfx/interface/icons/event_icons/event_election.dds"
cooldown = { months = normal_modifier_time }
trigger = {
# Check that the law is moving towards less discrimination
OR = {
is_enacting_law = law_type:law_multicultural
AND = {
is_enacting_law = law_type:law_cultural_exclusion
OR = {
has_law = law_type:law_national_supremacy
has_law = law_type:law_racial_segregation
has_law = law_type:law_ethnostate
}
}
AND = {
is_enacting_law = law_type:law_racial_segregation
OR = {
has_law = law_type:law_national_supremacy
has_law = law_type:law_ethnostate
}
}
AND = {
is_enacting_law = law_type:law_national_supremacy
has_law = law_type:law_ethnostate
}
}
any_scope_pop = {
culture_accepted = no
will_be_accepted_culture = yes
}
any_interest_group = {
is_in_government = yes
law_stance = {
law = owner.currently_enacting_law.type
value > neutral
}
}
NOT = { has_modifier = new_leadership }
NOT = { has_modifier = old_leadership }
empty_agitator_slots >= 1
}
immediate = {
currently_enacting_law = {
save_scope_as = current_law_scope
}
random_scope_pop = {
limit = {
culture_accepted = no
will_be_accepted_culture = yes
}
culture = { save_scope_as = future_accepted_pop }
}
random_interest_group = {
limit = {
is_in_government = yes
law_stance = {
law = owner.currently_enacting_law.type
value > neutral
}
}
save_scope_as = supporting_ig
}
}
cancellation_trigger = {
NOT = { currently_enacting_law = scope:current_law_scope }
}
option = {
name = citizenship_laws.4.a
add_enactment_modifier = {
name = new_leadership
}
create_character = {
#role = politician # Remove this line
ig_leader = yes
interest_group = scope:supporting_ig
culture = scope:future_accepted_pop
}
}
option = {
name = citizenship_laws.4.b
default_option = yes
add_enactment_modifier = {
name = old_leadership
}
create_character = {
#role = politician # Remove this line
is_agitator = yes
interest_group = scope:supporting_ig
culture = scope:future_accepted_pop
}
}
}