A lot of updating, making republics work
This commit is contained in:
parent
09fb57c091
commit
4d6f569e96
99 changed files with 9792 additions and 9342 deletions
|
|
@ -323,7 +323,7 @@ task_conversion = {
|
|||
}
|
||||
desc = task_conversion_rite_only_effect_desc
|
||||
}
|
||||
# Development loss only applies on a real Faith change (people refuse to convert and migrate)
|
||||
# Prosperity loss only applies on a real Faith change (people refuse to convert and migrate)
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
trigger_if = {
|
||||
|
|
@ -339,7 +339,24 @@ task_conversion = {
|
|||
scope:county.faith != scope:councillor.faith
|
||||
}
|
||||
}
|
||||
desc = task_conversion_development_loss_desc
|
||||
desc = task_conversion_prosperity_loss_desc
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
trigger_if = {
|
||||
limit = {
|
||||
scope:councillor_liege = { tgp_has_access_to_ministry_trigger = yes }
|
||||
}
|
||||
exists = scope:county.faith
|
||||
scope:county.faith != scope:councillor_liege.faith
|
||||
}
|
||||
trigger_else = {
|
||||
exists = scope:county.faith
|
||||
scope:county.faith != scope:councillor_liege.faith
|
||||
scope:county.faith != scope:councillor.faith
|
||||
}
|
||||
}
|
||||
desc = task_conversion_settlement_size_loss_desc
|
||||
}
|
||||
# Fervor effects only on a real Faith change (rite shifts within the same Faith do not move fervor)
|
||||
triggered_desc = {
|
||||
|
|
@ -381,7 +398,7 @@ task_conversion = {
|
|||
trigger = {
|
||||
learning > mediocre_skill_rating
|
||||
}
|
||||
desc = task_conversion_development_gain
|
||||
desc = task_conversion_prosperity_gain
|
||||
}
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
|
|
@ -648,7 +665,6 @@ task_conversion = {
|
|||
}
|
||||
|
||||
multiply = court_chaplain_conversion_factors
|
||||
|
||||
min = {
|
||||
value = 0.1
|
||||
desc = minimum_conversion
|
||||
|
|
@ -678,7 +694,7 @@ task_conversion = {
|
|||
save_temporary_scope_as = employer
|
||||
}
|
||||
any_ruler = {
|
||||
has_government = landless_adventurer_government
|
||||
government_type_filter = government_type:landless_adventurer_government
|
||||
is_within_diplo_range = { CHARACTER = scope:councillor }
|
||||
any_character_task_contract = {
|
||||
task_contract_type = laamp_fight_faith_conversion_contract
|
||||
|
|
@ -758,8 +774,8 @@ task_conversion = {
|
|||
OR = {
|
||||
NOT = { has_variable = associated_county }
|
||||
AND = {
|
||||
has_variable = converted_development
|
||||
var:converted_development <= 0
|
||||
has_variable = converted_prosperity
|
||||
var:converted_prosperity <= 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -773,8 +789,8 @@ task_conversion = {
|
|||
OR = {
|
||||
NOT = { has_variable = associated_culture }
|
||||
AND = {
|
||||
has_variable = converted_development
|
||||
var:converted_development <= 0
|
||||
has_variable = converted_prosperity
|
||||
var:converted_prosperity <= 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -785,21 +801,70 @@ task_conversion = {
|
|||
}
|
||||
if = {
|
||||
limit = {
|
||||
NOT = { has_variable = converted_development }
|
||||
NOT = { has_variable = converted_prosperity }
|
||||
}
|
||||
set_variable = {
|
||||
name = converted_development
|
||||
value = scope:county.convert_faith_development_value
|
||||
name = converted_prosperity
|
||||
value = scope:county.convert_faith_prosperity_value
|
||||
}
|
||||
}
|
||||
else = {
|
||||
change_variable = {
|
||||
name = converted_development
|
||||
add = scope:county.convert_faith_development_value
|
||||
name = converted_prosperity
|
||||
add = scope:county.convert_faith_prosperity_value
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
scope:old_faith = {
|
||||
if = {
|
||||
limit = {
|
||||
OR = {
|
||||
NOT = { has_variable = associated_county }
|
||||
AND = {
|
||||
has_variable = converted_prosperity
|
||||
var:converted_prosperity <= 0
|
||||
}
|
||||
}
|
||||
}
|
||||
set_variable = {
|
||||
name = associated_county
|
||||
value = scope:county
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
OR = {
|
||||
NOT = { has_variable = associated_culture }
|
||||
AND = {
|
||||
has_variable = converted_prosperity
|
||||
var:converted_prosperity <= 0
|
||||
}
|
||||
}
|
||||
}
|
||||
set_variable = {
|
||||
name = associated_culture
|
||||
value = scope:county.culture
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
NOT = { has_variable = converted_prosperity }
|
||||
}
|
||||
set_variable = {
|
||||
name = converted_prosperity
|
||||
value = scope:county.convert_faith_prosperity_value
|
||||
}
|
||||
}
|
||||
else = {
|
||||
change_variable = {
|
||||
name = converted_prosperity
|
||||
add = scope:county.convert_faith_prosperity_value
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Same decision matrix as potential_county: Liege drives the rite axis whenever the post-conversion Faith ends up as the Liege's.
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -815,7 +880,11 @@ task_conversion = {
|
|||
|
||||
if = {
|
||||
limit = { scope:councillor_liege.faith != scope:old_faith }
|
||||
change_development_level = convert_faith_development_loss
|
||||
change_prosperity_level = convert_faith_prosperity_loss
|
||||
every_county_province = {
|
||||
limit = { has_holding = yes }
|
||||
change_province_size_progress = convert_faith_settlement_size_loss
|
||||
}
|
||||
scope:councillor_liege.faith = {
|
||||
change_fervor = {
|
||||
value = trivial_fervor_gain
|
||||
|
|
@ -1037,7 +1106,10 @@ task_fabricate_claim = {
|
|||
# Perk Bonuses
|
||||
if = {
|
||||
limit = {
|
||||
scope:councillor_liege = { has_perk = accomplished_forger_perk }
|
||||
scope:councillor_liege = {
|
||||
has_perk = accomplished_forger_perk
|
||||
NOT = { government_has_flag = government_is_merchant }
|
||||
}
|
||||
}
|
||||
add = {
|
||||
value = scope:councillor.court_chaplain_fabricate_claim_perk_bonus_monthly_increase
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue