poosh
This commit is contained in:
parent
a739d2c92a
commit
2188e3b3f3
4 changed files with 188 additions and 12 deletions
|
|
@ -335,7 +335,7 @@ become_landless_minority_decision = {
|
||||||
player_heir = {
|
player_heir = {
|
||||||
save_scope_as = laamp_heir
|
save_scope_as = laamp_heir
|
||||||
save_scope_as = laamp_inheritor
|
save_scope_as = laamp_inheritor
|
||||||
custom_tooltip = become_landless_adventurer_decision_title_scope_tt
|
custom_tooltip = become_landless_minority_decision_title_scope_tt
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else_if = {
|
else_if = {
|
||||||
|
|
@ -343,11 +343,11 @@ become_landless_minority_decision = {
|
||||||
liege = {
|
liege = {
|
||||||
save_scope_as = laamp_liege
|
save_scope_as = laamp_liege
|
||||||
save_scope_as = laamp_inheritor
|
save_scope_as = laamp_inheritor
|
||||||
custom_tooltip = become_landless_adventurer_decision_title_scope_tt
|
custom_tooltip = become_landless_minority_decision_title_scope_tt
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else = {
|
else = {
|
||||||
custom_tooltip = become_landless_adventurer_decision_title_created_tt
|
custom_tooltip = become_landless_minority_decision_title_created_tt
|
||||||
if = {
|
if = {
|
||||||
limit = {
|
limit = {
|
||||||
NOT = { exists = scope:laamp_inheritor }
|
NOT = { exists = scope:laamp_inheritor }
|
||||||
|
|
@ -367,7 +367,7 @@ become_landless_minority_decision = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
create_landless_adventurer_title_tooltip_effect = yes
|
create_landless_minority_title_tooltip_effect = yes
|
||||||
show_as_tooltip = {
|
show_as_tooltip = {
|
||||||
add_prestige = medium_prestige_gain
|
add_prestige = medium_prestige_gain
|
||||||
add_character_modifier = {
|
add_character_modifier = {
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,7 @@ create_landless_adventurer_title_effect = {
|
||||||
scope:warrior_youth ?= scope:new_landless_adventurer
|
scope:warrior_youth ?= scope:new_landless_adventurer
|
||||||
}
|
}
|
||||||
create_adventurer_title = {
|
create_adventurer_title = {
|
||||||
name = adventurer_name_free_warriors
|
name = minority_name
|
||||||
holder = scope:new_landless_adventurer
|
holder = scope:new_landless_adventurer
|
||||||
article = DEFAULT_TITLE_NAME_ARTICLE
|
article = DEFAULT_TITLE_NAME_ARTICLE
|
||||||
save_scope_as = new_title
|
save_scope_as = new_title
|
||||||
|
|
@ -576,6 +576,163 @@ create_landless_adventurer_title_effect = {
|
||||||
set_variable = flavourise_camp_purpose_wanderers
|
set_variable = flavourise_camp_purpose_wanderers
|
||||||
}
|
}
|
||||||
|
|
||||||
|
create_landless_minority_title_effect = {
|
||||||
|
save_scope_as = new_landless_minority
|
||||||
|
if = {
|
||||||
|
limit = {
|
||||||
|
exists = house
|
||||||
|
}
|
||||||
|
house = { save_scope_as = new_landless_minority_house }
|
||||||
|
}
|
||||||
|
if = {
|
||||||
|
limit = {
|
||||||
|
exists = location
|
||||||
|
}
|
||||||
|
location = { save_scope_as = new_landless_minority_location }
|
||||||
|
}
|
||||||
|
save_scope_value_as = {
|
||||||
|
name = minority_creation_reason
|
||||||
|
value = $REASON$
|
||||||
|
}
|
||||||
|
$FLAVOR_CHAR$ = { save_scope_as = minority_flavor_char }
|
||||||
|
hidden_effect = {
|
||||||
|
|
||||||
|
random_list = {
|
||||||
|
1000 = {
|
||||||
|
create_adventurer_title = {
|
||||||
|
name = minority_name
|
||||||
|
holder = scope:new_landless_adventurer
|
||||||
|
article = DEFAULT_TITLE_NAME_ARTICLE
|
||||||
|
save_scope_as = new_title
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
scope:new_title ?= {
|
||||||
|
create_landless_minority_title_history_effect = yes
|
||||||
|
set_variable = {
|
||||||
|
name = minority_creation_reason
|
||||||
|
value = scope:minority_creation_reason
|
||||||
|
}
|
||||||
|
set_variable = {
|
||||||
|
name = minority_flavor_char
|
||||||
|
value = scope:minority_flavor_char
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
scope:new_title = { save_scope_as = new_landless_minority_title }
|
||||||
|
scope:new_landless_minority = {
|
||||||
|
if = {
|
||||||
|
limit = {
|
||||||
|
NOT = { has_government = landless_minority_government }
|
||||||
|
}
|
||||||
|
change_government = landless_minority_government
|
||||||
|
}
|
||||||
|
if = {
|
||||||
|
limit = {
|
||||||
|
NOT = { has_realm_law = confederate_partition_succession_law }
|
||||||
|
}
|
||||||
|
add_realm_law = confederate_partition_succession_law
|
||||||
|
}
|
||||||
|
if = {
|
||||||
|
limit = {
|
||||||
|
has_realm_law = crown_authority_0
|
||||||
|
}
|
||||||
|
remove_realm_law = crown_authority_0
|
||||||
|
}
|
||||||
|
domicile = { change_provisions = starting_provisions_value }
|
||||||
|
}
|
||||||
|
every_player = {
|
||||||
|
limit = {
|
||||||
|
NOR = {
|
||||||
|
root ?= this
|
||||||
|
this = scope:new_landless_minority
|
||||||
|
}
|
||||||
|
OR = {
|
||||||
|
# Either they're important to us.
|
||||||
|
is_close_or_extended_family_of = scope:new_landless_minority
|
||||||
|
is_consort_of = scope:new_landless_minority
|
||||||
|
has_important_relationship_with_character_trigger = { CHARACTER = scope:new_landless_minority }
|
||||||
|
# Or they're just close enough.
|
||||||
|
AND = {
|
||||||
|
capital_province = { "squared_distance(scope:new_landless_minority.location)" <= squared_distance_medium }
|
||||||
|
OR = {
|
||||||
|
top_liege = root.top_liege
|
||||||
|
any_neighboring_and_across_water_top_liege_realm_owner = { this = root.top_liege }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
send_interface_message = {
|
||||||
|
type = msg_landless_minority_nearby
|
||||||
|
title = nearby_landless_minority_created_message_title
|
||||||
|
left_icon = scope:new_landless_minority
|
||||||
|
right_icon = scope:minority_flavor_char
|
||||||
|
switch = {
|
||||||
|
trigger = scope:minority_creation_reason
|
||||||
|
flag:conquest = { custom_tooltip = nearby_landless_minority_created_message_conquest_tt }
|
||||||
|
flag:conquest_claim = { custom_tooltip = nearby_landless_minority_created_message_conquest_tt }
|
||||||
|
flag:deposition = { custom_tooltip = nearby_landless_minority_created_message_deposition_tt }
|
||||||
|
flag:succession = { custom_tooltip = nearby_landless_minority_created_message_succession_tt }
|
||||||
|
flag:exile = { custom_tooltip = nearby_landless_minority_created_message_exile_tt }
|
||||||
|
flag:voluntary = { custom_tooltip = nearby_landless_minority_created_message_voluntary_tt }
|
||||||
|
flag:revocation = { custom_tooltip = nearby_landless_minority_created_message_revocation_tt }
|
||||||
|
flag:runaway_allowed = { custom_tooltip = nearby_landless_minority_created_message_runaway_allowed_tt }
|
||||||
|
flag:runaway_forbidden = { custom_tooltip = nearby_landless_minority_created_message_runaway_forbidden_tt }
|
||||||
|
flag:wanderer = { custom_tooltip = nearby_landless_minority_created_message_wanderer_tt }
|
||||||
|
flag:eradicate = { custom_tooltip = nearby_landless_minority_created_message_eradicate_tt }
|
||||||
|
fallback = { custom_tooltip = nearby_landless_minority_created_message_fallback_tt }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
custom_tooltip = laamp_become_minority_tt
|
||||||
|
hidden_effect = {
|
||||||
|
if = {
|
||||||
|
limit = {
|
||||||
|
scope:new_landless_minority = {
|
||||||
|
is_ai = no
|
||||||
|
}
|
||||||
|
NOT = { exists = scope:expelled }
|
||||||
|
}
|
||||||
|
populate_location_with_contracts_effect = {
|
||||||
|
AREA_CHAR = scope:new_landless_minority
|
||||||
|
AMOUNT = 3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
scope:new_landless_minority = {
|
||||||
|
every_courtier = {
|
||||||
|
limit = {
|
||||||
|
NOR = {
|
||||||
|
is_close_or_extended_family_of = scope:new_landless_minority
|
||||||
|
has_relation_lover = scope:new_landless_minority
|
||||||
|
has_relation_friend = scope:new_landless_minority
|
||||||
|
is_consort_of = scope:new_landless_minority
|
||||||
|
}
|
||||||
|
}
|
||||||
|
move_to_pool = yes
|
||||||
|
}
|
||||||
|
# Give us a couple of starting chars if we're almost completely bereft.
|
||||||
|
if = {
|
||||||
|
limit = {
|
||||||
|
any_courtier = { count <= 2 }
|
||||||
|
}
|
||||||
|
trigger_event = {
|
||||||
|
id = ep3_laamps.1001
|
||||||
|
weeks = { 2 6 }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
trigger_event = { id = misc.0001 days = 1 }
|
||||||
|
local_arbitration_boon_change_purpose_effect = yes
|
||||||
|
}
|
||||||
|
add_to_global_variable_list = {
|
||||||
|
name = laamps_tally
|
||||||
|
target = scope:new_landless_minority.primary_title
|
||||||
|
}
|
||||||
|
set_variable = flavourise_camp_purpose_wanderers
|
||||||
|
}
|
||||||
|
|
||||||
destroy_landless_title_no_dlc_effect = {
|
destroy_landless_title_no_dlc_effect = {
|
||||||
if = {
|
if = {
|
||||||
limit = {
|
limit = {
|
||||||
|
|
@ -733,6 +890,15 @@ create_landless_adventurer_title_tooltip_effect = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
create_landless_minority_title_tooltip_effect = {
|
||||||
|
show_as_tooltip = {
|
||||||
|
custom_tooltip = laamp_become_minority_tt
|
||||||
|
if = {
|
||||||
|
limit = { exists = scope:new_landless_minority_title}
|
||||||
|
show_as_tooltip = { get_title = scope:new_landless_minority_title }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
find_playable_relatives_effect = {
|
find_playable_relatives_effect = {
|
||||||
if = {
|
if = {
|
||||||
|
|
|
||||||
|
|
@ -1239,7 +1239,7 @@ ep3_laamps.1030 = {
|
||||||
resolve_title_and_vassal_change = scope:change
|
resolve_title_and_vassal_change = scope:change
|
||||||
}
|
}
|
||||||
# Create Adventurer
|
# Create Adventurer
|
||||||
create_landless_adventurer_title_effect = {
|
create_landless_minority_title_effect = {
|
||||||
REASON = flag:voluntary
|
REASON = flag:voluntary
|
||||||
FLAVOR_CHAR = scope:laamp_inheritor
|
FLAVOR_CHAR = scope:laamp_inheritor
|
||||||
}
|
}
|
||||||
|
|
@ -1267,7 +1267,7 @@ ep3_laamps.1030 = {
|
||||||
|
|
||||||
option = {
|
option = {
|
||||||
name = ep3_laamps.1030.a
|
name = ep3_laamps.1030.a
|
||||||
create_landless_adventurer_title_tooltip_effect = yes
|
create_landless_minority_title_tooltip_effect = yes
|
||||||
add_prestige = medium_prestige_gain
|
add_prestige = medium_prestige_gain
|
||||||
add_character_modifier = {
|
add_character_modifier = {
|
||||||
modifier = ep3_voluntary_laamp_character_modifier
|
modifier = ep3_voluntary_laamp_character_modifier
|
||||||
|
|
@ -1281,12 +1281,12 @@ ep3_laamps.1032 = {
|
||||||
type = letter_event
|
type = letter_event
|
||||||
opening = ep3_laamps.1032.opening
|
opening = ep3_laamps.1032.opening
|
||||||
desc = ep3_laamps.1032.desc
|
desc = ep3_laamps.1032.desc
|
||||||
sender = scope:adventurer
|
sender = scope:minority
|
||||||
|
|
||||||
trigger = { is_ai = no }
|
trigger = { is_ai = no }
|
||||||
|
|
||||||
immediate = {
|
immediate = {
|
||||||
scope:adventurer = { create_landless_adventurer_title_tooltip_effect = yes }
|
scope:minority = { create_landless_minority_title_tooltip_effect = yes }
|
||||||
}
|
}
|
||||||
|
|
||||||
option = {
|
option = {
|
||||||
|
|
|
||||||
|
|
@ -2786,9 +2786,9 @@
|
||||||
minority_community_domicile_type_possessive: "Community's"
|
minority_community_domicile_type_possessive: "Community's"
|
||||||
minority_community_domicile_type_tooltip: "$MINORITY_COMMUNITY$"
|
minority_community_domicile_type_tooltip: "$MINORITY_COMMUNITY$"
|
||||||
MINORITY_COMMUNITY: "[game_concept_minority_community|E]"
|
MINORITY_COMMUNITY: "[game_concept_minority_community|E]"
|
||||||
MINORITY_COMMUNITY_BUILDINGS: "[manor_buildings|E]"
|
MINORITY_COMMUNITY_BUILDINGS: "[minority_community_buildings|E]"
|
||||||
minority_community_move_desc: "#T Move $minority_community_type$#!\nMove your [game_concept_minority_community|E] to another [barony|E] within the [realm|E].\n@alert_icon! #alert_trial You will be unable to move it again for [EmptyScope.ScriptValue('estate_move_cooldown_value')|V0] days#!\n\n#S Cost:\n#![GetCostString( DOMICILE_TYPE.GetMoveCost( Character.Self ) )]\n\n#P Click to move your $minority_community_type$#!"
|
minority_community_move_desc: "#T Move $minority_community_type$#!\nMove your [game_concept_minority_community|E] to another [barony|E] within the [realm|E].\n@alert_icon! #alert_trial You will be unable to move it again for [EmptyScope.ScriptValue('estate_move_cooldown_value')|V0] days#!\n\n#S Cost:\n#![GetCostString( DOMICILE_TYPE.GetMoveCost( Character.Self ) )]\n\n#P Click to move your $minority_community_type$#!"
|
||||||
MINORITY_COMMUNITY_CONCEPT: "[game_concept_minority_community|E]"
|
MINORITY_COMMUNITY_CONCEPT: "$Minority Community$"
|
||||||
domicile_minority_community: "the [CHARACTER.GetFaith.GetNameNoTooltip] $Community$ of [CHARACTER.GetHouse.GetNameNoTooltip]"
|
domicile_minority_community: "the [CHARACTER.GetFaith.GetNameNoTooltip] $Community$ of [CHARACTER.GetHouse.GetNameNoTooltip]"
|
||||||
|
|
||||||
ep3_laamps.1030.t: "On the Move Again"
|
ep3_laamps.1030.t: "On the Move Again"
|
||||||
|
|
@ -2799,4 +2799,14 @@
|
||||||
ep3_laamps.1030.a: "Well, what we are we waiting for?"
|
ep3_laamps.1030.a: "Well, what we are we waiting for?"
|
||||||
ep3_laamps.1032.opening: "[adventurer.Custom2('AppropriateGreetingPositive', ROOT.Char)]"
|
ep3_laamps.1032.opening: "[adventurer.Custom2('AppropriateGreetingPositive', ROOT.Char)]"
|
||||||
ep3_laamps.1032.desc: "My people no longer feel secure in this realm, as such we are leaving. Good Day my Liege."
|
ep3_laamps.1032.desc: "My people no longer feel secure in this realm, as such we are leaving. Good Day my Liege."
|
||||||
ep3_laamps.1032.a: "A bold move, some might call foolish."
|
ep3_laamps.1032.a: "A bold move, some might call foolish."
|
||||||
|
become_landless_minority_decision: "Become Minority Community"
|
||||||
|
become_landless_minority_decision_desc: "My people no longer feel secure in this realm, as such we are leaving to ensure our safety."
|
||||||
|
become_landless_minority_decision_tooltip: "Abandon your [landed|E] [realm|E] and establish an [minority_community_i|E]$Minority Community$"
|
||||||
|
become_landless_minority_decision_confirm: "On the Move Again"
|
||||||
|
become_landless_minority_decision_hof_tt: "You must not be a [head_of_faith|E]"
|
||||||
|
become_landless_minority_decision_tier_tt: "You must be a [count|E] or [duke|E]"
|
||||||
|
become_landless_minority_decision_domain_size_tt: "Your [domain|E] must be no larger than #V 3#! [counties|E]"
|
||||||
|
become_landless_minority_decision_title_scope_tt: "#negative_value All your [landed|E] [titles|E] and [vassals|E] pass to [THIS.Char.GetName]#!"
|
||||||
|
become_landless_minority_decision_title_created_tt: "#negative_value All your [landed|E] [titles|E] pass to a new local [ruler|E]#!"
|
||||||
|
minority_name: "[host.GetCulture] Community of the [host.GetDynasty.GetName]'s"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue