Bugs
This commit is contained in:
parent
26b04f6db4
commit
c6eb868ef4
116 changed files with 69758 additions and 26333 deletions
|
|
@ -449,29 +449,29 @@ on_character_faith_change = {
|
|||
}
|
||||
}
|
||||
}
|
||||
## Struggle Effects
|
||||
### persian_struggle: switching faith to anything that isn't an orthodox Sunni creed'll flip you to detractor.
|
||||
if = {
|
||||
limit = {
|
||||
# Gotta be in the appropriate struggle.
|
||||
any_character_struggle = { this = struggle:persian_struggle }
|
||||
# Filter out pre-existing detractors.
|
||||
NOT = { has_trait = fp3_struggle_detractor }
|
||||
# Now, check the new faith.
|
||||
exists = title:d_sunni.holder
|
||||
OR = {
|
||||
NOT = { exists = faith.religious_head }
|
||||
NOT = { faith.religious_head = title:d_sunni.holder }
|
||||
}
|
||||
}
|
||||
send_interface_toast = {
|
||||
type = event_toast_effect_neutral
|
||||
title = persian_struggle.tt.converted_away_from_sunni_orthodoxy
|
||||
left_icon = root
|
||||
hidden_effect = { remove_trait = fp3_struggle_supporter }
|
||||
add_trait_force_tooltip = fp3_struggle_detractor
|
||||
}
|
||||
}
|
||||
# ## Struggle Effects
|
||||
# ### persian_struggle: switching faith to anything that isn't an orthodox Sunni creed'll flip you to detractor.
|
||||
# if = {
|
||||
# limit = {
|
||||
# # Gotta be in the appropriate struggle.
|
||||
# any_character_struggle = { this = struggle:persian_struggle }
|
||||
# # Filter out pre-existing detractors.
|
||||
# NOT = { has_trait = fp3_struggle_detractor }
|
||||
# # Now, check the new faith.
|
||||
# exists = title:d_sunni.holder
|
||||
# OR = {
|
||||
# NOT = { exists = faith.religious_head }
|
||||
# NOT = { faith.religious_head = title:d_sunni.holder }
|
||||
# }
|
||||
# }
|
||||
# send_interface_toast = {
|
||||
# type = event_toast_effect_neutral
|
||||
# title = persian_struggle.tt.converted_away_from_sunni_orthodoxy
|
||||
# left_icon = root
|
||||
# hidden_effect = { remove_trait = fp3_struggle_supporter }
|
||||
# add_trait_force_tooltip = fp3_struggle_detractor
|
||||
# }
|
||||
# }
|
||||
|
||||
# Local conversion
|
||||
if = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue