event fixes pt IV
This commit is contained in:
parent
e660a1513e
commit
4ee8abdc61
22 changed files with 2057 additions and 8852 deletions
|
|
@ -212,7 +212,7 @@ combat_event.0003 = {
|
|||
add_martial_skill = 3
|
||||
|
||||
#AI will always pick this unless Humble.
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
humble = medium_stress_gain
|
||||
}
|
||||
ai_chance = {
|
||||
|
|
@ -250,7 +250,7 @@ combat_event.0003 = {
|
|||
add_martial_skill = 3
|
||||
|
||||
#AI will only pick this if Humble.
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
arrogant = medium_stress_gain
|
||||
}
|
||||
ai_chance = {
|
||||
|
|
@ -292,7 +292,7 @@ combat_event.0004 = {
|
|||
add_martial_skill = 3
|
||||
|
||||
#AI will always pick this unless Humble
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
humble = medium_stress_gain
|
||||
}
|
||||
ai_chance = {
|
||||
|
|
@ -330,7 +330,7 @@ combat_event.0004 = {
|
|||
add_martial_skill = 3
|
||||
|
||||
#AI will never pick this unless Humble
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
arrogant = medium_stress_gain
|
||||
}
|
||||
ai_chance = {
|
||||
|
|
@ -390,7 +390,7 @@ combat_event.0005 = {
|
|||
|
||||
add_prestige_level = -1
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
vengeful = medium_stress_gain
|
||||
arrogant = medium_stress_gain
|
||||
wrathful = minor_stress_gain
|
||||
|
|
@ -425,7 +425,7 @@ combat_event.0005 = {
|
|||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
forgiving = medium_stress_gain
|
||||
humble = medium_stress_gain
|
||||
calm = minor_stress_gain
|
||||
|
|
@ -1045,11 +1045,9 @@ combat_event.1001 = {
|
|||
OR = {
|
||||
any_in_list = {
|
||||
list = slain_combatants
|
||||
exists = this
|
||||
}
|
||||
any_in_list = {
|
||||
list = victorious_slain_combatants
|
||||
exists = this
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1091,7 +1089,6 @@ combat_event.1001 = {
|
|||
limit = {
|
||||
any_in_list = {
|
||||
list = prisoners_of_war
|
||||
exists = this
|
||||
}
|
||||
}
|
||||
# If anyone was captured after the battle, send a message to both the winner and loser of the combat to inform them of this.
|
||||
|
|
|
|||
|
|
@ -64,6 +64,10 @@ raiding.0002 = { #Less hidden event: I do get a sacking!
|
|||
title = raiding.0002.t
|
||||
desc = raiding.0002.desc
|
||||
theme = raid
|
||||
|
||||
override_effect_2d = {
|
||||
reference = smoke
|
||||
}
|
||||
override_background = { reference = burning_building }
|
||||
left_portrait = {
|
||||
character = root
|
||||
|
|
@ -137,7 +141,7 @@ raiding.0002 = { #Less hidden event: I do get a sacking!
|
|||
root.capital_county = {
|
||||
change_development_progress = medium_development_progress_gain
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
compassionate = minor_stress_impact_gain
|
||||
forgiving = minor_stress_impact_gain
|
||||
}
|
||||
|
|
@ -192,7 +196,7 @@ raiding.0002 = { #Less hidden event: I do get a sacking!
|
|||
years = 10
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
compassionate = minor_stress_impact_gain
|
||||
forgiving = minor_stress_impact_gain
|
||||
}
|
||||
|
|
@ -248,7 +252,7 @@ raiding.0002 = { #Less hidden event: I do get a sacking!
|
|||
}
|
||||
scope:raid_army = { add_loot = scope:sacked_barony.county.title_province.raid_gold_value }
|
||||
add_prestige = minor_prestige_value
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
compassionate = minor_stress_impact_gain
|
||||
forgiving = minor_stress_impact_gain
|
||||
}
|
||||
|
|
@ -290,18 +294,18 @@ raiding.0002 = { #Less hidden event: I do get a sacking!
|
|||
}
|
||||
if = {
|
||||
limit = {
|
||||
faith = {
|
||||
rite = {
|
||||
OR = {
|
||||
trait_is_sin = compassionate
|
||||
trait_is_sin = forgiving
|
||||
trait_is_sin = calm
|
||||
trait_is_sin_rite = compassionate
|
||||
trait_is_sin_rite = forgiving
|
||||
trait_is_sin_rite = calm
|
||||
}
|
||||
}
|
||||
}
|
||||
add_piety = minor_piety_loss
|
||||
}
|
||||
else = { add_piety = medium_piety_gain }
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
sadistic = minor_stress_impact_gain
|
||||
vengeful = minor_stress_impact_gain
|
||||
wrathful = minor_stress_impact_gain
|
||||
|
|
@ -380,10 +384,33 @@ raiding.0003 = {
|
|||
override_background = {
|
||||
reference = burning_building
|
||||
}
|
||||
override_effect_2d = {
|
||||
reference = smoke
|
||||
}
|
||||
left_portrait = {
|
||||
character = scope:raider
|
||||
animation = war_over_win
|
||||
}
|
||||
right_portrait = {
|
||||
character = scope:raider_dummy
|
||||
animation = celebrate_axe
|
||||
hide_info = yes
|
||||
}
|
||||
|
||||
immediate = {
|
||||
scope:raider = {
|
||||
ordered_knight = {
|
||||
order_by = prowess
|
||||
limit = {
|
||||
is_in_army = yes
|
||||
NOT = {
|
||||
this = scope:raider
|
||||
}
|
||||
}
|
||||
save_scope_as = raider_dummy
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#Oh no!
|
||||
option = {
|
||||
|
|
@ -415,7 +442,7 @@ raiding.0003 = {
|
|||
OPINION = 0
|
||||
}
|
||||
}
|
||||
stress_impact = { forgiving = minor_stress_impact_gain }
|
||||
stress_and_fulfillment_impact = { forgiving = minor_stress_impact_gain }
|
||||
ai_chance = {
|
||||
base = 0 #Otherwise every raiding culture will have a million rivals.
|
||||
ai_value_modifier = { #Vengeful characters may do this, though.
|
||||
|
|
@ -456,7 +483,7 @@ raiding.0003 = {
|
|||
years = 10
|
||||
}
|
||||
}
|
||||
stress_impact = { lazy = minor_stress_impact_gain }
|
||||
stress_and_fulfillment_impact = { lazy = minor_stress_impact_gain }
|
||||
ai_chance = {
|
||||
base = 50
|
||||
ai_value_modifier = {
|
||||
|
|
@ -496,23 +523,39 @@ raiding.0004 = {
|
|||
desc = raiding.0004.desc.spared_plundered #If the holding was spared, we have a lukewarm one response.
|
||||
}
|
||||
}
|
||||
override_effect_2d = {
|
||||
reference = smoke
|
||||
}
|
||||
theme = raid
|
||||
override_background = {
|
||||
reference = burning_building
|
||||
}
|
||||
left_portrait = {
|
||||
character = scope:raider
|
||||
animation = anger
|
||||
animation = marshal
|
||||
camera = camera_event_left_forward
|
||||
}
|
||||
right_portrait = {
|
||||
character = scope:sacked_county_owner
|
||||
animation = fear
|
||||
triggered_animation = {
|
||||
trigger = {
|
||||
ai_vengefulness >= medium_positive_ai_value
|
||||
ai_boldness > high_negative_ai_value
|
||||
character = scope:raider_dummy
|
||||
animation = celebrate_axe
|
||||
hide_info = yes
|
||||
}
|
||||
lower_right_portrait = scope:sacked_county_owner
|
||||
immediate = {
|
||||
scope:sacked_county_owner ?= {
|
||||
save_scope_as = bg_override_char
|
||||
}
|
||||
scope:raider = {
|
||||
ordered_knight = {
|
||||
order_by = prowess
|
||||
limit = {
|
||||
is_in_army = yes
|
||||
NOT = {
|
||||
this = scope:raider
|
||||
}
|
||||
}
|
||||
save_scope_as = raider_dummy
|
||||
}
|
||||
animation = rage
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -559,7 +602,7 @@ raiding.0004 = {
|
|||
opinion = 20
|
||||
}
|
||||
}
|
||||
stress_impact = { greedy = medium_stress_impact_gain }
|
||||
stress_and_fulfillment_impact = { greedy = medium_stress_impact_gain }
|
||||
ai_chance = {
|
||||
base = 20 #Reduced base chance: the AI shouldn't bankrupt itself helping vassals.
|
||||
ai_value_modifier = {
|
||||
|
|
@ -632,7 +675,7 @@ raiding.0004 = {
|
|||
}
|
||||
}
|
||||
}
|
||||
stress_impact = { greedy = medium_stress_impact_gain }
|
||||
stress_and_fulfillment_impact = { greedy = medium_stress_impact_gain }
|
||||
ai_chance = {
|
||||
base = 10 #Reduced base chance: the AI shouldn't bankrupt itself helping vassals.
|
||||
ai_value_modifier = {
|
||||
|
|
@ -775,7 +818,7 @@ raiding.0013 = {
|
|||
scope:barony.holder.capital_barony = scope:barony
|
||||
location = {
|
||||
any_province_domicile = {
|
||||
is_domicile_type = estate
|
||||
domicile_is_estate_trigger = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -788,7 +831,7 @@ raiding.0013 = {
|
|||
location = {
|
||||
random_province_domicile = {
|
||||
limit = {
|
||||
is_domicile_type = estate
|
||||
domicile_is_estate_trigger = yes
|
||||
}
|
||||
owner ?= { save_scope_as = estate_holder }
|
||||
}
|
||||
|
|
@ -866,7 +909,7 @@ raiding.0013 = {
|
|||
modifier = {
|
||||
location = {
|
||||
any_province_domicile = {
|
||||
is_domicile_type = estate
|
||||
domicile_is_estate_trigger = yes
|
||||
has_domicile_parameter = raids_less_likely_to_make_prisoners_1
|
||||
}
|
||||
}
|
||||
|
|
@ -875,7 +918,7 @@ raiding.0013 = {
|
|||
modifier = {
|
||||
location = {
|
||||
any_province_domicile = {
|
||||
is_domicile_type = estate
|
||||
domicile_is_estate_trigger = yes
|
||||
has_domicile_parameter = raids_less_likely_to_make_prisoners_2
|
||||
}
|
||||
}
|
||||
|
|
@ -884,7 +927,7 @@ raiding.0013 = {
|
|||
modifier = {
|
||||
location = {
|
||||
any_province_domicile = {
|
||||
is_domicile_type = estate
|
||||
domicile_is_estate_trigger = yes
|
||||
has_domicile_parameter = raids_less_likely_to_make_prisoners_3
|
||||
}
|
||||
}
|
||||
|
|
@ -1030,7 +1073,7 @@ raiding.0013 = {
|
|||
}
|
||||
|
||||
scripted_trigger raiding_0014_artifact_can_be_stolen = {
|
||||
exists = this
|
||||
NOT = { has_variable = artifact_prevent_transfer }
|
||||
OR = {
|
||||
scope:barony.holder = { # If the character is in the province and not leading an army, their stuff is probably valid to steal
|
||||
location = scope:barony.title_province
|
||||
|
|
@ -1312,7 +1355,10 @@ raiding.0040 = {
|
|||
immediate = {
|
||||
if = {
|
||||
limit = {
|
||||
raid_intent = raze_intent
|
||||
OR = {
|
||||
raid_intent = destruction_intent
|
||||
raid_intent = raze_intent
|
||||
}
|
||||
has_raid_intent_immunity = no
|
||||
}
|
||||
scope:barony.title_province ?= {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue