
Action
Attract Sailors
By showing off our wealth in neighboring port taverns and promising superior treatment and pay for our sailors, we can easily attract many disgruntled seamen to our ranks. They may not be the most experienced or professional sailors, but their sheer quantity is a quality of its own.
Golden Age of PiracySituationselect triggerDefinitionin_game/common/generic_actions/golden_age_of_piracy.txt:340
341type = situation
342show_message = no
343potential = {
344scope:actor = {
345has_reform = government_reform:pirate_brethren_reform
346country_type = navy
}
}
350allow = {
}
353ai_tick = monthly
354ai_tick_frequency = 4
356automation_tick = never
357automation_tick_frequency = 12
359price = price:rto_press_claims_price
362cooldown = {
363type = attract_sailors
364years = 1
}
368select_trigger = {
369looking_for_a = situation
370target_flag = recipient
371name = "choose_situation" Choose the Situation:
372column = {
373data = name
}
}
382effect = {
383scope:actor = {
385add_sailors = {
386value = scope:actor.monthly_sailors
387multiply = 2
388min = 0.5
}
}
}
393ai_will_do = {
394add = 5
395add = {
396desc = "[sailors|e]"
397value = scope:actor.sailors_percentage
398if = {
399limit = {
399scope:actor.sailors_percentage > 0.5
}
400multiply = -1
}
402else = {
402multiply = 1
}
}
404add = {
405desc = "[navy_maintenance|e]"
406value = {
407add = scope:actor.navy_maintenance
408multiply = 5
}
}
411add = {
412desc = "[income|e]"
413value = {
414add = scope:actor.monthly_balance
415if = {
416limit = {
416scope:actor.monthly_balance < 0
}
417multiply = 2
}
419else = {
419multiply = 0.25
}
}
}
}