mirror of
https://github.com/Xevion/project-cybersyn.git
synced 2026-02-01 04:25:25 -06:00
updated api
This commit is contained in:
+8
-2
@@ -1,7 +1,7 @@
|
||||
---@meta
|
||||
---@diagnostic disable
|
||||
|
||||
--$Factorio 1.1.70
|
||||
--$Factorio 1.1.72
|
||||
--$Overlay 5
|
||||
--$Section LuaInventory
|
||||
-- This file is automatically generated. Edits will be overwritten.
|
||||
@@ -89,8 +89,9 @@ clear=function()end,
|
||||
---
|
||||
---[View documentation](https://lua-api.factorio.com/latest/LuaInventory.html#LuaInventory.count_empty_stacks)
|
||||
---@param include_filtered boolean?@If true, filtered slots will be included. Defaults to false.
|
||||
---@param include_bar boolean?@If true, slots blocked by the current bar will be included. Defaults to true.
|
||||
---@return uint
|
||||
count_empty_stacks=function(include_filtered)end,
|
||||
count_empty_stacks=function(include_filtered,include_bar)end,
|
||||
---Destroys this inventory.
|
||||
---
|
||||
---**Note:** Only inventories created by [LuaGameScript::create_inventory](https://lua-api.factorio.com/latest/LuaGameScript.html#LuaGameScript.create_inventory) can be destroyed this way.
|
||||
@@ -167,6 +168,11 @@ is_empty=function()end,
|
||||
---[View documentation](https://lua-api.factorio.com/latest/LuaInventory.html#LuaInventory.is_filtered)
|
||||
---@return boolean
|
||||
is_filtered=function()end,
|
||||
---Is every stack in this inventory full? Ignores stacks blocked by the current bar.
|
||||
---
|
||||
---[View documentation](https://lua-api.factorio.com/latest/LuaInventory.html#LuaInventory.is_full)
|
||||
---@return boolean
|
||||
is_full=function()end,
|
||||
---Remove items from this inventory.
|
||||
---
|
||||
---[View documentation](https://lua-api.factorio.com/latest/LuaInventory.html#LuaInventory.remove)
|
||||
|
||||
Reference in New Issue
Block a user