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 LuaForce
-- This file is automatically generated. Edits will be overwritten.
@@ -502,8 +502,12 @@ get_saved_technology_progress=function(technology)end,
get_spawn_position=function(surface)end,
---[View documentation](https://lua-api.factorio.com/latest/LuaForce.html#LuaForce.get_train_stops)
---@class LuaForce.get_train_stops_param
---The name(s) of the train stops. Not providing names will match any stop.
---
---[View documentation](https://lua-api.factorio.com/latest/LuaForce.html#LuaForce.get_train_stops)
---@field name? string|string[]
---The surface to search. Not providing a surface will match stops on any surface.
---
---[View documentation](https://lua-api.factorio.com/latest/LuaForce.html#LuaForce.get_train_stops)
---@field surface? SurfaceIdentification
@@ -515,7 +519,7 @@ get_spawn_position=function(surface)end,
---@return LuaEntity[]
get_train_stops=function(param)end,
---[View documentation](https://lua-api.factorio.com/latest/LuaForce.html#LuaForce.get_trains)
---@param surface SurfaceIdentification?@If given only trains on the surface are returned.
---@param surface SurfaceIdentification?@The surface to search. Not providing a surface will match trains on any surface.
---@return LuaTrain[]
get_trains=function(surface)end,
---[View documentation](https://lua-api.factorio.com/latest/LuaForce.html#LuaForce.get_turret_attack_modifier)