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 LuaPlayer
-- This file is automatically generated. Edits will be overwritten.
@@ -314,15 +314,15 @@ build_from_cursor=function(param)end,
can_build_from_cursor=function(param)end,
---[View documentation](https://lua-api.factorio.com/latest/LuaPlayer.html#LuaPlayer.can_place_entity)
---@class LuaPlayer.can_place_entity_param
---Name of the entity to check
---Name of the entity to check.
---
---[View documentation](https://lua-api.factorio.com/latest/LuaPlayer.html#LuaPlayer.can_place_entity)
---@field name string
---Where the entity would be placed
---Where the entity would be placed.
---
---[View documentation](https://lua-api.factorio.com/latest/LuaPlayer.html#LuaPlayer.can_place_entity)
---@field position MapPosition
---Direction the entity would be placed
---Direction the entity would be placed. Defaults to `north`.
---
---[View documentation](https://lua-api.factorio.com/latest/LuaPlayer.html#LuaPlayer.can_place_entity)
---@field direction? defines.direction
@@ -744,7 +744,7 @@ set_goal_description=function(text,only_update)end,
---
---_Can only be used if this is InfinityContainer_
---@param index uint@The index to set.
---@param filter InfinityInventoryFilter@The new filter or `nil` to clear the filter.
---@param filter InfinityInventoryFilter|nil@The new filter or `nil` to clear the filter.
set_infinity_inventory_filter=function(index,filter)end,
---Sets the quick bar filter for the given slot.
---