mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-08 22:33:24 +00:00
Updates for 2.3
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
#2.3.0
|
||||||
|
* Add 2.3 diminishing returns on shield value
|
||||||
|
* Make scan time visible on scanners where available
|
||||||
|
|
||||||
#2.2.19
|
#2.2.19
|
||||||
* Power management panel now displays modules in descending order of power usage by default
|
* Power management panel now displays modules in descending order of power usage by default
|
||||||
* Shot speed can no longer be modified directly. Its value is derived from the range modifier for Long Range and Focused modifications
|
* Shot speed can no longer be modified directly. Its value is derived from the range modifier for Long Range and Focused modifications
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "coriolis_shipyard",
|
"name": "coriolis_shipyard",
|
||||||
"version": "2.2.19",
|
"version": "2.3.0b",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/EDCD/coriolis"
|
"url": "https://github.com/EDCD/coriolis"
|
||||||
|
|||||||
@@ -41,6 +41,8 @@ const GRPCAT = {
|
|||||||
'mr': 'ordnance',
|
'mr': 'ordnance',
|
||||||
'tp': 'ordnance',
|
'tp': 'ordnance',
|
||||||
'nl': 'ordnance',
|
'nl': 'ordnance',
|
||||||
|
'sc': 'scanners',
|
||||||
|
'ss': 'scanners',
|
||||||
// Utilities
|
// Utilities
|
||||||
'cs': 'scanners',
|
'cs': 'scanners',
|
||||||
'kw': 'scanners',
|
'kw': 'scanners',
|
||||||
@@ -60,7 +62,6 @@ const CATEGORIES = {
|
|||||||
'limpet controllers': ['cc', 'fx', 'hb', 'pc'],
|
'limpet controllers': ['cc', 'fx', 'hb', 'pc'],
|
||||||
'passenger cabins': ['pce', 'pci', 'pcm', 'pcq'],
|
'passenger cabins': ['pce', 'pci', 'pcm', 'pcq'],
|
||||||
'rf': ['rf'],
|
'rf': ['rf'],
|
||||||
'sc': ['sc'],
|
|
||||||
'shields': ['sg', 'bsg', 'psg', 'scb'],
|
'shields': ['sg', 'bsg', 'psg', 'scb'],
|
||||||
'structural reinforcement': ['hr', 'mrp'],
|
'structural reinforcement': ['hr', 'mrp'],
|
||||||
'dc': ['dc'],
|
'dc': ['dc'],
|
||||||
@@ -72,7 +73,7 @@ const CATEGORIES = {
|
|||||||
'sb': ['sb'],
|
'sb': ['sb'],
|
||||||
'hs': ['hs'],
|
'hs': ['hs'],
|
||||||
'defence': ['ch', 'po', 'ec'],
|
'defence': ['ch', 'po', 'ec'],
|
||||||
'scanners': ['cs', 'kw', 'ws'],
|
'scanners': ['sc', 'ss', 'cs', 'kw', 'ws'], // Overloaded with internal scanners
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -75,6 +75,7 @@ export default class HardpointSlot extends Slot {
|
|||||||
{ m.getDps() && m.getEps() ? <div className={'l'} onMouseOver={termtip.bind(null, 'dpe')} onMouseOut={tooltip.bind(null, null)}>{translate('DPE')}: {formats.f1(m.getDps() / m.getEps())}</div> : null }
|
{ m.getDps() && m.getEps() ? <div className={'l'} onMouseOver={termtip.bind(null, 'dpe')} onMouseOut={tooltip.bind(null, null)}>{translate('DPE')}: {formats.f1(m.getDps() / m.getEps())}</div> : null }
|
||||||
{ m.getRoF() ? <div className={'l'} onMouseOver={termtip.bind(null, 'rof')} onMouseOut={tooltip.bind(null, null)}>{translate('ROF')}: {formats.f1(m.getRoF())}{u.ps}</div> : null }
|
{ m.getRoF() ? <div className={'l'} onMouseOver={termtip.bind(null, 'rof')} onMouseOut={tooltip.bind(null, null)}>{translate('ROF')}: {formats.f1(m.getRoF())}{u.ps}</div> : null }
|
||||||
{ m.getRange() ? <div className={'l'}>{translate('range')} {formats.f1(m.getRange() / 1000)}{u.km}</div> : null }
|
{ m.getRange() ? <div className={'l'}>{translate('range')} {formats.f1(m.getRange() / 1000)}{u.km}</div> : null }
|
||||||
|
{ m.getScanTime() ? <div className={'l'}>{translate('scantime')} {formats.f1(m.getScanTime())}{u.s}</div> : null }
|
||||||
{ m.getFalloff() ? <div className={'l'}>{translate('falloff')} {formats.round(m.getFalloff() / 1000)}{u.km}</div> : null }
|
{ m.getFalloff() ? <div className={'l'}>{translate('falloff')} {formats.round(m.getFalloff() / 1000)}{u.km}</div> : null }
|
||||||
{ m.getShieldBoost() ? <div className={'l'}>+{formats.pct1(m.getShieldBoost())}</div> : null }
|
{ m.getShieldBoost() ? <div className={'l'}>+{formats.pct1(m.getShieldBoost())}</div> : null }
|
||||||
{ m.getAmmo() ? <div className={'l'}>{translate('ammunition')}: {formats.int(m.getClip())}/{formats.int(m.getAmmo())}</div> : null }
|
{ m.getAmmo() ? <div className={'l'}>{translate('ammunition')}: {formats.int(m.getClip())}/{formats.int(m.getAmmo())}</div> : null }
|
||||||
|
|||||||
@@ -88,9 +88,10 @@ export const terms = {
|
|||||||
rg: 'Rail Gun',
|
rg: 'Rail Gun',
|
||||||
s: 'Sensors',
|
s: 'Sensors',
|
||||||
sb: 'Shield Booster',
|
sb: 'Shield Booster',
|
||||||
sc: 'Scanner',
|
sc: 'Stellar Scanners',
|
||||||
scb: 'Shield Cell Bank',
|
scb: 'Shield Cell Bank',
|
||||||
sg: 'Shield Generator',
|
sg: 'Shield Generator',
|
||||||
|
ss: 'Surface Scanners',
|
||||||
t: 'thrusters',
|
t: 'thrusters',
|
||||||
tp: 'Torpedo Pylon',
|
tp: 'Torpedo Pylon',
|
||||||
ul: 'Burst Laser',
|
ul: 'Burst Laser',
|
||||||
@@ -177,6 +178,9 @@ export const terms = {
|
|||||||
regen: 'Regeneration rate',
|
regen: 'Regeneration rate',
|
||||||
reload: 'Reload',
|
reload: 'Reload',
|
||||||
rof: 'Rate of fire',
|
rof: 'Rate of fire',
|
||||||
|
scanangle: 'Scan angle',
|
||||||
|
scanrange: 'Scan range',
|
||||||
|
scantime: 'Scan time',
|
||||||
shield: 'Shield',
|
shield: 'Shield',
|
||||||
shieldboost: 'Shield boost',
|
shieldboost: 'Shield boost',
|
||||||
shieldreinforcement: 'Shield reinforcement',
|
shieldreinforcement: 'Shield reinforcement',
|
||||||
|
|||||||
@@ -344,6 +344,14 @@ export default class Module {
|
|||||||
return this._getModifiedValue('ranget');
|
return this._getModifiedValue('ranget');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the scan time for this module, taking in to account modifications
|
||||||
|
* @return {Number} the scan time of this module
|
||||||
|
*/
|
||||||
|
getScanTime() {
|
||||||
|
return this._getModifiedValue('scantime');
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the capture arc for this module, taking in to account modifications
|
* Get the capture arc for this module, taking in to account modifications
|
||||||
* @return {Number} the capture arc of this module
|
* @return {Number} the capture arc of this module
|
||||||
|
|||||||
@@ -1258,8 +1258,7 @@ export default class Ship {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// We apply diminishing returns to the boosted value
|
// We apply diminishing returns to the boosted value
|
||||||
// (no we don't; FD pulled back on this idea. But leave this here in case they reinstate it)
|
shieldBoost = Math.min(shieldBoost, (1 - Math.pow(Math.E, -0.7 * shieldBoost)) * 2.5);
|
||||||
// shieldBoost = Math.min(shieldBoost, (1 - Math.pow(Math.E, -0.7 * shieldBoost)) * 2.5);
|
|
||||||
|
|
||||||
shield = shield * shieldBoost;
|
shield = shield * shieldBoost;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user