Version 0.96

rndZone, pulseZone
This commit is contained in:
Christian Franz
2022-01-27 18:25:58 +01:00
parent bcf319b0df
commit 46193f0ba3
16 changed files with 955 additions and 47 deletions

View File

@@ -1,5 +1,5 @@
cargoSuper = {}
cargoSuper.version = "1.1.0"
cargoSuper.version = "1.1.1"
--[[--
version history
1.0.0 - initial version
@@ -13,6 +13,7 @@ version history
- getAllCategoriesFor alias for getAllCargos
- getManifestForCategory alias for getManifestFor
- removeAllMassFor()
1.1.1 - deleteMassObject corrected index bug
CargoSuper manages weigth for a logical named unit. Weight can be added
to arbitrary categories like 'passengers', 'cargo' or "whatever". In order
@@ -68,7 +69,7 @@ function cargoSuper.deleteMassObject(massObject)
else
theName = massObject.name
end
cargoSuper.massObjects[massName] = nil
cargoSuper.massObjects[theName] = nil -- 1.1.1 corrected to theName from massName
end
function cargoSuper.addMassObjectTo(name, category, theMassObject)