Compare commits

..

No commits in common. "6de1a8f1c770a3bb4acb1f26ec1a7cad1b206359" and "bf7d05e3beaddd4687907dcff9f1615d77ebe3d7" have entirely different histories.

2 changed files with 0 additions and 18 deletions

View file

@ -57,11 +57,4 @@ function Item:itemsPerRocket(count)
return self return self
end 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 return Item

View file

@ -187,17 +187,6 @@ function Recipe:removeResult(resultName)
return self return self
end end
--- Adds an additional crafting category
--- @param categoryName string The name of the crafting category
function Recipe:addCategory(categoryName)
local categories = self.prototype.additional_categories or {}
self.prototype.additional_categories = categories
if not table.contains(categories, categoryName) then
table.insert(categories, categoryName)
end
return self
end
--- Adds the recipe to a technology --- Adds the recipe to a technology
--- @param technology string|table The name of the technology or the technology table --- @param technology string|table The name of the technology or the technology table
function Recipe:unlockedByTechnology(technology) function Recipe:unlockedByTechnology(technology)