api update

This commit is contained in:
Monica Moniot
2022-10-28 14:40:49 -04:00
parent 4887e3925d
commit d2bb9e2523
113 changed files with 432 additions and 222 deletions

View File

@@ -1,7 +1,7 @@
---@meta
---@diagnostic disable
--$Factorio 1.1.69
--$Factorio 1.1.70
--$Overlay 5
--$Section LuaFluidBox
-- This file is automatically generated. Edits will be overwritten.
@@ -41,7 +41,7 @@
---[View documentation](https://lua-api.factorio.com/latest/LuaFluidBox.html#LuaFluidBox.length)
---@operator len: uint
---[R]
---Access, set or clear a fluid box. The index must always be in bounds (see [LuaFluidBox::index](https://lua-api.factorio.com/latest/LuaFluidBox.html#LuaFluidBox.index)). New fluidboxes may not be added or removed using this operator.
---Access, set or clear a fluid box. The index must always be in bounds (see [LuaFluidBox::length_operator](https://lua-api.factorio.com/latest/LuaFluidBox.html#LuaFluidBox.length_operator)). New fluidboxes may not be added or removed using this operator.
---
---Is `nil` if the given fluid box does not contain any fluid. Writing `nil` removes all fluid from the fluid box.
---
@@ -110,7 +110,7 @@ help=function()end,
---
---[View documentation](https://lua-api.factorio.com/latest/LuaFluidBox.html#LuaFluidBox.set_filter)
---@param index uint@The index of the filter to set.
---@param filter FluidBoxFilterSpec?@The filter to set. Setting `nil` clears the filter.
---@param filter FluidBoxFilterSpec|nil@The filter to set. Setting `nil` clears the filter.
---@return boolean@Whether the filter was set successfully.
set_filter=function(index,filter)end,
}