
Action
Sacrifice Noble Blood
Our Gods need the blood of our people to maintain balance in heaven and earth. It is the duty of our nobles to give them their blood in ritual sacrifice, as their blood is the purest and most valuable of all.
NobilityEstateselect trigger 2
MayaReligionpotential, select trigger 2Definitionin_game/common/generic_actions/mayan.txt:3
4type = religious
6sound = UI_action_religion_generic
12cooldown = {
13type = sacrifice_noble_blood
14days = 90
}
17ai_tick = daily
18ai_tick_frequency = 120
20automation_tick = monthly
21automation_tick_frequency = 1
22player_automated_category = religiousdoctrines
23price = price:sacrifice_noble_blood
25select_trigger = {
26looking_for_a = religion
27source = actor
28target_flag = recipient
29name = "choose_religion" Choose the Religion:
30column = {
30data = name
}
}
33select_trigger = {
34looking_for_a = character
35source = actor
36pre_evaluation_sort_value = {
37value = age_in_years
}
39pre_evaluation_number_to_evaluate_fully = 1
40target_flag = character_scope
41name = "choose_character" Choose the Character:
42column = {
43data = name
44data = character_ruler
}
51enabled = {
52is_adult = yes
53is_ruler = no
54is_heir = no
}
}
58effect = {
60if = {
61limit = {
62exists = scope:character_scope
}
64random_list = {
6520 = {
66kill_character = {
67target = scope:character_scope
68reason = sacrifice
}
}
7180 = {
}
}
}
75else = {
76custom_tooltip = sacrifice_noble_blood_tt The selected character might die
}
79scope:actor ?= {
81add_estate_satisfaction = {
}
82add_estate_satisfaction = {
}
}
}
86ai_will_do = {
87add = "scope:actor.currency_utility(religious_influence|religious_influence_mild_bonus)"
88add = "scope:actor.add_estate_satisfaction_utility(clergy_estate|estate_satisfaction_mild_bonus)"
89add = "scope:actor.add_estate_satisfaction_utility(peasants_estate|estate_satisfaction_mild_bonus)"
92subtract = {
93desc = "bias against doing stuff"
94value = 1
}
}