mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-10 07:05:35 +00:00
Extend PD Boost warning to PP Retracted power (TODO: extend to two-stage warning for DEP/RET)
This commit is contained in:
@@ -392,6 +392,10 @@ angular.module('app').controller('OutfitController', ['$window', '$rootScope', '
|
||||
$scope.costTab = tab;
|
||||
};
|
||||
|
||||
$scope.ppWarning = function(pp) {
|
||||
return pp.pGen < ship.powerRetracted;
|
||||
}
|
||||
|
||||
$scope.pdWarning = function(pd) {
|
||||
return pd.enginecapacity < ship.boostEnergy;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user