
行动
推动自由臣民
民众长期以来被封建领主的压迫所苦,而这些领主残暴地维系着他们不公正的地位。我们有责任提升平民地位,并为平民争取应有的自由!
农民战争灾难select trigger
农奴制 vs 自由民社会价值观allow定义in_game/common/generic_actions/peasants_war_actions.txt:111
112type = disaster
114allow = {
115scope:actor = {
}
}
121automation_tick = never
122automation_tick_frequency = 12
123price = price:peasants_war_actions_price
125cooldown = {
126type = pw_push_for_serfdom
127years = 1
}
130select_trigger = {
131looking_for_a = disaster
132name = "choose_disaster" 选择灾难:
133target_flag = recipient
134column = {
135data = name
}
}
143effect = {
144scope:actor = {
145change_societal_value = {
}
150add_estate_satisfaction = {
}
}
}
157ai_will_do = {
158add = 5
159add = {
160value = "scope:actor.estate_power(estate_type:nobles_estate)"
161multiply = -10
}
163add = {
164value = "scope:actor.estate_power(estate_type:peasants_estate)"
165multiply = 10
}
167add = {
168value = scope:actor.modifier:global_peasants_estate_power
169multiply = 10
}
171add = {
172value = scope:actor.modifier:global_nobles_estate_power
173multiply = -10
}
175if = {
179add = scope:actor.societal_value:serfdom_vs_free_subjects
}
181else_if = {
185subtract = scope:actor.societal_value:serfdom_vs_free_subjects
}
187if = {
188limit = {
188scope:actor.modifier:monthly_towards_free_subjects > 0
}
189add = {
190value = scope:actor.modifier:monthly_towards_free_subjects
191multiply = 100
}
}
194if = {
195limit = {
195scope:actor.modifier:monthly_towards_serfdom > 0
}
196subtract = {
197value = scope:actor.modifier:monthly_towards_serfdom
198multiply = 100
}
}
201if = {
202limit = {
202scope:actor.government_power < 50
}
203subtract = 30
}
205if = {
206limit = {
206scope:actor.stability > 20
}
207add = scope:actor.stability
}
209else = {
210add = {
211value = scope:actor.stability
212multiply = -10
}
}
216if = {
218multiply = 0
}
221if = {
222limit = {
222scope:actor = {
222estate_satisfaction:nobles_estate < 0.3
}
}
223add = -50
}
}