updated api

This commit is contained in:
Monica Moniot
2022-12-01 19:04:58 -05:00
parent 21abe6fb56
commit 30fe2946e6
104 changed files with 232 additions and 123 deletions

View File

@@ -1,7 +1,7 @@
---@meta
---@diagnostic disable
--$Factorio 1.1.70
--$Factorio 1.1.72
--$Overlay 5
--$Section LuaPlayer
-- This file is automatically generated. Edits will be overwritten.
@@ -328,7 +328,7 @@ can_build_from_cursor=function(param)end,
---@field direction? defines.direction
---Checks if this player can build the give entity at the given location on the surface the player is on.
---Checks if this player can build the given entity at the given location on the surface the player is on.
---
---[View documentation](https://lua-api.factorio.com/latest/LuaPlayer.html#LuaPlayer.can_place_entity)
---@param param LuaPlayer.can_place_entity_param
@@ -741,8 +741,6 @@ set_goal_description=function(text,only_update)end,
---Sets the filter for this map editor infinity filters at the given index.
---
---[View documentation](https://lua-api.factorio.com/latest/LuaPlayer.html#LuaPlayer.set_infinity_inventory_filter)
---
---_Can only be used if this is InfinityContainer_
---@param index uint@The index to set.
---@param filter InfinityInventoryFilter|nil@The new filter or `nil` to clear the filter.
set_infinity_inventory_filter=function(index,filter)end,