diff --git a/cf-lib/data/Item.lua b/cf-lib/data/Item.lua index 1cfffcf..5934a72 100644 --- a/cf-lib/data/Item.lua +++ b/cf-lib/data/Item.lua @@ -57,4 +57,11 @@ function Item:itemsPerRocket(count) return self end +--- Sets the default import location for space platforms +--- @param planetName string The name of the planet +function Item:defaultImportLocation(planetName) + self.prototype.default_import_location = planetName + return self +end + return Item \ No newline at end of file