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