mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-09 06:43:24 +00:00
Merge branch 'develop'
This commit is contained in:
@@ -16,6 +16,7 @@ import ModalPermalink from './components/ModalPermalink';
|
|||||||
import * as CompanionApiUtils from './utils/CompanionApiUtils';
|
import * as CompanionApiUtils from './utils/CompanionApiUtils';
|
||||||
import * as JournalUtils from './utils/JournalUtils';
|
import * as JournalUtils from './utils/JournalUtils';
|
||||||
import NotFoundPage from './pages/NotFoundPage';
|
import NotFoundPage from './pages/NotFoundPage';
|
||||||
|
import ShipyardPage from './pages/ShipyardPage';
|
||||||
import ErrorDetails from './pages/ErrorDetails';
|
import ErrorDetails from './pages/ErrorDetails';
|
||||||
|
|
||||||
const zlib = require('pako');
|
const zlib = require('pako');
|
||||||
@@ -69,12 +70,7 @@ export default class Coriolis extends React.Component {
|
|||||||
sizeRatio: Persist.getSizeRatio()
|
sizeRatio: Persist.getSizeRatio()
|
||||||
};
|
};
|
||||||
this._getAnnouncements();
|
this._getAnnouncements();
|
||||||
Router('', (r) => {
|
Router('', (r) => this._setPage(ShipyardPage, r));
|
||||||
return import(/* webpackChunkName: "shipyard" */ './pages/ShipyardPage')
|
|
||||||
.then(ShipyardPage => {
|
|
||||||
return this._setPage(ShipyardPage.default, r);
|
|
||||||
})
|
|
||||||
});
|
|
||||||
Router('/import?', (r) => this._importBuild(r));
|
Router('/import?', (r) => this._importBuild(r));
|
||||||
Router('/import/:data', (r) => this._importBuild(r));
|
Router('/import/:data', (r) => this._importBuild(r));
|
||||||
Router('/outfit/?', (r) => {
|
Router('/outfit/?', (r) => {
|
||||||
|
|||||||
@@ -109,7 +109,7 @@ const CATEGORIES = {
|
|||||||
// Guardian
|
// Guardian
|
||||||
'guardian': ['gpp', 'gpd', 'gpc', 'ggc', 'gsrp', 'gfsb', 'ghrp', 'gmrp', 'gsc'],
|
'guardian': ['gpp', 'gpd', 'gpc', 'ggc', 'gsrp', 'gfsb', 'ghrp', 'gmrp', 'gsc'],
|
||||||
|
|
||||||
'mining': ['ml', 'scl', 'pwa', 'sdm'],
|
'mining': ['ml', 'scl', 'pwa', 'sdm', 'abl'],
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -133,6 +133,7 @@
|
|||||||
"ghrp": "Guardian Hull Reinforcement Package",
|
"ghrp": "Guardian Hull Reinforcement Package",
|
||||||
"gmrp": "Guardian Module Reinforcement Package",
|
"gmrp": "Guardian Module Reinforcement Package",
|
||||||
"pwa": "Pulse Wave Analyser",
|
"pwa": "Pulse Wave Analyser",
|
||||||
|
"abl": "Abrasion Blaster",
|
||||||
"scl": "Seismic Charge Launcher",
|
"scl": "Seismic Charge Launcher",
|
||||||
"sdm": "Sub-Surface Displacement Missile",
|
"sdm": "Sub-Surface Displacement Missile",
|
||||||
"tbsc": "Shock Cannon",
|
"tbsc": "Shock Cannon",
|
||||||
|
|||||||
@@ -95,6 +95,7 @@ export const ModuleGroupToName = {
|
|||||||
tbem: 'Enzyme Missile Rack',
|
tbem: 'Enzyme Missile Rack',
|
||||||
tbrfl: 'Remote Release Flechette Launcher',
|
tbrfl: 'Remote Release Flechette Launcher',
|
||||||
pwa: 'Pulse Wave Analyser',
|
pwa: 'Pulse Wave Analyser',
|
||||||
|
abl: 'Abrasion Blaster',
|
||||||
scl: 'Seismic Charge Launcher',
|
scl: 'Seismic Charge Launcher',
|
||||||
sdm: 'Sub-Surface Displacement Missile',
|
sdm: 'Sub-Surface Displacement Missile',
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user