Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop the religious effects in China more carefully #172

Open
wants to merge 1 commit into
base: Development
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 30 additions & 6 deletions HFM/events/China.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,36 @@ country_event = {
limit = { owner = { has_country_flag = activate_experimental_railroad } NOT = { experimental_railroad = 1 } }
owner = { activate_technology = experimental_railroad clr_country_flag = activate_experimental_railroad }
}
remove_country_modifier = missionary_activity
religion = mahayana
set_country_flag = mahayana_country
clr_country_flag = protestant_country
clr_country_flag = change_to_protestant
clr_country_flag = missionary_activity

# end the religious effects of losing the 2nd Opium War
random_owned = {
limit = {
owner = {
has_country_flag = gave_up_2nd_opium
}
}

owner = {
remove_country_modifier = missionary_activity
clr_country_flag = change_to_protestant
clr_country_flag = missionary_activity

random_owned = {
limit = {
owner = {
NOT = { tag = TPG }
}
}

owner = {
religion = mahayana
set_country_flag = mahayana_country
clr_country_flag = protestant_country
}
}
}
}

MCK = { all_core = { add_core = CHI } }
XBI = { all_core = { add_core = CHI } }
XIN = { all_core = { add_core = CHI } }
Expand Down