finally not more vanilla sephardi
This commit is contained in:
parent
0af600a0c2
commit
2e9e3b5ed2
4 changed files with 72 additions and 96 deletions
|
|
@ -1387,3 +1387,67 @@ courtier_guest_management.4001 = {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
courtier_guest_management.4002 = {
|
||||
hidden = yes
|
||||
trigger = {
|
||||
has_ep3_dlc_trigger = yes
|
||||
is_pool_character = yes # Can cease to be in the pool between it queuing and executing
|
||||
ai_can_valid_to_create_laamp_trigger = yes
|
||||
is_valid_for_laampdom = yes
|
||||
OR = {
|
||||
has_character_flag = easteregg
|
||||
has_trait = historical_character
|
||||
culture = { has_cultural_tradition = tradition_diasporic }
|
||||
AND = {
|
||||
is_lowborn = no
|
||||
culture = { has_cultural_tradition = tradition_diasporic }
|
||||
}
|
||||
any_claim = { tier >= tier_kingdom }
|
||||
}
|
||||
pool_character_is_pruneable_trigger = no # Avoid having uninteresting characters become Adventurers
|
||||
is_ai = yes
|
||||
NOT = {
|
||||
any_heir_title = { }
|
||||
}
|
||||
}
|
||||
|
||||
immediate = {
|
||||
random = {
|
||||
chance = 0
|
||||
modifier = { add = ep3_laamp_chance_score_value }
|
||||
#Counteract bonus in above value somewhat
|
||||
modifier = {
|
||||
culture = { has_cultural_tradition = tradition_diasporic }
|
||||
add = 75
|
||||
}
|
||||
modifier = {
|
||||
has_trait = historical_character
|
||||
add = 150
|
||||
}
|
||||
create_landless_minority_title_effect = {
|
||||
REASON = flag:voluntary
|
||||
FLAVOR_CHAR = root
|
||||
}
|
||||
if = { # Debug AI tracking
|
||||
limit = { debug_only = yes }
|
||||
if = {
|
||||
limit = { exists = global_var:ai_wanderer_laamp_count }
|
||||
change_global_variable = {
|
||||
name = ai_wanderer_laamp_count
|
||||
add = 1
|
||||
}
|
||||
}
|
||||
else = {
|
||||
set_global_variable = {
|
||||
name = ai_wanderer_laamp_count
|
||||
value = 1
|
||||
}
|
||||
}
|
||||
debug_log = "AI became adventurer due to cultural tradition"
|
||||
debug_log_scopes = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue