Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Update coriolis-data to current master Ref, Regenerate Modules.json / Ships.json #2346

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion coriolis-data
Submodule coriolis-data updated 102 files
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)
2 changes: 2 additions & 0 deletions edmc_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,7 @@
'belugaliner': 'Beluga Liner',
'cobramkiii': 'Cobra MkIII',
'cobramkiv': 'Cobra MkIV',
'cobramkv': 'Cobra MkV',
'clipper': 'Panther Clipper',
'cutter': 'Imperial Cutter',
'diamondback': 'Diamondback Scout',
Expand All @@ -499,6 +500,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