more file updating
This commit is contained in:
parent
4afc9466f5
commit
fde59745b8
99 changed files with 5706 additions and 2115 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue