mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-09 22:55:35 +00:00
Issue 703 edomh integration (#7)
* Adds valid module checking to all types of modules on import * Adds the Advanced MC's, AX MC's, AX MR's and Nanite Torpedo * Changes as per comments on the PR * Modified export to EDOMH/EDEngineer page to be less 'bodged', allow EDOMH button to be clickable without checking for EDEngineer API (If they have EDOMH, they probably don't have EDEngineer...) and added a workaround for Coriolis sending bogus data for bulkheads. --------- Co-authored-by: David Sangrey <davidsangrey@gmail.com> Co-authored-by: Felix Linker <linkerfelix@gmail.com>
This commit is contained in:
@@ -340,6 +340,7 @@ export default class AvailableModulesMenu extends TranslatedComponent {
|
||||
disabled = 1 <= ship.internal.filter(o => o.m && o.m.grp === 'mlc').length;
|
||||
}
|
||||
let active = mountedModule && mountedModule.id === m.id;
|
||||
|
||||
let classes = cn(m.name ? 'lc' : 'c', {
|
||||
warning: !disabled && warningFunc && warningFunc(m),
|
||||
active,
|
||||
|
||||
@@ -205,7 +205,6 @@ export default class ModalShoppingList extends TranslatedComponent {
|
||||
else {
|
||||
item = module.m.symbol;
|
||||
}
|
||||
console.log(module.m)
|
||||
|
||||
blueprints.push({
|
||||
"item": item,
|
||||
|
||||
Reference in New Issue
Block a user