
Action
Push for Free Subjects
For far too long have the people been burdened under the chains of feudal lords, who enforce their unjust positions with brutality. It is our moral duty to uplift the common man and win freedom for the Commoners!
Peasants' WarDisasterselect trigger
Serfdom vs Free SubjectsSocietal ValueallowDefinitionin_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" Choose the 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
}
}