From 30fe2946e62935fdda34b6ed57c77fa9bfdaee15 Mon Sep 17 00:00:00 2001 From: Monica Moniot Date: Thu, 1 Dec 2022 19:04:58 -0500 Subject: [PATCH] updated api --- .../factorio/runtime-api-LuaAISettings.lua | 2 +- ...time-api-LuaAccumulatorControlBehavior.lua | 2 +- .../runtime-api-LuaAchievementPrototype.lua | 2 +- .../runtime-api-LuaAmmoCategoryPrototype.lua | 2 +- ...LuaArithmeticCombinatorControlBehavior.lua | 2 +- ...ntime-api-LuaAutoplaceControlPrototype.lua | 2 +- .vscode/factorio/runtime-api-LuaBootstrap.lua | 22 +++---- .vscode/factorio/runtime-api-LuaBurner.lua | 2 +- .../runtime-api-LuaBurnerPrototype.lua | 2 +- .../factorio/runtime-api-LuaChunkIterator.lua | 2 +- .../runtime-api-LuaCircuitNetwork.lua | 2 +- ...ntime-api-LuaCombinatorControlBehavior.lua | 2 +- .../runtime-api-LuaCommandProcessor.lua | 2 +- ...i-LuaConstantCombinatorControlBehavior.lua | 2 +- ...untime-api-LuaContainerControlBehavior.lua | 2 +- .vscode/factorio/runtime-api-LuaControl.lua | 2 +- .../runtime-api-LuaControlBehavior.lua | 2 +- .../runtime-api-LuaCustomChartTag.lua | 2 +- .../runtime-api-LuaCustomInputPrototype.lua | 2 +- .../factorio/runtime-api-LuaCustomTable.lua | 2 +- .../runtime-api-LuaDamagePrototype.lua | 2 +- ...pi-LuaDeciderCombinatorControlBehavior.lua | 2 +- .../runtime-api-LuaDecorativePrototype.lua | 2 +- ...e-api-LuaElectricEnergySourcePrototype.lua | 2 +- .vscode/factorio/runtime-api-LuaEntity.lua | 4 +- .../runtime-api-LuaEntityPrototype.lua | 2 +- .vscode/factorio/runtime-api-LuaEquipment.lua | 2 +- ...time-api-LuaEquipmentCategoryPrototype.lua | 2 +- .../factorio/runtime-api-LuaEquipmentGrid.lua | 2 +- .../runtime-api-LuaEquipmentGridPrototype.lua | 2 +- .../runtime-api-LuaEquipmentPrototype.lua | 2 +- .../runtime-api-LuaFlowStatistics.lua | 2 +- .vscode/factorio/runtime-api-LuaFluidBox.lua | 2 +- .../runtime-api-LuaFluidBoxPrototype.lua | 2 +- ...time-api-LuaFluidEnergySourcePrototype.lua | 2 +- .../runtime-api-LuaFluidPrototype.lua | 2 +- .../factorio/runtime-api-LuaFontPrototype.lua | 2 +- .vscode/factorio/runtime-api-LuaForce.lua | 2 +- .../runtime-api-LuaFuelCategoryPrototype.lua | 2 +- .../factorio/runtime-api-LuaGameScript.lua | 6 +- ...ime-api-LuaGenericOnOffControlBehavior.lua | 2 +- .vscode/factorio/runtime-api-LuaGroup.lua | 2 +- .vscode/factorio/runtime-api-LuaGui.lua | 2 +- .../factorio/runtime-api-LuaGuiElement.lua | 6 +- .../runtime-api-LuaHeatBufferPrototype.lua | 2 +- ...ntime-api-LuaHeatEnergySourcePrototype.lua | 2 +- ...runtime-api-LuaInserterControlBehavior.lua | 2 +- .vscode/factorio/runtime-api-LuaInventory.lua | 10 +++- .../factorio/runtime-api-LuaItemPrototype.lua | 59 ++++++++++++++++++- .vscode/factorio/runtime-api-LuaItemStack.lua | 2 +- .../runtime-api-LuaLampControlBehavior.lua | 2 +- .../runtime-api-LuaLazyLoadedValue.lua | 2 +- .../factorio/runtime-api-LuaLogisticCell.lua | 2 +- ...pi-LuaLogisticContainerControlBehavior.lua | 4 +- .../runtime-api-LuaLogisticNetwork.lua | 2 +- .../factorio/runtime-api-LuaLogisticPoint.lua | 2 +- ...time-api-LuaMiningDrillControlBehavior.lua | 2 +- .../runtime-api-LuaModSettingPrototype.lua | 2 +- ...runtime-api-LuaModuleCategoryPrototype.lua | 2 +- .../runtime-api-LuaNamedNoiseExpression.lua | 2 +- .../runtime-api-LuaNoiseLayerPrototype.lua | 2 +- .../runtime-api-LuaParticlePrototype.lua | 2 +- .../runtime-api-LuaPermissionGroup.lua | 2 +- .../runtime-api-LuaPermissionGroups.lua | 2 +- .vscode/factorio/runtime-api-LuaPlayer.lua | 6 +- .vscode/factorio/runtime-api-LuaProfiler.lua | 2 +- ...-LuaProgrammableSpeakerControlBehavior.lua | 2 +- .vscode/factorio/runtime-api-LuaRCON.lua | 2 +- ...-api-LuaRailChainSignalControlBehavior.lua | 2 +- .vscode/factorio/runtime-api-LuaRailPath.lua | 2 +- ...ntime-api-LuaRailSignalControlBehavior.lua | 2 +- .../runtime-api-LuaRandomGenerator.lua | 2 +- .vscode/factorio/runtime-api-LuaRecipe.lua | 2 +- ...runtime-api-LuaRecipeCategoryPrototype.lua | 2 +- .../runtime-api-LuaRecipePrototype.lua | 2 +- .vscode/factorio/runtime-api-LuaRemote.lua | 2 +- .vscode/factorio/runtime-api-LuaRendering.lua | 2 +- ...ntime-api-LuaResourceCategoryPrototype.lua | 2 +- ...runtime-api-LuaRoboportControlBehavior.lua | 2 +- .vscode/factorio/runtime-api-LuaSettings.lua | 2 +- .../runtime-api-LuaShortcutPrototype.lua | 2 +- ...time-api-LuaStorageTankControlBehavior.lua | 2 +- .vscode/factorio/runtime-api-LuaStyle.lua | 2 +- .vscode/factorio/runtime-api-LuaSurface.lua | 2 +- .../factorio/runtime-api-LuaTechnology.lua | 2 +- .../runtime-api-LuaTechnologyPrototype.lua | 2 +- .vscode/factorio/runtime-api-LuaTile.lua | 2 +- .../factorio/runtime-api-LuaTilePrototype.lua | 2 +- .vscode/factorio/runtime-api-LuaTrain.lua | 2 +- ...untime-api-LuaTrainStopControlBehavior.lua | 2 +- ...me-api-LuaTransportBeltControlBehavior.lua | 2 +- .../factorio/runtime-api-LuaTransportLine.lua | 2 +- .../runtime-api-LuaTrivialSmokePrototype.lua | 2 +- .vscode/factorio/runtime-api-LuaUnitGroup.lua | 2 +- .../runtime-api-LuaVirtualSignalPrototype.lua | 2 +- ...ntime-api-LuaVoidEnergySourcePrototype.lua | 2 +- .../runtime-api-LuaWallControlBehavior.lua | 2 +- .vscode/factorio/runtime-api-builtin.lua | 2 +- .vscode/factorio/runtime-api-concepts.lua | 4 +- .vscode/factorio/runtime-api-custom.lua | 2 +- .vscode/factorio/runtime-api-defines.lua | 8 ++- .vscode/factorio/runtime-api-events.lua | 40 ++++++++++++- .../factorio/runtime-api-global_functions.lua | 2 +- .vscode/factorio/runtime-api-table_types.lua | 2 +- 104 files changed, 232 insertions(+), 123 deletions(-) diff --git a/.vscode/factorio/runtime-api-LuaAISettings.lua b/.vscode/factorio/runtime-api-LuaAISettings.lua index 224babe..6f16d0a 100644 --- a/.vscode/factorio/runtime-api-LuaAISettings.lua +++ b/.vscode/factorio/runtime-api-LuaAISettings.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaAISettings -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaAccumulatorControlBehavior.lua b/.vscode/factorio/runtime-api-LuaAccumulatorControlBehavior.lua index 3f82cf4..32cbe0a 100644 --- a/.vscode/factorio/runtime-api-LuaAccumulatorControlBehavior.lua +++ b/.vscode/factorio/runtime-api-LuaAccumulatorControlBehavior.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaAccumulatorControlBehavior -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaAchievementPrototype.lua b/.vscode/factorio/runtime-api-LuaAchievementPrototype.lua index 90fa333..0f2a5ca 100644 --- a/.vscode/factorio/runtime-api-LuaAchievementPrototype.lua +++ b/.vscode/factorio/runtime-api-LuaAchievementPrototype.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaAchievementPrototype -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaAmmoCategoryPrototype.lua b/.vscode/factorio/runtime-api-LuaAmmoCategoryPrototype.lua index 812d6ce..1a84da6 100644 --- a/.vscode/factorio/runtime-api-LuaAmmoCategoryPrototype.lua +++ b/.vscode/factorio/runtime-api-LuaAmmoCategoryPrototype.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaAmmoCategoryPrototype -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaArithmeticCombinatorControlBehavior.lua b/.vscode/factorio/runtime-api-LuaArithmeticCombinatorControlBehavior.lua index 8087806..da4be23 100644 --- a/.vscode/factorio/runtime-api-LuaArithmeticCombinatorControlBehavior.lua +++ b/.vscode/factorio/runtime-api-LuaArithmeticCombinatorControlBehavior.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaArithmeticCombinatorControlBehavior -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaAutoplaceControlPrototype.lua b/.vscode/factorio/runtime-api-LuaAutoplaceControlPrototype.lua index 97a65fe..fb9ad7b 100644 --- a/.vscode/factorio/runtime-api-LuaAutoplaceControlPrototype.lua +++ b/.vscode/factorio/runtime-api-LuaAutoplaceControlPrototype.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaAutoplaceControlPrototype -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaBootstrap.lua b/.vscode/factorio/runtime-api-LuaBootstrap.lua index e279aa0..9b7f974 100644 --- a/.vscode/factorio/runtime-api-LuaBootstrap.lua +++ b/.vscode/factorio/runtime-api-LuaBootstrap.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaBootstrap -- This file is automatically generated. Edits will be overwritten. @@ -70,8 +70,8 @@ get_event_order=function()end, ---**Note:** For more context, refer to the page. --- ---[View documentation](https://lua-api.factorio.com/latest/LuaBootstrap.html#LuaBootstrap.on_configuration_changed) ----@param f fun(param1:ConfigurationChangedData)|nil@The handler for this event. Passing `nil` will unregister it. -on_configuration_changed=function(f)end, +---@param handler fun(param1:ConfigurationChangedData)|nil@The handler for this event. Passing `nil` will unregister it. +on_configuration_changed=function(handler)end, ---Register a handler to run on the specified event(s). Each mod can only register once for every event, as any additional registration will overwrite the previous one. This holds true even if different filters are used for subsequent registrations. --- ---[View documentation](https://lua-api.factorio.com/latest/LuaBootstrap.html#LuaBootstrap.on_event) @@ -91,9 +91,9 @@ on_configuration_changed=function(f)end, ---{{filter = "name", name = "fast-inserter"}}) ---``` ---@param event defines.events|defines.events[]|string@The event(s) or custom-input to invoke the handler on. ----@param f fun(param1:EventData)|nil@The handler for this event. Passing `nil` will unregister it. +---@param handler fun(param1:EventData)|nil@The handler for this event. Passing `nil` will unregister it. ---@param filters EventFilter?@The filters for this event. Can only be used when registering for individual events. -on_event=function(event,f,filters)end, +on_event=function(event,handler,filters)end, ---Register a function to be run on mod initialization. This is only called when a new save game is created or when a save file is loaded that previously didn't contain the mod. During it, the mod gets the chance to set up initial values that it will use for its lifetime. It has full access to [LuaGameScript](https://lua-api.factorio.com/latest/LuaGameScript.html) and the table and can change anything about them that it deems appropriate. No other events will be raised for the mod until it has finished this step. --- ---**Note:** For more context, refer to the page. @@ -107,8 +107,8 @@ on_event=function(event,f,filters)end, --- global.players = {} ---end) ---``` ----@param f fun()|nil@The handler for this event. Passing `nil` will unregister it. -on_init=function(f)end, +---@param handler fun()|nil@The handler for this event. Passing `nil` will unregister it. +on_init=function(handler)end, ---Register a function to be run on save load. This is only called for mods that have been part of the save previously, or for players connecting to a running multiplayer session. It gives the mod the opportunity to do some very specific actions, should it need to. Doing anything other than these three will lead to desyncs, which breaks multiplayer and replay functionality. Access to [LuaGameScript](https://lua-api.factorio.com/latest/LuaGameScript.html) is not available. The table can be accessed and is safe to read from, but not write to, as doing so will lead to an error. --- ---The only legitimate uses of this event are the following: @@ -121,14 +121,14 @@ on_init=function(f)end, ---**Note:** For more context, refer to the page. --- ---[View documentation](https://lua-api.factorio.com/latest/LuaBootstrap.html#LuaBootstrap.on_load) ----@param f fun()|nil@The handler for this event. Passing `nil` will unregister it. -on_load=function(f)end, +---@param handler fun()|nil@The handler for this event. Passing `nil` will unregister it. +on_load=function(handler)end, ---Register a handler to run every nth-tick(s). When the game is on tick 0 it will trigger all registered handlers. --- ---[View documentation](https://lua-api.factorio.com/latest/LuaBootstrap.html#LuaBootstrap.on_nth_tick) ---@param tick uint|uint[]|nil@The nth-tick(s) to invoke the handler on. Passing `nil` as the only parameter will unregister all nth-tick handlers. ----@param f fun(param1:NthTickEventData)|nil@The handler to run. Passing `nil` will unregister it for the provided nth-tick(s). -on_nth_tick=function(tick,f)end, +---@param handler fun(param1:NthTickEventData)|nil@The handler to run. Passing `nil` will unregister it for the provided nth-tick(s). +on_nth_tick=function(tick,handler)end, ---[View documentation](https://lua-api.factorio.com/latest/LuaBootstrap.html#LuaBootstrap.raise_biter_base_built) ---@class LuaBootstrap.raise_biter_base_built_param ---The entity that was built. diff --git a/.vscode/factorio/runtime-api-LuaBurner.lua b/.vscode/factorio/runtime-api-LuaBurner.lua index 32992ff..b606604 100644 --- a/.vscode/factorio/runtime-api-LuaBurner.lua +++ b/.vscode/factorio/runtime-api-LuaBurner.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaBurner -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaBurnerPrototype.lua b/.vscode/factorio/runtime-api-LuaBurnerPrototype.lua index b5e2a36..373a8b9 100644 --- a/.vscode/factorio/runtime-api-LuaBurnerPrototype.lua +++ b/.vscode/factorio/runtime-api-LuaBurnerPrototype.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaBurnerPrototype -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaChunkIterator.lua b/.vscode/factorio/runtime-api-LuaChunkIterator.lua index ada1853..2fa5751 100644 --- a/.vscode/factorio/runtime-api-LuaChunkIterator.lua +++ b/.vscode/factorio/runtime-api-LuaChunkIterator.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaChunkIterator -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaCircuitNetwork.lua b/.vscode/factorio/runtime-api-LuaCircuitNetwork.lua index 76216ad..d7994b5 100644 --- a/.vscode/factorio/runtime-api-LuaCircuitNetwork.lua +++ b/.vscode/factorio/runtime-api-LuaCircuitNetwork.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaCircuitNetwork -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaCombinatorControlBehavior.lua b/.vscode/factorio/runtime-api-LuaCombinatorControlBehavior.lua index d6e569f..8171314 100644 --- a/.vscode/factorio/runtime-api-LuaCombinatorControlBehavior.lua +++ b/.vscode/factorio/runtime-api-LuaCombinatorControlBehavior.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaCombinatorControlBehavior -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaCommandProcessor.lua b/.vscode/factorio/runtime-api-LuaCommandProcessor.lua index c9039d6..c405a3d 100644 --- a/.vscode/factorio/runtime-api-LuaCommandProcessor.lua +++ b/.vscode/factorio/runtime-api-LuaCommandProcessor.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaCommandProcessor -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaConstantCombinatorControlBehavior.lua b/.vscode/factorio/runtime-api-LuaConstantCombinatorControlBehavior.lua index 3d3802c..d04aa28 100644 --- a/.vscode/factorio/runtime-api-LuaConstantCombinatorControlBehavior.lua +++ b/.vscode/factorio/runtime-api-LuaConstantCombinatorControlBehavior.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaConstantCombinatorControlBehavior -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaContainerControlBehavior.lua b/.vscode/factorio/runtime-api-LuaContainerControlBehavior.lua index 7383a3d..25d3de7 100644 --- a/.vscode/factorio/runtime-api-LuaContainerControlBehavior.lua +++ b/.vscode/factorio/runtime-api-LuaContainerControlBehavior.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaContainerControlBehavior -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaControl.lua b/.vscode/factorio/runtime-api-LuaControl.lua index 91291b3..bce7c1e 100644 --- a/.vscode/factorio/runtime-api-LuaControl.lua +++ b/.vscode/factorio/runtime-api-LuaControl.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaControl -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaControlBehavior.lua b/.vscode/factorio/runtime-api-LuaControlBehavior.lua index 4fc360f..1561e39 100644 --- a/.vscode/factorio/runtime-api-LuaControlBehavior.lua +++ b/.vscode/factorio/runtime-api-LuaControlBehavior.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaControlBehavior -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaCustomChartTag.lua b/.vscode/factorio/runtime-api-LuaCustomChartTag.lua index f9dc650..ce35397 100644 --- a/.vscode/factorio/runtime-api-LuaCustomChartTag.lua +++ b/.vscode/factorio/runtime-api-LuaCustomChartTag.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaCustomChartTag -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaCustomInputPrototype.lua b/.vscode/factorio/runtime-api-LuaCustomInputPrototype.lua index baccea3..a671513 100644 --- a/.vscode/factorio/runtime-api-LuaCustomInputPrototype.lua +++ b/.vscode/factorio/runtime-api-LuaCustomInputPrototype.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaCustomInputPrototype -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaCustomTable.lua b/.vscode/factorio/runtime-api-LuaCustomTable.lua index 1fd3b7e..9a26039 100644 --- a/.vscode/factorio/runtime-api-LuaCustomTable.lua +++ b/.vscode/factorio/runtime-api-LuaCustomTable.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaCustomTable -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaDamagePrototype.lua b/.vscode/factorio/runtime-api-LuaDamagePrototype.lua index d5732d9..203e147 100644 --- a/.vscode/factorio/runtime-api-LuaDamagePrototype.lua +++ b/.vscode/factorio/runtime-api-LuaDamagePrototype.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaDamagePrototype -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaDeciderCombinatorControlBehavior.lua b/.vscode/factorio/runtime-api-LuaDeciderCombinatorControlBehavior.lua index f604812..ffae530 100644 --- a/.vscode/factorio/runtime-api-LuaDeciderCombinatorControlBehavior.lua +++ b/.vscode/factorio/runtime-api-LuaDeciderCombinatorControlBehavior.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaDeciderCombinatorControlBehavior -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaDecorativePrototype.lua b/.vscode/factorio/runtime-api-LuaDecorativePrototype.lua index f653295..378016e 100644 --- a/.vscode/factorio/runtime-api-LuaDecorativePrototype.lua +++ b/.vscode/factorio/runtime-api-LuaDecorativePrototype.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaDecorativePrototype -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaElectricEnergySourcePrototype.lua b/.vscode/factorio/runtime-api-LuaElectricEnergySourcePrototype.lua index a029a3c..01ea5fc 100644 --- a/.vscode/factorio/runtime-api-LuaElectricEnergySourcePrototype.lua +++ b/.vscode/factorio/runtime-api-LuaElectricEnergySourcePrototype.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaElectricEnergySourcePrototype -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaEntity.lua b/.vscode/factorio/runtime-api-LuaEntity.lua index 601cb15..5573c7a 100644 --- a/.vscode/factorio/runtime-api-LuaEntity.lua +++ b/.vscode/factorio/runtime-api-LuaEntity.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaEntity -- This file is automatically generated. Edits will be overwritten. @@ -1307,7 +1307,7 @@ create_build_effect_smoke=function()end, ---_Can only be used if this is EntityWithHealth_ ---@param damage float@The amount of damage to be done. ---@param force ForceIdentification@The force that will be doing the damage. ----@param type string?@The type of damage to be done, defaults to "impact". +---@param type string?@The type of damage to be done, defaults to "impact". Can't be `nil`. ---@param dealer LuaEntity?@The entity to consider as the damage dealer. Needs to be on the same surface as the entity being damaged. ---@return float@the total damage actually applied after resistances. damage=function(damage,force,type,dealer)end, diff --git a/.vscode/factorio/runtime-api-LuaEntityPrototype.lua b/.vscode/factorio/runtime-api-LuaEntityPrototype.lua index 7760292..e7f47dd 100644 --- a/.vscode/factorio/runtime-api-LuaEntityPrototype.lua +++ b/.vscode/factorio/runtime-api-LuaEntityPrototype.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaEntityPrototype -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaEquipment.lua b/.vscode/factorio/runtime-api-LuaEquipment.lua index 000daf7..98410ad 100644 --- a/.vscode/factorio/runtime-api-LuaEquipment.lua +++ b/.vscode/factorio/runtime-api-LuaEquipment.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaEquipment -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaEquipmentCategoryPrototype.lua b/.vscode/factorio/runtime-api-LuaEquipmentCategoryPrototype.lua index 6217a36..7857a13 100644 --- a/.vscode/factorio/runtime-api-LuaEquipmentCategoryPrototype.lua +++ b/.vscode/factorio/runtime-api-LuaEquipmentCategoryPrototype.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaEquipmentCategoryPrototype -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaEquipmentGrid.lua b/.vscode/factorio/runtime-api-LuaEquipmentGrid.lua index 06df396..5f1046e 100644 --- a/.vscode/factorio/runtime-api-LuaEquipmentGrid.lua +++ b/.vscode/factorio/runtime-api-LuaEquipmentGrid.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaEquipmentGrid -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaEquipmentGridPrototype.lua b/.vscode/factorio/runtime-api-LuaEquipmentGridPrototype.lua index ad6c918..443cdc1 100644 --- a/.vscode/factorio/runtime-api-LuaEquipmentGridPrototype.lua +++ b/.vscode/factorio/runtime-api-LuaEquipmentGridPrototype.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaEquipmentGridPrototype -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaEquipmentPrototype.lua b/.vscode/factorio/runtime-api-LuaEquipmentPrototype.lua index d82cb27..fd2a836 100644 --- a/.vscode/factorio/runtime-api-LuaEquipmentPrototype.lua +++ b/.vscode/factorio/runtime-api-LuaEquipmentPrototype.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaEquipmentPrototype -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaFlowStatistics.lua b/.vscode/factorio/runtime-api-LuaFlowStatistics.lua index 85384b5..87e78b9 100644 --- a/.vscode/factorio/runtime-api-LuaFlowStatistics.lua +++ b/.vscode/factorio/runtime-api-LuaFlowStatistics.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaFlowStatistics -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaFluidBox.lua b/.vscode/factorio/runtime-api-LuaFluidBox.lua index 64e64f9..a6525f8 100644 --- a/.vscode/factorio/runtime-api-LuaFluidBox.lua +++ b/.vscode/factorio/runtime-api-LuaFluidBox.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaFluidBox -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaFluidBoxPrototype.lua b/.vscode/factorio/runtime-api-LuaFluidBoxPrototype.lua index d20585b..c5c9966 100644 --- a/.vscode/factorio/runtime-api-LuaFluidBoxPrototype.lua +++ b/.vscode/factorio/runtime-api-LuaFluidBoxPrototype.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaFluidBoxPrototype -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaFluidEnergySourcePrototype.lua b/.vscode/factorio/runtime-api-LuaFluidEnergySourcePrototype.lua index 96f33c4..5ba8827 100644 --- a/.vscode/factorio/runtime-api-LuaFluidEnergySourcePrototype.lua +++ b/.vscode/factorio/runtime-api-LuaFluidEnergySourcePrototype.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaFluidEnergySourcePrototype -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaFluidPrototype.lua b/.vscode/factorio/runtime-api-LuaFluidPrototype.lua index 323e73d..def2dd5 100644 --- a/.vscode/factorio/runtime-api-LuaFluidPrototype.lua +++ b/.vscode/factorio/runtime-api-LuaFluidPrototype.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaFluidPrototype -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaFontPrototype.lua b/.vscode/factorio/runtime-api-LuaFontPrototype.lua index 20ea356..35bebcd 100644 --- a/.vscode/factorio/runtime-api-LuaFontPrototype.lua +++ b/.vscode/factorio/runtime-api-LuaFontPrototype.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaFontPrototype -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaForce.lua b/.vscode/factorio/runtime-api-LuaForce.lua index b2f383e..e42425d 100644 --- a/.vscode/factorio/runtime-api-LuaForce.lua +++ b/.vscode/factorio/runtime-api-LuaForce.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaForce -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaFuelCategoryPrototype.lua b/.vscode/factorio/runtime-api-LuaFuelCategoryPrototype.lua index eba1945..402cf46 100644 --- a/.vscode/factorio/runtime-api-LuaFuelCategoryPrototype.lua +++ b/.vscode/factorio/runtime-api-LuaFuelCategoryPrototype.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaFuelCategoryPrototype -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaGameScript.lua b/.vscode/factorio/runtime-api-LuaGameScript.lua index 77d71bb..088e421 100644 --- a/.vscode/factorio/runtime-api-LuaGameScript.lua +++ b/.vscode/factorio/runtime-api-LuaGameScript.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaGameScript -- This file is automatically generated. Edits will be overwritten. @@ -715,9 +715,9 @@ json_to_table=function(json)end, ---@param player PlayerIdentification@The player to kick. ---@param reason LocalisedString?@The reason given if any. kick_player=function(player,reason)end, ----Marks two forces to be merged together. All entities in the source force will be reassigned to the target force. The source force will then be destroyed. +---Marks two forces to be merged together. All players and entities in the source force will be reassigned to the target force. The source force will then be destroyed. Importantly, this does not merge technologies or bonuses, which are instead retained from the target force. --- ----**Note:** The three built-in forces -- player, enemy and neutral -- can't be destroyed. I.e. they can't be used as the source argument to this function. +---**Note:** The three built-in forces (player, enemy and neutral) can't be destroyed, meaning they can't be used as the source argument to this function. --- ---**Note:** The source force is not removed until the end of the current tick, or if called during the [on_forces_merging](https://lua-api.factorio.com/latest/events.html#on_forces_merging) or [on_forces_merged](https://lua-api.factorio.com/latest/events.html#on_forces_merged) event, the end of the next tick. --- diff --git a/.vscode/factorio/runtime-api-LuaGenericOnOffControlBehavior.lua b/.vscode/factorio/runtime-api-LuaGenericOnOffControlBehavior.lua index 129d26b..b0d67bd 100644 --- a/.vscode/factorio/runtime-api-LuaGenericOnOffControlBehavior.lua +++ b/.vscode/factorio/runtime-api-LuaGenericOnOffControlBehavior.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaGenericOnOffControlBehavior -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaGroup.lua b/.vscode/factorio/runtime-api-LuaGroup.lua index 4be90e8..255a279 100644 --- a/.vscode/factorio/runtime-api-LuaGroup.lua +++ b/.vscode/factorio/runtime-api-LuaGroup.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaGroup -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaGui.lua b/.vscode/factorio/runtime-api-LuaGui.lua index 4335ce0..2e8d9c7 100644 --- a/.vscode/factorio/runtime-api-LuaGui.lua +++ b/.vscode/factorio/runtime-api-LuaGui.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaGui -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaGuiElement.lua b/.vscode/factorio/runtime-api-LuaGuiElement.lua index 5ffd124..70cac00 100644 --- a/.vscode/factorio/runtime-api-LuaGuiElement.lua +++ b/.vscode/factorio/runtime-api-LuaGuiElement.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaGuiElement -- This file is automatically generated. Edits will be overwritten. @@ -967,6 +967,10 @@ clear=function()end, --- ---_Can only be used if this is drop-down or list-box_ clear_items=function()end, +---Closes the dropdown list if this is a dropdown and it is open. +--- +---[View documentation](https://lua-api.factorio.com/latest/LuaGuiElement.html#LuaGuiElement.close_dropdown) +close_dropdown=function()end, ---Remove this element, along with its children. Any [LuaGuiElement](https://lua-api.factorio.com/latest/LuaGuiElement.html) objects referring to the destroyed elements become invalid after this operation. --- ---**Note:** The top-level GUI elements - [LuaGui::top](https://lua-api.factorio.com/latest/LuaGui.html#LuaGui.top), [LuaGui::left](https://lua-api.factorio.com/latest/LuaGui.html#LuaGui.left), [LuaGui::center](https://lua-api.factorio.com/latest/LuaGui.html#LuaGui.center) and [LuaGui::screen](https://lua-api.factorio.com/latest/LuaGui.html#LuaGui.screen) - can't be destroyed. diff --git a/.vscode/factorio/runtime-api-LuaHeatBufferPrototype.lua b/.vscode/factorio/runtime-api-LuaHeatBufferPrototype.lua index ec8a954..7ba8043 100644 --- a/.vscode/factorio/runtime-api-LuaHeatBufferPrototype.lua +++ b/.vscode/factorio/runtime-api-LuaHeatBufferPrototype.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaHeatBufferPrototype -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaHeatEnergySourcePrototype.lua b/.vscode/factorio/runtime-api-LuaHeatEnergySourcePrototype.lua index 65a02e2..499a8dc 100644 --- a/.vscode/factorio/runtime-api-LuaHeatEnergySourcePrototype.lua +++ b/.vscode/factorio/runtime-api-LuaHeatEnergySourcePrototype.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaHeatEnergySourcePrototype -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaInserterControlBehavior.lua b/.vscode/factorio/runtime-api-LuaInserterControlBehavior.lua index 27f994c..1d8ceed 100644 --- a/.vscode/factorio/runtime-api-LuaInserterControlBehavior.lua +++ b/.vscode/factorio/runtime-api-LuaInserterControlBehavior.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaInserterControlBehavior -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaInventory.lua b/.vscode/factorio/runtime-api-LuaInventory.lua index 365ae70..674143c 100644 --- a/.vscode/factorio/runtime-api-LuaInventory.lua +++ b/.vscode/factorio/runtime-api-LuaInventory.lua @@ -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) diff --git a/.vscode/factorio/runtime-api-LuaItemPrototype.lua b/.vscode/factorio/runtime-api-LuaItemPrototype.lua index 409f552..7b7e30e 100644 --- a/.vscode/factorio/runtime-api-LuaItemPrototype.lua +++ b/.vscode/factorio/runtime-api-LuaItemPrototype.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaItemPrototype -- This file is automatically generated. Edits will be overwritten. @@ -39,6 +39,63 @@ ---_Can only be used if this is SelectionTool_ ---@field alt_entity_type_filters? {[string]: boolean} ---[R] +---The alt reverse entity filter mode used by this selection tool. +--- +---[View documentation](https://lua-api.factorio.com/latest/LuaItemPrototype.html#LuaItemPrototype.alt_reverse_alt_entity_filter_mode) +--- +---_Can only be used if this is SelectionTool_ +---@field alt_reverse_alt_entity_filter_mode? string +---[R] +---The alt reverse entity filters used by this selection tool indexed by entity name. +--- +---[View documentation](https://lua-api.factorio.com/latest/LuaItemPrototype.html#LuaItemPrototype.alt_reverse_entity_filters) +--- +---_Can only be used if this is SelectionTool_ +---@field alt_reverse_entity_filters? {[string]: LuaEntityPrototype} +---[R] +---The alt reverse entity type filters used by this selection tool indexed by entity type. +--- +---**Note:** The boolean value is meaningless and is used to allow easy lookup if a type exists in the dictionary. +--- +---[View documentation](https://lua-api.factorio.com/latest/LuaItemPrototype.html#LuaItemPrototype.alt_reverse_entity_type_filters) +--- +---_Can only be used if this is SelectionTool_ +---@field alt_reverse_entity_type_filters? {[string]: boolean} +---[R] +---The color used when doing alt reverse selection with this selection tool prototype. +--- +---[View documentation](https://lua-api.factorio.com/latest/LuaItemPrototype.html#LuaItemPrototype.alt_reverse_selection_border_color) +--- +---_Can only be used if this is SelectionTool_ +---@field alt_reverse_selection_border_color? Color +---[R] +--- +---[View documentation](https://lua-api.factorio.com/latest/LuaItemPrototype.html#LuaItemPrototype.alt_reverse_selection_cursor_box_type) +--- +---_Can only be used if this is SelectionTool_ +---@field alt_reverse_selection_cursor_box_type? string +---[R] +---Flags that affect which entities will be selected during alt reverse selection. +--- +---[View documentation](https://lua-api.factorio.com/latest/LuaItemPrototype.html#LuaItemPrototype.alt_reverse_selection_mode_flags) +--- +---_Can only be used if this is SelectionTool_ +---@field alt_reverse_selection_mode_flags? SelectionModeFlags +---[R] +---The alt reverse tile filter mode used by this selection tool. +--- +---[View documentation](https://lua-api.factorio.com/latest/LuaItemPrototype.html#LuaItemPrototype.alt_reverse_tile_filter_mode) +--- +---_Can only be used if this is SelectionTool_ +---@field alt_reverse_tile_filter_mode? string +---[R] +---The alt reverse tile filters used by this selection tool indexed by tile name. +--- +---[View documentation](https://lua-api.factorio.com/latest/LuaItemPrototype.html#LuaItemPrototype.alt_reverse_tile_filters) +--- +---_Can only be used if this is SelectionTool_ +---@field alt_reverse_tile_filters? {[string]: LuaTilePrototype} +---[R] ---The color used when doing alt selection with this selection tool prototype. --- ---[View documentation](https://lua-api.factorio.com/latest/LuaItemPrototype.html#LuaItemPrototype.alt_selection_border_color) diff --git a/.vscode/factorio/runtime-api-LuaItemStack.lua b/.vscode/factorio/runtime-api-LuaItemStack.lua index e25608e..2bffa2f 100644 --- a/.vscode/factorio/runtime-api-LuaItemStack.lua +++ b/.vscode/factorio/runtime-api-LuaItemStack.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaItemStack -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaLampControlBehavior.lua b/.vscode/factorio/runtime-api-LuaLampControlBehavior.lua index 4f70705..633cc26 100644 --- a/.vscode/factorio/runtime-api-LuaLampControlBehavior.lua +++ b/.vscode/factorio/runtime-api-LuaLampControlBehavior.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaLampControlBehavior -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaLazyLoadedValue.lua b/.vscode/factorio/runtime-api-LuaLazyLoadedValue.lua index ec11d80..6866fb6 100644 --- a/.vscode/factorio/runtime-api-LuaLazyLoadedValue.lua +++ b/.vscode/factorio/runtime-api-LuaLazyLoadedValue.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaLazyLoadedValue -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaLogisticCell.lua b/.vscode/factorio/runtime-api-LuaLogisticCell.lua index 965356c..7294d0b 100644 --- a/.vscode/factorio/runtime-api-LuaLogisticCell.lua +++ b/.vscode/factorio/runtime-api-LuaLogisticCell.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaLogisticCell -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaLogisticContainerControlBehavior.lua b/.vscode/factorio/runtime-api-LuaLogisticContainerControlBehavior.lua index e27e3a3..e155051 100644 --- a/.vscode/factorio/runtime-api-LuaLogisticContainerControlBehavior.lua +++ b/.vscode/factorio/runtime-api-LuaLogisticContainerControlBehavior.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaLogisticContainerControlBehavior -- This file is automatically generated. Edits will be overwritten. @@ -11,7 +11,7 @@ ---[View documentation](https://lua-api.factorio.com/latest/LuaLogisticContainerControlBehavior.html) ---@class LuaLogisticContainerControlBehavior:LuaControlBehavior ---[RW] ----The circuit mode of operations for the logistic container. +---The circuit mode of operations for the logistic container. Can only be set on containers whose [logistic_mode](https://lua-api.factorio.com/latest/LuaEntityPrototype.html#LuaEntityPrototype.logistic_mode) is set to "requester". --- ---[View documentation](https://lua-api.factorio.com/latest/LuaLogisticContainerControlBehavior.html#LuaLogisticContainerControlBehavior.circuit_mode_of_operation) ---@field circuit_mode_of_operation defines.control_behavior.logistic_container.circuit_mode_of_operation diff --git a/.vscode/factorio/runtime-api-LuaLogisticNetwork.lua b/.vscode/factorio/runtime-api-LuaLogisticNetwork.lua index db9e572..a4dd1d7 100644 --- a/.vscode/factorio/runtime-api-LuaLogisticNetwork.lua +++ b/.vscode/factorio/runtime-api-LuaLogisticNetwork.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaLogisticNetwork -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaLogisticPoint.lua b/.vscode/factorio/runtime-api-LuaLogisticPoint.lua index 9fd0c05..4ef9766 100644 --- a/.vscode/factorio/runtime-api-LuaLogisticPoint.lua +++ b/.vscode/factorio/runtime-api-LuaLogisticPoint.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaLogisticPoint -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaMiningDrillControlBehavior.lua b/.vscode/factorio/runtime-api-LuaMiningDrillControlBehavior.lua index a485d03..83e9283 100644 --- a/.vscode/factorio/runtime-api-LuaMiningDrillControlBehavior.lua +++ b/.vscode/factorio/runtime-api-LuaMiningDrillControlBehavior.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaMiningDrillControlBehavior -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaModSettingPrototype.lua b/.vscode/factorio/runtime-api-LuaModSettingPrototype.lua index 373ec83..4b09205 100644 --- a/.vscode/factorio/runtime-api-LuaModSettingPrototype.lua +++ b/.vscode/factorio/runtime-api-LuaModSettingPrototype.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaModSettingPrototype -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaModuleCategoryPrototype.lua b/.vscode/factorio/runtime-api-LuaModuleCategoryPrototype.lua index 647925b..bfadf89 100644 --- a/.vscode/factorio/runtime-api-LuaModuleCategoryPrototype.lua +++ b/.vscode/factorio/runtime-api-LuaModuleCategoryPrototype.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaModuleCategoryPrototype -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaNamedNoiseExpression.lua b/.vscode/factorio/runtime-api-LuaNamedNoiseExpression.lua index 16fd4b0..46e7c67 100644 --- a/.vscode/factorio/runtime-api-LuaNamedNoiseExpression.lua +++ b/.vscode/factorio/runtime-api-LuaNamedNoiseExpression.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaNamedNoiseExpression -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaNoiseLayerPrototype.lua b/.vscode/factorio/runtime-api-LuaNoiseLayerPrototype.lua index 1b7ff53..9c74a0a 100644 --- a/.vscode/factorio/runtime-api-LuaNoiseLayerPrototype.lua +++ b/.vscode/factorio/runtime-api-LuaNoiseLayerPrototype.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaNoiseLayerPrototype -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaParticlePrototype.lua b/.vscode/factorio/runtime-api-LuaParticlePrototype.lua index 541cb68..9f56a54 100644 --- a/.vscode/factorio/runtime-api-LuaParticlePrototype.lua +++ b/.vscode/factorio/runtime-api-LuaParticlePrototype.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaParticlePrototype -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaPermissionGroup.lua b/.vscode/factorio/runtime-api-LuaPermissionGroup.lua index ed3b159..9d1c569 100644 --- a/.vscode/factorio/runtime-api-LuaPermissionGroup.lua +++ b/.vscode/factorio/runtime-api-LuaPermissionGroup.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaPermissionGroup -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaPermissionGroups.lua b/.vscode/factorio/runtime-api-LuaPermissionGroups.lua index 9c296b1..fdcccae 100644 --- a/.vscode/factorio/runtime-api-LuaPermissionGroups.lua +++ b/.vscode/factorio/runtime-api-LuaPermissionGroups.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaPermissionGroups -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaPlayer.lua b/.vscode/factorio/runtime-api-LuaPlayer.lua index 0e135f7..9f8fb08 100644 --- a/.vscode/factorio/runtime-api-LuaPlayer.lua +++ b/.vscode/factorio/runtime-api-LuaPlayer.lua @@ -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, diff --git a/.vscode/factorio/runtime-api-LuaProfiler.lua b/.vscode/factorio/runtime-api-LuaProfiler.lua index 5f5843e..4519bac 100644 --- a/.vscode/factorio/runtime-api-LuaProfiler.lua +++ b/.vscode/factorio/runtime-api-LuaProfiler.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaProfiler -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaProgrammableSpeakerControlBehavior.lua b/.vscode/factorio/runtime-api-LuaProgrammableSpeakerControlBehavior.lua index 3781580..6e4e352 100644 --- a/.vscode/factorio/runtime-api-LuaProgrammableSpeakerControlBehavior.lua +++ b/.vscode/factorio/runtime-api-LuaProgrammableSpeakerControlBehavior.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaProgrammableSpeakerControlBehavior -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaRCON.lua b/.vscode/factorio/runtime-api-LuaRCON.lua index 88275f4..fcfab71 100644 --- a/.vscode/factorio/runtime-api-LuaRCON.lua +++ b/.vscode/factorio/runtime-api-LuaRCON.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaRCON -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaRailChainSignalControlBehavior.lua b/.vscode/factorio/runtime-api-LuaRailChainSignalControlBehavior.lua index 49c1e73..db087f7 100644 --- a/.vscode/factorio/runtime-api-LuaRailChainSignalControlBehavior.lua +++ b/.vscode/factorio/runtime-api-LuaRailChainSignalControlBehavior.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaRailChainSignalControlBehavior -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaRailPath.lua b/.vscode/factorio/runtime-api-LuaRailPath.lua index cb8198a..659b629 100644 --- a/.vscode/factorio/runtime-api-LuaRailPath.lua +++ b/.vscode/factorio/runtime-api-LuaRailPath.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaRailPath -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaRailSignalControlBehavior.lua b/.vscode/factorio/runtime-api-LuaRailSignalControlBehavior.lua index 5f0db48..1873eb0 100644 --- a/.vscode/factorio/runtime-api-LuaRailSignalControlBehavior.lua +++ b/.vscode/factorio/runtime-api-LuaRailSignalControlBehavior.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaRailSignalControlBehavior -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaRandomGenerator.lua b/.vscode/factorio/runtime-api-LuaRandomGenerator.lua index fff18ad..709a286 100644 --- a/.vscode/factorio/runtime-api-LuaRandomGenerator.lua +++ b/.vscode/factorio/runtime-api-LuaRandomGenerator.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaRandomGenerator -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaRecipe.lua b/.vscode/factorio/runtime-api-LuaRecipe.lua index d0e7380..ba56776 100644 --- a/.vscode/factorio/runtime-api-LuaRecipe.lua +++ b/.vscode/factorio/runtime-api-LuaRecipe.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaRecipe -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaRecipeCategoryPrototype.lua b/.vscode/factorio/runtime-api-LuaRecipeCategoryPrototype.lua index f5ee746..08bee72 100644 --- a/.vscode/factorio/runtime-api-LuaRecipeCategoryPrototype.lua +++ b/.vscode/factorio/runtime-api-LuaRecipeCategoryPrototype.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaRecipeCategoryPrototype -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaRecipePrototype.lua b/.vscode/factorio/runtime-api-LuaRecipePrototype.lua index d816896..68e5321 100644 --- a/.vscode/factorio/runtime-api-LuaRecipePrototype.lua +++ b/.vscode/factorio/runtime-api-LuaRecipePrototype.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaRecipePrototype -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaRemote.lua b/.vscode/factorio/runtime-api-LuaRemote.lua index 48a90c0..8ad3c5f 100644 --- a/.vscode/factorio/runtime-api-LuaRemote.lua +++ b/.vscode/factorio/runtime-api-LuaRemote.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaRemote -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaRendering.lua b/.vscode/factorio/runtime-api-LuaRendering.lua index e3b0a3a..cc35ca4 100644 --- a/.vscode/factorio/runtime-api-LuaRendering.lua +++ b/.vscode/factorio/runtime-api-LuaRendering.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaRendering -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaResourceCategoryPrototype.lua b/.vscode/factorio/runtime-api-LuaResourceCategoryPrototype.lua index 0301113..db06385 100644 --- a/.vscode/factorio/runtime-api-LuaResourceCategoryPrototype.lua +++ b/.vscode/factorio/runtime-api-LuaResourceCategoryPrototype.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaResourceCategoryPrototype -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaRoboportControlBehavior.lua b/.vscode/factorio/runtime-api-LuaRoboportControlBehavior.lua index 056f586..71ce162 100644 --- a/.vscode/factorio/runtime-api-LuaRoboportControlBehavior.lua +++ b/.vscode/factorio/runtime-api-LuaRoboportControlBehavior.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaRoboportControlBehavior -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaSettings.lua b/.vscode/factorio/runtime-api-LuaSettings.lua index f0776eb..bce6d2d 100644 --- a/.vscode/factorio/runtime-api-LuaSettings.lua +++ b/.vscode/factorio/runtime-api-LuaSettings.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaSettings -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaShortcutPrototype.lua b/.vscode/factorio/runtime-api-LuaShortcutPrototype.lua index feaa779..4d22ac5 100644 --- a/.vscode/factorio/runtime-api-LuaShortcutPrototype.lua +++ b/.vscode/factorio/runtime-api-LuaShortcutPrototype.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaShortcutPrototype -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaStorageTankControlBehavior.lua b/.vscode/factorio/runtime-api-LuaStorageTankControlBehavior.lua index e7bc55c..37b278b 100644 --- a/.vscode/factorio/runtime-api-LuaStorageTankControlBehavior.lua +++ b/.vscode/factorio/runtime-api-LuaStorageTankControlBehavior.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaStorageTankControlBehavior -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaStyle.lua b/.vscode/factorio/runtime-api-LuaStyle.lua index 2ac0080..5decce4 100644 --- a/.vscode/factorio/runtime-api-LuaStyle.lua +++ b/.vscode/factorio/runtime-api-LuaStyle.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaStyle -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaSurface.lua b/.vscode/factorio/runtime-api-LuaSurface.lua index 38aeb20..350053c 100644 --- a/.vscode/factorio/runtime-api-LuaSurface.lua +++ b/.vscode/factorio/runtime-api-LuaSurface.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaSurface -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaTechnology.lua b/.vscode/factorio/runtime-api-LuaTechnology.lua index 4d07562..86d5b25 100644 --- a/.vscode/factorio/runtime-api-LuaTechnology.lua +++ b/.vscode/factorio/runtime-api-LuaTechnology.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaTechnology -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaTechnologyPrototype.lua b/.vscode/factorio/runtime-api-LuaTechnologyPrototype.lua index fea2918..5c7abe4 100644 --- a/.vscode/factorio/runtime-api-LuaTechnologyPrototype.lua +++ b/.vscode/factorio/runtime-api-LuaTechnologyPrototype.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaTechnologyPrototype -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaTile.lua b/.vscode/factorio/runtime-api-LuaTile.lua index e62c300..ec52229 100644 --- a/.vscode/factorio/runtime-api-LuaTile.lua +++ b/.vscode/factorio/runtime-api-LuaTile.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaTile -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaTilePrototype.lua b/.vscode/factorio/runtime-api-LuaTilePrototype.lua index 276b0b7..5e661ca 100644 --- a/.vscode/factorio/runtime-api-LuaTilePrototype.lua +++ b/.vscode/factorio/runtime-api-LuaTilePrototype.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaTilePrototype -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaTrain.lua b/.vscode/factorio/runtime-api-LuaTrain.lua index 777e639..de94ed4 100644 --- a/.vscode/factorio/runtime-api-LuaTrain.lua +++ b/.vscode/factorio/runtime-api-LuaTrain.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaTrain -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaTrainStopControlBehavior.lua b/.vscode/factorio/runtime-api-LuaTrainStopControlBehavior.lua index 690438c..fe5f8fb 100644 --- a/.vscode/factorio/runtime-api-LuaTrainStopControlBehavior.lua +++ b/.vscode/factorio/runtime-api-LuaTrainStopControlBehavior.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaTrainStopControlBehavior -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaTransportBeltControlBehavior.lua b/.vscode/factorio/runtime-api-LuaTransportBeltControlBehavior.lua index 2e9932d..a69a771 100644 --- a/.vscode/factorio/runtime-api-LuaTransportBeltControlBehavior.lua +++ b/.vscode/factorio/runtime-api-LuaTransportBeltControlBehavior.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaTransportBeltControlBehavior -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaTransportLine.lua b/.vscode/factorio/runtime-api-LuaTransportLine.lua index 47a342d..5ee69b0 100644 --- a/.vscode/factorio/runtime-api-LuaTransportLine.lua +++ b/.vscode/factorio/runtime-api-LuaTransportLine.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaTransportLine -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaTrivialSmokePrototype.lua b/.vscode/factorio/runtime-api-LuaTrivialSmokePrototype.lua index 9e49f79..1bb2645 100644 --- a/.vscode/factorio/runtime-api-LuaTrivialSmokePrototype.lua +++ b/.vscode/factorio/runtime-api-LuaTrivialSmokePrototype.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaTrivialSmokePrototype -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaUnitGroup.lua b/.vscode/factorio/runtime-api-LuaUnitGroup.lua index 9f08d91..4ac630a 100644 --- a/.vscode/factorio/runtime-api-LuaUnitGroup.lua +++ b/.vscode/factorio/runtime-api-LuaUnitGroup.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaUnitGroup -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaVirtualSignalPrototype.lua b/.vscode/factorio/runtime-api-LuaVirtualSignalPrototype.lua index 307cdab..692d4d3 100644 --- a/.vscode/factorio/runtime-api-LuaVirtualSignalPrototype.lua +++ b/.vscode/factorio/runtime-api-LuaVirtualSignalPrototype.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaVirtualSignalPrototype -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaVoidEnergySourcePrototype.lua b/.vscode/factorio/runtime-api-LuaVoidEnergySourcePrototype.lua index 59feb92..993b488 100644 --- a/.vscode/factorio/runtime-api-LuaVoidEnergySourcePrototype.lua +++ b/.vscode/factorio/runtime-api-LuaVoidEnergySourcePrototype.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaVoidEnergySourcePrototype -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-LuaWallControlBehavior.lua b/.vscode/factorio/runtime-api-LuaWallControlBehavior.lua index 122b046..0d50915 100644 --- a/.vscode/factorio/runtime-api-LuaWallControlBehavior.lua +++ b/.vscode/factorio/runtime-api-LuaWallControlBehavior.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section LuaWallControlBehavior -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-builtin.lua b/.vscode/factorio/runtime-api-builtin.lua index 3476613..896b078 100644 --- a/.vscode/factorio/runtime-api-builtin.lua +++ b/.vscode/factorio/runtime-api-builtin.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section builtin -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-concepts.lua b/.vscode/factorio/runtime-api-concepts.lua index 5bf19b6..758cb4e 100644 --- a/.vscode/factorio/runtime-api-concepts.lua +++ b/.vscode/factorio/runtime-api-concepts.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section concepts -- This file is automatically generated. Edits will be overwritten. @@ -1651,7 +1651,7 @@ --- ---[View documentation](https://lua-api.factorio.com/latest/Concepts.html#InfinityInventoryFilter) ---@field mode? string ----The index of this filter in the filters list. +---The index of this filter in the filters list. Not required when writing a filter. --- ---[View documentation](https://lua-api.factorio.com/latest/Concepts.html#InfinityInventoryFilter) ---@field index uint diff --git a/.vscode/factorio/runtime-api-custom.lua b/.vscode/factorio/runtime-api-custom.lua index 6f45bae..7cca405 100644 --- a/.vscode/factorio/runtime-api-custom.lua +++ b/.vscode/factorio/runtime-api-custom.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section custom -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-defines.lua b/.vscode/factorio/runtime-api-defines.lua index a01278a..d711fb2 100644 --- a/.vscode/factorio/runtime-api-defines.lua +++ b/.vscode/factorio/runtime-api-defines.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section defines -- This file is automatically generated. Edits will be overwritten. @@ -1028,6 +1028,8 @@ defines.entity_status={} ---@class defines.events.on_permission_string_imported : defines.events ---[View documentation](https://lua-api.factorio.com/latest/defines.html#defines.events.on_picked_up_item) ---@class defines.events.on_picked_up_item : defines.events +---[View documentation](https://lua-api.factorio.com/latest/defines.html#defines.events.on_player_alt_reverse_selected_area) +---@class defines.events.on_player_alt_reverse_selected_area : defines.events ---[View documentation](https://lua-api.factorio.com/latest/defines.html#defines.events.on_player_alt_selected_area) ---@class defines.events.on_player_alt_selected_area : defines.events ---[View documentation](https://lua-api.factorio.com/latest/defines.html#defines.events.on_player_ammo_inventory_changed) @@ -1323,6 +1325,7 @@ defines.entity_status={} ---@field on_permission_group_edited defines.events.on_permission_group_edited ---@field on_permission_string_imported defines.events.on_permission_string_imported ---@field on_picked_up_item defines.events.on_picked_up_item +---@field on_player_alt_reverse_selected_area defines.events.on_player_alt_reverse_selected_area ---@field on_player_alt_selected_area defines.events.on_player_alt_selected_area ---@field on_player_ammo_inventory_changed defines.events.on_player_ammo_inventory_changed ---@field on_player_armor_inventory_changed defines.events.on_player_armor_inventory_changed @@ -1573,6 +1576,8 @@ defines.gui_type={} ---@class defines.input_action.add_train_station : defines.input_action ---[View documentation](https://lua-api.factorio.com/latest/defines.html#defines.input_action.admin_action) ---@class defines.input_action.admin_action : defines.input_action +---[View documentation](https://lua-api.factorio.com/latest/defines.html#defines.input_action.alt_reverse_select_area) +---@class defines.input_action.alt_reverse_select_area : defines.input_action ---[View documentation](https://lua-api.factorio.com/latest/defines.html#defines.input_action.alt_select_area) ---@class defines.input_action.alt_select_area : defines.input_action ---[View documentation](https://lua-api.factorio.com/latest/defines.html#defines.input_action.alt_select_blueprint_entities) @@ -1969,6 +1974,7 @@ defines.gui_type={} ---@field add_permission_group defines.input_action.add_permission_group ---@field add_train_station defines.input_action.add_train_station ---@field admin_action defines.input_action.admin_action +---@field alt_reverse_select_area defines.input_action.alt_reverse_select_area ---@field alt_select_area defines.input_action.alt_select_area ---@field alt_select_blueprint_entities defines.input_action.alt_select_blueprint_entities ---@field alternative_copy defines.input_action.alternative_copy diff --git a/.vscode/factorio/runtime-api-events.lua b/.vscode/factorio/runtime-api-events.lua index b30991f..c6d5af5 100644 --- a/.vscode/factorio/runtime-api-events.lua +++ b/.vscode/factorio/runtime-api-events.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section events -- This file is automatically generated. Edits will be overwritten. @@ -1554,6 +1554,44 @@ ---[View documentation](https://lua-api.factorio.com/latest/events.html#on_picked_up_item) ---@field tick uint +---@alias on_player_alt_reverse_selected_area EventData.on_player_alt_reverse_selected_area +---Called after a player alt-reverse-selects an area with a selection-tool item. +--- +---[View documentation](https://lua-api.factorio.com/latest/events.html#on_player_alt_reverse_selected_area) +---@class EventData.on_player_alt_reverse_selected_area : EventData +---The area selected. +--- +---[View documentation](https://lua-api.factorio.com/latest/events.html#on_player_alt_reverse_selected_area) +---@field area BoundingBox +---The entities selected. +--- +---[View documentation](https://lua-api.factorio.com/latest/events.html#on_player_alt_reverse_selected_area) +---@field entities LuaEntity[] +---The item used to select the area. +--- +---[View documentation](https://lua-api.factorio.com/latest/events.html#on_player_alt_reverse_selected_area) +---@field item string +---Identifier of the event +--- +---[View documentation](https://lua-api.factorio.com/latest/events.html#on_player_alt_reverse_selected_area) +---@field name defines.events +---The player doing the selection. +--- +---[View documentation](https://lua-api.factorio.com/latest/events.html#on_player_alt_reverse_selected_area) +---@field player_index uint +---The surface selected. +--- +---[View documentation](https://lua-api.factorio.com/latest/events.html#on_player_alt_reverse_selected_area) +---@field surface LuaSurface +---Tick the event was generated. +--- +---[View documentation](https://lua-api.factorio.com/latest/events.html#on_player_alt_reverse_selected_area) +---@field tick uint +---The tiles selected. +--- +---[View documentation](https://lua-api.factorio.com/latest/events.html#on_player_alt_reverse_selected_area) +---@field tiles LuaTile[] + ---@alias on_player_alt_selected_area EventData.on_player_alt_selected_area ---Called after a player alt-selects an area with a selection-tool item. --- diff --git a/.vscode/factorio/runtime-api-global_functions.lua b/.vscode/factorio/runtime-api-global_functions.lua index 00d5115..9979baf 100644 --- a/.vscode/factorio/runtime-api-global_functions.lua +++ b/.vscode/factorio/runtime-api-global_functions.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section global_functions -- This file is automatically generated. Edits will be overwritten. diff --git a/.vscode/factorio/runtime-api-table_types.lua b/.vscode/factorio/runtime-api-table_types.lua index 2ccef3e..62a0e15 100644 --- a/.vscode/factorio/runtime-api-table_types.lua +++ b/.vscode/factorio/runtime-api-table_types.lua @@ -1,7 +1,7 @@ ---@meta ---@diagnostic disable ---$Factorio 1.1.70 +--$Factorio 1.1.72 --$Overlay 5 --$Section table_types -- This file is automatically generated. Edits will be overwritten.