2024-12-07 20:01:42

This commit is contained in:
actions[bot]
2024-12-07 20:01:42 +00:00
parent 4e54f0d572
commit 4199c0b96c
50 changed files with 887 additions and 52 deletions

View File

@@ -3,7 +3,7 @@ naval_screen = {
#available_for = {}
#blocked_for = {}
roles = { vnr_naval_screen }
priority = { base = 10 }
priority = { base = 20 }
screen_1914 = {
name = vnr_dd_1914

View File

@@ -3,7 +3,7 @@ naval_capital_battleship = {
#available_for = {}
#blocked_for = {}
roles = { vnr_naval_capital_bb }
priority = { base = 10 }
priority = { base = 50 }
capital_battleship_1924 = {
name = vnr_bb_1924

View File

@@ -2,7 +2,7 @@ naval_carrier = {
category = naval
#blocked_for = {}
roles = { vnr_naval_carrier }
priority = { base = 10 }
priority = { base = 80 }
# carrier_1936 = {
# role_icon_index = 9

View File

@@ -140,6 +140,7 @@ naval_light_carrier = {
fixed_ship_anti_air_slot = empty
fixed_ship_radar_slot = ship_radar
fixed_ship_engine_slot = { upgrade = current any_of = { civilian_ship_engine_2 civilian_ship_engine_1 } }
fixed_ship_carrier_miscellaneous_slot_1 = carrier_spared_squad
}
}
}

View File

@@ -3,7 +3,7 @@ naval_cruiser_light = {
#available_for = {}
#blocked_for = {}
roles = { vnr_naval_cruiser_light }
priority = { base = 10 }
priority = { base = 100 }
light_cruiser_1922_upgrade = {
name = vnr_cl_1922
@@ -229,6 +229,7 @@ naval_cruiser_light = {
fixed_ship_armor_slot = { upgrade > current any_of = { ship_armor_cruiser_3 ship_armor_cruiser_2 ship_armor_cruiser_1 } }
fixed_ship_secondaries_slot = empty
fixed_ship_role_slot = ship_hull_cruiser_role_c
fixed_ship_airplane_launcher_slot = ship_airplane_launcher
front_1_custom_slot = ship_light_medium_battery
front_2_custom_slot = ship_anti_air
mid_2_custom_slot = ship_light_medium_battery
@@ -261,6 +262,8 @@ naval_cruiser_light = {
fixed_ship_armor_slot = { upgrade > current any_of = { ship_armor_cruiser_4 ship_armor_cruiser_3 ship_armor_cruiser_2 ship_armor_cruiser_1 } }
fixed_ship_secondaries_slot = empty
fixed_ship_role_slot = ship_hull_cruiser_role_c
fixed_ship_airplane_launcher_slot = ship_airplane_launcher
fixed_ship_extra_secondaries_slot = ship_aa_fire_control
front_1_custom_slot = ship_light_medium_battery
front_2_custom_slot = ship_anti_air
mid_1_custom_slot = ship_light_medium_battery
@@ -294,6 +297,8 @@ naval_cruiser_light = {
fixed_ship_armor_slot = { upgrade > current any_of = { ship_armor_cruiser_4 ship_armor_cruiser_3 ship_armor_cruiser_2 ship_armor_cruiser_1 } }
fixed_ship_secondaries_slot = empty
fixed_ship_role_slot = ship_hull_cruiser_role_c
fixed_ship_airplane_launcher_slot = ship_airplane_launcher
fixed_ship_extra_secondaries_slot = ship_aa_fire_control
front_1_custom_slot = ship_light_medium_battery
front_2_custom_slot = ship_anti_air
mid_1_custom_slot = ship_light_medium_battery

View File

@@ -439,7 +439,7 @@ naval_unit_role_ratios_GER_atwar = {
ai_strategy = {
type = role_ratio
id = vnr_naval_submarine
value = 500
value = 800
}
ai_strategy = {
@@ -475,7 +475,7 @@ naval_unit_role_ratios_GER_atwar_many_shipyard = {
ai_strategy = {
type = role_ratio
id = vnr_naval_submarine
value = 180
value = 1000
}
ai_strategy = {
@@ -723,7 +723,7 @@ naval_unit_role_ratios_ENG_prewar_early = {
}
ai_strategy = {
type = dockyard_to_military_factory_ratio
value = 30
value = 50
}
}
@@ -783,7 +783,7 @@ naval_unit_role_ratios_ENG_prewar_late = {
ai_strategy = {
type = dockyard_to_military_factory_ratio
value = 50
value = 90
}
}
@@ -829,7 +829,7 @@ naval_unit_role_ratios_ENG_atwar = {
ai_strategy = {
type = dockyard_to_military_factory_ratio
value = 65
value = 100
}
}
@@ -1324,7 +1324,7 @@ naval_unit_role_ratios_JAP_prewar_enough_carrier = {
}
ai_strategy = {
type = dockyard_to_military_factory_ratio
value = 30
value = 55
}
}
@@ -1374,7 +1374,7 @@ naval_unit_role_ratios_JAP_atwar = {
}
ai_strategy = {
type = dockyard_to_military_factory_ratio
value = 60
value = 90
}
}
@@ -1432,7 +1432,7 @@ naval_unit_role_ratios_JAP_late_peace = {
}
ai_strategy = {
type = dockyard_to_military_factory_ratio
value = 30
value = 100
}
}
@@ -1594,7 +1594,7 @@ naval_unit_role_ratios_USA_atwar = {
ai_strategy = {
type = dockyard_to_military_factory_ratio
value = 90
value = 150
}
}
@@ -1736,7 +1736,7 @@ naval_unit_role_ratios_ITA_atwar_with_England = {
}
ai_strategy = {
type = dockyard_to_military_factory_ratio
value = 40
value = 75
}
}
@@ -1793,7 +1793,7 @@ naval_unit_role_ratios_ITA_atwar_with_major = {
}
ai_strategy = {
type = dockyard_to_military_factory_ratio
value = 50
value = 90
}
}

View File

@@ -73,7 +73,7 @@ NDefines.NNavy.AGGRESSION_SETTINGS_VALUES = {
10000, -- I am death incarnate!
};
NDefines.NNavy.GUN_HIT_PROFILES = { -- hit profiles for guns, if target ih profile is lower the gun will have lower accuracy
80.0, -- big guns
75.0, -- big guns
105.0, -- torpedoes
45.0, -- small guns
};

View File

@@ -60,6 +60,7 @@ ENG_start_naval_variants = {
fixed_ship_deck_slot_1 = ship_deck_space
fixed_ship_anti_air_slot = ship_anti_air_1_h
fixed_ship_engine_slot = heavy_ship_engine_2
fixed_ship_radar_slot = carrier_no_island
fixed_ship_secondaries_slot = ship_secondaries_1
fixed_ship_armor_slot = ship_armor_cruiser_1
mid_1_custom_slot = ship_deck_space
@@ -1581,6 +1582,7 @@ JAP_start_naval_variants = {
fixed_ship_deck_slot_1 = ship_deck_space
fixed_ship_deck_slot_2 = ship_deck_space
fixed_ship_engine_slot = carrier_ship_engine_1
fixed_ship_radar_slot = carrier_no_island
fixed_ship_anti_air_slot = ship_anti_air_1
fixed_ship_secondaries_slot = dp_ship_secondaries_1_bb
}
@@ -1634,6 +1636,7 @@ JAP_start_naval_variants = {
fixed_ship_deck_slot_1 = ship_deck_space
fixed_ship_deck_slot_2 = ship_deck_space
fixed_ship_engine_slot = carrier_ship_engine_1
fixed_ship_radar_slot = carrier_no_island
fixed_ship_anti_air_slot = ship_anti_air_1
fixed_ship_secondaries_slot = empty
front_1_custom_slot = empty
@@ -1649,6 +1652,7 @@ JAP_start_naval_variants = {
fixed_ship_deck_slot_1 = ship_deck_space
fixed_ship_deck_slot_2 = empty
fixed_ship_engine_slot = carrier_ship_engine_1
fixed_ship_radar_slot = carrier_no_island
fixed_ship_anti_air_slot = ship_anti_air_1
fixed_ship_secondaries_slot = ship_secondaries_1
}
@@ -1773,8 +1777,8 @@ JAP_start_naval_variants = {
front_2_custom_slot = ship_heavy_battery_1
mid_1_custom_slot = ship_secondaries_1
mid_2_custom_slot = empty
mid_3_custom_slot = ship_airplane_launcher_1
rear_1_custom_slot = ship_heavy_battery_1
mid_3_custom_slot = ship_heavy_battery_1
rear_1_custom_slot = ship_airplane_launcher_1
rear_2_custom_slot = ship_heavy_battery_1
}
}
@@ -3485,7 +3489,7 @@ USA_start_naval_variants = {
fixed_ship_deck_slot_1 = ship_deck_space
fixed_ship_deck_slot_2 = empty
fixed_ship_anti_air_slot = empty
fixed_ship_radar_slot = empty
fixed_ship_radar_slot = carrier_no_island
fixed_ship_engine_slot = carrier_ship_engine_1
fixed_ship_secondaries_slot = empty
}

View File

@@ -13,7 +13,7 @@ delete_starting_naval_oob = {
special_project_workaround = {
USA = {
complete_special_project = {
project = sp:sp_naval_fleet_submarine
project = sp:sp_naval_cruiser_submarine
popup = no
}
}

View File

@@ -18,6 +18,21 @@ equipment_modules = {
surface_detection = 1
}
}
carrier_no_island = {
category = carrier_mast
gui_category = ship_radar
add_stats = {
build_cost_ic = -150
max_organisation = -0.1
}
multiply_stats = {
surface_detection = -0.1
surface_visibility = -0.01
naval_speed = 0.03
}
dismantle_cost_ic = 150
}
ship_radar_1 = {
abbreviation = "sbj"
category = ship_radar

View File

@@ -374,7 +374,7 @@ equipment_modules = {
add_stats = {
#naval_speed = 5
fuel_consumption = 15
build_cost_ic = 250
build_cost_ic = 500
reliability = -0.3
}
@@ -385,7 +385,7 @@ equipment_modules = {
}
can_convert_from = {
module_category = sub_ship_engine
convert_cost_ic = 350
convert_cost_ic = 450
}
}
sub_ship_engine_nuclear = {

View File

@@ -476,7 +476,7 @@ equipment_modules = {
sfx = sfx_ui_sd_module_turret
add_stats = {
torpedo_attack = 28
torpedo_attack = 26
build_cost_ic = 140
naval_torpedo_hit_chance_factor = 0.02
}
@@ -500,7 +500,7 @@ equipment_modules = {
sfx = sfx_ui_sd_module_turret
add_stats = {
torpedo_attack = 34
torpedo_attack = 30
sub_attack = 5
build_cost_ic = 180
naval_torpedo_hit_chance_factor = 0.025
@@ -786,8 +786,8 @@ equipment_modules = {
gfx = ship_airplane_launcher_1
add_stats = {
surface_detection = 4
sub_detection = 2.5
surface_detection = 2.5
sub_detection = 2
sub_attack = 1.5
build_cost_ic = 150
}
@@ -801,7 +801,7 @@ equipment_modules = {
gfx = ship_airplane_launcher_2
parent = ship_airplane_launcher_1
add_stats = {
surface_detection = 7
surface_detection = 5
sub_detection = 3.5
sub_attack = 2.5
build_cost_ic = 250
@@ -818,7 +818,7 @@ equipment_modules = {
category = ship_airplane_launcher
parent = ship_airplane_launcher_2
add_stats = {
surface_detection = 5
surface_detection = 3.5
sub_detection = 4.5
sub_attack = 6
build_cost_ic = 200
@@ -854,7 +854,7 @@ equipment_modules = {
category = sub_airplane_launcher
add_stats = {
surface_detection = 4
surface_detection = 2
naval_torpedo_hit_chance_factor = 0.01
build_cost_ic = 150
}
@@ -866,7 +866,7 @@ equipment_modules = {
category = sub_airplane_launcher
parent = sub_airplane_launcher_1
add_stats = {
surface_detection = 7
surface_detection = 4.5
naval_torpedo_hit_chance_factor = 0.02
hg_attack = 2
lg_attack = 1
@@ -1238,8 +1238,8 @@ equipment_modules = {
gui_category = cold_war_miscellaneous
multiply_stats = {
reliability = -0.1
armor_value = -0.2
max_strength = -0.1
armor_value = -0.3
max_strength = -0.3
naval_speed = 0.3
build_cost_ic = 0.2
}
@@ -1274,6 +1274,7 @@ equipment_modules = {
torpedo_attack = 50
naval_torpedo_hit_chance_factor = 0.015
reliability = -0.4
build_cost_ic = 1000
}
multiply_stats = {
naval_speed = -0.01

View File

@@ -40,7 +40,7 @@ equipments = {
}
fixed_ship_radar_slot = {
required = no
allowed_module_categories = { ship_radar }
allowed_module_categories = { carrier_mast ship_radar }
}
fixed_ship_engine_slot = {
required = yes
@@ -276,7 +276,7 @@ equipments = {
}
fixed_ship_radar_slot = {
required = no
allowed_module_categories = { ship_radar }
allowed_module_categories = { carrier_mast ship_radar }
}
fixed_ship_engine_slot = {
required = yes

View File

@@ -360,7 +360,21 @@ equipments = {
mid_1_custom_slot = inherit
mid_2_custom_slot = inherit
rear_1_custom_slot = inherit
rear_2_custom_slot = inherit
rear_2_custom_slot = {
required = no
allowed_module_categories = {
ship_torpedo
ship_mine_warfare
ship_mine_layer
ship_anti_air
ship_depth_charge
ship_light_battery
ship_light_battery_double
dp_light_battery
dp_light_battery_single
ship_airplane_launcher
}
}
}
@@ -482,7 +496,23 @@ equipments = {
ship_missile_aa
}
}
rear_2_custom_slot = mid_1_custom_slot
rear_2_custom_slot = {
required = no
allowed_module_categories = {
ship_torpedo
ship_mine_warfare
ship_mine_layer
ship_anti_air
ship_depth_charge
ship_light_battery
ship_light_battery_double
dp_light_battery
dp_light_battery_single
ship_airplane_launcher
ship_missile
ship_missile_aa
}
}
}