fixes big evebts abd on actions plus mroe
This commit is contained in:
parent
c9d520e5a1
commit
bce2aa31a1
207 changed files with 100377 additions and 9296 deletions
|
|
@ -103,9 +103,9 @@ raiding.0002 = { #Less hidden event: I do get a sacking!
|
|||
name = raiding.0002.a
|
||||
trigger = {
|
||||
NOT = { government_has_flag = government_is_nomadic }
|
||||
root.capital_county = { development_level < 15 } #If you have a certain amount of development, you can't gain anything from this.
|
||||
root.capital_county = { prosperity_level < 15 } #If you have a certain amount of prosperity, you can't gain anything from this.
|
||||
OR = {
|
||||
scope:county = { development_level > 15 } #The county must actually have enough development to be worth sacking.
|
||||
scope:county = { prosperity_level > 15 } #The county must actually have enough prosperity to be worth sacking.
|
||||
scope:county.holder = { #Or at least be a non-tribal place.
|
||||
NOR = {
|
||||
government_has_flag = government_is_tribal
|
||||
|
|
@ -121,10 +121,10 @@ raiding.0002 = { #Less hidden event: I do get a sacking!
|
|||
years = 20
|
||||
}
|
||||
change_county_control = -10
|
||||
change_development_progress = major_development_progress_loss #Always deduct progress.
|
||||
if = { #If they don't have enough progress made, burn a level of development.
|
||||
limit = { development_towards_level_increase < major_development_progress_gain }
|
||||
change_development_level = -1
|
||||
change_prosperity_progress = major_prosperity_progress_loss #Always deduct progress.
|
||||
if = { #If they don't have enough progress made, burn a level of prosperity.
|
||||
limit = { prosperity_towards_level_increase < major_prosperity_progress_gain }
|
||||
change_prosperity_level = -1
|
||||
}
|
||||
save_scope_value_as = {
|
||||
name = sack_status
|
||||
|
|
@ -139,7 +139,7 @@ raiding.0002 = { #Less hidden event: I do get a sacking!
|
|||
}
|
||||
}
|
||||
root.capital_county = {
|
||||
change_development_progress = medium_development_progress_gain
|
||||
change_prosperity_progress = medium_prosperity_progress_gain
|
||||
}
|
||||
stress_and_fulfillment_impact = {
|
||||
compassionate = minor_stress_impact_gain
|
||||
|
|
@ -173,10 +173,10 @@ raiding.0002 = { #Less hidden event: I do get a sacking!
|
|||
years = 20
|
||||
}
|
||||
change_county_control = -10
|
||||
change_development_progress = major_development_progress_loss #Always deduct progress.
|
||||
if = { #If they don't have enough progress made, burn a level of development.
|
||||
limit = { development_towards_level_increase < major_development_progress_gain }
|
||||
change_development_level = -1
|
||||
change_prosperity_progress = major_prosperity_progress_loss #Always deduct progress.
|
||||
if = { #If they don't have enough progress made, burn a level of prosperity.
|
||||
limit = { prosperity_towards_level_increase < major_prosperity_progress_gain }
|
||||
change_prosperity_level = -1
|
||||
}
|
||||
save_scope_value_as = {
|
||||
name = sack_status
|
||||
|
|
@ -227,13 +227,13 @@ raiding.0002 = { #Less hidden event: I do get a sacking!
|
|||
}
|
||||
if = { #If they have enough progress gain to take the hit, then they just lose some progress.
|
||||
limit = {
|
||||
development_towards_level_increase > medium_development_progress_loss
|
||||
prosperity_towards_level_increase > medium_prosperity_progress_loss
|
||||
}
|
||||
change_development_progress = medium_development_progress_loss
|
||||
change_prosperity_progress = medium_prosperity_progress_loss
|
||||
}
|
||||
else = { #If they don't, then they lose the progress, and a level of development is burned away.
|
||||
change_development_progress = medium_development_progress_loss
|
||||
change_development_level = -1
|
||||
else = { #If they don't, then they lose the progress, and a level of prosperity is burned away.
|
||||
change_prosperity_progress = medium_prosperity_progress_loss
|
||||
change_prosperity_level = -1
|
||||
}
|
||||
save_scope_value_as = {
|
||||
name = sack_status
|
||||
|
|
@ -469,7 +469,7 @@ raiding.0003 = {
|
|||
trigger = {
|
||||
top_liege = this
|
||||
NOT = { scope:sack_status = flag:spared_plundered }
|
||||
NOT = { government_has_flag = government_is_tribal } #Tribes don't care about development.
|
||||
NOT = { government_has_flag = government_is_tribal } #Tribes don't care about prosperity.
|
||||
NOT = { government_has_flag = government_is_nomadic }
|
||||
OR = {
|
||||
is_ai = no
|
||||
|
|
@ -622,7 +622,7 @@ raiding.0004 = {
|
|||
trigger = {
|
||||
NOR = {
|
||||
scope:sack_status = flag:spared_plundered
|
||||
government_has_flag = government_is_tribal #Tribes don't care about development.
|
||||
government_has_flag = government_is_tribal #Tribes don't care about prosperity.
|
||||
government_has_flag = government_is_nomadic
|
||||
}
|
||||
OR = {
|
||||
|
|
@ -1409,7 +1409,7 @@ raiding.0040 = {
|
|||
}
|
||||
5 = {
|
||||
trigger = {
|
||||
county = { development_level > 0 }
|
||||
county = { prosperity_level > 0 }
|
||||
}
|
||||
modifier = {
|
||||
scope:raider.culture ?= { has_innovation = innovation_motte }
|
||||
|
|
@ -1423,7 +1423,7 @@ raiding.0040 = {
|
|||
left_icon = scope:barony.holder
|
||||
right_icon = root.army_commander
|
||||
show_as_tooltip = {
|
||||
scope:county = { change_development_level = -1 }
|
||||
scope:county = { change_prosperity_level = -1 }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1434,7 +1434,7 @@ raiding.0040 = {
|
|||
|
||||
left_icon = scope:barony.holder
|
||||
right_icon = root.army_commander
|
||||
scope:county = { change_development_level = -1 }
|
||||
scope:county = { change_prosperity_level = -1 }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue