Skip to content

Commit

Permalink
State Atheism additions (#468)
Browse files Browse the repository at this point in the history
* Update law_map.txt

* Update and rename 00_ig_ideologies_matriarchal.txt to zzz_converter_ideologies.txt

* Update 00_leader_ideologies.txt

* Update ck_religious_heritage.txt

* Update ck_religious_heritage_l_english.yml

* Update matriarchy_loc_l_english.yml

* Update zzz_ig_on_actions.txt

* Update zzz_converter_effects.txt

* Update zzz_converter_dynamic_character_events.txt
  • Loading branch information
MrKinich authored Sep 27, 2023
1 parent 9dfd304 commit 7062f0c
Show file tree
Hide file tree
Showing 9 changed files with 1,398 additions and 180 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ coptic = {}
proto_protestant = {}
hindu = {}
gnostic = {}
sunni = {}
shia = {}
sunni_branch = {}
shiite_branch = {}
feminist = {}
matriarchal = {}
tolerant = {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -241,14 +241,19 @@ ideology_atheist = {
add = 150
}
### Converter ###
# Since Gnostic intelligentsia aren't anti-clerical
# More common in Atheist cultures
if = {
limit = {
scope:interest_group = { is_interest_group_type = ig_intelligentsia }
religion = { has_discrimination_trait = gnostic }
scope:interest_group = {
OR = {
is_interest_group_type = ig_armed_forces
is_interest_group_type = ig_petty_bourgeoisie
}
}
culture = { is_target_in_global_variable_list = { name = global_atheist_cultures target = this } }
}
multiply = {
value = 0.33
value = 2
}
}
}
Expand Down Expand Up @@ -3525,4 +3530,4 @@ ideology_positivist = {
add = 100
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -267,4 +267,22 @@ ideology_masculist = {
}
}
}
}
}

ideology_anti_clerical_pb = {
icon = "gfx/interface/icons/ideology_icons/anti_clerical.dds"

lawgroup_church_and_state = {
law_state_atheism = strongly_approve
law_total_separation = approve
law_freedom_of_conscience = disapprove
law_state_religion = strongly_disapprove
}

lawgroup_education_system = {
law_public_schools = approve
law_private_schools = approve
law_no_schools = disapprove
law_religious_schools = disapprove
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,92 @@ on_country_released_as_overlord_subject = {
}
}

# Root = Country
# scope:target = Uprising country
on_revolution_start = {
effect = {
scope:target = {
converter_copy_ideologies_effect = yes ##Converter
enact_preferred_governance_principle = yes
}
if = {
limit = {
has_law = law_type:law_monarchy
scope:target = {
NOT = {
has_law = law_type:law_monarchy
}
}
}
set_variable = anti_monarchist_revolution
}
if = {
limit = {
has_journal_entry = je_warlord_china
NOT = { has_variable = china_warlord_explosion_revolution }
}
post_notification = warlord_china_explosion_point_add
change_variable = {
name = china_warlord_explosion
add = 1
}
set_variable = china_warlord_explosion_revolution
}
if = {
limit = {
has_journal_entry = je_meiji_restoration
scope:target = {
ig:ig_landowners = {
is_in_government = yes
}
}
}
set_variable = anti_shogunate_civil_war
}
if = {
limit = {
has_journal_entry = je_the_paris_commune_france
}
c:FRA = {
trigger_event = { id = paris_commune.4 popup = yes }
}
random_scope_state = {
limit = {
state_region = s:STATE_ILE_DE_FRANCE
}
set_state_owner = c:PRC
}
c:PRC = {
annex = scope:target
create_diplomatic_play = {
type = dp_annex_war
target_state = c:FRA.capital
annex_as_civil_war = yes
add_war_goal = {
holder = c:FRA
type = annex_country
target_country = c:PRC
}
}
}
}
if = {
limit = {
has_dlc_feature = voice_of_the_people_content
c:KRA ?= root
c:AUS ?= {
any_subject_or_below = {
c:KRA ?= this
}
}
}
c:AUS = {
trigger_event = { id = krakow.1 days = 3 popup = yes }
}
}
}
}

# Root = Country
# scope:target = Uprising country
on_secession_start = {
Expand All @@ -76,4 +162,4 @@ on_secession_start = {
}
scope:target = { converter_released_country_effect = yes } ##Converter
}
}
}
Loading

0 comments on commit 7062f0c

Please sign in to comment.