Fixes
This commit is contained in:
parent
ce70fe752e
commit
734d526ca9
41 changed files with 17594 additions and 1069 deletions
|
|
@ -279,91 +279,91 @@ on_county_occupied = {
|
|||
}
|
||||
}
|
||||
# Mongol Devastation
|
||||
if = {
|
||||
limit = {
|
||||
# Check that it's relevant so we don't fire it *all* the time
|
||||
OR = {
|
||||
AND = {
|
||||
exists = global_var:mongol_empire_has_spawned
|
||||
NOT = { exists = global_var:mongol_story_has_ended }
|
||||
any_owned_story = {
|
||||
type = story_mongol_invasion
|
||||
}
|
||||
}
|
||||
any_owned_story = {
|
||||
type = story_greatest_of_khans
|
||||
}
|
||||
}
|
||||
NOT = { exists = scope:county.var:looted_by_mongols }
|
||||
}
|
||||
# Each County should only be devastated once
|
||||
scope:county = {
|
||||
set_variable = {
|
||||
name = looted_by_mongols
|
||||
value = yes
|
||||
years = 25
|
||||
}
|
||||
}
|
||||
# Send a message (and gold!) to the Mongol Emperor
|
||||
send_interface_message = {
|
||||
type = event_war_good
|
||||
title = mongols_sieged_county.t
|
||||
left_icon = scope:previous_controller
|
||||
right_icon = scope:county
|
||||
#Herd from nomad counties if nomadic
|
||||
if = {
|
||||
limit = {
|
||||
scope:county = {
|
||||
any_county_province = {
|
||||
OR = {
|
||||
has_holding_type = nomad_holding
|
||||
has_holding_type = herder_holding
|
||||
}
|
||||
}
|
||||
}
|
||||
government_has_flag = government_is_nomadic
|
||||
}
|
||||
domicile = {
|
||||
change_herd = miniscule_herd_gain
|
||||
}
|
||||
}
|
||||
else = {
|
||||
if = {
|
||||
limit = {
|
||||
scope:county.development_level >= 1
|
||||
}
|
||||
add_gold = {
|
||||
add = scope:county.development_level
|
||||
multiply = 5
|
||||
}
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
dread < 150
|
||||
}
|
||||
add_dread = 2
|
||||
}
|
||||
show_as_tooltip = {
|
||||
scope:county = {
|
||||
mongols_devastate_county_effect = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
save_scope_as = mongol_emperor
|
||||
# Send a message to the County's owner
|
||||
scope:county.holder = {
|
||||
send_interface_message = {
|
||||
type = event_war_bad
|
||||
title = mongols_sieged_county.t
|
||||
left_icon = scope:mongol_emperor
|
||||
right_icon = scope:county
|
||||
scope:county = {
|
||||
mongols_devastate_county_effect = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
# if = {
|
||||
# limit = {
|
||||
# # Check that it's relevant so we don't fire it *all* the time
|
||||
# OR = {
|
||||
# AND = {
|
||||
# exists = global_var:mongol_empire_has_spawned
|
||||
# NOT = { exists = global_var:mongol_story_has_ended }
|
||||
# any_owned_story = {
|
||||
# type = story_mongol_invasion
|
||||
# }
|
||||
# }
|
||||
# any_owned_story = {
|
||||
# type = story_greatest_of_khans
|
||||
# }
|
||||
# }
|
||||
# NOT = { exists = scope:county.var:looted_by_mongols }
|
||||
# }
|
||||
# # Each County should only be devastated once
|
||||
# scope:county = {
|
||||
# set_variable = {
|
||||
# name = looted_by_mongols
|
||||
# value = yes
|
||||
# years = 25
|
||||
# }
|
||||
# }
|
||||
# # Send a message (and gold!) to the Mongol Emperor
|
||||
# send_interface_message = {
|
||||
# type = event_war_good
|
||||
# title = mongols_sieged_county.t
|
||||
# left_icon = scope:previous_controller
|
||||
# right_icon = scope:county
|
||||
# #Herd from nomad counties if nomadic
|
||||
# if = {
|
||||
# limit = {
|
||||
# scope:county = {
|
||||
# any_county_province = {
|
||||
# OR = {
|
||||
# has_holding_type = nomad_holding
|
||||
# has_holding_type = herder_holding
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# government_has_flag = government_is_nomadic
|
||||
# }
|
||||
# domicile = {
|
||||
# change_herd = miniscule_herd_gain
|
||||
# }
|
||||
# }
|
||||
# else = {
|
||||
# if = {
|
||||
# limit = {
|
||||
# scope:county.development_level >= 1
|
||||
# }
|
||||
# add_gold = {
|
||||
# add = scope:county.development_level
|
||||
# multiply = 5
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# if = {
|
||||
# limit = {
|
||||
# dread < 150
|
||||
# }
|
||||
# add_dread = 2
|
||||
# }
|
||||
# show_as_tooltip = {
|
||||
# scope:county = {
|
||||
# mongols_devastate_county_effect = yes
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# save_scope_as = mongol_emperor
|
||||
# # Send a message to the County's owner
|
||||
# scope:county.holder = {
|
||||
# send_interface_message = {
|
||||
# type = event_war_bad
|
||||
# title = mongols_sieged_county.t
|
||||
# left_icon = scope:mongol_emperor
|
||||
# right_icon = scope:county
|
||||
# scope:county = {
|
||||
# mongols_devastate_county_effect = yes
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# Admin house power bonus for getting influence
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -789,7 +789,7 @@ on_raid_action_completion = {
|
|||
raiding.0013 # Chance to kidnap prisoners
|
||||
raiding.0014 # Chance to steal an artifact
|
||||
bp2_yearly.8031 # Steal a doll
|
||||
raiding.0031 # Hereward adds XP
|
||||
# raiding.0031 # Hereward adds XP
|
||||
raiding.0040 # Raid Intent Effects
|
||||
}
|
||||
effect = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue