revert Alignment
This commit is contained in:
Vannifar 2026-04-25 10:02:11 +02:00
parent 15a5108e23
commit c4b6d9bdeb
250 changed files with 11067 additions and 16365 deletions

View file

@ -58,189 +58,6 @@ on_army_monthly = {
# scope:war is the war causing the previous controller and the occupant to be hostile
on_county_occupied = {
effect = {
random = { # chance of granting a knight eligibility for marauder / besieger accolade
chance = 2
modifier = {
factor = accolade_progress
}
modifier = {
NOT = {
any_knight = {
OR = {
can_be_acclaimed = yes
accolade ?= {
accolade_can_have_more_attributes = yes
}
}
knight_army ?= {
location.county = scope:county
}
OR = {
AND = { # needed for besieger
knight_army ?= {
any_army_maa_regiment = {
is_unit_type = siege_weapon
}
}
besieger_attribute_trigger = no
}
AND = { # needed for marauder
NOT = {
has_trait = compassionate
}
marauder_attribute_trigger = no
}
}
}
}
factor = 0
}
set_variable = {
name = accolade_progress
value = 0
}
random_list = {
10 = { # marauder
trigger = {
any_knight = {
OR = {
can_be_acclaimed = yes
accolade ?= {
accolade_can_have_more_attributes = yes
}
}
knight_army ?= {
location.county = scope:county
}
NOT = {
has_trait = compassionate
}
marauder_attribute_trigger = no
}
}
random_knight = {
limit = {
OR = {
can_be_acclaimed = yes
accolade ?= {
accolade_can_have_more_attributes = yes
}
}
knight_army ?= {
location.county = scope:county
}
NOT = {
has_trait = compassionate
}
marauder_attribute_trigger = no
}
weight = {
base = 1
modifier = {
add = 60
is_acclaimed = yes
}
modifier = {
add = 30
has_trait = sadistic
}
modifier = {
add = 30
has_trait = callous
}
modifier = {
add = 30
has_trait = wrathful
}
modifier = {
add = 30
has_trait = greedy
}
}
save_scope_as = marauder
}
send_interface_message = {
type = msg_accolade_eligibility
title = accolade_marauder_unlock.t
left_icon = scope:marauder
right_icon = scope:recipient
custom_tooltip = accolade_marauder_unlock.tt
scope:marauder = {
set_variable = {
name = marauder_attribute_unlock
value = yes
}
}
}
}
10 = { # besieger
trigger = {
any_knight = {
OR = {
can_be_acclaimed = yes
accolade ?= {
accolade_can_have_more_attributes = yes
}
}
knight_army ?= {
location.county = scope:county
any_army_maa_regiment = {
is_unit_type = siege_weapon
}
}
besieger_attribute_trigger = no
}
}
random_knight = {
limit = {
OR = {
can_be_acclaimed = yes
accolade ?= {
accolade_can_have_more_attributes = yes
}
}
knight_army ?= {
location.county = scope:county
any_army_maa_regiment = {
is_unit_type = siege_weapon
}
}
besieger_attribute_trigger = no
}
weight = {
base = 1
modifier = {
add = 60
is_acclaimed = yes
}
modifier = {
add = 30
has_trait = calm
}
modifier = {
add = 30
has_trait = patient
}
}
save_scope_as = besieger
}
send_interface_message = {
type = msg_accolade_eligibility
title = accolade_besieger_unlock.t
left_icon = scope:besieger
right_icon = scope:recipient
custom_tooltip = accolade_besieger_unlock.tt
scope:besieger = {
set_variable = {
name = besieger_attribute_unlock
value = yes
}
}
}
}
}
}
scope:county = {
if = {
limit = {
@ -369,28 +186,28 @@ on_county_occupied = {
limit = {
house ?= {
OR = {
has_house_aspiration_parameter = occupations_give_bonuses_1
has_house_aspiration_parameter = occupations_give_bonuses_2
has_house_aspiration_parameter = occupations_give_bonuses_3
has_house_power_parameter = occupations_give_bonuses_1
has_house_power_parameter = occupations_give_bonuses_2
has_house_power_parameter = occupations_give_bonuses_3
}
}
}
send_interface_message = {
type = msg_siege_effect
title = tactical_besiegers_house_aspiration
title = tactical_besiegers_house_power
left_icon = root
right_icon = scope:barony
if = {
limit = {
house = { has_house_aspiration_parameter = occupations_give_bonuses_3 }
house = { has_house_power_parameter = occupations_give_bonuses_3 }
}
add_gold = occupations_give_bonuses_3_value
change_influence = occupations_give_bonuses_3_value
}
else_if = {
limit = {
house = { has_house_aspiration_parameter = occupations_give_bonuses_2 }
house = { has_house_power_parameter = occupations_give_bonuses_2 }
}
add_gold = occupations_give_bonuses_2_value
change_influence = occupations_give_bonuses_2_value