Tweaks supporting standard modules schema changes

This commit is contained in:
Colin McLeod
2016-02-17 17:52:58 -08:00
parent 9175fb60af
commit 05e160f702
12 changed files with 111 additions and 98 deletions

View File

@@ -9,6 +9,16 @@ export const ArmourMultiplier = [
export const SizeMap = ['', 'small', 'medium', 'large', 'capital'];
export const StandardArray = [
'pp', // Power Plant
't', // Thrusters
'fsd', // Frame Shift Drive
'ls', // Life Support
'pd', // Power Distributor
's', // Sensors
'ft', // Fuel Tank
];
// Map to lookup group labels/names for component grp, used for JSON Serialization
export const ModuleGroupToName = {
// Standard
@@ -19,6 +29,7 @@ export const ModuleGroupToName = {
pd: 'Power Distributor',
s: 'Sensors',
ft: 'Fuel Tank',
pas: 'Planetary Approach Suite',
// Internal
fs: 'Fuel Scoop',