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

@ -434,20 +434,6 @@ imperial_examination_disburse_activity_entrant_rewards = {
}
remove_character_flag = failed_imperial_examination
}
if = {
limit = {
has_character_flag = exam_cheat_intent
NOR = {
has_variable = been_caught_cheating
has_variable = been_caught_cheating_longterm
}
government_allows = merit
}
add_secret = {
target = scope:host
type = secret_exam_cheater
}
}
}
#Failees
else = {
@ -589,20 +575,6 @@ local_examination_disburse_activity_entrant_rewards = {
desc = msg_provincial_exam_close_family_passed_desc
}
}
if = {
limit = {
has_character_flag = exam_cheat_intent
NOR = {
has_variable = been_caught_cheating
has_variable = been_caught_cheating_longterm
}
government_allows = merit
}
add_secret = {
target = scope:host
type = secret_exam_cheater
}
}
}
#Failees
else = {
@ -1312,11 +1284,15 @@ imperial_examination_gather_entrants_effect = {
NOR = {
this = scope:host
is_in_guest_subset = { name = imperial_examiners }
has_court_position = travel_leader_court_position
has_court_position = bodyguard_court_position
# If you are a player, you should get as many shots at the Palace Exam as you want.
has_character_flag = passed_palace_exam
has_trait = devoted
has_trait = eunuch
}
# Remove diarchs from the list.
bannable_serving_diarch_trigger = no
is_adult = yes
}
save_temporary_scope_as = temp_character
@ -1379,6 +1355,8 @@ local_examination_gather_entrants_effect = {
NOR = {
this = scope:host
is_in_guest_subset = { name = imperial_examiners }
has_court_position = travel_leader_court_position
has_court_position = bodyguard_court_position
# You have passed the any of the higher level exams
has_character_flag = passed_metropolitan_exam
# You have already passed the Provincial
@ -1386,6 +1364,8 @@ local_examination_gather_entrants_effect = {
has_trait = devoted
has_trait = eunuch
}
# Remove diarchs from the list.
bannable_serving_diarch_trigger = no
is_adult = yes
}
save_temporary_scope_as = temp_character
@ -1494,6 +1474,8 @@ imperial_examination_gather_stray_entrants_effect = {
is_holy_order = no
}
}
# Remove diarchs from the list.
bannable_serving_diarch_trigger = no
tgp_gender_can_be_exam_entrant_trigger = yes
}
add_to_list = entourage_entrants
@ -1531,6 +1513,8 @@ imperial_examination_gather_stray_entrants_effect = {
is_holy_order = no
}
}
# Remove diarchs from the list.
bannable_serving_diarch_trigger = no
tgp_gender_can_be_exam_entrant_trigger = yes
}
add_to_list = entourage_entrants
@ -1598,24 +1582,30 @@ metropolitan_examination_scoreboard_setup_effect = {
}
}
#Add the fresh entrants to the scoreboard
every_attending_character = {
limit = {
is_in_guest_subset = { name = entrants }
NOR = {
is_in_guest_subset = { name = scoreboard }
scope:activity = {
any_guest_subset = {
name = scoreboard
count = scope:activity.var:scoreboard_size
while = {
count = 1
ordered_attending_character = {
limit = {
or = {
is_in_guest_subset = { name = entrants }
}
NOR = {
is_in_guest_subset = { name = scoreboard }
scope:activity = {
any_guest_subset = {
name = scoreboard
count = scope:activity.var:scoreboard_size
}
}
}
}
}
save_temporary_scope_as = temp_character
scope:activity = {
add_to_guest_subset = {
name = scoreboard
target = scope:temp_character
order_by = imperial_examination_score_value
save_temporary_scope_as = temp_character
scope:activity = {
add_to_guest_subset = {
name = scoreboard
target = scope:temp_character
}
}
}
}
@ -1652,24 +1642,28 @@ palace_examination_scoreboard_setup_effect = {
}
}
#Add the fresh entrants to the scoreboard
every_attending_character = {
limit = {
is_in_guest_subset = { name = palace_entrants }
NOR = {
is_in_guest_subset = { name = scoreboard }
scope:activity = {
any_guest_subset = {
name = scoreboard
count = scope:activity.var:scoreboard_size
while = {
count = 1
ordered_attending_character = {
limit = {
is_in_guest_subset = { name = palace_entrants }
NOR = {
is_in_guest_subset = { name = scoreboard }
scope:activity = {
any_guest_subset = {
name = scoreboard
count = scope:activity.var:scoreboard_size
}
}
}
}
}
save_temporary_scope_as = temp_character
scope:activity = {
add_to_guest_subset = {
name = scoreboard
target = scope:temp_character
order_by = imperial_examination_score_value
save_temporary_scope_as = temp_character
scope:activity = {
add_to_guest_subset = {
name = scoreboard
target = scope:temp_character
}
}
}
}
@ -1726,7 +1720,6 @@ imperial_examination_determine_exam_outcome_effect = {
# If we don't have enough, let some of the failees pass.
ordered_guest_subset = {
name = entrants
check_range_bounds = no
limit = {
has_trait = education_martial
has_variable = failee_to_be_removed
@ -1997,4 +1990,4 @@ exam_grab_entrant_position_effect = {
name = your_exam_position
value = list_size:exam_position_list
}
}
}