more file updating
This commit is contained in:
parent
4afc9466f5
commit
fde59745b8
99 changed files with 5706 additions and 2115 deletions
|
|
@ -1073,7 +1073,12 @@ inept_mayor = {
|
|||
increase_governance_effect = { VALUE = 4 }
|
||||
add_dread = minor_dread_gain
|
||||
}
|
||||
task_contract_employer = { depose = yes } # depose_effect unnecessary for AI mayor
|
||||
task_contract_employer = { # depose_effect unnecessary for AI mayor
|
||||
if = {
|
||||
limit = { is_ruler = yes }
|
||||
depose = yes
|
||||
}
|
||||
}
|
||||
task_contract_location.county = { remove_county_modifier = ep3_mismanaged_administration_modifier }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -207,6 +207,7 @@ laamp_base_0001 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
save_scope_value_as = { name = extra_reward value = flag:no }
|
||||
# Standard Rewards.
|
||||
laamp_rewards_disburse_ordinary_currency_effect = {
|
||||
|
|
@ -227,6 +228,7 @@ laamp_base_0001 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
save_scope_value_as = { name = extra_reward value = flag:no }
|
||||
# Critical Rewards.
|
||||
laamp_rewards_disburse_ordinary_currency_effect = {
|
||||
|
|
@ -407,6 +409,7 @@ laamp_base_0011 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
save_scope_value_as = { name = extra_reward value = flag:no }
|
||||
# Standard Rewards.
|
||||
laamp_rewards_disburse_ordinary_currency_effect = {
|
||||
|
|
@ -427,6 +430,7 @@ laamp_base_0011 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
save_scope_value_as = { name = extra_reward value = flag:no }
|
||||
# Critical Rewards.
|
||||
laamp_rewards_disburse_ordinary_currency_effect = {
|
||||
|
|
@ -602,6 +606,7 @@ laamp_base_0021 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
save_scope_value_as = { name = extra_reward value = flag:no }
|
||||
# Standard Rewards.
|
||||
laamp_rewards_disburse_ordinary_currency_effect = {
|
||||
|
|
@ -622,6 +627,7 @@ laamp_base_0021 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
save_scope_value_as = { name = extra_reward value = flag:no }
|
||||
# Critical Rewards.
|
||||
laamp_rewards_disburse_ordinary_currency_effect = {
|
||||
|
|
@ -840,6 +846,7 @@ laamp_base_0031 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
save_scope_value_as = { name = extra_reward value = flag:no }
|
||||
# Standard Rewards.
|
||||
laamp_rewards_disburse_ordinary_currency_effect = {
|
||||
|
|
@ -860,6 +867,7 @@ laamp_base_0031 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
save_scope_value_as = { name = extra_reward value = flag:no }
|
||||
# Critical Rewards.
|
||||
laamp_rewards_disburse_ordinary_currency_effect = {
|
||||
|
|
@ -1041,6 +1049,7 @@ laamp_base_0041 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
# Camp building extra Criminal Rewards: +50%.
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -1275,7 +1284,8 @@ laamp_base_1001 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
|
||||
|
||||
save_scope_as = task_contract
|
||||
save_scope_value_as = { name = extra_reward value = flag:no }
|
||||
# Standard Rewards.
|
||||
laamp_rewards_disburse_ordinary_currency_effect = {
|
||||
|
|
@ -1493,6 +1503,7 @@ laamp_base_1011 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
save_scope_value_as = { name = extra_reward value = flag:no }
|
||||
# Standard Rewards.
|
||||
laamp_rewards_disburse_ordinary_currency_effect = {
|
||||
|
|
@ -1521,6 +1532,7 @@ laamp_base_1011 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
save_scope_value_as = { name = extra_reward value = flag:no }
|
||||
# Critical Rewards.
|
||||
laamp_rewards_disburse_ordinary_currency_effect = {
|
||||
|
|
@ -1744,6 +1756,7 @@ laamp_base_1041 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
# Camp building extra Criminal Rewards: +50%.
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -1935,6 +1948,7 @@ laamp_base_5031 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
# Camp building extra Criminal Rewards: +50%.
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -1971,6 +1985,7 @@ laamp_base_5031 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
# Camp building extra Criminal Rewards: +50%.
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -2143,6 +2158,7 @@ laamp_base_5051 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
save_scope_value_as = { name = extra_reward value = flag:no }
|
||||
# Standard Rewards.
|
||||
laamp_rewards_disburse_ordinary_currency_effect = {
|
||||
|
|
@ -2413,6 +2429,7 @@ laamp_base_2001 = {
|
|||
success_standard = {
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
# Camp building extra Stewardship Rewards: +50%.
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -2441,6 +2458,7 @@ laamp_base_2001 = {
|
|||
success_critical = {
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
# Camp building extra Stewardship Rewards: +50%.
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -2470,6 +2488,7 @@ laamp_base_2001 = {
|
|||
visible = no
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
# Camp building extra Stewardship Rewards: +50%.
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -2498,6 +2517,7 @@ laamp_base_2001 = {
|
|||
visible = no
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
# Camp building extra Stewardship Rewards: +50%.
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -2527,6 +2547,7 @@ laamp_base_2001 = {
|
|||
visible = no
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
# Camp building extra Stewardship Rewards: +50%.
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -2789,6 +2810,7 @@ laamp_base_2011 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
# Camp building extra Stewardship Rewards: +50%.
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -2818,6 +2840,7 @@ laamp_base_2011 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
# Camp building extra Stewardship Rewards: +50%.
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -3034,6 +3057,7 @@ laamp_base_2021 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
# Camp building extra Stewardship Rewards: +50%.
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -3063,6 +3087,7 @@ laamp_base_2021 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
# Camp building extra Stewardship Rewards: +50%.
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -3251,6 +3276,7 @@ laamp_base_2031 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
# Camp building extra Stewardship Rewards: +50%.
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -3279,6 +3305,7 @@ laamp_base_2031 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
# Camp building extra Stewardship Rewards: +50%.
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -3309,6 +3336,7 @@ laamp_base_2031 = {
|
|||
visible = no
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
# Camp building extra Stewardship Rewards: +50%.
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -3338,6 +3366,7 @@ laamp_base_2031 = {
|
|||
visible = no
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
# Camp building extra Stewardship Rewards: +50%.
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -3564,6 +3593,7 @@ laamp_base_2041 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
# Camp building extra Stewardship Rewards: +50%.
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -3600,6 +3630,7 @@ laamp_base_2041 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
# Camp building extra Stewardship Rewards: +50%.
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -3636,6 +3667,7 @@ laamp_base_2041 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
# Camp building extra Stewardship Rewards: +50%.
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -3892,6 +3924,7 @@ laamp_base_3001 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
save_scope_value_as = { name = extra_reward value = flag:no }
|
||||
# Standard Rewards.
|
||||
laamp_rewards_disburse_ordinary_currency_effect = {
|
||||
|
|
@ -3912,6 +3945,7 @@ laamp_base_3001 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
save_scope_value_as = { name = extra_reward value = flag:no }
|
||||
# Critical Rewards.
|
||||
laamp_rewards_disburse_ordinary_currency_effect = {
|
||||
|
|
@ -3932,6 +3966,7 @@ laamp_base_3001 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
save_scope_value_as = { name = extra_reward value = flag:no }
|
||||
# Standard Rewards.
|
||||
laamp_rewards_disburse_ordinary_currency_effect = {
|
||||
|
|
@ -4116,6 +4151,7 @@ laamp_base_3011 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
save_scope_value_as = { name = extra_reward value = flag:no }
|
||||
# Standard Rewards.
|
||||
laamp_rewards_disburse_ordinary_currency_effect = {
|
||||
|
|
@ -4264,6 +4300,13 @@ laamp_base_3021 = {
|
|||
}
|
||||
}
|
||||
task_contract_employer = { is_landed = yes }
|
||||
trigger_if = {
|
||||
limit = { has_variable = target }
|
||||
var:target = {
|
||||
is_alive = yes
|
||||
is_imprisoned = no
|
||||
}
|
||||
}
|
||||
}
|
||||
valid_to_keep = {
|
||||
# Standard triggers.
|
||||
|
|
@ -4315,6 +4358,7 @@ laamp_base_3021 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
save_scope_value_as = { name = extra_reward value = flag:no }
|
||||
# Standard Rewards.
|
||||
laamp_rewards_disburse_ordinary_currency_effect = {
|
||||
|
|
@ -4526,6 +4570,7 @@ laamp_base_3031 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
save_scope_value_as = { name = extra_reward value = flag:no }
|
||||
# Standard Rewards.
|
||||
laamp_rewards_disburse_ordinary_currency_effect = {
|
||||
|
|
@ -4729,6 +4774,7 @@ laamp_base_3041 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
save_scope_value_as = { name = extra_reward value = flag:no }
|
||||
# Standard Rewards.
|
||||
laamp_rewards_disburse_ordinary_currency_effect = {
|
||||
|
|
@ -4816,7 +4862,7 @@ laamp_base_4001 = {
|
|||
# Weight up.
|
||||
## Traits that appreciate works of learning.
|
||||
if = {
|
||||
limit = { has_trait = scholar }
|
||||
limit = { has_trait = erudite }
|
||||
add = task_contract_weight_bonus_employer_has_associated_traits_value
|
||||
}
|
||||
if = {
|
||||
|
|
@ -4963,6 +5009,7 @@ laamp_base_4001 = {
|
|||
success_qualified = {
|
||||
should_print_on_complete = yes
|
||||
effect = {
|
||||
save_scope_as = task_contract
|
||||
# Camp building extra Stewardship Rewards: +50%.
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -4991,6 +5038,7 @@ laamp_base_4001 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
# Camp building extra Learning Rewards: +50%.
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -5019,6 +5067,7 @@ laamp_base_4001 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
# Camp building extra Learning Rewards: +50%.
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -5204,7 +5253,7 @@ laamp_base_4011 = {
|
|||
scope:employer.capital_province = { save_scope_as = employer_location_destination }
|
||||
ordered_in_list = {
|
||||
list = destination_baronies_list
|
||||
order_by = "squared_distance(prev.capital_province)"
|
||||
order_by = "squared_distance(scope:employer_location_destination)"
|
||||
max = 5
|
||||
check_range_bounds = no
|
||||
if = {
|
||||
|
|
@ -5350,6 +5399,7 @@ laamp_base_4011 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
# Camp building extra Learning Rewards: +50%.
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -5378,6 +5428,7 @@ laamp_base_4011 = {
|
|||
success_standard = {
|
||||
should_print_on_complete = yes
|
||||
effect = {
|
||||
save_scope_as = task_contract
|
||||
# Camp building extra Learning Rewards: +50%.
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -5407,6 +5458,7 @@ laamp_base_4011 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
# Camp building extra Learning Rewards: +50%.
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -5474,7 +5526,7 @@ laamp_base_4021 = {
|
|||
# Weight up.
|
||||
## Traits that appreciate works of learning.
|
||||
if = {
|
||||
limit = { has_trait = scholar }
|
||||
limit = { has_trait = erudite }
|
||||
add = task_contract_weight_bonus_employer_has_associated_traits_value
|
||||
}
|
||||
if = {
|
||||
|
|
@ -5597,6 +5649,7 @@ laamp_base_4021 = {
|
|||
success_qualified = {
|
||||
should_print_on_complete = yes
|
||||
effect = {
|
||||
save_scope_as = task_contract
|
||||
# Camp building extra Stewardship Rewards: +50%.
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -5625,6 +5678,7 @@ laamp_base_4021 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
# Camp building extra Learning Rewards: +50%.
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -5653,6 +5707,7 @@ laamp_base_4021 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
# Camp building extra Learning Rewards: +50%.
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -5843,6 +5898,7 @@ laamp_base_4031 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
# Camp building extra Learning Rewards: +50%.
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -5871,6 +5927,7 @@ laamp_base_4031 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
# Camp building extra Learning Rewards: +50%.
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -6062,6 +6119,7 @@ laamp_base_4041 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
# Camp building extra Learning/Criminal Rewards: +50%.
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -6147,7 +6205,7 @@ laamp_base_4100 = {
|
|||
# Weight up.
|
||||
## Traits that appreciate works of learning.
|
||||
if = {
|
||||
limit = { has_trait = scholar }
|
||||
limit = { has_trait = erudite }
|
||||
add = task_contract_weight_bonus_employer_has_associated_traits_value
|
||||
}
|
||||
if = {
|
||||
|
|
@ -6420,6 +6478,7 @@ laamp_base_4100 = {
|
|||
success_standard = {
|
||||
should_print_on_complete = yes
|
||||
effect = {
|
||||
save_scope_as = task_contract
|
||||
# Camp building extra Learning Rewards: +50%.
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -6448,6 +6507,7 @@ laamp_base_4100 = {
|
|||
success_critical = {
|
||||
should_print_on_complete = yes
|
||||
effect = {
|
||||
save_scope_as = task_contract
|
||||
# Camp building extra Learning Rewards: +50%.
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -6643,6 +6703,7 @@ laamp_base_6001 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
save_scope_value_as = { name = extra_reward value = flag:no }
|
||||
# Standard Rewards.
|
||||
laamp_rewards_disburse_ordinary_currency_effect = {
|
||||
|
|
@ -6673,6 +6734,7 @@ laamp_base_6001 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
save_scope_value_as = { name = extra_reward value = flag:no }
|
||||
# Standard Rewards.
|
||||
laamp_rewards_disburse_ordinary_currency_effect = {
|
||||
|
|
@ -6827,6 +6889,7 @@ laamp_base_6011 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
save_scope_value_as = { name = extra_reward value = flag:no }
|
||||
# Standard Rewards.
|
||||
laamp_rewards_disburse_ordinary_currency_effect = {
|
||||
|
|
@ -6984,6 +7047,7 @@ laamp_base_6021 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
save_scope_value_as = { name = extra_reward value = flag:no }
|
||||
# Standard Rewards.
|
||||
laamp_rewards_disburse_ordinary_currency_effect = {
|
||||
|
|
@ -7145,6 +7209,7 @@ laamp_base_6031 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
save_scope_value_as = { name = extra_reward value = flag:no }
|
||||
# Standard Rewards.
|
||||
laamp_rewards_disburse_ordinary_currency_effect = {
|
||||
|
|
@ -7313,6 +7378,7 @@ laamp_base_1021 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
save_scope_value_as = { name = extra_reward value = flag:no }
|
||||
# Standard Rewards.
|
||||
laamp_rewards_disburse_ordinary_currency_effect = {
|
||||
|
|
@ -7341,6 +7407,7 @@ laamp_base_1021 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
save_scope_value_as = { name = extra_reward value = flag:no }
|
||||
# Critical Rewards.
|
||||
laamp_rewards_disburse_ordinary_currency_effect = {
|
||||
|
|
@ -7504,6 +7571,7 @@ laamp_base_1031 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
save_scope_value_as = { name = extra_reward value = flag:no }
|
||||
# Standard Rewards.
|
||||
laamp_rewards_disburse_ordinary_currency_effect = {
|
||||
|
|
@ -7532,6 +7600,7 @@ laamp_base_1031 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
save_scope_value_as = { name = extra_reward value = flag:no }
|
||||
# Critical Rewards.
|
||||
laamp_rewards_disburse_ordinary_currency_effect = {
|
||||
|
|
@ -7705,6 +7774,7 @@ laamp_base_5001 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
save_scope_value_as = { name = extra_reward value = flag:no }
|
||||
# Standard Rewards.
|
||||
laamp_rewards_disburse_ordinary_currency_effect = {
|
||||
|
|
@ -7729,6 +7799,7 @@ laamp_base_5001 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
save_scope_value_as = { name = extra_reward value = flag:no }
|
||||
# Critical Rewards.
|
||||
laamp_rewards_disburse_ordinary_currency_effect = {
|
||||
|
|
@ -7889,6 +7960,7 @@ laamp_base_5011 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
save_scope_value_as = { name = extra_reward value = flag:no }
|
||||
# Standard Rewards.
|
||||
laamp_rewards_disburse_ordinary_currency_effect = {
|
||||
|
|
@ -7917,6 +7989,7 @@ laamp_base_5011 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
save_scope_value_as = { name = extra_reward value = flag:no }
|
||||
# Critical Rewards.
|
||||
laamp_rewards_disburse_ordinary_currency_effect = {
|
||||
|
|
@ -8103,6 +8176,7 @@ laamp_base_5021 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
save_scope_value_as = { name = extra_reward value = flag:no }
|
||||
# Standard Rewards.
|
||||
laamp_rewards_disburse_ordinary_currency_effect = {
|
||||
|
|
@ -8255,6 +8329,7 @@ laamp_base_5041 = {
|
|||
should_print_on_complete = yes
|
||||
effect = {
|
||||
task_contract_taker = { play_sound_effect = "event:/DLC/EP3/SFX/UI/Contracts/ep3_ui_contracts_success_on_contract" }
|
||||
save_scope_as = task_contract
|
||||
# Camp building extra Criminal Rewards: +50%.
|
||||
if = {
|
||||
limit = {
|
||||
|
|
|
|||
|
|
@ -72,15 +72,13 @@ laamp_raid_contract = {
|
|||
is_ai = yes
|
||||
is_adult = yes
|
||||
is_landed = yes
|
||||
highest_held_title_tier >= tier_county
|
||||
capital_province.building_max_garrison < root.current_military_strength
|
||||
is_within_diplo_range = { CHARACTER = scope:employer }
|
||||
any_courtier_or_guest = {
|
||||
count >= 3
|
||||
OR = {
|
||||
AND = {
|
||||
has_dynasty = yes
|
||||
dynasty = prev.dynasty
|
||||
}
|
||||
dynasty ?= prev.dynasty
|
||||
is_consort_of = prev
|
||||
}
|
||||
}
|
||||
|
|
@ -89,6 +87,7 @@ laamp_raid_contract = {
|
|||
is_ai = yes
|
||||
is_adult = yes
|
||||
is_landed = yes
|
||||
highest_held_title_tier >= tier_county
|
||||
capital_province.building_max_garrison < root.current_military_strength
|
||||
house_has_feud_relation_with_trigger = { TARGET = scope:employer }
|
||||
any_courtier_or_guest = {
|
||||
|
|
@ -126,6 +125,11 @@ laamp_raid_contract = {
|
|||
EMPLOYER = root.task_contract_employer
|
||||
LAAMP = root.task_contract_taker
|
||||
}
|
||||
task_contract_target = {
|
||||
is_alive = yes
|
||||
is_landed = yes
|
||||
highest_held_title_tier >= tier_county
|
||||
}
|
||||
}
|
||||
|
||||
weight = {
|
||||
|
|
@ -152,15 +156,13 @@ laamp_raid_contract = {
|
|||
is_ai = yes
|
||||
is_adult = yes
|
||||
is_landed = yes
|
||||
highest_held_title_tier >= tier_county
|
||||
capital_province.building_max_garrison < root.current_military_strength
|
||||
house_has_feud_relation_with_trigger = { TARGET = scope:task_contract_employer }
|
||||
any_courtier_or_guest = {
|
||||
count >= 3
|
||||
OR = {
|
||||
AND = {
|
||||
has_dynasty = yes
|
||||
dynasty = prev.dynasty
|
||||
}
|
||||
dynasty ?= prev.dynasty
|
||||
is_consort_of = prev
|
||||
}
|
||||
}
|
||||
|
|
@ -171,6 +173,7 @@ laamp_raid_contract = {
|
|||
is_ai = yes
|
||||
is_adult = yes
|
||||
is_landed = yes
|
||||
highest_held_title_tier >= tier_county
|
||||
capital_province.building_max_garrison < root.current_military_strength
|
||||
house_has_feud_relation_with_trigger = { TARGET = scope:task_contract_employer }
|
||||
any_courtier_or_guest = {
|
||||
|
|
@ -197,6 +200,7 @@ laamp_raid_contract = {
|
|||
is_ai = yes
|
||||
is_adult = yes
|
||||
is_landed = yes
|
||||
highest_held_title_tier >= tier_county
|
||||
capital_province.building_max_garrison < root.current_military_strength
|
||||
is_within_diplo_range = { CHARACTER = scope:task_contract_employer }
|
||||
any_courtier_or_guest = {
|
||||
|
|
@ -239,7 +243,7 @@ laamp_raid_contract = {
|
|||
}
|
||||
set_variable = {
|
||||
name = task_contract_destination
|
||||
value = scope:task_contract_destination
|
||||
value = scope:task_contract_destination
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -295,7 +299,7 @@ laamp_raid_contract = {
|
|||
value = flag:employer_dead
|
||||
}
|
||||
trigger_event = ep3_contract_event.0012
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
|
|
@ -338,20 +342,20 @@ laamp_raid_contract = {
|
|||
limit = {
|
||||
faith != scope:defender.faith
|
||||
}
|
||||
add_piety = minor_piety_gain
|
||||
add_piety = minor_piety_gain
|
||||
}
|
||||
}
|
||||
# Huck 'em into our contact list.
|
||||
add_contact = scope:task_contract_employer
|
||||
# Give hook as well as contact
|
||||
add_hook_if_possible_default_length_effect = {
|
||||
TARGET = scope:task_contract_employer
|
||||
TARGET = scope:task_contract_employer
|
||||
TYPE = contact_list_weak_hook
|
||||
}
|
||||
war_contracts_completed_tracker_effect = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
failure_standard = {
|
||||
positive = no
|
||||
effect = {
|
||||
|
|
@ -414,11 +418,15 @@ laamp_join_war_contract = {
|
|||
}
|
||||
}
|
||||
#don't spawn contracts for the same wars
|
||||
NOT = {
|
||||
NOR = {
|
||||
any_character_task_contract = {
|
||||
task_contract_type = laamp_join_war_contract
|
||||
var:task_contract_war ?= scope:temp_war
|
||||
}
|
||||
any_character_task_contract = {
|
||||
task_contract_type = laamp_help_claimant_contract
|
||||
task_contract_employer = scope:employer
|
||||
}
|
||||
}
|
||||
#or if you are already an ally in a war with someone in that war, to prevent being an ally and an enemy at the same time
|
||||
scope:temp_war = {
|
||||
|
|
@ -576,7 +584,7 @@ laamp_join_war_contract = {
|
|||
value = flag:employer_dead
|
||||
}
|
||||
trigger_event = ep3_contract_event.0012
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
|
|
@ -644,7 +652,7 @@ laamp_join_war_contract = {
|
|||
add_contact = scope:task_contract_employer
|
||||
# Give hook as well as contact
|
||||
add_hook_if_possible_default_length_effect = {
|
||||
TARGET = scope:task_contract_employer
|
||||
TARGET = scope:task_contract_employer
|
||||
TYPE = contact_list_weak_hook
|
||||
}
|
||||
war_contracts_completed_tracker_effect = yes
|
||||
|
|
@ -707,13 +715,13 @@ laamp_help_claimant_contract = {
|
|||
scope:employer = {
|
||||
is_at_war = no
|
||||
NAND = {
|
||||
government_allows = administrative
|
||||
liege = { government_allows = administrative }
|
||||
government_has_mechanic = administrative
|
||||
liege = { government_has_mechanic = administrative }
|
||||
}
|
||||
liege = { has_realm_law_flag = vassal_all_wars_banned }
|
||||
NOT = {
|
||||
vassal_contract_has_flag = vassal_contract_war_override
|
||||
}
|
||||
}
|
||||
any_claim = {
|
||||
holder ?= {
|
||||
NOT = { is_allied_to = scope:employer }
|
||||
|
|
@ -800,7 +808,7 @@ laamp_help_claimant_contract = {
|
|||
}
|
||||
set_variable = {
|
||||
name = task_contract_title
|
||||
value = scope:task_contract_title
|
||||
value = scope:task_contract_title
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -854,7 +862,7 @@ laamp_help_claimant_contract = {
|
|||
value = flag:employer_dead
|
||||
}
|
||||
trigger_event = ep3_contract_event.0012
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
|
|
@ -912,7 +920,7 @@ laamp_help_claimant_contract = {
|
|||
add_contact = scope:task_contract_employer
|
||||
# Give hook as well as contact
|
||||
add_hook_if_possible_default_length_effect = {
|
||||
TARGET = scope:task_contract_employer
|
||||
TARGET = scope:task_contract_employer
|
||||
TYPE = contact_list_weak_hook
|
||||
}
|
||||
war_contracts_completed_tracker_effect = yes
|
||||
|
|
@ -1141,7 +1149,8 @@ laamp_steal_artifact_contract = {
|
|||
name = task_contract_tier
|
||||
value = root.task_contract_tier
|
||||
}
|
||||
var:task_contract_destination = {
|
||||
# This contract targets an artifact, not a place, so it never sets a destination
|
||||
var:task_contract_destination ?= {
|
||||
save_scope_as = task_contract_destination
|
||||
}
|
||||
var:task_contract_target = {
|
||||
|
|
@ -1169,7 +1178,7 @@ laamp_steal_artifact_contract = {
|
|||
value = flag:employer_dead
|
||||
}
|
||||
trigger_event = ep3_contract_event.0012
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
|
|
@ -1297,14 +1306,18 @@ laamp_construction_contract = {
|
|||
is_available_ai_adult = yes
|
||||
}
|
||||
}
|
||||
ai_has_builder_or_pious_builder_personality = yes
|
||||
ai_has_builder_or_pious_builder_personality = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
valid_to_keep = {
|
||||
var:task_contract_destination ?= {
|
||||
has_ongoing_construction = yes
|
||||
}
|
||||
valid_laamp_basic_trigger = {
|
||||
EMPLOYER = root.task_contract_employer
|
||||
LAAMP = root.task_contract_taker
|
||||
}
|
||||
}
|
||||
valid_to_accept = {
|
||||
# Standard triggers.
|
||||
|
|
@ -1319,7 +1332,7 @@ laamp_construction_contract = {
|
|||
trigger_if = {
|
||||
limit = {
|
||||
var:task_contract_destination.county = {
|
||||
has_county_modifier = massive_construction_efforts_modifier
|
||||
has_county_modifier = massive_construction_efforts_modifier
|
||||
}
|
||||
}
|
||||
task_contract_taker.capital_county = var:task_contract_destination.county
|
||||
|
|
@ -1329,6 +1342,10 @@ laamp_construction_contract = {
|
|||
has_variable = laamp_city_construction
|
||||
}
|
||||
}
|
||||
valid_laamp_basic_trigger = {
|
||||
EMPLOYER = root.task_contract_employer
|
||||
LAAMP = root.task_contract_taker
|
||||
}
|
||||
}
|
||||
|
||||
weight = {
|
||||
|
|
@ -1459,11 +1476,11 @@ laamp_construction_contract = {
|
|||
value = flag:employer_dead
|
||||
}
|
||||
trigger_event = ep3_contract_event.0012
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
var:task_contract_destination.county = {
|
||||
remove_county_modifier = massive_construction_efforts_modifier
|
||||
remove_county_modifier = massive_construction_efforts_modifier
|
||||
}
|
||||
task_contract_taker = {
|
||||
remove_character_modifier = ep3_construction_contract_modifier
|
||||
|
|
@ -1578,7 +1595,7 @@ laamp_construction_contract = {
|
|||
add_contact = scope:task_contract.task_contract_employer
|
||||
# Give hook as well as contact
|
||||
add_hook_if_possible_default_length_effect = {
|
||||
TARGET = scope:task_contract.task_contract_employer
|
||||
TARGET = scope:task_contract.task_contract_employer
|
||||
TYPE = contact_list_weak_hook
|
||||
}
|
||||
}
|
||||
|
|
@ -1719,7 +1736,7 @@ laamp_treasure_hunting_contract = {
|
|||
value = flag:employer_dead
|
||||
}
|
||||
trigger_event = ep3_contract_event.0012
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1759,7 +1776,7 @@ laamp_treasure_hunting_contract = {
|
|||
add_contact = scope:task_contract.task_contract_employer
|
||||
# Give hook as well as contact
|
||||
add_hook_if_possible_default_length_effect = {
|
||||
TARGET = scope:task_contract.task_contract_employer
|
||||
TARGET = scope:task_contract.task_contract_employer
|
||||
TYPE = contact_list_weak_hook
|
||||
}
|
||||
}
|
||||
|
|
@ -1877,7 +1894,7 @@ laamp_cultural_minority_contract = {
|
|||
}
|
||||
set_variable = {
|
||||
name = task_contract_destination
|
||||
value = scope:task_contract_destination
|
||||
value = scope:task_contract_destination
|
||||
}
|
||||
# Make our gold rewards static.
|
||||
grab_gold_fuzz_number_effect = yes
|
||||
|
|
@ -1939,7 +1956,7 @@ laamp_cultural_minority_contract = {
|
|||
value = flag:employer_dead
|
||||
}
|
||||
trigger_event = ep3_contract_event.0012
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
|
|
@ -2026,7 +2043,7 @@ laamp_cultural_minority_contract = {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
failure_standard = {
|
||||
positive = no
|
||||
effect = {
|
||||
|
|
@ -2149,7 +2166,7 @@ laamp_religious_minority_contract = {
|
|||
}
|
||||
set_variable = {
|
||||
name = task_contract_destination
|
||||
value = scope:task_contract_destination
|
||||
value = scope:task_contract_destination
|
||||
}
|
||||
# Make our gold rewards static.
|
||||
grab_gold_fuzz_number_effect = yes
|
||||
|
|
@ -2211,7 +2228,7 @@ laamp_religious_minority_contract = {
|
|||
value = flag:employer_dead
|
||||
}
|
||||
trigger_event = ep3_contract_event.0012
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
|
|
@ -2286,7 +2303,7 @@ laamp_religious_minority_contract = {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
failure_standard = {
|
||||
positive = no
|
||||
effect = {
|
||||
|
|
@ -2353,7 +2370,7 @@ laamp_prison_break_contract = {
|
|||
NOR = {
|
||||
is_imprisoned_by = scope:employer
|
||||
is_imprisoned_by = root
|
||||
}
|
||||
}
|
||||
}
|
||||
any_relation = {
|
||||
type = soulmate
|
||||
|
|
@ -2438,7 +2455,7 @@ laamp_prison_break_contract = {
|
|||
NOR = {
|
||||
is_imprisoned_by = scope:task_contract.task_contract_employer
|
||||
is_imprisoned_by = scope:task_contract.task_contract_taker
|
||||
}
|
||||
}
|
||||
}
|
||||
add_to_list = character_to_breakout
|
||||
}
|
||||
|
|
@ -2466,7 +2483,7 @@ laamp_prison_break_contract = {
|
|||
}
|
||||
ordered_in_list = {
|
||||
list = character_to_breakout
|
||||
order_by = prison_break_value
|
||||
order_by = prison_break_value
|
||||
save_scope_as = task_contract_object
|
||||
}
|
||||
}
|
||||
|
|
@ -2559,7 +2576,7 @@ laamp_prison_break_contract = {
|
|||
value = flag:employer_dead
|
||||
}
|
||||
trigger_event = ep3_contract_event.0012
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
|
|
@ -2643,7 +2660,7 @@ laamp_prison_break_contract = {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
failure_standard = {
|
||||
positive = no
|
||||
effect = {
|
||||
|
|
@ -2709,8 +2726,8 @@ laamp_treasure_map_contract = {
|
|||
LAAMP = root
|
||||
}
|
||||
#We're not already enrolled in a treasure map contract
|
||||
NOT = {
|
||||
any_character_artifact = { has_variable = 1025_treasure_map }
|
||||
NOT = {
|
||||
any_character_artifact = { has_variable = 1025_treasure_map }
|
||||
}
|
||||
}
|
||||
valid_to_continue = {
|
||||
|
|
@ -2724,10 +2741,10 @@ laamp_treasure_map_contract = {
|
|||
}
|
||||
}
|
||||
#The employer is still alive and free
|
||||
root.task_contract_employer = {
|
||||
root.task_contract_employer = {
|
||||
is_alive = yes
|
||||
is_imprisoned = no
|
||||
NOT = { has_trait = incapable }
|
||||
is_incapable = no
|
||||
}
|
||||
# Standard triggers.
|
||||
valid_laamp_basic_trigger = {
|
||||
|
|
@ -2767,7 +2784,7 @@ laamp_treasure_map_contract = {
|
|||
type = miscellaneous
|
||||
visuals = pocket_map
|
||||
max_durability = 10
|
||||
history = {
|
||||
history = {
|
||||
type = given
|
||||
actor = scope:task_contract_employer
|
||||
recipient = scope:task_contract_taker
|
||||
|
|
@ -2776,7 +2793,7 @@ laamp_treasure_map_contract = {
|
|||
save_scope_as = newly_created_map
|
||||
}
|
||||
#Set variables
|
||||
scope:newly_created_map ?= {
|
||||
scope:newly_created_map ?= {
|
||||
set_variable = 1025_treasure_map
|
||||
set_variable = {
|
||||
name = picked_up_in_location
|
||||
|
|
@ -2787,7 +2804,7 @@ laamp_treasure_map_contract = {
|
|||
value = scope:task_contract.var:contract_treasure_location
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
limit = {
|
||||
exists = var:picked_up_in_location
|
||||
exists = var:artifact_treasure_location
|
||||
}
|
||||
|
|
@ -2809,9 +2826,9 @@ laamp_treasure_map_contract = {
|
|||
#Employer died? Map decayed?
|
||||
on_invalidated = {
|
||||
#Employer unavailable
|
||||
if = {
|
||||
if = {
|
||||
limit = {
|
||||
task_contract_employer = {
|
||||
task_contract_employer = {
|
||||
OR = {
|
||||
is_alive = no
|
||||
has_trait = incapable
|
||||
|
|
@ -2833,7 +2850,7 @@ laamp_treasure_map_contract = {
|
|||
var:contract_treasure_location ?= { save_scope_as = task_contract_destination }
|
||||
#Destroy the historical artifact if the LAAMP is an AI
|
||||
if = {
|
||||
limit = {
|
||||
limit = {
|
||||
has_variable = has_unique_historical_artifact
|
||||
task_contract_taker = { is_ai = yes }
|
||||
}
|
||||
|
|
@ -2848,21 +2865,21 @@ laamp_treasure_map_contract = {
|
|||
}
|
||||
#Dead
|
||||
if = {
|
||||
limit = {
|
||||
limit = {
|
||||
scope:task_contract_employer = { is_alive = no }
|
||||
}
|
||||
trigger_event = ep3_contract_event.0041
|
||||
}
|
||||
#Incapable
|
||||
if = {
|
||||
limit = {
|
||||
limit = {
|
||||
scope:task_contract_employer = { has_trait = incapable }
|
||||
}
|
||||
trigger_event = ep3_contract_event.0041
|
||||
}
|
||||
#Imprisoned
|
||||
if = {
|
||||
limit = {
|
||||
limit = {
|
||||
scope:task_contract_employer = { is_imprisoned = yes }
|
||||
}
|
||||
#Save the invalidation flag
|
||||
|
|
@ -2949,11 +2966,11 @@ laamp_treasure_map_contract = {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
}
|
||||
stress_and_fulfillment_impact = {
|
||||
base = major_stress_impact_loss
|
||||
honest = minor_stress_impact_loss
|
||||
}
|
||||
}
|
||||
#1000 seems like a fine, round number for some old adventurer to have stashed somewhere
|
||||
domicile ?= {
|
||||
change_provisions = {
|
||||
|
|
@ -2971,7 +2988,7 @@ laamp_treasure_map_contract = {
|
|||
}
|
||||
}
|
||||
#We're not capped and our max cap is equal to -or more- than 1000
|
||||
else = {
|
||||
else = {
|
||||
value = {
|
||||
value = max_provisions
|
||||
subtract = provisions
|
||||
|
|
@ -3016,7 +3033,7 @@ laamp_treasure_map_contract = {
|
|||
}
|
||||
else = {
|
||||
save_scope_value_as = {
|
||||
name = provisions_to_add_value
|
||||
name = provisions_to_add_value
|
||||
value = old_adventurer_stashed_provisions_value
|
||||
}
|
||||
}
|
||||
|
|
@ -3061,7 +3078,7 @@ laamp_treasure_map_contract = {
|
|||
right_icon = scope:task_contract.task_contract_employer
|
||||
#Historical Artifact 'transferred owner'
|
||||
if = {
|
||||
limit = {
|
||||
limit = {
|
||||
scope:task_contract = { has_variable = has_unique_historical_artifact }
|
||||
}
|
||||
scope:task_contract = {
|
||||
|
|
@ -3073,7 +3090,7 @@ laamp_treasure_map_contract = {
|
|||
}
|
||||
#Random Jewellry 'transferred owner'
|
||||
if = {
|
||||
limit = {
|
||||
limit = {
|
||||
scope:task_contract = { has_variable = has_jewelry_artifact }
|
||||
}
|
||||
scope:task_contract = {
|
||||
|
|
@ -3148,9 +3165,9 @@ laamp_treasure_map_contract = {
|
|||
else_if = {
|
||||
limit = {
|
||||
scope:task_contract = {
|
||||
OR = {
|
||||
has_variable = treasure_gold_mediocre
|
||||
has_variable = treasure_gold_poor
|
||||
has_variable = {
|
||||
name = treasure_gold_mediocre
|
||||
name = treasure_gold_poor
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -3159,7 +3176,7 @@ laamp_treasure_map_contract = {
|
|||
gold = {
|
||||
value = {
|
||||
value = old_adventurer_stashed_gold_value
|
||||
multiply = 1.25
|
||||
multiply = 1.25
|
||||
#Extra rewards
|
||||
if = {
|
||||
limit = { scope:extra_reward = flag:yes }
|
||||
|
|
@ -3187,7 +3204,7 @@ laamp_treasure_map_contract = {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#For AI
|
||||
else = {
|
||||
|
|
@ -3228,7 +3245,7 @@ laamp_treasure_map_contract = {
|
|||
scope:task_contract = { has_variable = treasure_gold_great }
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = minor_stress_impact_loss
|
||||
honest = minor_stress_impact_loss
|
||||
}
|
||||
|
|
@ -3236,13 +3253,13 @@ laamp_treasure_map_contract = {
|
|||
else_if = {
|
||||
limit = {
|
||||
scope:task_contract = {
|
||||
OR = {
|
||||
has_variable = treasure_gold_mediocre
|
||||
has_variable = treasure_gold_poor
|
||||
has_variable = {
|
||||
name = treasure_gold_mediocre
|
||||
name = treasure_gold_poor
|
||||
}
|
||||
}
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = medium_stress_impact_loss
|
||||
honest = minor_stress_impact_loss
|
||||
}
|
||||
|
|
@ -3251,7 +3268,7 @@ laamp_treasure_map_contract = {
|
|||
limit = {
|
||||
scope:task_contract = { has_variable = treasure_pillaged }
|
||||
}
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
base = major_stress_impact_loss
|
||||
honest = minor_stress_impact_loss
|
||||
}
|
||||
|
|
@ -3261,13 +3278,13 @@ laamp_treasure_map_contract = {
|
|||
if = {
|
||||
limit = {
|
||||
#... you can't steal a view
|
||||
NOT = {
|
||||
NOT = {
|
||||
scope:task_contract = { has_variable = has_scenic_riches }
|
||||
}
|
||||
}
|
||||
#Lose some Gallowsbait xp
|
||||
if = {
|
||||
limit = {
|
||||
limit = {
|
||||
has_trait = gallowsbait
|
||||
has_trait_xp = {
|
||||
trait = gallowsbait
|
||||
|
|
@ -3295,7 +3312,7 @@ laamp_treasure_map_contract = {
|
|||
limit = { exists = scope:historical_artifact }
|
||||
hidden_effect = { destroy_artifact = scope:historical_artifact }
|
||||
}
|
||||
}
|
||||
}
|
||||
#1000 seems like a fine, round number for some old adventurer to have stashed somewhere
|
||||
domicile ?= {
|
||||
change_provisions = {
|
||||
|
|
@ -3313,7 +3330,7 @@ laamp_treasure_map_contract = {
|
|||
}
|
||||
}
|
||||
#We're not capped and our max cap is equal to -or more- than 1000
|
||||
else = {
|
||||
else = {
|
||||
value = {
|
||||
value = max_provisions
|
||||
subtract = provisions
|
||||
|
|
@ -3366,7 +3383,7 @@ laamp_treasure_map_contract = {
|
|||
}
|
||||
add_prestige = medium_prestige_loss
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else = {
|
||||
task_contract_taker = { #Pretty inconsequential, since you couldn't really determine ahead of time
|
||||
|
|
@ -3381,7 +3398,7 @@ laamp_treasure_map_contract = {
|
|||
CHARACTER = scope:task_contract.task_contract_employer
|
||||
OPINION = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
reverse_add_opinion = {
|
||||
modifier = disappointed_opinion
|
||||
target = scope:task_contract.task_contract_employer
|
||||
|
|
@ -3389,7 +3406,7 @@ laamp_treasure_map_contract = {
|
|||
}
|
||||
add_prestige = minor_prestige_loss
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
task_contract_taker = {
|
||||
#Sweep, sweep. (Let the player know the map will be destroyed when failing)
|
||||
|
|
@ -3445,6 +3462,15 @@ laamp_legitimist_support_contract = {
|
|||
}
|
||||
}
|
||||
|
||||
valid_to_accept = {
|
||||
# Standard triggers.
|
||||
valid_laamp_basic_accept_only_trigger = yes
|
||||
valid_laamp_basic_trigger = {
|
||||
EMPLOYER = scope:employer
|
||||
LAAMP = root
|
||||
}
|
||||
}
|
||||
|
||||
valid_to_continue = {
|
||||
# Standard triggers.
|
||||
valid_laamp_basic_trigger = {
|
||||
|
|
@ -3614,7 +3640,7 @@ laamp_join_faction_contract = {
|
|||
}
|
||||
custom_description = {
|
||||
text = "FACTION_CANT_JOIN_CREATE_INCAPABLE"
|
||||
NOT = { has_trait = incapable }
|
||||
is_incapable = no
|
||||
}
|
||||
custom_description = {
|
||||
text = "character_blocked_from_joining"
|
||||
|
|
@ -3743,7 +3769,7 @@ laamp_join_faction_contract = {
|
|||
value = flag:employer_dead
|
||||
}
|
||||
trigger_event = ep3_contract_event.0012
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
|
|
@ -3775,7 +3801,10 @@ laamp_join_faction_contract = {
|
|||
}
|
||||
}
|
||||
task_contract_taker = {
|
||||
remove_variable = task_contract_faction
|
||||
if = {
|
||||
limit = { has_variable = task_contract_faction }
|
||||
remove_variable = task_contract_faction
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -3818,7 +3847,7 @@ laamp_join_faction_contract = {
|
|||
add_contact = scope:task_contract.task_contract_employer
|
||||
# Give hook as well as contact
|
||||
add_hook_if_possible_default_length_effect = {
|
||||
TARGET = scope:task_contract.task_contract_employer
|
||||
TARGET = scope:task_contract.task_contract_employer
|
||||
TYPE = contact_list_weak_hook
|
||||
}
|
||||
if = {
|
||||
|
|
@ -3893,6 +3922,7 @@ laamp_help_faith_conversion_contract = {
|
|||
}
|
||||
|
||||
valid_to_accept = {
|
||||
valid_laamp_basic_accept_only_trigger = yes
|
||||
council_task_contract_valid_employer_trigger = {
|
||||
COUNCILLOR_TYPE = councillor_court_chaplain
|
||||
COUNCIL_TASK_TYPE = task_conversion
|
||||
|
|
@ -4018,7 +4048,7 @@ laamp_help_faith_conversion_contract = {
|
|||
value = flag:employer_dead
|
||||
}
|
||||
trigger_event = ep3_contract_event.0012
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
|
|
@ -4056,8 +4086,8 @@ laamp_help_faith_conversion_contract = {
|
|||
EXTRA_REWARD = scope:extra_reward
|
||||
}
|
||||
gain_patron_and_hook_from_council_task_contract_effect = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
failure_standard = {
|
||||
positive = no
|
||||
effect = {
|
||||
|
|
@ -4164,7 +4194,7 @@ laamp_fight_faith_conversion_contract = {
|
|||
cp:councillor_court_chaplain ?= {
|
||||
is_performing_council_task = task_conversion
|
||||
councillor_task_target = scope:task_contract_employer.location
|
||||
save_temporary_scope_as = temp_councillor
|
||||
save_temporary_scope_as = temp_councillor
|
||||
}
|
||||
faith != scope:task_contract.task_contract_taker.faith
|
||||
faith != scope:task_contract_employer.faith
|
||||
|
|
@ -4205,7 +4235,7 @@ laamp_fight_faith_conversion_contract = {
|
|||
var:spawned_by = flag:populate_effect
|
||||
var:spawned_by = flag:on_action
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
set_variable = {
|
||||
name = task_contract_councillor_liege
|
||||
|
|
@ -4305,7 +4335,7 @@ laamp_fight_faith_conversion_contract = {
|
|||
value = flag:employer_dead
|
||||
}
|
||||
trigger_event = ep3_contract_event.0012
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
|
|
@ -4343,8 +4373,8 @@ laamp_fight_faith_conversion_contract = {
|
|||
CONTACT_HOOK = yes
|
||||
EXTRA_REWARD = scope:extra_reward
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
failure_standard = {
|
||||
positive = no
|
||||
effect = {
|
||||
|
|
@ -4389,17 +4419,18 @@ laamp_help_train_commanders_contract = {
|
|||
}
|
||||
}
|
||||
scope:employer = {
|
||||
any_knight = { }
|
||||
any_knight = { }
|
||||
}
|
||||
}
|
||||
trigger_else = {
|
||||
scope:employer.liege = {
|
||||
any_knight = { }
|
||||
any_knight = { }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
valid_to_accept = {
|
||||
valid_laamp_basic_accept_only_trigger = yes
|
||||
council_task_contract_valid_employer_trigger = {
|
||||
COUNCILLOR_TYPE = councillor_marshal
|
||||
COUNCIL_TASK_TYPE = task_train_commanders
|
||||
|
|
@ -4448,7 +4479,7 @@ laamp_help_train_commanders_contract = {
|
|||
name = task_contract_employer
|
||||
value = scope:task_contract_employer
|
||||
}
|
||||
|
||||
|
||||
assign_council_task_scopes_in_contract_effect = {
|
||||
COUNCILLOR_TYPE = councillor_marshal
|
||||
COUNCIL_TASK_TYPE = task_train_commanders
|
||||
|
|
@ -4486,7 +4517,7 @@ laamp_help_train_commanders_contract = {
|
|||
subtract = 1
|
||||
}
|
||||
}
|
||||
#get a list of traits you can teach
|
||||
#get a list of traits you can teach
|
||||
task_contract_taker = {
|
||||
every_character_trait = {
|
||||
limit = {
|
||||
|
|
@ -4565,7 +4596,7 @@ laamp_help_train_commanders_contract = {
|
|||
value = flag:employer_dead
|
||||
}
|
||||
trigger_event = ep3_contract_event.0012
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
|
|
@ -4724,6 +4755,7 @@ laamp_help_find_secrets_contract = {
|
|||
}
|
||||
}
|
||||
valid_to_accept = {
|
||||
valid_laamp_basic_accept_only_trigger = yes
|
||||
council_task_contract_valid_employer_trigger = {
|
||||
COUNCILLOR_TYPE = councillor_spymaster
|
||||
COUNCIL_TASK_TYPE = task_find_secrets
|
||||
|
|
@ -4828,7 +4860,7 @@ laamp_help_find_secrets_contract = {
|
|||
value = flag:employer_dead
|
||||
}
|
||||
trigger_event = ep3_contract_event.0012
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
|
|
@ -4847,15 +4879,7 @@ laamp_help_find_secrets_contract = {
|
|||
}
|
||||
else = {
|
||||
scope:task_contract = {
|
||||
if = {
|
||||
limit = {
|
||||
var:knights_trained >= scope:task_contract.var:knights_failed
|
||||
}
|
||||
complete_task_contract = success_standard
|
||||
}
|
||||
else = {
|
||||
complete_task_contract = failure_standard
|
||||
}
|
||||
complete_task_contract = failure_standard
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -4932,6 +4956,7 @@ laamp_help_fabricate_claim_contract = {
|
|||
}
|
||||
}
|
||||
valid_to_accept = {
|
||||
valid_laamp_basic_accept_only_trigger = yes
|
||||
council_task_contract_valid_employer_trigger = {
|
||||
COUNCILLOR_TYPE = councillor_court_chaplain
|
||||
COUNCIL_TASK_TYPE = task_fabricate_claim
|
||||
|
|
@ -5049,7 +5074,7 @@ laamp_help_fabricate_claim_contract = {
|
|||
value = flag:employer_dead
|
||||
}
|
||||
trigger_event = ep3_contract_event.0012
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
|
|
@ -5111,7 +5136,7 @@ laamp_help_fabricate_claim_contract = {
|
|||
}
|
||||
}
|
||||
gain_patron_and_hook_from_council_task_contract_effect = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
success_standard = {
|
||||
effect = {
|
||||
|
|
@ -5154,7 +5179,7 @@ laamp_help_fabricate_claim_contract = {
|
|||
}
|
||||
gain_patron_and_hook_from_council_task_contract_effect = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
failure_standard = {
|
||||
positive = no
|
||||
effect = {
|
||||
|
|
@ -5223,7 +5248,7 @@ laamp_help_increase_control_contract = {
|
|||
highest_skill = martial
|
||||
}
|
||||
}
|
||||
is_councillor_of = top_liege
|
||||
is_councillor_of = top_liege
|
||||
top_liege = {
|
||||
NOT = {
|
||||
has_any_bad_relationship_with_character_trigger = { CHARACTER = scope:employer }
|
||||
|
|
@ -5239,6 +5264,15 @@ laamp_help_increase_control_contract = {
|
|||
}
|
||||
}
|
||||
|
||||
valid_to_accept = {
|
||||
# Standard triggers.
|
||||
valid_laamp_basic_accept_only_trigger = yes
|
||||
valid_laamp_basic_trigger = {
|
||||
EMPLOYER = scope:employer
|
||||
LAAMP = root
|
||||
}
|
||||
}
|
||||
|
||||
valid_to_keep = {
|
||||
var:task_contract_councillor_liege ?= {
|
||||
any_sub_realm_county = {
|
||||
|
|
@ -5263,9 +5297,6 @@ laamp_help_increase_control_contract = {
|
|||
}
|
||||
}
|
||||
|
||||
valid_to_accept = {
|
||||
}
|
||||
|
||||
weight = {
|
||||
# Standard weights.
|
||||
value = task_contract_weight_interesting_almost_rare_value
|
||||
|
|
@ -5389,6 +5420,7 @@ laamp_help_increase_control_contract = {
|
|||
value = {
|
||||
value = task_contract_taker.task_contract_success_gold_gain_full_value
|
||||
multiply = scope:task_contract.var:num_of_corrupt_counties
|
||||
multiply = 2
|
||||
}
|
||||
}
|
||||
set_variable = {
|
||||
|
|
@ -5396,7 +5428,6 @@ laamp_help_increase_control_contract = {
|
|||
value = {
|
||||
value = task_contract_taker.task_contract_success_gold_gain_full_value
|
||||
multiply = scope:task_contract.var:num_of_corrupt_counties
|
||||
multiply = 0.5
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -5453,7 +5484,7 @@ laamp_help_increase_control_contract = {
|
|||
value = flag:employer_dead
|
||||
}
|
||||
trigger_event = ep3_contract_event.0012
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
else_if = {
|
||||
|
|
@ -5510,7 +5541,7 @@ laamp_help_increase_control_contract = {
|
|||
hidden_effect = {
|
||||
scope:task_contract.task_contract_taker= { return_home = yes }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
success_standard = {
|
||||
effect = {
|
||||
|
|
@ -5550,7 +5581,7 @@ laamp_help_increase_control_contract = {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
failure_standard = {
|
||||
positive = no
|
||||
effect = {
|
||||
|
|
|
|||
|
|
@ -167,6 +167,7 @@ laamp_boost_legitimacy_contract = {
|
|||
positive = no
|
||||
effect = {
|
||||
save_scope_as = task_contract
|
||||
save_scope_value_as = { name = extra_reward value = flag:no }
|
||||
# Standard Penalties.
|
||||
laamp_rewards_disburse_ordinary_currency_effect = {
|
||||
GOLD = 0
|
||||
|
|
@ -425,7 +426,7 @@ laamp_gain_wanderer_contract = {
|
|||
}
|
||||
NOR = {
|
||||
government_has_flag = government_is_theocracy
|
||||
government_allows = administrative
|
||||
government_has_mechanic = administrative
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -454,11 +455,27 @@ laamp_gain_wanderer_contract = {
|
|||
}
|
||||
NOR = {
|
||||
government_has_flag = government_is_theocracy
|
||||
government_allows = administrative
|
||||
government_has_mechanic = administrative
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
valid_to_continue = {
|
||||
# Standard triggers.
|
||||
valid_laamp_basic_trigger = {
|
||||
EMPLOYER = root.task_contract_employer
|
||||
LAAMP = root.task_contract_taker
|
||||
}
|
||||
}
|
||||
|
||||
valid_to_keep = {
|
||||
# Standard triggers.
|
||||
valid_laamp_basic_trigger = {
|
||||
EMPLOYER = root.task_contract_employer
|
||||
LAAMP = root.task_contract_taker
|
||||
}
|
||||
}
|
||||
|
||||
weight = {
|
||||
# Keep it rare and use it to fill in gaps between other contracts
|
||||
value = task_contract_weight_interesting_very_rare_value
|
||||
|
|
@ -565,7 +582,7 @@ laamp_find_secret_contract = {
|
|||
}
|
||||
valid_laamp_sensible_start_trigger = yes
|
||||
scope:employer = {
|
||||
is_ai = yes
|
||||
is_ai = yes
|
||||
location = { #Not too far away
|
||||
squared_distance = {
|
||||
target = root.location
|
||||
|
|
@ -598,7 +615,7 @@ laamp_find_secret_contract = {
|
|||
LAAMP = root
|
||||
}
|
||||
scope:employer = {
|
||||
is_ai = yes
|
||||
is_ai = yes
|
||||
location = { #Not too far away
|
||||
squared_distance = {
|
||||
target = root.location
|
||||
|
|
@ -795,8 +812,8 @@ laamp_eliminate_heir_contract = {
|
|||
}
|
||||
valid_laamp_sensible_start_trigger = yes
|
||||
scope:employer = {
|
||||
is_ai = yes
|
||||
in_diplomatic_range = root
|
||||
is_ai = yes
|
||||
in_diplomatic_range = root
|
||||
is_landed = yes
|
||||
location = { #Not too far away
|
||||
squared_distance = {
|
||||
|
|
@ -806,7 +823,7 @@ laamp_eliminate_heir_contract = {
|
|||
}
|
||||
NOR = {
|
||||
government_has_flag = government_is_theocracy
|
||||
government_allows = administrative
|
||||
government_has_mechanic = administrative
|
||||
}
|
||||
AND = { #They have a primary heir they dislike, and another one they like
|
||||
primary_heir ?= {
|
||||
|
|
@ -814,7 +831,7 @@ laamp_eliminate_heir_contract = {
|
|||
target = scope:employer
|
||||
value <= high_negative_opinion
|
||||
}
|
||||
age > 16 #No murderin' babies
|
||||
age > 16 #No murderin' babies
|
||||
}
|
||||
any_heir = {
|
||||
count > 1
|
||||
|
|
@ -829,7 +846,7 @@ laamp_eliminate_heir_contract = {
|
|||
LAAMP = root
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
valid_to_continue = {
|
||||
# Standard triggers.
|
||||
valid_laamp_basic_trigger = {
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ laamp_transport_vip = {
|
|||
is_adult = yes
|
||||
is_lowborn = no
|
||||
}
|
||||
any_neighboring_top_liege_realm_owner = {
|
||||
any_neighboring_and_across_water_top_liege_realm_owner = {
|
||||
is_ai = yes
|
||||
is_adult = yes
|
||||
capital_province != root.domicile.domicile_location
|
||||
|
|
@ -68,6 +68,10 @@ laamp_transport_vip = {
|
|||
is_courtier_of = root.task_contract_employer
|
||||
is_available = yes
|
||||
}
|
||||
valid_laamp_basic_trigger = {
|
||||
EMPLOYER = scope:employer
|
||||
LAAMP = root.task_contract_taker
|
||||
}
|
||||
}
|
||||
valid_to_accept = {
|
||||
# Standard triggers.
|
||||
|
|
@ -84,6 +88,10 @@ laamp_transport_vip = {
|
|||
var:task_contract_target ?= {
|
||||
is_alive = yes
|
||||
}
|
||||
valid_laamp_basic_trigger = {
|
||||
EMPLOYER = root.task_contract_employer
|
||||
LAAMP = root.task_contract_taker
|
||||
}
|
||||
}
|
||||
|
||||
weight = {
|
||||
|
|
@ -116,7 +124,7 @@ laamp_transport_vip = {
|
|||
limit = {
|
||||
NOT = { exists = scope:task_contract.task_contract_target }
|
||||
}
|
||||
random_neighboring_top_liege_realm_owner = {
|
||||
random_neighboring_and_across_water_top_liege_realm_owner = {
|
||||
limit = {
|
||||
is_ai = yes
|
||||
is_adult = yes
|
||||
|
|
@ -379,14 +387,14 @@ laamp_transport_artifact = {
|
|||
# Specific flavour triggers.
|
||||
scope:employer = {
|
||||
any_character_artifact = {
|
||||
NOR = {
|
||||
has_variable = artifact_succession_title
|
||||
has_variable = historical_unique_artifact
|
||||
has_variable = banner_house
|
||||
has_variable = banner_dynasty
|
||||
has_none_of_variables = {
|
||||
name = artifact_succession_title
|
||||
name = historical_unique_artifact
|
||||
name = banner_house
|
||||
name = banner_dynasty
|
||||
}
|
||||
}
|
||||
any_neighboring_top_liege_realm_owner = {
|
||||
any_neighboring_and_across_water_top_liege_realm_owner = {
|
||||
is_ai = yes
|
||||
is_adult = yes
|
||||
capital_province != root.domicile.domicile_location
|
||||
|
|
@ -395,6 +403,10 @@ laamp_transport_artifact = {
|
|||
}
|
||||
valid_to_keep = {
|
||||
exists = root.var:escorted_artifact
|
||||
valid_laamp_basic_trigger = {
|
||||
EMPLOYER = root.task_contract_employer
|
||||
LAAMP = root.task_contract_taker
|
||||
}
|
||||
}
|
||||
valid_to_accept = {
|
||||
# Standard triggers.
|
||||
|
|
@ -405,11 +417,11 @@ laamp_transport_artifact = {
|
|||
}
|
||||
scope:employer = {
|
||||
any_character_artifact = {
|
||||
NOR = {
|
||||
has_variable = artifact_succession_title
|
||||
has_variable = historical_unique_artifact
|
||||
has_variable = banner_house
|
||||
has_variable = banner_dynasty
|
||||
has_none_of_variables = {
|
||||
name = artifact_succession_title
|
||||
name = historical_unique_artifact
|
||||
name = banner_house
|
||||
name = banner_dynasty
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -426,6 +438,10 @@ laamp_transport_artifact = {
|
|||
var:task_contract_target ?= {
|
||||
is_alive = yes
|
||||
}
|
||||
valid_laamp_basic_trigger = {
|
||||
EMPLOYER = root.task_contract_employer
|
||||
LAAMP = root.task_contract_taker
|
||||
}
|
||||
}
|
||||
|
||||
weight = {
|
||||
|
|
@ -458,7 +474,7 @@ laamp_transport_artifact = {
|
|||
limit = {
|
||||
NOT = { exists = scope:task_contract.task_contract_target }
|
||||
}
|
||||
random_neighboring_top_liege_realm_owner = {
|
||||
random_neighboring_and_across_water_top_liege_realm_owner = {
|
||||
limit = {
|
||||
is_ai = yes
|
||||
is_adult = yes
|
||||
|
|
@ -773,7 +789,7 @@ laamp_transport_gold = {
|
|||
value = task_contract_escort_gold_value
|
||||
multiply = 1.5
|
||||
}
|
||||
any_neighboring_top_liege_realm_owner = {
|
||||
any_neighboring_and_across_water_top_liege_realm_owner = {
|
||||
is_ai = yes
|
||||
is_adult = yes
|
||||
gold <= 0
|
||||
|
|
@ -794,6 +810,18 @@ laamp_transport_gold = {
|
|||
var:task_contract_target ?= {
|
||||
is_alive = yes
|
||||
}
|
||||
# Standard triggers.
|
||||
valid_laamp_basic_trigger = {
|
||||
EMPLOYER = root.task_contract_employer
|
||||
LAAMP = root.task_contract_taker
|
||||
}
|
||||
}
|
||||
valid_to_keep = {
|
||||
# Standard triggers.
|
||||
valid_laamp_basic_trigger = {
|
||||
EMPLOYER = root.task_contract_employer
|
||||
LAAMP = root.task_contract_taker
|
||||
}
|
||||
}
|
||||
|
||||
weight = {
|
||||
|
|
@ -813,7 +841,7 @@ laamp_transport_gold = {
|
|||
limit = {
|
||||
NOT = { exists = scope:task_contract.task_contract_target }
|
||||
}
|
||||
random_neighboring_top_liege_realm_owner = {
|
||||
random_neighboring_and_across_water_top_liege_realm_owner = {
|
||||
limit = {
|
||||
is_ai = yes
|
||||
is_adult = yes
|
||||
|
|
@ -1036,7 +1064,7 @@ laamp_transport_ward = {
|
|||
age = { 4 12 }
|
||||
}
|
||||
OR = {
|
||||
any_neighboring_top_liege_realm_owner = {
|
||||
any_neighboring_and_across_water_top_liege_realm_owner = {
|
||||
is_ai = yes
|
||||
num_of_relation_ward < 2
|
||||
is_adult = yes
|
||||
|
|
@ -1067,6 +1095,10 @@ laamp_transport_ward = {
|
|||
root.var:task_contract_object ?= {
|
||||
is_available_child = yes
|
||||
}
|
||||
valid_laamp_basic_trigger = {
|
||||
EMPLOYER = root.task_contract_employer
|
||||
LAAMP = root.task_contract_taker
|
||||
}
|
||||
}
|
||||
valid_to_accept = {
|
||||
# Standard triggers.
|
||||
|
|
@ -1083,6 +1115,10 @@ laamp_transport_ward = {
|
|||
var:task_contract_target ?= {
|
||||
is_alive = yes
|
||||
}
|
||||
valid_laamp_basic_trigger = {
|
||||
EMPLOYER = root.task_contract_employer
|
||||
LAAMP = root.task_contract_taker
|
||||
}
|
||||
}
|
||||
|
||||
weight = {
|
||||
|
|
@ -1121,7 +1157,7 @@ laamp_transport_ward = {
|
|||
limit = {
|
||||
NOT = { exists = scope:task_contract.task_contract_target }
|
||||
}
|
||||
random_neighboring_top_liege_realm_owner = {
|
||||
random_neighboring_and_across_water_top_liege_realm_owner = {
|
||||
limit = {
|
||||
is_ai = yes
|
||||
is_adult = yes
|
||||
|
|
@ -1422,7 +1458,7 @@ laamp_transport_explorer = {
|
|||
ai_energy >= 50
|
||||
has_trait = lifestyle_traveler
|
||||
}
|
||||
any_neighboring_top_liege_realm_owner = {
|
||||
any_neighboring_and_across_water_top_liege_realm_owner = {
|
||||
is_within_diplo_range = { CHARACTER = root }
|
||||
any_realm_province = {
|
||||
this != root.domicile.domicile_location
|
||||
|
|
@ -1446,6 +1482,23 @@ laamp_transport_explorer = {
|
|||
var:task_contract_target ?= {
|
||||
is_alive = yes
|
||||
}
|
||||
valid_laamp_basic_trigger = {
|
||||
EMPLOYER = root.task_contract_employer
|
||||
LAAMP = root.task_contract_taker
|
||||
}
|
||||
}
|
||||
valid_to_keep = {
|
||||
var:task_contract_object ?= {
|
||||
is_alive = yes
|
||||
}
|
||||
var:task_contract_target ?= {
|
||||
is_alive = yes
|
||||
}
|
||||
# Standard triggers.
|
||||
valid_laamp_basic_trigger = {
|
||||
EMPLOYER = root.task_contract_employer
|
||||
LAAMP = root.task_contract_taker
|
||||
}
|
||||
}
|
||||
|
||||
weight = {
|
||||
|
|
@ -1461,7 +1514,7 @@ laamp_transport_explorer = {
|
|||
scope:contract = {
|
||||
save_scope_as = task_contract
|
||||
task_contract_employer = {
|
||||
random_neighboring_top_liege_realm_owner = {
|
||||
random_neighboring_and_across_water_top_liege_realm_owner = {
|
||||
limit = {
|
||||
is_within_diplo_range = { CHARACTER = scope:task_contract.task_contract_taker }
|
||||
any_realm_province = {
|
||||
|
|
@ -1758,7 +1811,7 @@ laamp_transport_animal = {
|
|||
any_owned_story = {
|
||||
NOT = { exists = var:gifted_pet_story }
|
||||
}
|
||||
any_neighboring_top_liege_realm_owner = {
|
||||
any_neighboring_and_across_water_top_liege_realm_owner = {
|
||||
is_ai = yes
|
||||
is_adult = yes
|
||||
has_cat_or_dog_trigger = no
|
||||
|
|
@ -1768,6 +1821,10 @@ laamp_transport_animal = {
|
|||
}
|
||||
valid_to_keep = {
|
||||
exists = root.var:escorted_story
|
||||
valid_laamp_basic_trigger = {
|
||||
EMPLOYER = root.task_contract_employer
|
||||
LAAMP = root.task_contract_taker
|
||||
}
|
||||
}
|
||||
valid_to_accept = {
|
||||
# Standard triggers.
|
||||
|
|
@ -1785,6 +1842,10 @@ laamp_transport_animal = {
|
|||
var:task_contract_target ?= {
|
||||
is_alive = yes
|
||||
}
|
||||
valid_laamp_basic_trigger = {
|
||||
EMPLOYER = root.task_contract_employer
|
||||
LAAMP = root.task_contract_taker
|
||||
}
|
||||
}
|
||||
|
||||
weight = {
|
||||
|
|
@ -1814,7 +1875,7 @@ laamp_transport_animal = {
|
|||
limit = {
|
||||
NOT = { exists = scope:task_contract.task_contract_target }
|
||||
}
|
||||
random_neighboring_top_liege_realm_owner = {
|
||||
random_neighboring_and_across_water_top_liege_realm_owner = {
|
||||
limit = {
|
||||
is_ai = yes
|
||||
is_adult = yes
|
||||
|
|
|
|||
|
|
@ -2477,8 +2477,8 @@ confusion_of_tongues = {
|
|||
}
|
||||
if = {
|
||||
limit = {
|
||||
faith = {
|
||||
trait_is_sin = greedy
|
||||
rite = {
|
||||
trait_is_sin_rite = greedy
|
||||
}
|
||||
}
|
||||
add_piety = minor_piety_loss
|
||||
|
|
@ -3142,8 +3142,8 @@ monopoly_in_the_marketplace = {
|
|||
}
|
||||
if = {
|
||||
limit = {
|
||||
faith = {
|
||||
trait_is_sin = greedy
|
||||
rite = {
|
||||
trait_is_sin_rite = greedy
|
||||
}
|
||||
}
|
||||
add_piety = minor_piety_loss
|
||||
|
|
@ -3222,8 +3222,8 @@ monopoly_in_the_marketplace = {
|
|||
}
|
||||
if = {
|
||||
limit = {
|
||||
faith = {
|
||||
trait_is_sin = greedy
|
||||
rite = {
|
||||
trait_is_sin_rite = greedy
|
||||
}
|
||||
}
|
||||
add_piety = minor_piety_loss
|
||||
|
|
@ -3357,8 +3357,8 @@ contested_inheritance = {
|
|||
}
|
||||
if = {
|
||||
limit = {
|
||||
faith = {
|
||||
trait_is_sin = greedy
|
||||
rite = {
|
||||
trait_is_sin_rite = greedy
|
||||
}
|
||||
}
|
||||
add_piety = minor_piety_loss
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue