2024-12-19 00:02:09
This commit is contained in:
534
src/common/on_actions/azsiren_on_actions.txt
Executable file
534
src/common/on_actions/azsiren_on_actions.txt
Executable file
@@ -0,0 +1,534 @@
|
||||
on_actions = {
|
||||
on_startup = {
|
||||
effect = {
|
||||
set_global_flag = MOD_azurlane_sairenzhizai
|
||||
}
|
||||
}
|
||||
|
||||
on_startup = {
|
||||
effect = {
|
||||
every_country = {
|
||||
limit = {
|
||||
AND = {
|
||||
is_ai = yes
|
||||
shijianniangguojia_trigger = yes
|
||||
}
|
||||
}
|
||||
add_timed_idea = {
|
||||
idea = TY_sir_AI_buff
|
||||
days = 800
|
||||
}
|
||||
}
|
||||
HUJ = {
|
||||
add_manpower = 300000
|
||||
capital_scope = {
|
||||
add_manpower = 2000000
|
||||
set_state_category = city
|
||||
add_building_construction = {
|
||||
type = industrial_complex
|
||||
level = 5
|
||||
instant_build = yes
|
||||
}
|
||||
add_building_construction = {
|
||||
type = arms_factory
|
||||
level = 5
|
||||
instant_build = yes
|
||||
}
|
||||
add_resource = {
|
||||
type = steel
|
||||
amount = 40
|
||||
}
|
||||
add_resource = {
|
||||
type = oil
|
||||
amount = 1
|
||||
}
|
||||
add_resource = {
|
||||
type = tungsten
|
||||
amount = 0
|
||||
}
|
||||
add_resource = {
|
||||
type = chromium
|
||||
amount = 0
|
||||
}
|
||||
add_resource = {
|
||||
type = aluminium
|
||||
amount = 20
|
||||
}
|
||||
add_resource = {
|
||||
type = rubber
|
||||
amount = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
TIX = {
|
||||
add_manpower = 300000
|
||||
capital_scope = {
|
||||
add_manpower = 2000000
|
||||
set_state_category = large_city
|
||||
add_building_construction = {
|
||||
type = industrial_complex
|
||||
level = 2
|
||||
instant_build = yes
|
||||
}
|
||||
add_building_construction = {
|
||||
type = arms_factory
|
||||
level = 8
|
||||
instant_build = yes
|
||||
}
|
||||
add_resource = {
|
||||
type = steel
|
||||
amount = 50
|
||||
}
|
||||
add_resource = {
|
||||
type = oil
|
||||
amount = 0
|
||||
}
|
||||
add_resource = {
|
||||
type = tungsten
|
||||
amount = 0
|
||||
}
|
||||
add_resource = {
|
||||
type = chromium
|
||||
amount = 0
|
||||
}
|
||||
add_resource = {
|
||||
type = aluminium
|
||||
amount = 5
|
||||
}
|
||||
add_resource = {
|
||||
type = rubber
|
||||
amount = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
YUW = {
|
||||
add_manpower = 300000
|
||||
capital_scope = {
|
||||
add_manpower = 2000000
|
||||
set_state_category = megalopolis
|
||||
add_building_construction = {
|
||||
type = industrial_complex
|
||||
level = 7
|
||||
instant_build = yes
|
||||
}
|
||||
add_building_construction = {
|
||||
type = arms_factory
|
||||
level = 1
|
||||
instant_build = yes
|
||||
}
|
||||
add_resource = {
|
||||
type = steel
|
||||
amount = 10
|
||||
}
|
||||
add_resource = {
|
||||
type = oil
|
||||
amount = 15
|
||||
}
|
||||
add_resource = {
|
||||
type = tungsten
|
||||
amount = 0
|
||||
}
|
||||
add_resource = {
|
||||
type = chromium
|
||||
amount = 0
|
||||
}
|
||||
add_resource = {
|
||||
type = aluminium
|
||||
amount = 0
|
||||
}
|
||||
add_resource = {
|
||||
type = rubber
|
||||
amount = 65
|
||||
}
|
||||
}
|
||||
}
|
||||
SAD = {
|
||||
add_manpower = 300000
|
||||
capital_scope = {
|
||||
add_manpower = 2000000
|
||||
set_state_category = megalopolis
|
||||
add_building_construction = {
|
||||
type = industrial_complex
|
||||
level = 6
|
||||
instant_build = yes
|
||||
}
|
||||
add_building_construction = {
|
||||
type = arms_factory
|
||||
level = 3
|
||||
instant_build = yes
|
||||
}
|
||||
add_resource = {
|
||||
type = steel
|
||||
amount = 15
|
||||
}
|
||||
add_resource = {
|
||||
type = oil
|
||||
amount = 2
|
||||
}
|
||||
add_resource = {
|
||||
type = tungsten
|
||||
amount = 3
|
||||
}
|
||||
add_resource = {
|
||||
type = chromium
|
||||
amount = 4
|
||||
}
|
||||
add_resource = {
|
||||
type = aluminium
|
||||
amount = 2
|
||||
}
|
||||
add_resource = {
|
||||
type = rubber
|
||||
amount = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
BFL = {
|
||||
add_manpower = 300000
|
||||
capital_scope = {
|
||||
add_manpower = 2000000
|
||||
set_state_category = city
|
||||
add_building_construction = {
|
||||
type = industrial_complex
|
||||
level = 8
|
||||
instant_build = yes
|
||||
}
|
||||
add_building_construction = {
|
||||
type = arms_factory
|
||||
level = 2
|
||||
instant_build = yes
|
||||
}
|
||||
add_resource = {
|
||||
type = steel
|
||||
amount = 88
|
||||
}
|
||||
add_resource = {
|
||||
type = oil
|
||||
amount = 6
|
||||
}
|
||||
add_resource = {
|
||||
type = tungsten
|
||||
amount = 7
|
||||
}
|
||||
add_resource = {
|
||||
type = chromium
|
||||
amount = 8
|
||||
}
|
||||
add_resource = {
|
||||
type = aluminium
|
||||
amount = 0
|
||||
}
|
||||
add_resource = {
|
||||
type = rubber
|
||||
amount = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
DOH = {
|
||||
add_manpower = 300000
|
||||
capital_scope = {
|
||||
add_manpower = 2000000
|
||||
set_state_category = city
|
||||
add_building_construction = {
|
||||
type = industrial_complex
|
||||
level = 5
|
||||
instant_build = yes
|
||||
}
|
||||
add_building_construction = {
|
||||
type = arms_factory
|
||||
level = 1
|
||||
instant_build = yes
|
||||
}
|
||||
add_resource = {
|
||||
type = steel
|
||||
amount = 5
|
||||
}
|
||||
add_resource = {
|
||||
type = oil
|
||||
amount = 15
|
||||
}
|
||||
add_resource = {
|
||||
type = tungsten
|
||||
amount = 0
|
||||
}
|
||||
add_resource = {
|
||||
type = chromium
|
||||
amount = 6
|
||||
}
|
||||
add_resource = {
|
||||
type = aluminium
|
||||
amount = 2
|
||||
}
|
||||
add_resource = {
|
||||
type = rubber
|
||||
amount = 8
|
||||
}
|
||||
}
|
||||
}
|
||||
CHY = {
|
||||
add_manpower = 300000
|
||||
capital_scope = {
|
||||
add_manpower = 2000000
|
||||
set_state_category = megalopolis
|
||||
add_building_construction = {
|
||||
type = industrial_complex
|
||||
level = 2
|
||||
instant_build = yes
|
||||
}
|
||||
add_building_construction = {
|
||||
type = arms_factory
|
||||
level = 7
|
||||
instant_build = yes
|
||||
}
|
||||
add_resource = {
|
||||
type = steel
|
||||
amount = 10
|
||||
}
|
||||
add_resource = {
|
||||
type = oil
|
||||
amount = 25
|
||||
}
|
||||
add_resource = {
|
||||
type = tungsten
|
||||
amount = 3
|
||||
}
|
||||
add_resource = {
|
||||
type = chromium
|
||||
amount = 40
|
||||
}
|
||||
add_resource = {
|
||||
type = aluminium
|
||||
amount = 3
|
||||
}
|
||||
add_resource = {
|
||||
type = rubber
|
||||
amount = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
BYG = {
|
||||
add_manpower = 300000
|
||||
capital_scope = {
|
||||
add_manpower = 2000000
|
||||
set_state_category = megalopolis
|
||||
add_building_construction = {
|
||||
type = industrial_complex
|
||||
level = 10
|
||||
instant_build = yes
|
||||
}
|
||||
add_building_construction = {
|
||||
type = arms_factory
|
||||
level = 1
|
||||
instant_build = yes
|
||||
}
|
||||
add_resource = {
|
||||
type = steel
|
||||
amount = 20
|
||||
}
|
||||
add_resource = {
|
||||
type = oil
|
||||
amount = 105
|
||||
}
|
||||
add_resource = {
|
||||
type = tungsten
|
||||
amount = 0
|
||||
}
|
||||
add_resource = {
|
||||
type = chromium
|
||||
amount = 60
|
||||
}
|
||||
add_resource = {
|
||||
type = aluminium
|
||||
amount = 0
|
||||
}
|
||||
add_resource = {
|
||||
type = rubber
|
||||
amount = 30
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
on_startup = {
|
||||
effect = {
|
||||
every_country = {
|
||||
limit = {
|
||||
shijianniangguojia_trigger = yes
|
||||
}
|
||||
mark_focus_tree_layout_dirty = yes
|
||||
|
||||
}
|
||||
every_country = {
|
||||
limit = {
|
||||
shijianniangguojia_trigger = yes
|
||||
}
|
||||
add_opinion_modifier = {
|
||||
target = SIR
|
||||
modifier = soren_embargo
|
||||
}
|
||||
add_opinion_modifier = {
|
||||
target = SR1
|
||||
modifier = soren_embargo
|
||||
}
|
||||
add_opinion_modifier = {
|
||||
target = SR2
|
||||
modifier = soren_embargo
|
||||
}
|
||||
add_opinion_modifier = {
|
||||
target = SR3
|
||||
modifier = soren_embargo
|
||||
}
|
||||
add_opinion_modifier = {
|
||||
target = SR4
|
||||
modifier = soren_embargo
|
||||
}
|
||||
add_opinion_modifier = {
|
||||
target = SIR
|
||||
modifier = siren_opinion
|
||||
}
|
||||
add_opinion_modifier = {
|
||||
target = SR1
|
||||
modifier = siren_opinion
|
||||
}
|
||||
add_opinion_modifier = {
|
||||
target = SR2
|
||||
modifier = siren_opinion
|
||||
}
|
||||
add_opinion_modifier = {
|
||||
target = SR3
|
||||
modifier = siren_opinion
|
||||
}
|
||||
add_opinion_modifier = {
|
||||
target = SR4
|
||||
modifier = siren_opinion
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
on_startup = {
|
||||
effect = {
|
||||
every_country = {
|
||||
if = {
|
||||
limit = {
|
||||
shisairen_trigger = yes
|
||||
}
|
||||
set_technology = { keyantech_siren = 1 }
|
||||
add_equipment_to_stockpile = {
|
||||
type = siren_equipment_1
|
||||
amount = 4000
|
||||
producer = SIR
|
||||
}
|
||||
load_focus_tree = sir_sirenmod_focus
|
||||
|
||||
add_opinion_modifier = {
|
||||
target = BYG
|
||||
modifier = siren_jianniang_opinion
|
||||
}
|
||||
add_opinion_modifier = {
|
||||
target = HUJ
|
||||
modifier = siren_jianniang_opinion
|
||||
}
|
||||
add_opinion_modifier = {
|
||||
target = TIX
|
||||
modifier = siren_jianniang_opinion
|
||||
}
|
||||
add_opinion_modifier = {
|
||||
target = YUW
|
||||
modifier = siren_jianniang_opinion
|
||||
}
|
||||
add_opinion_modifier = {
|
||||
target = SAD
|
||||
modifier = siren_jianniang_opinion
|
||||
}
|
||||
add_opinion_modifier = {
|
||||
target = BFL
|
||||
modifier = siren_jianniang_opinion
|
||||
}
|
||||
add_opinion_modifier = {
|
||||
target = DOH
|
||||
modifier = siren_jianniang_opinion
|
||||
}
|
||||
add_opinion_modifier = {
|
||||
target = CHY
|
||||
modifier = siren_jianniang_opinion
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
on_declare_war = {
|
||||
effect = {
|
||||
if = {
|
||||
limit = {
|
||||
FROM = {
|
||||
shisairen_trigger = yes
|
||||
}
|
||||
}
|
||||
FROM = {
|
||||
add_to_variable = {
|
||||
var = canzhanguo_sl
|
||||
value = 1
|
||||
|
||||
}
|
||||
army_experience = 10
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
on_declare_war = {
|
||||
effect = {
|
||||
if = {
|
||||
limit = {
|
||||
FROM = {
|
||||
shisairen_trigger = yes
|
||||
}
|
||||
ROOT = {
|
||||
TAG = DOH
|
||||
is_ai = yes
|
||||
NOT = { has_country_flag = sirenmod_ai_baobing_get }
|
||||
}
|
||||
}
|
||||
ROOT = {
|
||||
set_country_flag = sirenmod_ai_baobing_get
|
||||
division_template = {
|
||||
name = "东煌解放军"
|
||||
regiments = {
|
||||
infantry = { x = 0 y = 0 }
|
||||
infantry = { x = 0 y = 1 }
|
||||
infantry = { x = 0 y = 2 }
|
||||
infantry = { x = 0 y = 3 }
|
||||
infantry = { x = 0 y = 4 }
|
||||
infantry = { x = 1 y = 0 }
|
||||
infantry = { x = 1 y = 1 }
|
||||
infantry = { x = 1 y = 2 }
|
||||
infantry = { x = 1 y = 3 }
|
||||
}
|
||||
support = {
|
||||
engineer = { x = 0 y = 0 }
|
||||
artillery = { x = 0 y = 1 }
|
||||
}
|
||||
}
|
||||
for_loop_effect = {
|
||||
start = 0
|
||||
end = 36
|
||||
add = 1
|
||||
|
||||
capital_scope = {
|
||||
create_unit = {
|
||||
division = "name = \"东煌解放军\" division_template = \"东煌解放军\" start_experience_factor = 0.3 start_equipment_factor = 1"
|
||||
owner = ROOT
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
25
src/common/on_actions/azx_on_actions.txt
Executable file
25
src/common/on_actions/azx_on_actions.txt
Executable file
@@ -0,0 +1,25 @@
|
||||
on_actions = {
|
||||
on_capitulation = {
|
||||
effect = {
|
||||
if = {
|
||||
limit = {
|
||||
FROM = {
|
||||
shijianniangguojia_trigger = yes
|
||||
NOT = { has_country_flag = toudisairen_get }
|
||||
}
|
||||
ROOT = {
|
||||
has_country_flag = toudisairen_get
|
||||
}
|
||||
}
|
||||
FROM = {
|
||||
white_peace = ROOT
|
||||
puppet = ROOT
|
||||
}
|
||||
ROOT = {
|
||||
clr_country_flag = toudisairen_get
|
||||
remove_Ideas = SIR_srkzg
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user