mirror of
https://github.com/Xevion/project-cybersyn.git
synced 2025-12-07 11:16:03 -06:00
api update
This commit is contained in:
6
.vscode/factorio/runtime-api-LuaFluidBox.lua
vendored
6
.vscode/factorio/runtime-api-LuaFluidBox.lua
vendored
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user