
Działanie
Poświęcenie szlachetnej krwi
Nasi bogowie potrzebują krwi naszego ludu, aby utrzymać równowagę na niebie i ziemi. Obowiązkiem naszych szlachciców jest oddanie jej w rytualnej ofierze, ponieważ to ich krew jest najczystsza i najcenniejsza ze wszystkich.
SzlachciceStanselect trigger 2
MajańsReligiapotential, select trigger 2Definicjain_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" Wybierz Concept:
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" Wybierz 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 Wybrana postać może umrzeć
}
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
}
}