Skip to content

Commit

Permalink
[Minor] Add Mandalay, Update Coriolis Modules
Browse files Browse the repository at this point in the history
  • Loading branch information
Rixxan committed Dec 20, 2024
1 parent 340b6a0 commit cac792b
Show file tree
Hide file tree
Showing 4 changed files with 132 additions and 4 deletions.
4 changes: 0 additions & 4 deletions coriolis-update-files.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,6 @@ def add(modules, name, attributes) -> None:
add(modules, 'int_stellarbodydiscoveryscanner_intermediate', {'mass': 2})
add(modules, 'int_stellarbodydiscoveryscanner_advanced', {'mass': 2})

# Missing
add(modules, 'hpt_multicannon_fixed_small_advanced', {'mass': 2})
add(modules, 'hpt_multicannon_fixed_medium_advanced', {'mass': 4})

modules = {k: modules[k] for k in sorted(modules)}
with open("modules.json", "w") as modules_file:
json.dump(modules, modules_file, indent=4)
3 changes: 3 additions & 0 deletions edmc_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,9 @@
'hpt_mininglaser_turret_small': 'D',
'hpt_mininglaser_turret_medium': 'D',
'hpt_multicannon_fixed_small': 'F',
'hpt_multicannon_fixed_small_advanced': 'F',
'hpt_multicannon_fixed_medium': 'E',
'hpt_multicannon_fixed_medium_advanced': 'E',
'hpt_multicannon_fixed_large': 'C',
'hpt_multicannon_fixed_huge': 'A',
'hpt_multicannon_gimbal_small': 'G',
Expand Down Expand Up @@ -499,6 +501,7 @@
'krait_mkii': 'Krait MkII',
'krait_light': 'Krait Phantom',
'mamba': 'Mamba',
'mandalay': 'Mandalay',
'orca': 'Orca',
'python': 'Python',
'python_nx': 'Python Mk II',
Expand Down
121 changes: 121 additions & 0 deletions modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -332,27 +332,63 @@
"hpt_atdumbfiremissile_fixed_large": {
"mass": 8
},
"hpt_atdumbfiremissile_fixed_large_v2": {
"mass": 8
},
"hpt_atdumbfiremissile_fixed_medium": {
"mass": 4
},
"hpt_atdumbfiremissile_fixed_medium_v2": {
"mass": 4
},
"hpt_atdumbfiremissile_turret_large": {
"mass": 8
},
"hpt_atdumbfiremissile_turret_large_v2": {
"mass": 8
},
"hpt_atdumbfiremissile_turret_medium": {
"mass": 4
},
"hpt_atdumbfiremissile_turret_medium_v2": {
"mass": 4
},
"hpt_atmulticannon_fixed_large": {
"mass": 8
},
"hpt_atmulticannon_fixed_large_v2": {
"mass": 8
},
"hpt_atmulticannon_fixed_medium": {
"mass": 4
},
"hpt_atmulticannon_fixed_medium_v2": {
"mass": 4
},
"hpt_atmulticannon_gimbal_large": {
"mass": 8
},
"hpt_atmulticannon_gimbal_medium": {
"mass": 4
},
"hpt_atmulticannon_turret_large": {
"mass": 8
},
"hpt_atmulticannon_turret_large_v2": {
"mass": 8
},
"hpt_atmulticannon_turret_medium": {
"mass": 4
},
"hpt_atmulticannon_turret_medium_v2": {
"mass": 4
},
"hpt_atventdisruptorpylon_fixed_large": {
"mass": 5
},
"hpt_atventdisruptorpylon_fixed_medium": {
"mass": 3
},
"hpt_basicmissilerack_fixed_large": {
"mass": 8
},
Expand Down Expand Up @@ -419,6 +455,9 @@
"hpt_cannon_gimbal_medium": {
"mass": 4
},
"hpt_cannon_gimbal_medium_burst": {
"mass": 4
},
"hpt_cannon_gimbal_small": {
"mass": 2
},
Expand Down Expand Up @@ -614,6 +653,12 @@
"hpt_mininglaser_turret_small": {
"mass": 2
},
"hpt_missing_hardpoint": {
"mass": 0
},
"hpt_missing_utility": {
"mass": 0
},
"hpt_mrascanner_size0_class1": {
"mass": 1.3
},
Expand Down Expand Up @@ -914,6 +959,12 @@
"int_corrosionproofcargorack_size4_class1": {
"mass": 0
},
"int_corrosionproofcargorack_size5_class1": {
"mass": 0
},
"int_corrosionproofcargorack_size6_class1": {
"mass": 0
},
"int_detailedsurfacescanner_tiny": {
"mass": 0
},
Expand Down Expand Up @@ -2370,6 +2421,34 @@
"int_metaalloyhullreinforcement_size5_class2": {
"mass": 16
},
"int_missing_engine": {
"mass": 0
},
"int_missing_fueltank": {
"mass": 0
},
"int_missing_hyperdrive": {
"mass": 0,
"optmass": 0,
"maxfuel": 0,
"fuelmul": 0,
"fuelpower": 0
},
"int_missing_lifesupport": {
"mass": 0
},
"int_missing_module": {
"mass": 0
},
"int_missing_powerdistributor": {
"mass": 0
},
"int_missing_powerplant": {
"mass": 0
},
"int_missing_sensors": {
"mass": 0
},
"int_modulereinforcement_size1_class1": {
"mass": 2
},
Expand Down Expand Up @@ -2475,6 +2554,9 @@
"int_planetapproachsuite": {
"mass": 0
},
"int_planetapproachsuite_advanced": {
"mass": 0
},
"int_powerdistributor_size1_class1": {
"mass": 1.3
},
Expand Down Expand Up @@ -3120,6 +3202,15 @@
"int_shieldcellbank_size8_class5": {
"mass": 160
},
"int_shieldgenerator_size1_class1": {
"mass": 1.3
},
"int_shieldgenerator_size1_class2": {
"mass": 0.5
},
"int_shieldgenerator_size1_class3": {
"mass": 1.3
},
"int_shieldgenerator_size1_class3_fast": {
"mass": 1.3
},
Expand Down Expand Up @@ -3333,6 +3424,21 @@
"mamba_armour_reactive": {
"mass": 38
},
"mandalay_armour_grade1": {
"mass": 0
},
"mandalay_armour_grade2": {
"mass": 32
},
"mandalay_armour_grade3": {
"mass": 63
},
"mandalay_armour_mirrored": {
"mass": 63
},
"mandalay_armour_reactive": {
"mass": 63
},
"orca_armour_grade1": {
"mass": 0
},
Expand Down Expand Up @@ -3423,6 +3529,21 @@
"type7_armour_reactive": {
"mass": 63
},
"type8_armour_grade1": {
"mass": 0
},
"type8_armour_grade2": {
"mass": 32
},
"type8_armour_grade3": {
"mass": 63
},
"type8_armour_mirrored": {
"mass": 63
},
"type8_armour_reactive": {
"mass": 63
},
"type9_armour_grade1": {
"mass": 0
},
Expand Down
8 changes: 8 additions & 0 deletions ships.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@
"hullMass": 250,
"reserveFuelCapacity": 0.5
},
"Mandalay": {
"hullMass": 230,
"reserveFuelCapacity": 0.52
},
"Orca": {
"hullMass": 290,
"reserveFuelCapacity": 0.79
Expand Down Expand Up @@ -139,6 +143,10 @@
"hullMass": 350,
"reserveFuelCapacity": 0.52
},
"Type-8 Transporter": {
"hullMass": 400,
"reserveFuelCapacity": 0.52
},
"Type-9 Heavy": {
"hullMass": 850,
"reserveFuelCapacity": 0.77
Expand Down

0 comments on commit cac792b

Please sign in to comment.