Updated Moose.lua

This commit is contained in:
funkyfranky
2022-10-14 16:09:51 +00:00
parent c7825692a2
commit 1bea4708c1
890 changed files with 22400 additions and 16860 deletions

View File

@@ -1,25 +1,25 @@
---
-- Name: CGO-102 - Group Unboarding
-- Author: FlightControl
-- Date Created: 13 Apr 2017
--
-- # Situation:
--
-- A cargo group called Infantry with Engineers is unboarding the Carrier "Carrier".
--
-- # Test cases:
--
-- 1. Observe that the cargo is unboarding.
--
local InfantryGroup = GROUP:FindByName( "Infantry" )
local InfantryCargo = CARGO_GROUP:New( InfantryGroup, "Engineers", "Infantry Engineers", 2000 )
local CargoCarrier = UNIT:FindByName( "Carrier" )
-- This will Load immediately the Cargo into the Carrier, regardless where the Cargo is.
InfantryCargo:Load( CargoCarrier )
-- This will Unboard the Cargo from the Carrier.
---
-- Name: CGO-102 - Group Unboarding
-- Author: FlightControl
-- Date Created: 13 Apr 2017
--
-- # Situation:
--
-- A cargo group called Infantry with Engineers is unboarding the Carrier "Carrier".
--
-- # Test cases:
--
-- 1. Observe that the cargo is unboarding.
--
local InfantryGroup = GROUP:FindByName( "Infantry" )
local InfantryCargo = CARGO_GROUP:New( InfantryGroup, "Engineers", "Infantry Engineers", 2000 )
local CargoCarrier = UNIT:FindByName( "Carrier" )
-- This will Load immediately the Cargo into the Carrier, regardless where the Cargo is.
InfantryCargo:Load( CargoCarrier )
-- This will Unboard the Cargo from the Carrier.
InfantryCargo:UnBoard()