
行动
放弃海盗行为
我们已经意识到,比起将脑袋别裤腰带上,还有一种更好的致富途径。只要我们能保护农民和商人免受其他劫匪海盗的侵犯,我们就可以收取一些金钱和产品作为酬劳,而非以掠夺的方式。如果这些资金能投入基础设施和军队建设上,那么钱就能生出更多的钱,让我们比想象中更加富有!
海盗黄金时代局势select trigger定义in_game/common/generic_actions/golden_age_of_piracy.txt:249
250type = situation
251show_message = no
252potential = {
253scope:actor = {
254has_reform = government_reform:pirate_brethren_reform
}
}
258allow = {
}
261ai_tick = monthly
262ai_tick_frequency = 4
264automation_tick = never
265automation_tick_frequency = 12
268price = price:abandon_piracy
270cooldown = {
}
274select_trigger = {
275looking_for_a = situation
276target_flag = recipient
277name = "choose_situation" 选择局势:
278column = {
279data = name
}
}
288effect = {
289scope:actor = {
290if = {
291limit = {
292country_type = navy
}
294change_country_type = location
}
298if = {
299limit = {
299has_reform = government_reform:pirate_brethren_reform
}
300remove_reform = government_reform:pirate_brethren_reform
}
302capital = {
303destroy_building = "building(building_type:pirate_stronghold|prev)"
}
305every_owned_foreign_building_location = {
306destroy_building = "building(building_type:black_market|prev)"
307destroy_building = "building(building_type:smuggler_cove|prev)"
308destroy_building = "building(building_type:brothel|prev)"
309destroy_building = "building(building_type:pirate_tavern|prev)"
}
}
}
314ai_will_do = {
315add = -50
316add = {
317desc = "IS_BANKRUPT_TOOLTIP"
318if = {
319limit = {
320scope:actor ?= {
321is_during_bankruptcy = yes
}
}
324value = 25
}
}
327if = {
328limit = {
329scope:actor ?= {
329num_loans > 0
}
}
331add = {
332desc = "PENDING_LOANS_TOOLTIP"
333value = scope:actor.num_loans
334multiply = 5
}
}
}