inappropriate decisions vapourised
This commit is contained in:
parent
9f5dade3b0
commit
19993338a7
2 changed files with 2 additions and 181 deletions
|
|
@ -0,0 +1,2 @@
|
|||
#The culture of the people both high and low is veering towards Celtic - embrace it?
|
||||
### Reclaim Britannia ###
|
||||
|
|
@ -560,187 +560,6 @@ struggle_iberia_ending_conciliation_decision = {
|
|||
ai_will_do = { base = 100 }
|
||||
}
|
||||
|
||||
###################################
|
||||
# Secure the Mediterranean
|
||||
# By Hugo Cortell
|
||||
###################################
|
||||
secure_mediterranean_decision = {
|
||||
title = fp2_secure_mediterranean.t
|
||||
picture = {
|
||||
reference = "gfx/interface/illustrations/event_scenes/fp1_ocean.dds"
|
||||
}
|
||||
desc = fp2_secure_mediterranean.desc
|
||||
decision_group_type = major
|
||||
|
||||
selection_tooltip = fp2_secure_mediterranean.tip
|
||||
sort_order = 50
|
||||
|
||||
is_shown = {
|
||||
# DLC check
|
||||
has_fp2_dlc_trigger = yes
|
||||
# Standard checks
|
||||
is_playable_character = yes
|
||||
exists = dynasty
|
||||
NOT = {
|
||||
is_target_in_global_variable_list = {
|
||||
name = unavailable_unique_decisions
|
||||
target = flag:flag_secured_the_mediterranean
|
||||
}
|
||||
}
|
||||
|
||||
OR = {
|
||||
completely_controls = title:k_sardinia_and_corscia
|
||||
#completely_controls = title:k_trinacria
|
||||
AND = {
|
||||
completely_controls = title:d_mallorca
|
||||
completely_controls = title:d_north_corsica
|
||||
completely_controls = title:d_south_corsia
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
is_valid = {
|
||||
completely_controls = title:d_mallorca
|
||||
completely_controls = title:d_sardinia
|
||||
completely_controls = title:d_corsica
|
||||
completely_controls = title:d_sicily
|
||||
}
|
||||
|
||||
is_valid_showing_failures_only = {
|
||||
is_landed = yes
|
||||
}
|
||||
|
||||
effect = {
|
||||
add_to_global_variable_list = {
|
||||
name = unavailable_unique_decisions
|
||||
target = flag:flag_secured_the_mediterranean
|
||||
}
|
||||
|
||||
# LOC
|
||||
root = {
|
||||
save_scope_as = mediterranean_conqueror
|
||||
house = { save_scope_as = mediterranean_house }
|
||||
}
|
||||
title:d_mallorca = { save_scope_as = mallorca }
|
||||
title:d_sardinia = { save_scope_as = sardinas }
|
||||
title:d_sicily = { save_scope_as = sicily }
|
||||
title:k_mediterranean_sea = { save_scope_as = mediterranean_title }
|
||||
|
||||
every_player = {
|
||||
limit = {
|
||||
this != ROOT
|
||||
any_held_title = { title_province = { geographical_region = dlc_fp2_mediterranean_shoreline } }
|
||||
}
|
||||
send_interface_message = {
|
||||
type = event_generic_bad_with_text
|
||||
title = secure_mediterranean_decision.involved_notif
|
||||
desc = secure_mediterranean_decision.involved_notif_desc # Players who get this: "why do I hear boss music?" (It is meant to sound vaguely threatening)
|
||||
left_icon = scope:mediterranean_conqueror
|
||||
|
||||
show_as_tooltip = {
|
||||
scope:mediterranean_conqueror = {
|
||||
house = {
|
||||
add_house_modifier = {
|
||||
modifier = fp2_controls_the_mediterranean_house_modifier
|
||||
years = 100
|
||||
}
|
||||
}
|
||||
dynasty = { add_dynasty_prestige = major_prestige_gain }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
house = {
|
||||
add_house_modifier = {
|
||||
modifier = fp2_controls_the_mediterranean_house_modifier
|
||||
years = 100
|
||||
}
|
||||
}
|
||||
dynasty = { add_dynasty_prestige = major_prestige_gain } # You used to get +25% prestiege, but that caused UI issues
|
||||
custom_tooltip = secure_mediterranean_decision.a
|
||||
|
||||
create_title_and_vassal_change = {
|
||||
type = created
|
||||
save_scope_as = title_change
|
||||
add_claim_on_loss = yes
|
||||
}
|
||||
title:k_mediterranean_sea = {
|
||||
change_title_holder = {
|
||||
holder = root
|
||||
change = scope:title_change
|
||||
}
|
||||
}
|
||||
resolve_title_and_vassal_change = scope:title_change
|
||||
title:d_mallorca = { set_de_jure_liege_title = title:k_mediterranean_sea }
|
||||
title:d_sardinia = { set_de_jure_liege_title = title:k_mediterranean_sea }
|
||||
title:d_corsica = { set_de_jure_liege_title = title:k_mediterranean_sea }
|
||||
title:d_sicily = { set_de_jure_liege_title = title:k_mediterranean_sea }
|
||||
|
||||
hidden_effect = {
|
||||
title:k_mediterranean_sea = { set_de_jure_liege_title = title:e_italy } # Straying closer to remaking the roman empire
|
||||
trigger_event = iberia_north_africa.2105
|
||||
}
|
||||
}
|
||||
|
||||
cost = {
|
||||
gold = {
|
||||
value = 0
|
||||
if = {
|
||||
limit = {
|
||||
has_treasury = no
|
||||
}
|
||||
add = major_gold_value
|
||||
multiply = 1.5
|
||||
round = yes
|
||||
}
|
||||
}
|
||||
treasury = {
|
||||
value = 0
|
||||
if = {
|
||||
limit = {
|
||||
has_treasury = yes
|
||||
}
|
||||
add = major_gold_value
|
||||
multiply = 1.5
|
||||
round = yes
|
||||
}
|
||||
}
|
||||
prestige = {
|
||||
value = major_prestige_gain
|
||||
multiply = 3
|
||||
round = yes
|
||||
}
|
||||
}
|
||||
|
||||
ai_check_interval_by_tier = {
|
||||
barony = 0
|
||||
county = 0
|
||||
duchy = 0
|
||||
kingdom = 730
|
||||
empire = 730
|
||||
hegemony = 730
|
||||
}
|
||||
|
||||
ai_potential = {
|
||||
is_ruler = yes
|
||||
short_term_gold >= {
|
||||
value = major_gold_value
|
||||
multiply = 1.5
|
||||
round = yes
|
||||
}
|
||||
prestige >= {
|
||||
value = major_prestige_gain
|
||||
multiply = 3
|
||||
round = yes
|
||||
}
|
||||
}
|
||||
|
||||
ai_will_do = {
|
||||
base = 80
|
||||
}
|
||||
}
|
||||
|
||||
#############################################
|
||||
# Eat a Cheese
|
||||
# by Daniel "yes I know what exciting content is stop bullying me" Moore
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue