This commit is contained in:
FlightControl
2017-07-06 21:47:02 +02:00
parent 70f48a3d53
commit edb53013b2
4 changed files with 23 additions and 25 deletions

View File

@@ -708,6 +708,12 @@ function POSITIONABLE:HasCargo( Cargo )
return self.__.Cargo[Cargo]
end
--- Clear all cargo.
-- @param #POSITIONABLE self
function POSITIONABLE:ClearCargo()
self.__.Cargo = {}
end
--- Get cargo item count.
-- @param #POSITIONABLE self
-- @return Core.Cargo#CARGO Cargo