This commit is contained in:
Applevangelist 2024-03-05 16:39:08 +01:00
parent 7a19a81985
commit a51329d3e7
2 changed files with 2 additions and 2 deletions

View File

@ -160,7 +160,7 @@ AI_CARGO_DISPATCHER_SHIP = {
-- local SetPickupZones = SET_ZONE:New():FilterPrefixes( "Pickup" ):FilterStart() -- local SetPickupZones = SET_ZONE:New():FilterPrefixes( "Pickup" ):FilterStart()
-- local SetDeployZones = SET_ZONE:New():FilterPrefixes( "Deploy" ):FilterStart() -- local SetDeployZones = SET_ZONE:New():FilterPrefixes( "Deploy" ):FilterStart()
-- NEED MORE THOUGHT - ShippingLane is part of Warehouse....... -- NEED MORE THOUGHT - ShippingLane is part of Warehouse.......
-- local ShippingLane = GROUP:New():FilterPrefixes( "ShippingLane" ):FilterStart() -- local ShippingLane = SET_GROUP:New():FilterPrefixes( "ShippingLane" ):FilterOnce():GetSetObjects()
-- --
-- AICargoDispatcherShip = AI_CARGO_DISPATCHER_SHIP:New( SetShip, SetCargoInfantry, SetPickupZones, SetDeployZones, ShippingLane ) -- AICargoDispatcherShip = AI_CARGO_DISPATCHER_SHIP:New( SetShip, SetCargoInfantry, SetPickupZones, SetDeployZones, ShippingLane )
-- AICargoDispatcherShip:Start() -- AICargoDispatcherShip:Start()

View File

@ -598,7 +598,7 @@ do -- CARGO_GROUP
end end
--- Get the amount of cargo units in the group. --- Get the underlying GROUP object from the CARGO_GROUP.
-- @param #CARGO_GROUP self -- @param #CARGO_GROUP self
-- @return #CARGO_GROUP -- @return #CARGO_GROUP
function CARGO_GROUP:GetGroup( Cargo ) function CARGO_GROUP:GetGroup( Cargo )