mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-10 07:05:35 +00:00
Adding more outiftting sub section menu options
This commit is contained in:
@@ -230,11 +230,19 @@ angular.module('app').controller('OutfitController', ['$window', '$rootScope', '
|
||||
updateState(Serializer.fromShip(ship.useCommon(rating)));
|
||||
};
|
||||
|
||||
$scope.useHardpoint = function(group, mount) {
|
||||
updateState(Serializer.fromShip(ship.useWeapon(group, mount)));
|
||||
};
|
||||
|
||||
$scope.useUtility = function(group, rating) {
|
||||
updateState(Serializer.fromShip(ship.useUtility(group, rating)));
|
||||
};
|
||||
|
||||
$scope.emptyInternal = function() {
|
||||
updateState(Serializer.fromShip(ship.emptyInternal()));
|
||||
};
|
||||
|
||||
$scope.emptyWeapons = function() {
|
||||
$scope.emptyHardpoints = function() {
|
||||
updateState(Serializer.fromShip(ship.emptyWeapons()));
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user