- Added COHORTs and LEGIONs to database
This commit is contained in:
Frank
2026-06-05 22:50:52 +02:00
parent 3d1dcd78a3
commit 599a2ba6fb
3 changed files with 41 additions and 0 deletions
+3
View File
@@ -318,6 +318,9 @@ function COHORT:New(TemplateGroupName, Ngroups, CohortName)
-- @param #string Event Event.
-- @param #string To To state.
-- Add cohort to DB
_DATABASE:AddCohort(self)
return self
end
+2
View File
@@ -306,6 +306,8 @@ function LEGION:New(WarehouseName, LegionName)
-- @param Ops.Cohort#COHORT Cohort The cohort the asset belongs to.
-- @param Functional.Warehouse#WAREHOUSE.Assetitem Asset The asset that returned.
-- Add legion to DB
_DATABASE:AddLegion(self)
return self
end