Adds Pochven as system class T

This commit is contained in:
soneill
2021-07-12 11:27:37 +12:00
parent cfef239b6b
commit 4b0213d456
6 changed files with 31 additions and 7 deletions

View File

@@ -363,7 +363,8 @@ class Setup extends Controller\Controller {
':regionIdJove3' => 10000004,
':ns' => '0.0',
':ls' => 'L',
':hs' => 'H'
':hs' => 'H',
':tr' => 'T'
];
if($length){

View File

@@ -788,6 +788,7 @@ class SystemModel extends AbstractMapTrackingModel {
case 'H':
case 'L':
case '0.0':
case 'T':
$typeId = 2; // k-space
break;
case 'A':

View File

@@ -185,6 +185,8 @@ abstract class AbstractUniverseModel extends AbstractModel {
$security = 'L';
}elseif($id == 9){
$security = '0.0';
}elseif($id == 25){
$security = 'T';
}
return $security;

View File

@@ -6,7 +6,7 @@
* proofed, signature names (copy & paste from scanning window)
*/
define([], () => {
define([], () => {
'use strict';
// signature sources
@@ -380,7 +380,8 @@ define([], () => {
7: 'B274 - H',
8: 'A239 - L',
9: 'E545 - 0.0',
10: 'F135 - C12 Thera'
10: 'F135 - C12 Thera',
11: 'F216 - T Pochven'
};
// all k-space exits are static or K162
@@ -394,7 +395,8 @@ define([], () => {
7: 'D845 - H',
8: 'U210 - L',
9: 'K346 - 0.0',
10: 'F135 - C12 Thera'
10: 'F135 - C12 Thera',
11: 'F216 - T Pochven'
};
// no *wandering* w-space -> w-space
@@ -483,7 +485,8 @@ define([], () => {
7: 'A641 - H',
8: 'R051 - L',
9: 'V283 - 0.0',
10: 'T458 - C12 Thera'
10: 'T458 - C12 Thera',
11: 'C729 - T Pochven'
};
let lsWH = {
@@ -496,7 +499,8 @@ define([], () => {
7: 'B449 - H',
8: 'N944 - L',
9: 'S199 - 0.0',
10: 'M164 - C12 Thera'
10: 'M164 - C12 Thera',
11: 'C729 - T Pochven'
};
let nullWH = {
@@ -509,7 +513,14 @@ define([], () => {
7: 'B449 - H',
8: 'N944 - L',
9: 'S199 - 0.0',
10: 'L031 - C12 Thera'
10: 'L031 - C12 Thera',
11: 'C729 - T Pochven',
12: 'U372 - T Pochven'
};
let pochWH = {
1: 'R081 - C4',
2: 'X450 - 0.0'
};
// ================================================================================================================
@@ -607,6 +618,9 @@ define([], () => {
},
32: { // 0.0
5: nullWH
},
33: { // Pochven
5: pochWH
}
}
};

View File

@@ -236,6 +236,9 @@ define([], () => {
'L': {
class: 'pf-system-sec-lowSec'
},
'T': {
class: 'pf-system-sec-triglav'
},
'0.0': {
class: 'pf-system-sec-nullSec'
},

View File

@@ -2375,6 +2375,9 @@ define([
case '0.0':
areaId = 32;
break;
case 'T':
areaId = 33;
break;
default:
// w-space
for(let i = 1; i <= 18; i++){