Skip to content

Commit 3199929

Browse files
committed
MIR v1.6.1
1 parent 1ad6a28 commit 3199929

File tree

5 files changed

+35
-35
lines changed

5 files changed

+35
-35
lines changed

Industries Rework - Military/common/alert_types/MoG_MIR_alert_types.txt

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -87,17 +87,17 @@ MIR_war_demob_arty = {
8787
valid = {
8888
is_at_war = yes
8989
any_scope_building = {
90-
is_building_type = building_artillery_foundries
90+
is_building_type = building_artillery_foundry
9191
level > 0
9292
}
9393
any_scope_state = {
9494
OR = {
95-
is_production_method_active = { building_type = building_artillery_foundries production_method = pm_extensive_tools_t_i }
96-
is_production_method_active = { building_type = building_artillery_foundries production_method = pm_moderate_tools_t_i }
97-
is_production_method_active = { building_type = building_artillery_foundries production_method = pm_extensive_tools_t_s }
98-
is_production_method_active = { building_type = building_artillery_foundries production_method = pm_moderate_tools_t_s }
99-
is_production_method_active = { building_type = building_artillery_foundries production_method = pm_extensive_tools_t_r }
100-
is_production_method_active = { building_type = building_artillery_foundries production_method = pm_moderate_tools_t_r }
95+
is_production_method_active = { building_type = building_artillery_foundry production_method = pm_extensive_tools_t_i }
96+
is_production_method_active = { building_type = building_artillery_foundry production_method = pm_moderate_tools_t_i }
97+
is_production_method_active = { building_type = building_artillery_foundry production_method = pm_extensive_tools_t_s }
98+
is_production_method_active = { building_type = building_artillery_foundry production_method = pm_moderate_tools_t_s }
99+
is_production_method_active = { building_type = building_artillery_foundry production_method = pm_extensive_tools_t_r }
100+
is_production_method_active = { building_type = building_artillery_foundry production_method = pm_moderate_tools_t_r }
101101
}
102102
}
103103
}
@@ -114,16 +114,16 @@ MIR_peace_mob_arty = {
114114
valid = {
115115
is_at_war = no
116116
any_scope_building = {
117-
is_building_type = building_artillery_foundries
117+
is_building_type = building_artillery_foundry
118118
level > 0
119119
}
120120
any_scope_state = {
121121
OR = {
122-
is_production_method_active = { building_type = building_artillery_foundries production_method = pm_ui_safety_b }
123-
is_production_method_active = { building_type = building_artillery_foundries production_method = pm_no_tools_t }
124-
is_production_method_active = { building_type = building_artillery_foundries production_method = pm_limited_tools_t_i }
125-
is_production_method_active = { building_type = building_artillery_foundries production_method = pm_limited_tools_t_s }
126-
is_production_method_active = { building_type = building_artillery_foundries production_method = pm_limited_tools_t_r }
122+
is_production_method_active = { building_type = building_artillery_foundry production_method = pm_ui_safety_b }
123+
is_production_method_active = { building_type = building_artillery_foundry production_method = pm_no_tools_t }
124+
is_production_method_active = { building_type = building_artillery_foundry production_method = pm_limited_tools_t_i }
125+
is_production_method_active = { building_type = building_artillery_foundry production_method = pm_limited_tools_t_s }
126+
is_production_method_active = { building_type = building_artillery_foundry production_method = pm_limited_tools_t_r }
127127
}
128128
}
129129
}
@@ -141,19 +141,19 @@ MIR_war_demob_ammo = {
141141
valid = {
142142
is_at_war = yes
143143
any_scope_building = {
144-
is_building_type = building_munition_plants
144+
is_building_type = building_munition_plant
145145
level > 0
146146
}
147147
any_scope_state = {
148148
OR = {
149-
is_production_method_active = { building_type = building_munition_plants production_method = pm_extensive_ammo_le }
150-
is_production_method_active = { building_type = building_munition_plants production_method = pm_moderate_ammo_le }
151-
is_production_method_active = { building_type = building_munition_plants production_method = pm_extensive_ammo_ni }
152-
is_production_method_active = { building_type = building_munition_plants production_method = pm_moderate_ammo_ni }
153-
is_production_method_active = { building_type = building_munition_plants production_method = pm_extensive_ammo_dy }
154-
is_production_method_active = { building_type = building_munition_plants production_method = pm_moderate_ammo_dy }
155-
is_production_method_active = { building_type = building_munition_plants production_method = pm_extensive_ammo_br }
156-
is_production_method_active = { building_type = building_munition_plants production_method = pm_moderate_ammo_br }
149+
is_production_method_active = { building_type = building_munition_plant production_method = pm_extensive_ammo_le }
150+
is_production_method_active = { building_type = building_munition_plant production_method = pm_moderate_ammo_le }
151+
is_production_method_active = { building_type = building_munition_plant production_method = pm_extensive_ammo_ni }
152+
is_production_method_active = { building_type = building_munition_plant production_method = pm_moderate_ammo_ni }
153+
is_production_method_active = { building_type = building_munition_plant production_method = pm_extensive_ammo_dy }
154+
is_production_method_active = { building_type = building_munition_plant production_method = pm_moderate_ammo_dy }
155+
is_production_method_active = { building_type = building_munition_plant production_method = pm_extensive_ammo_br }
156+
is_production_method_active = { building_type = building_munition_plant production_method = pm_moderate_ammo_br }
157157
}
158158
}
159159
}
@@ -170,17 +170,17 @@ MIR_peace_mob_ammo = {
170170
valid = {
171171
is_at_war = no
172172
any_scope_building = {
173-
is_building_type = building_munition_plants
173+
is_building_type = building_munition_plant
174174
level > 0
175175
}
176176
any_scope_state = {
177177
OR = {
178-
is_production_method_active = { building_type = building_munition_plants production_method = pm_ui_safety_b }
179-
is_production_method_active = { building_type = building_munition_plants production_method = pm_no_self_explosives }
180-
is_production_method_active = { building_type = building_munition_plants production_method = pm_limited_ammo_le }
181-
is_production_method_active = { building_type = building_munition_plants production_method = pm_limited_ammo_ni }
182-
is_production_method_active = { building_type = building_munition_plants production_method = pm_limited_ammo_dy }
183-
is_production_method_active = { building_type = building_munition_plants production_method = pm_limited_ammo_br }
178+
is_production_method_active = { building_type = building_munition_plant production_method = pm_ui_safety_b }
179+
is_production_method_active = { building_type = building_munition_plant production_method = pm_no_self_explosives }
180+
is_production_method_active = { building_type = building_munition_plant production_method = pm_limited_ammo_le }
181+
is_production_method_active = { building_type = building_munition_plant production_method = pm_limited_ammo_ni }
182+
is_production_method_active = { building_type = building_munition_plant production_method = pm_limited_ammo_dy }
183+
is_production_method_active = { building_type = building_munition_plant production_method = pm_limited_ammo_br }
184184
}
185185
}
186186
}

Industries Rework - Military/common/buildings/11_mog_awr_industry.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This file is the automotive industry with tank and plane demobilisation PM's
22
# Credit to indexo4 for the initial version
33

4-
building_automotive_industry = {
4+
TRY_REPLACE:building_automotive_industry = {
55
building_group = bg_heavy_industry
66
icon = "gfx/interface/icons/building_icons/automotive_industry.dds"
77
city_type = city

Industries Rework - Military/common/production_methods/amog_crops_pm.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ TRY_REPLACE:pm_compression_ignition_tractors = {
5050
}
5151
}
5252

53-
TRY_REPLACE:pm_cropdusting = {
53+
REPLACE_OR_CREATE:pm_cropdusting = {
5454
texture = "gfx/interface/icons/production_method_icons/cropdusting.dds"
5555

5656
state_modifiers = {
@@ -86,7 +86,7 @@ TRY_REPLACE:pm_cropdusting = {
8686
}
8787
}
8888

89-
TRY_REPLACE:pm_cropdusting_rice = {
89+
REPLACE_OR_CREATE:pm_cropdusting_rice = {
9090
texture = "gfx/interface/icons/production_method_icons/cropdusting.dds"
9191

9292
state_modifiers = {

Industries Rework - Military/common/production_methods/mog_arti_pm.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ REPLACE_OR_CREATE:pm_limited_tools_t_r = {
341341

342342
# output goods
343343
goods_output_artillery_add = -7 # -9
344-
goods_input_tools_add = 11
344+
goods_output_tools_add = 11
345345
}
346346
}
347347
}

Industries Rework - Military/common/scripted_effects/MoG_MIR_effects.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@ mog_mir_set_arty_mobilised = {
4242
NOT = {
4343
is_production_method_active = {
4444
building_type = building_artillery_foundry
45-
production_method = pm_no_tools_a
45+
production_method = pm_no_tools_t
4646
}
4747
}
4848
}
4949
activate_production_method = {
5050
building_type = building_artillery_foundry
51-
production_method = pm_no_tools_a
51+
production_method = pm_no_tools_t
5252
}
5353
}
5454
}

0 commit comments

Comments
 (0)