2024-07-20 17:35:52
All checks were successful
sync / build (push) Successful in 51s

This commit is contained in:
actions[bot]
2024-07-20 17:35:52 +08:00
parent 2bea8a8d29
commit 0bbb942aeb
35 changed files with 993 additions and 92 deletions

View File

@@ -206,6 +206,45 @@ DOH_mofifier_effect = {
days = 10
}
}
if = {
limit = {
has_country_flag = DOH_auto_conv_arm
check_variable = {
var:num_equipment@doh_civ_equipment_1 > 0
}
}
set_temp_variable = {
temp_var:az_doh_clr_equ = var:num_equipment@doh_civ_equipment_1
}
divide_temp_variable = {
temp_var:az_doh_clr_equ = 72
}
round_temp_variable = temp_var:az_doh_clr_equ
set_temp_variable = {
temp_var:az_doh_factroies_add = temp_var:az_doh_clr_equ
}
multiply_temp_variable = {
temp_var:az_doh_clr_equ = -72
}
add_equipment_to_stockpile = {
type = doh_civ_equipment_1
amount = temp_var:az_doh_clr_equ
}
add_offsite_building = {
type = arms_factory
level = temp_var:az_doh_factroies_add
}
add_offsite_building = {
type = industrial_complex
level = temp_var:az_doh_factroies_add
}
add_timed_idea = {
idea = DOH_czdswgy
days = 10
}
}
#东煌矿业大学
if = {
limit = {