diff --git a/Changelog.md b/Changelog.md index a7cae90..8d0e251 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,3 +1,7 @@ +# v4.8.0 + +- Updated to factorio version 2.1.24 + # v4.7.0 - Updated to factorio version 2.1.22 diff --git a/generator/input/prototype-api-2.1.22.json b/generator/input/prototype-api-2.1.24.json similarity index 99% rename from generator/input/prototype-api-2.1.22.json rename to generator/input/prototype-api-2.1.24.json index cf6f40a..91e3757 100644 --- a/generator/input/prototype-api-2.1.22.json +++ b/generator/input/prototype-api-2.1.24.json @@ -1,6 +1,6 @@ { "application": "factorio", - "application_version": "2.1.22", + "application_version": "2.1.24", "api_version": 6, "stage": "prototype", "prototypes": [ @@ -3866,7 +3866,7 @@ { "name": "maximum_input_temperature", "order": 8, - "description": "If specified, an input fluid above this temperature will cause the boiler to stop working.", + "description": "If specified, an input fluid above this temperature will cause the boiler to stop working. This can be lower than the `target_temperature` for heating the fluid.", "override": false, "type": "float", "optional": true @@ -4726,7 +4726,7 @@ { "name": "CargoPodPrototype", "order": 39, - "description": "", + "description": "Entity used to send cargo between the [cargo hatches](prototype:CargoHatchDefinition) of [cargo landing pads](prototype:CargoLandingPadPrototype), [space platform hubs](prototype:SpacePlatformHubPrototype), [cargo bays](prototype:CargoBayPrototype) and [rocket silos](prototype:RocketSiloPrototype).\n\nThe pod for sending cargo is determined by [CargoHatchDefinition::cargo_unit_entity_to_spawn](prototype:CargoHatchDefinition::cargo_unit_entity_to_spawn). A cargo pod will only be sent to a destination if [receiving_cargo_units](prototype:CargoHatchDefinition::receiving_cargo_units) of the destination hatch contains the cargo pod.", "parent": "EntityWithOwnerPrototype", "abstract": false, "typename": "cargo-pod", @@ -4759,7 +4759,7 @@ { "name": "inventory_size", "order": 5, - "description": "", + "description": "The amount of item stacks that this cargo pod can transport.", "override": false, "type": "ItemStackIndex", "optional": false @@ -4803,7 +4803,7 @@ { "name": "spawned_container", "order": 6, - "description": "", + "description": "The entity that is created if this cargo pod lands on the ground instead of in a cargo hatch. The transported items will be transferred into the spawned entity.", "override": false, "type": "EntityID", "optional": false @@ -13427,7 +13427,7 @@ { "name": "scale_fluid_usage", "order": 11, - "description": "Scales the generator's fluid usage to its maximum power output.\n\nSetting this to true prevents the generator from overconsuming fluid, for example when higher than`maximum_temperature` fluid is fed to the generator.\n\nIf scale_fluid_usage is false, the generator consumes the full `fluid_usage_per_tick` and any of the extra energy in the fluid (in the form of higher temperature) is wasted. The [steam engine](https://wiki.factorio.com/Steam_engine) exhibits this behavior when fed steam from [heat exchangers](https://wiki.factorio.com/Heat_exchanger).", + "description": "Scales the generator's fluid usage to its maximum power output.\n\nSetting this to `true` prevents the generator from overconsuming fluid, for example when higher than `maximum_temperature` fluid is fed to the generator.\n\nIf scale_fluid_usage is false, the generator consumes the full `fluid_usage_per_tick` and any of the extra energy in the fluid (in the form of higher temperature) is wasted. The [steam engine](https://wiki.factorio.com/Steam_engine) exhibits this behavior when fed steam from [heat exchangers](https://wiki.factorio.com/Heat_exchanger).", "override": false, "type": "boolean", "optional": true, @@ -25347,7 +25347,7 @@ { "name": "send_pre_selection_events", "order": 8, - "description": "If true, the selection tool will send pre-selection events to mods [defines.events.on_player_start_select_area](runtime:defines.events.on_player_start_select_area), [defines.events.on_player_change_select_area](runtime:defines.events.on_player_change_select_area), and [defines.events.on_player_cancel_select_area](runtime:defines.events.on_player_cancel_select_area). Off by default because it will incur a performance penalty in multiplayer. It should only be enabled if a mod specifically needs it.", + "description": "If true, the selection tool will send pre-selection events to mods [defines.events.on_player_start_selected_area](runtime:defines.events.on_player_start_selected_area), [defines.events.on_player_change_selected_area](runtime:defines.events.on_player_change_selected_area), and [defines.events.on_player_cancel_selected_area](runtime:defines.events.on_player_cancel_selected_area). Off by default because it will incur a performance penalty in multiplayer. It should only be enabled if a mod specifically needs it.", "override": false, "type": "boolean", "optional": true, @@ -47478,7 +47478,7 @@ { "name": "cargo_unit_entity_to_spawn", "order": 12, - "description": "", + "description": "The [cargo pod](prototype:CargoPodPrototype) that this cargo hatch spawns when sending cargo.", "override": false, "type": "EntityID", "optional": true @@ -47573,7 +47573,7 @@ { "name": "receiving_cargo_units", "order": 14, - "description": "", + "description": "The [cargo pods](prototype:CargoPodPrototype) that this cargo hatch can receive.", "override": false, "type": { "complex_type": "array", @@ -57371,7 +57371,7 @@ { "name": "effectivity", "order": 5, - "description": "`1` means 100% effectivity. Must be greater than `0`. Multiplier of the energy output.", + "description": "`1` means 100% effectivity. Must be greater than `0`.\n\nHow much energy the fluid energy source produces compared to how much energy it consumes. For example, an effectivity of 0.5", "override": false, "type": "double", "optional": true, @@ -57455,7 +57455,7 @@ { "name": "scale_fluid_usage", "order": 7, - "description": "If set to `true`, the energy source will consume as much fluid as required to produce the desired power, otherwise it will consume as much as it is allowed to, wasting any excess.", + "description": "Scales the energy source's fluid usage to its maximum power output.\n\nIf this is `false` the energy source will overconsume fluid. For example when higher than `maximum_temperature` fluid is fed to the energy source, it will consume the full `fluid_usage_per_tick` and any of the extra energy in the fluid (in the form of higher temperature) is wasted. Setting scale_fluid_usage to `true` prevents this behavior.", "override": false, "type": "boolean", "optional": true, @@ -61195,7 +61195,12 @@ { "complex_type": "literal", "value": "draw-logistic-overlay", - "description": "Whether the logistics areas of roboports should be drawn when holding this item. Used for example by the [deconstruction planner](https://wiki.factorio.com/Deconstruction_planner)." + "description": "Whether the logistics areas of roboports should be drawn when holding this item. Used for example by the [deconstruction planner](https://wiki.factorio.com/Deconstruction_planner). The overlay will also be drawn in some instances without this flag enabled." + }, + { + "complex_type": "literal", + "value": "disable-logistic-overlay", + "description": "The logistics areas of roboports are never drawn when holding this item. Can't be used together with `\"draw-logistic-overlay\"`." }, { "complex_type": "literal", diff --git a/generator/input/runtime-api-2.1.22.json b/generator/input/runtime-api-2.1.24.json similarity index 99% rename from generator/input/runtime-api-2.1.22.json rename to generator/input/runtime-api-2.1.24.json index c796888..385d080 100644 --- a/generator/input/runtime-api-2.1.22.json +++ b/generator/input/runtime-api-2.1.24.json @@ -1,6 +1,6 @@ { "application": "factorio", - "application_version": "2.1.22", + "application_version": "2.1.24", "api_version": 6, "stage": "runtime", "classes": [ @@ -1068,6 +1068,24 @@ "description": "Entry point for registering event handlers. It is accessible through the global object named `script`.", "abstract": false, "methods": [ + { + "name": "finish_test", + "order": 15, + "description": "Finishes the test when the game was started with `--test-scenario` or `--test-save`: the game exits after the current tick, with exit code 0 if the test passed and 1 if it failed. Does nothing otherwise.", + "parameters": [ + { + "name": "passed", + "order": 0, + "description": "Whether the test passed. Defaults to `true`.", + "type": "boolean", + "optional": true + } + ], + "format": { + "takes_table": false + }, + "return_values": [] + }, { "name": "generate_event_name", "order": 7, @@ -1421,7 +1439,7 @@ }, { "name": "raise_biter_base_built", - "order": 19, + "order": 20, "description": "", "raises": [ { @@ -1449,7 +1467,7 @@ }, { "name": "raise_console_chat", - "order": 16, + "order": 17, "description": "", "raises": [ { @@ -1484,7 +1502,7 @@ }, { "name": "raise_event", - "order": 15, + "order": 16, "description": "Raise an event. Only events generated with [LuaBootstrap::generate_event_name](runtime:LuaBootstrap::generate_event_name) and the following can be raised:", "lists": [ "Events that can be raised manually:\n\n- [on_console_chat](runtime:on_console_chat)\n- [on_player_crafted_item](runtime:on_player_crafted_item)\n- [on_player_fast_transferred](runtime:on_player_fast_transferred)\n- [on_biter_base_built](runtime:on_biter_base_built)\n- [on_market_item_purchased](runtime:on_market_item_purchased)\n- [script_raised_built](runtime:script_raised_built)\n- [script_raised_destroy](runtime:script_raised_destroy)\n- [script_raised_revive](runtime:script_raised_revive)\n- [script_raised_teleported](runtime:script_raised_teleported)\n- [script_raised_set_tiles](runtime:script_raised_set_tiles)" @@ -1515,7 +1533,7 @@ }, { "name": "raise_market_item_purchased", - "order": 20, + "order": 21, "description": "", "raises": [ { @@ -1564,7 +1582,7 @@ }, { "name": "raise_player_crafted_item", - "order": 17, + "order": 18, "description": "", "raises": [ { @@ -1606,7 +1624,7 @@ }, { "name": "raise_player_fast_transferred", - "order": 18, + "order": 19, "description": "", "raises": [ { @@ -1655,7 +1673,7 @@ }, { "name": "raise_script_built", - "order": 21, + "order": 22, "description": "", "raises": [ { @@ -1683,7 +1701,7 @@ }, { "name": "raise_script_destroy", - "order": 22, + "order": 23, "description": "", "raises": [ { @@ -1711,7 +1729,7 @@ }, { "name": "raise_script_destroy_segmented_unit", - "order": 26, + "order": 27, "description": "", "raises": [ { @@ -1739,7 +1757,7 @@ }, { "name": "raise_script_revive", - "order": 23, + "order": 24, "description": "", "raises": [ { @@ -1774,7 +1792,7 @@ }, { "name": "raise_script_set_tiles", - "order": 25, + "order": 26, "description": "", "raises": [ { @@ -1812,7 +1830,7 @@ }, { "name": "raise_script_teleported", - "order": 24, + "order": 25, "description": "", "raises": [ { @@ -2077,10 +2095,17 @@ }, { "name": "object_name", - "order": 4, + "order": 5, "description": "The class name of this object. Available even when `valid` is false. For LuaStruct objects it may also be suffixed with a dotted path to a member of the struct.", "read_type": "string", "optional": false + }, + { + "name": "test_arg", + "order": 4, + "description": "The string given with `--test-arg` when the game was started with `--test-scenario` or `--test-save`.", + "read_type": "string", + "optional": true } ], "operators": [] @@ -27752,7 +27777,7 @@ "parameters": [ { "name": "allow_in_replay", - "order": 14, + "order": 15, "description": "Whether to save the screenshot even during replay playback. Defaults to `false`.", "type": "boolean", "optional": true @@ -27773,14 +27798,14 @@ }, { "name": "daytime", - "order": 15, + "order": 16, "description": "Overrides the current surface daytime for the duration of screenshot rendering.", "type": "double", "optional": true }, { "name": "force_render", - "order": 17, + "order": 18, "description": "Screenshot requests are processed in between game update and render. The game may skip rendering (ie. drop frames) if the previous frame has not finished rendering or the game simulation starts to fall below 60 updates per second. If `force_render` is set to `true`, the game won't drop frames and process the screenshot request at the end of the update in which the request was created. This is not honored on multiplayer clients that are catching up to server. Defaults to `false`.", "type": "boolean", "optional": true @@ -27799,6 +27824,13 @@ "type": "boolean", "optional": true }, + { + "name": "hide_health_bars", + "order": 13, + "description": "If `true` entity health bars won't be rendered. Defaults to `false`.", + "type": "boolean", + "optional": true + }, { "name": "path", "order": 6, @@ -27822,7 +27854,7 @@ }, { "name": "quality", - "order": 13, + "order": 14, "description": "The `.jpg` render quality as a percentage (from 0% to 100% inclusive), if used. A lower value means a more compressed image. Defaults to `80`.", "type": "int32", "optional": true @@ -27864,7 +27896,7 @@ }, { "name": "water_tick", - "order": 16, + "order": 17, "description": "Overrides the tick of water animation, if animated water is enabled.", "type": "uint32", "optional": true @@ -38458,7 +38490,7 @@ { "name": "LuaPin", "order": 94, - "description": "A pin owned by a player.", + "description": "A map pin owned by a player.", "abstract": false, "methods": [ { @@ -38493,7 +38525,7 @@ { "name": "alert_positions", "order": 11, - "description": "The alert positions if this pin is configured to show alert data.", + "description": "The alert positions, if this pin targets an alert.", "read_type": { "complex_type": "array", "value": "MapPosition" @@ -38507,7 +38539,7 @@ { "name": "alert_type", "order": 10, - "description": "The type of alert this pin is for (if configured to be about alerts).", + "description": "The type of alert this pin is for, if this pin targets an alert.", "read_type": "defines.alert_type", "write_type": "defines.alert_type", "optional": true @@ -38523,7 +38555,7 @@ { "name": "chart_tag", "order": 6, - "description": "The custom chart tag - if this pin specifically binds to a chart tag.\n\nThe chart tag must be on the same force as the owning player.", + "description": "The custom chart tag, if this pin specifically targets a chart tag.\n\nThe chart tag must be on the same force as the [owning player](runtime:LuaPin::owner).", "read_type": "LuaCustomChartTag", "write_type": "LuaCustomChartTag", "optional": true @@ -38531,14 +38563,14 @@ { "name": "index", "order": 0, - "description": "The index of this pin (unique to this player).\n\nNote that this index has no correlation to the position of the pin within [LuaPlayer::get_pins](runtime:LuaPlayer::get_pins)", + "description": "The index of this pin. The index is unique to this player.\n\nNote that this index has no correlation to the position of the pin within [LuaPlayer::get_pins](runtime:LuaPlayer::get_pins).", "read_type": "uint32", "optional": false }, { "name": "label", "order": 7, - "description": "The label for this pin - if any. This will be an empty string if there is no label set.", + "description": "The label for this pin, if any. This will be an empty string if there is no label set.", "read_type": "string", "write_type": "string", "optional": false @@ -38560,15 +38592,15 @@ { "name": "player", "order": 2, - "description": "The player that this pin is bound to.", + "description": "The player that this pin targets, if any.", "read_type": "LuaPlayer", - "write_type": "LuaPlayer", + "write_type": "PlayerIdentification", "optional": true }, { "name": "position", "order": 5, - "description": "The position if this pin specifically binds to a surface and position.\n\nIf writing, and this pin was not bound to a specific surface and position, the default surface of nauvis is used.", + "description": "The position if this pin specifically targets a surface and position.\n\nWhen writing, and this pin was not bound to a specific surface and position, the default surface of nauvis is used.", "read_type": "MapPosition", "write_type": "MapPosition", "optional": true @@ -38584,7 +38616,7 @@ { "name": "surface_index", "order": 4, - "description": "The surface index if this pin specifically binds to a surface and position.\n\nIf writing, and this pin was not bound to a specific surface and position, the default position of (0,0) is used.", + "description": "The surface index if this pin specifically targets a surface and position.\n\nWhen writing, and this pin was not bound to a specific surface and position, the default position of `{0, 0}` is used.", "read_type": "uint32", "write_type": "uint32", "optional": true @@ -38592,7 +38624,7 @@ { "name": "targets", "order": 3, - "description": "The targets of this pin - if any.", + "description": "The entities that this pin targets, if any.", "read_type": { "complex_type": "array", "value": "LuaEntity" @@ -67829,7 +67861,7 @@ "data": [ { "name": "name", - "order": 2, + "order": 1, "description": "Identifier of the event.", "type": "defines.events", "optional": false @@ -67841,16 +67873,9 @@ "type": "uint32", "optional": false }, - { - "name": "player_port", - "order": 1, - "description": "The player port used to respawn if one was used.", - "type": "LuaEntity", - "optional": true - }, { "name": "tick", - "order": 3, + "order": 2, "description": "Tick the event was generated.", "type": "MapTick", "optional": false @@ -84670,7 +84695,7 @@ { "name": "ItemFilter", "order": 45, - "description": "An item filter may be specified in two ways, either as a string which is an item prototype name or as a table.", + "description": "An item filter may be specified in two ways, either as a string which is an item prototype name or as a table.\n\nIf this is specified as a string that is an item prototype name, then quality is set to `\"normal\"` and the comparator is set to `\"=\"`, so only normal quality items will match the filter.", "type": { "complex_type": "union", "options": [ @@ -84680,7 +84705,7 @@ { "name": "comparator", "order": 2, - "description": "The quality comparison type.", + "description": "The quality comparison type. Defaults to `\"=\"`.", "type": "ComparatorString", "optional": true }, @@ -84694,7 +84719,7 @@ { "name": "quality", "order": 1, - "description": "The quality.", + "description": "The quality. Defaults to empty, so any quality items will match the filter.", "type": "QualityID", "optional": true } @@ -85513,6 +85538,11 @@ "value": "draw-logistic-overlay", "description": "Determines whether the logistics areas of roboports should be drawn when holding this item. Used by the deconstruction planner by default." }, + { + "complex_type": "literal", + "value": "disable-logistic-overlay", + "description": "Prevents the logistics areas of roboports from being drawn when holding this item." + }, { "complex_type": "literal", "value": "excluded-from-trash-unrequested", diff --git a/package-lock.json b/package-lock.json index dcadc33..691764f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "typed-factorio", - "version": "4.7.0", + "version": "4.8.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "typed-factorio", - "version": "4.7.0", + "version": "4.8.0", "license": "MIT", "devDependencies": { "@eslint/js": "^10.0.1", diff --git a/package.json b/package.json index 9faa07d..ba89364 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "typed-factorio", - "version": "4.7.0", + "version": "4.8.0", "description": "Featureful typescript definitions for the Factorio modding api.", "keywords": [ "factorio", @@ -59,5 +59,5 @@ "typescript-eslint": "^8.62.0", "typescript-to-lua": "1.37.0" }, - "factorioVersion": "2.1.22" + "factorioVersion": "2.1.24" } diff --git a/prototype/generated/prototypes.d.ts b/prototype/generated/prototypes.d.ts index 4cf2c0d..0d8e4d0 100644 --- a/prototype/generated/prototypes.d.ts +++ b/prototype/generated/prototypes.d.ts @@ -68,7 +68,7 @@ declare module "factorio:prototype" { * * default_output_signal = {type = "virtual", name = "signal-A"} * } - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AccumulatorPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AccumulatorPrototype.html Online documentation} */ export interface AccumulatorPrototype extends EntityWithOwnerPrototype { type: "accumulator" @@ -76,7 +76,7 @@ declare module "factorio:prototype" { * The capacity of the energy source buffer specifies the capacity of the accumulator. * * Any {@link ElectricEnergySource#usage_priority usage_priority} set here will be ignored, accumulators always have the "managed-accumulator" usage priority. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AccumulatorPrototype.html#energy_source Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AccumulatorPrototype.html#energy_source Online documentation} */ energy_source: ElectricEnergySource chargable_graphics?: ChargableGraphics @@ -84,23 +84,23 @@ declare module "factorio:prototype" { * **Default:** `0` * * The maximum circuit wire distance for this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AccumulatorPrototype.html#circuit_wire_max_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AccumulatorPrototype.html#circuit_wire_max_distance Online documentation} */ circuit_wire_max_distance?: double /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AccumulatorPrototype.html#draw_copper_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AccumulatorPrototype.html#draw_copper_wires Online documentation} */ draw_copper_wires?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AccumulatorPrototype.html#draw_circuit_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AccumulatorPrototype.html#draw_circuit_wires Online documentation} */ draw_circuit_wires?: boolean circuit_connector?: CircuitConnectorDefinition /** * The name of the signal that is the default for when an accumulator is connected to the circuit network. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AccumulatorPrototype.html#default_output_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AccumulatorPrototype.html#default_output_signal Online documentation} */ default_output_signal?: SignalIDConnector } @@ -114,7 +114,7 @@ declare module "factorio:prototype" { * icon = "__base__/graphics/achievement/so-long-and-thanks-for-all-the-fish.png", * icon_size = 128 * } - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AchievementPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AchievementPrototype.html Online documentation} */ export interface AchievementPrototype extends Prototype { type: @@ -151,14 +151,14 @@ declare module "factorio:prototype" { | "use-item-achievement" /** * Can't be an empty array. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AchievementPrototype.html#icons Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AchievementPrototype.html#icons Online documentation} */ icons?: readonly IconData[] /** * Path to the icon file. * * Only loaded, and mandatory if `icons` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AchievementPrototype.html#icon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AchievementPrototype.html#icon Online documentation} */ icon?: FileName /** @@ -169,21 +169,21 @@ declare module "factorio:prototype" { * The base game uses 128px icons for achievements. * * Only loaded if `icons` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AchievementPrototype.html#icon_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AchievementPrototype.html#icon_size Online documentation} */ icon_size?: SpriteSizeType /** * **Default:** `""` * * Unusable by mods, as this refers to unlocking the achievement through Steam. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AchievementPrototype.html#steam_stats_name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AchievementPrototype.html#steam_stats_name Online documentation} */ steam_stats_name?: string /** * **Default:** `true` * * If this is set to `false`, it is not possible to complete the achievement on the peaceful difficulty setting or when the enemy base generation settings have been changed. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AchievementPrototype.html#allowed_without_fight Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AchievementPrototype.html#allowed_without_fight Online documentation} */ allowed_without_fight?: boolean } @@ -197,13 +197,13 @@ declare module "factorio:prototype" { | "dont-use-entity-in-energy-production-achievement" /** * The condition that needs to be met to receive the achievement. Required for `"complete-objective-achievement"`, `"dont-build-entity-achievement"`, and `"dont-craft-manually-achievement"`. Not allowed for `"dont-kill-manually-achievement"` and `"dont-research-before-researching-achievement"`. Only allowed for `"dont-use-entity-in-energy-production-achievement"` if `"last_hour_only"` is `false`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AchievementPrototypeWithCondition.html#objective_condition Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AchievementPrototypeWithCondition.html#objective_condition Online documentation} */ objective_condition?: "game-finished" | "rocket-launched" | "late-research" } /** * Used by {@linkplain https://wiki.factorio.com/Discharge_defense discharge defense} and {@linkplain https://wiki.factorio.com/Personal_laser_defense personal laser defense}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ActiveDefenseEquipmentPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ActiveDefenseEquipmentPrototype.html Online documentation} */ export interface ActiveDefenseEquipmentPrototype extends EquipmentPrototype { type: "active-defense-equipment" @@ -212,14 +212,14 @@ declare module "factorio:prototype" { } /** * The abstract base of all active trigger prototypes. Active triggers are a special type of trigger delivery mechanism that function of a period of time and do not result in the creation or deletion of entities to function. They are intended to be short-lived objects associated with a surface and cannot be cancelled until they self-destruct. Active triggers support migrations and prototype changes, but require their own named prototype to function. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ActiveTriggerPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ActiveTriggerPrototype.html Online documentation} */ export interface ActiveTriggerPrototype extends Prototype { type: "chain-active-trigger" | "delayed-active-trigger" } /** * ![Space Age](https://wiki.factorio.com/images/thumb/Space_age_icon.png/16px-Space_age_icon.png) ***Space Age*** required to use. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AgriculturalTowerPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AgriculturalTowerPrototype.html Online documentation} */ export interface AgriculturalTowerPrototype extends EntityWithOwnerPrototype { type: "agricultural-tower" @@ -229,24 +229,24 @@ declare module "factorio:prototype" { input_inventory_size: ItemStackIndex /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AgriculturalTowerPrototype.html#output_inventory_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AgriculturalTowerPrototype.html#output_inventory_size Online documentation} */ output_inventory_size?: ItemStackIndex /** * The amount of energy this agricultural tower uses for each planted or harvested {@link PlantPrototype plant}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AgriculturalTowerPrototype.html#energy_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AgriculturalTowerPrototype.html#energy_usage Online documentation} */ energy_usage: Energy /** * The amount of energy this agricultural tower uses while the crane is moving. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AgriculturalTowerPrototype.html#crane_energy_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AgriculturalTowerPrototype.html#crane_energy_usage Online documentation} */ crane_energy_usage: Energy /** * The radius represents {@link AgriculturalTowerPrototype#growth_grid_tile_size grid tiles} which are created around the agricultural tower from its {@link EntityPrototype#collision_box collision box}. * * Must be positive. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AgriculturalTowerPrototype.html#radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AgriculturalTowerPrototype.html#radius Online documentation} */ radius: double /** @@ -255,7 +255,7 @@ declare module "factorio:prototype" { * The size of one grid tile a {@link PlantPrototype plant} is planted into. * * Must be positive. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AgriculturalTowerPrototype.html#growth_grid_tile_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AgriculturalTowerPrototype.html#growth_grid_tile_size Online documentation} */ growth_grid_tile_size?: uint32 /** @@ -264,7 +264,7 @@ declare module "factorio:prototype" { * The minimum radius of empty space a {@link PlantPrototype plant} requires around it to be planted. * * Must be greater than or equal to 0 and less than or equal to `growth_grid_tile_size / 2`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AgriculturalTowerPrototype.html#growth_area_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AgriculturalTowerPrototype.html#growth_area_radius Online documentation} */ growth_area_radius?: double /** @@ -273,14 +273,14 @@ declare module "factorio:prototype" { * The maximum offset from the grid tile center which will be applied to the planting spot selected by this agricultural tower. * * Must be greater than or equal to 0 and less than 1. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AgriculturalTowerPrototype.html#random_growth_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AgriculturalTowerPrototype.html#random_growth_offset Online documentation} */ random_growth_offset?: double /** * **Default:** `true` * * Whether the agricultural tower will start from a random grid tile when given a planting task. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AgriculturalTowerPrototype.html#randomize_planting_tile Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AgriculturalTowerPrototype.html#randomize_planting_tile Online documentation} */ randomize_planting_tile?: boolean radius_visualisation_picture?: Sprite @@ -300,56 +300,56 @@ declare module "factorio:prototype" { * **Default:** `0` * * The maximum circuit wire distance for this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AgriculturalTowerPrototype.html#circuit_wire_max_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AgriculturalTowerPrototype.html#circuit_wire_max_distance Online documentation} */ circuit_wire_max_distance?: double /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AgriculturalTowerPrototype.html#draw_copper_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AgriculturalTowerPrototype.html#draw_copper_wires Online documentation} */ draw_copper_wires?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AgriculturalTowerPrototype.html#draw_circuit_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AgriculturalTowerPrototype.html#draw_circuit_wires Online documentation} */ draw_circuit_wires?: boolean circuit_connector?: CircuitConnectorDefinition /** * When missing, all items with {@link ItemPrototype#plant_result plant result} will be accepted. When provided, only items on this list that have plant result will be accepted. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AgriculturalTowerPrototype.html#accepted_seeds Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AgriculturalTowerPrototype.html#accepted_seeds Online documentation} */ accepted_seeds?: readonly ItemID[] /** * The number of module slots in this machine. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AgriculturalTowerPrototype.html#module_slots Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AgriculturalTowerPrototype.html#module_slots Online documentation} */ module_slots?: ItemStackIndex /** * **Default:** `false` * * If set, {@link QualityPrototype#mining_drill_module_slots_bonus QualityPrototype::mining_drill_module_slots_bonus} will be added to module slots count. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AgriculturalTowerPrototype.html#quality_affects_module_slots Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AgriculturalTowerPrototype.html#quality_affects_module_slots Online documentation} */ quality_affects_module_slots?: boolean /** * **Default:** `No effects are allowed` * * Sets the {@link ModulePrototype modules} and {@link BeaconPrototype beacon} effects that are allowed to be used on this machine. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AgriculturalTowerPrototype.html#allowed_effects Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AgriculturalTowerPrototype.html#allowed_effects Online documentation} */ allowed_effects?: EffectTypeLimitation /** * **Default:** `All module categories are allowed` * * Sets the {@link ModuleCategory module categories} that are allowed to be inserted into this machine. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AgriculturalTowerPrototype.html#allowed_module_categories Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AgriculturalTowerPrototype.html#allowed_module_categories Online documentation} */ allowed_module_categories?: readonly ModuleCategoryID[] effect_receiver?: EffectReceiver } /** * A type of pollution that can spread throughout the chunks of a map. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AirbornePollutantPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AirbornePollutantPrototype.html Online documentation} */ export interface AirbornePollutantPrototype extends Prototype { type: "airborne-pollutant" @@ -357,7 +357,7 @@ declare module "factorio:prototype" { * **Default:** `"airborne-pollutant-name-with-amount."` * * The translated plural string key to use when displaying this pollution's name with an amount. See {@linkplain https://wiki.factorio.com/Tutorial:Localisation Tutorial:Localisation}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AirbornePollutantPrototype.html#localised_name_with_amount Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AirbornePollutantPrototype.html#localised_name_with_amount Online documentation} */ localised_name_with_amount?: string chart_color: Color @@ -365,14 +365,14 @@ declare module "factorio:prototype" { affects_evolution: boolean /** * If true, large amounts of this pollution will cause water tiles to turn a sickly green. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AirbornePollutantPrototype.html#affects_water_tint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AirbornePollutantPrototype.html#affects_water_tint Online documentation} */ affects_water_tint: boolean /** * **Default:** `true` * * If true, trees will occasionally take damage from this pollutant type. When they do, some amount of pollution is removed from the chunk equal to the map's `pollution_restored_per_tree_damage` setting. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AirbornePollutantPrototype.html#damages_trees Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AirbornePollutantPrototype.html#damages_trees Online documentation} */ damages_trees?: boolean } @@ -389,22 +389,22 @@ declare module "factorio:prototype" { * volume = 1.2 * } * } - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AmbientSound.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AmbientSound.html Online documentation} */ export interface AmbientSound { /** * Specification of the type of the prototype. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AmbientSound.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AmbientSound.html#type Online documentation} */ readonly type: "ambient-sound" /** * Unique textual identification of the prototype. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AmbientSound.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AmbientSound.html#name Online documentation} */ name: string /** * Alternative name of the track. It doesn't need to be unique. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AmbientSound.html#title Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AmbientSound.html#title Online documentation} */ title?: string /** @@ -413,7 +413,7 @@ declare module "factorio:prototype" { * Cannot be less than zero. * * Cannot be defined if `track_type` is `"hero-track"` or `"script-track"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AmbientSound.html#weight Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AmbientSound.html#weight Online documentation} */ weight?: double track_type: AmbientSoundType @@ -425,7 +425,7 @@ declare module "factorio:prototype" { * Cannot be defined if `track_type` is `"script-track"`. * * Cannot be defined when `play_on_all_surfaces` is true. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AmbientSound.html#planets Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AmbientSound.html#planets Online documentation} */ planets?: readonly SpaceLocationID[] /** @@ -436,7 +436,7 @@ declare module "factorio:prototype" { * Cannot be defined if `track_type` is `"hero-track"` or `"script-track"`. * * Cannot be defined when `play_on_all_surfaces` is true. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AmbientSound.html#surface_names Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AmbientSound.html#surface_names Online documentation} */ surface_names?: readonly string[] /** @@ -447,7 +447,7 @@ declare module "factorio:prototype" { * Cannot be defined if `track_type` is `"hero-track"` or `"script-track"`. * * Cannot be true if `planets` or `surface_names` are defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AmbientSound.html#play_on_all_surfaces Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AmbientSound.html#play_on_all_surfaces Online documentation} */ play_on_all_surfaces?: boolean /** @@ -456,7 +456,7 @@ declare module "factorio:prototype" { * Can be used only if `play_on_all_surfaces` is true or `surface_names` are defined. * * Cannot be used when `planets` are defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AmbientSound.html#exclude_planets Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AmbientSound.html#exclude_planets Online documentation} */ exclude_planets?: readonly SpaceLocationID[] /** @@ -465,21 +465,21 @@ declare module "factorio:prototype" { * Can be used only if `play_on_all_surfaces` is true or `surface_names` are defined. * * Cannot exclude a name given in `surface_names`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AmbientSound.html#exclude_surface_names Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AmbientSound.html#exclude_surface_names Online documentation} */ exclude_surface_names?: readonly string[] /** * Static music track. * * One of `sound` or `variable_sound` must be defined. Both cannot be defined together. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AmbientSound.html#sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AmbientSound.html#sound Online documentation} */ sound?: Sound /** * Variable music track. * * One of `sound` or `variable_sound` must be defined. Both cannot be defined together. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AmbientSound.html#variable_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AmbientSound.html#variable_sound Online documentation} */ variable_sound?: VariableAmbientSoundVariableSound } @@ -487,25 +487,25 @@ declare module "factorio:prototype" { * An ammo category. Each weapon has an ammo category, and can use any ammo with the same ammo category. Ammo categories can also be upgraded by technologies. * * _Prototype limited to **255** total instances_ - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AmmoCategory.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AmmoCategory.html Online documentation} */ export interface AmmoCategory extends Prototype { type: "ammo-category" /** * **Default:** `""` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AmmoCategory.html#bonus_gui_order Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AmmoCategory.html#bonus_gui_order Online documentation} */ bonus_gui_order?: Order /** * Can't be an empty array. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AmmoCategory.html#icons Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AmmoCategory.html#icons Online documentation} */ icons?: readonly IconData[] /** * Path to the icon file. * * Only loaded if `icons` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AmmoCategory.html#icon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AmmoCategory.html#icon Online documentation} */ icon?: FileName /** @@ -514,13 +514,13 @@ declare module "factorio:prototype" { * The size of the square icon, in pixels. E.g. `32` for a 32px by 32px icon. Must be larger than `0`. * * Only loaded if `icons` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AmmoCategory.html#icon_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AmmoCategory.html#icon_size Online documentation} */ icon_size?: SpriteSizeType } /** * Ammo used for a gun. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AmmoItemPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AmmoItemPrototype.html Online documentation} */ export interface AmmoItemPrototype extends ItemPrototype { type: "ammo" @@ -528,33 +528,33 @@ declare module "factorio:prototype" { * When using a plain {@link AmmoType} (no array), the ammo type applies to everything (`"default"`). * * When using an array of AmmoTypes, they have the additional {@link AmmoType#source_type AmmoType::source_type} property. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AmmoItemPrototype.html#ammo_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AmmoItemPrototype.html#ammo_type Online documentation} */ ammo_type: AmmoType | readonly AmmoType[] /** * **Default:** `1` * * Number of shots before ammo item is consumed. Must be >= `1`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AmmoItemPrototype.html#magazine_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AmmoItemPrototype.html#magazine_size Online documentation} */ magazine_size?: float /** * **Default:** `0` * * Amount of extra time (in ticks) it takes to reload the weapon after depleting the magazine. Must be >= `0`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AmmoItemPrototype.html#reload_time Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AmmoItemPrototype.html#reload_time Online documentation} */ reload_time?: float ammo_category: AmmoCategoryID /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AmmoItemPrototype.html#shoot_protected Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AmmoItemPrototype.html#shoot_protected Online documentation} */ shoot_protected?: boolean } /** * A turret that consumes {@link AmmoItemPrototype ammo items}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AmmoTurretPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AmmoTurretPrototype.html Online documentation} */ export interface AmmoTurretPrototype extends TurretPrototype { type: "ammo-turret" @@ -562,29 +562,29 @@ declare module "factorio:prototype" { energy_per_shot?: Energy /** * Size of the ammo inventory. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AmmoTurretPrototype.html#inventory_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AmmoTurretPrototype.html#inventory_size Online documentation} */ inventory_size: ItemStackIndex /** * The amount of ammo that inserters automatically insert into this turret. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AmmoTurretPrototype.html#automated_ammo_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AmmoTurretPrototype.html#automated_ammo_count Online documentation} */ automated_ammo_count: ItemCountType /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AmmoTurretPrototype.html#prepare_with_no_ammo Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AmmoTurretPrototype.html#prepare_with_no_ammo Online documentation} */ prepare_with_no_ammo?: boolean } /** * Specifies an animation that can be used with {@link import("factorio:runtime").LuaRendering#draw_animation LuaRendering::draw_animation} at runtime. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AnimationPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AnimationPrototype.html Online documentation} */ export interface AnimationPrototype { readonly type: "animation" /** * Name of the animation. Can be used with {@link import("factorio:runtime").LuaRendering#draw_animation LuaRendering::draw_animation} at runtime. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AnimationPrototype.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AnimationPrototype.html#name Online documentation} */ name: string /** @@ -593,47 +593,47 @@ declare module "factorio:prototype" { * `animation_speed` and `max_advance` of the first layer are used for all layers. All layers will run at the same speed. * * If this property is present, all other properties besides `name` and `type` are ignored. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AnimationPrototype.html#layers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AnimationPrototype.html#layers Online documentation} */ layers?: readonly Animation[] /** * Only loaded if `layers` is not defined. Mandatory if neither `stripes` nor `filenames` are defined. * * The path to the sprite file to use. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AnimationPrototype.html#filename Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AnimationPrototype.html#filename Online documentation} */ filename?: FileName /** * **Default:** `"medium"` * * Only loaded if `layers` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AnimationPrototype.html#priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AnimationPrototype.html#priority Online documentation} */ priority?: SpritePriority /** * Only loaded if `layers` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AnimationPrototype.html#flags Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AnimationPrototype.html#flags Online documentation} */ flags?: SpriteFlags /** * Only loaded if `layers` is not defined. * * The width and height of one frame. If this is a tuple, the first member of the tuple is the width and the second is the height. Otherwise the size is both width and height. Width and height may only be in the range of 0-4096. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AnimationPrototype.html#size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AnimationPrototype.html#size Online documentation} */ size?: SpriteSizeType | readonly [SpriteSizeType, SpriteSizeType] /** * Only loaded if `layers` is not defined. Mandatory if `size` is not defined. * * Width of one frame in pixels, from 0-4096. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AnimationPrototype.html#width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AnimationPrototype.html#width Online documentation} */ width?: SpriteSizeType /** * Only loaded if `layers` is not defined. Mandatory if `size` is not defined. * * Height of one frame in pixels, from 0-4096. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AnimationPrototype.html#height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AnimationPrototype.html#height Online documentation} */ height?: SpriteSizeType /** @@ -642,7 +642,7 @@ declare module "factorio:prototype" { * Only loaded if `layers` is not defined. * * Horizontal position of the animation in the source file in pixels. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AnimationPrototype.html#x Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AnimationPrototype.html#x Online documentation} */ x?: SpriteSizeType /** @@ -651,14 +651,14 @@ declare module "factorio:prototype" { * Only loaded if `layers` is not defined. * * Vertical position of the animation in the source file in pixels. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AnimationPrototype.html#y Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AnimationPrototype.html#y Online documentation} */ y?: SpriteSizeType /** * Only loaded if `layers` is not defined. * * Loaded only when `x` and `y` are both `0`. The first member of the tuple is `x` and the second is `y`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AnimationPrototype.html#position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AnimationPrototype.html#position Online documentation} */ position?: readonly [SpriteSizeType, SpriteSizeType] /** @@ -667,21 +667,21 @@ declare module "factorio:prototype" { * Only loaded if `layers` is not defined. * * The shift in tiles. `util.by_pixel()` can be used to divide the shift by 32 which is the usual pixel height/width of 1 tile in normal resolution. Note that 32 pixel tile height/width is not enforced anywhere - any other tile height or width is also possible. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AnimationPrototype.html#shift Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AnimationPrototype.html#shift Online documentation} */ shift?: Vector /** * **Default:** `false` * * Only loaded if `layers` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AnimationPrototype.html#rotate_shift Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AnimationPrototype.html#rotate_shift Online documentation} */ rotate_shift?: boolean /** * **Default:** `false` * * Only loaded if `layers` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AnimationPrototype.html#apply_special_effect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AnimationPrototype.html#apply_special_effect Online documentation} */ apply_special_effect?: boolean /** @@ -690,7 +690,7 @@ declare module "factorio:prototype" { * Only loaded if `layers` is not defined. * * Values other than `1` specify the scale of the sprite on default zoom. A scale of `2` means that the picture will be two times bigger on screen (and thus more pixelated). - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AnimationPrototype.html#scale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AnimationPrototype.html#scale Online documentation} */ scale?: double /** @@ -699,7 +699,7 @@ declare module "factorio:prototype" { * Only loaded if `layers` is not defined. * * Only one of `draw_as_shadow`, `draw_as_glow` and `draw_as_light` can be true. This takes precedence over `draw_as_glow` and `draw_as_light`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AnimationPrototype.html#draw_as_shadow Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AnimationPrototype.html#draw_as_shadow Online documentation} */ draw_as_shadow?: boolean /** @@ -710,7 +710,7 @@ declare module "factorio:prototype" { * Only one of `draw_as_shadow`, `draw_as_glow` and `draw_as_light` can be true. This takes precedence over `draw_as_light`. * * Draws first as a normal sprite, then again as a light layer. See {@linkplain https://forums.factorio.com/91682}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AnimationPrototype.html#draw_as_glow Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AnimationPrototype.html#draw_as_glow Online documentation} */ draw_as_glow?: boolean /** @@ -719,7 +719,7 @@ declare module "factorio:prototype" { * Only loaded if `layers` is not defined. * * Only one of `draw_as_shadow`, `draw_as_glow` and `draw_as_light` can be true. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AnimationPrototype.html#draw_as_light Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AnimationPrototype.html#draw_as_light Online documentation} */ draw_as_light?: boolean /** @@ -730,42 +730,42 @@ declare module "factorio:prototype" { * Only loaded if this is an icon, that is it has the flag `"group=icon"` or `"group=gui"`. * * Note that `mipmap_count` doesn't make sense in an animation, as it is not possible to layout mipmaps in a way that would load both the animation and the mipmaps correctly (besides animations with just one frame). See {@linkplain https://forums.factorio.com/viewtopic.php?p=549058#p549058 here}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AnimationPrototype.html#mipmap_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AnimationPrototype.html#mipmap_count Online documentation} */ mipmap_count?: uint8 /** * **Default:** `false` * * Only loaded if `layers` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AnimationPrototype.html#apply_runtime_tint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AnimationPrototype.html#apply_runtime_tint Online documentation} */ apply_runtime_tint?: boolean /** * **Default:** `false` * * Only loaded if `layers` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AnimationPrototype.html#tint_as_overlay Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AnimationPrototype.html#tint_as_overlay Online documentation} */ tint_as_overlay?: boolean /** * **Default:** `false` * * Only loaded if `layers` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AnimationPrototype.html#invert_colors Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AnimationPrototype.html#invert_colors Online documentation} */ invert_colors?: boolean /** * **Default:** ``{r=1, g=1, b=1, a=1}`` * * Only loaded if `layers` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AnimationPrototype.html#tint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AnimationPrototype.html#tint Online documentation} */ tint?: Color /** * **Default:** `"normal"` * * Only loaded if `layers` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AnimationPrototype.html#blend_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AnimationPrototype.html#blend_mode Online documentation} */ blend_mode?: BlendMode /** @@ -774,7 +774,7 @@ declare module "factorio:prototype" { * Only loaded if `layers` is not defined. * * Minimal mode is entered when mod loading fails. You are in it when you see the gray box after (part of) the loading screen that tells you a mod error. Modders can ignore this property. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AnimationPrototype.html#load_in_minimal_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AnimationPrototype.html#load_in_minimal_mode Online documentation} */ load_in_minimal_mode?: boolean /** @@ -783,7 +783,7 @@ declare module "factorio:prototype" { * Only loaded if `layers` is not defined. * * Whether alpha should be pre-multiplied. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AnimationPrototype.html#premul_alpha Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AnimationPrototype.html#premul_alpha Online documentation} */ premul_alpha?: boolean /** @@ -792,7 +792,7 @@ declare module "factorio:prototype" { * Only loaded if `layers` is not defined. * * If `true`, the sprite may be downsampled to half its size on load even when 'Sprite quality' graphics setting is set to 'High'. Whether downsampling happens depends on detected hardware and other graphics settings. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AnimationPrototype.html#allow_forced_downscale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AnimationPrototype.html#allow_forced_downscale Online documentation} */ allow_forced_downscale?: boolean /** @@ -801,7 +801,7 @@ declare module "factorio:prototype" { * Only loaded if `layers` is not defined. * * Unused. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AnimationPrototype.html#generate_sdf Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AnimationPrototype.html#generate_sdf Online documentation} */ generate_sdf?: boolean /** @@ -810,7 +810,7 @@ declare module "factorio:prototype" { * Only loaded if `layers` is not defined. * * Provides hint to sprite atlas system, so it can try to put sprites that are intended to be used at the same locations to the same sprite atlas. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AnimationPrototype.html#surface Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AnimationPrototype.html#surface Online documentation} */ surface?: SpriteUsageSurfaceHint /** @@ -819,14 +819,14 @@ declare module "factorio:prototype" { * Only loaded if `layers` is not defined. * * Provides hint to sprite atlas system, so it can pack sprites that are related to each other to the same sprite atlas. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AnimationPrototype.html#usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AnimationPrototype.html#usage Online documentation} */ usage?: SpriteUsageHint /** * **Default:** `"forward"` * * Only loaded if `layers` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AnimationPrototype.html#run_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AnimationPrototype.html#run_mode Online documentation} */ run_mode?: AnimationRunMode /** @@ -835,7 +835,7 @@ declare module "factorio:prototype" { * Only loaded if `layers` is not defined. * * Can't be `0`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AnimationPrototype.html#frame_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AnimationPrototype.html#frame_count Online documentation} */ frame_count?: uint32 /** @@ -844,7 +844,7 @@ declare module "factorio:prototype" { * Only loaded if `layers` is not defined. * * Once the specified number of pictures is loaded, other pictures are loaded on other line. This is to allow having longer animations in matrix, to input files with too high width. The game engine limits the width of any input files to 8192px, so it is compatible with most graphics cards. `0` means that all the pictures are in one horizontal line. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AnimationPrototype.html#line_length Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AnimationPrototype.html#line_length Online documentation} */ line_length?: uint32 /** @@ -855,7 +855,7 @@ declare module "factorio:prototype" { * Modifier of the animation playing speed, the default of `1` means one animation frame per tick (60 fps). The speed of playing can often vary depending on the usage (output of steam engine for example). Has to be greater than `0`. * * If `layers` are used, the `animation_speed` only has to be defined in one layer. All layers will run at the same speed. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AnimationPrototype.html#animation_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AnimationPrototype.html#animation_speed Online documentation} */ animation_speed?: float /** @@ -866,7 +866,7 @@ declare module "factorio:prototype" { * If `layers` are used, `max_advance` of the first layer is used for all layers. * * Maximum amount of frames the animation can move forward in one update. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AnimationPrototype.html#max_advance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AnimationPrototype.html#max_advance Online documentation} */ max_advance?: float /** @@ -875,55 +875,55 @@ declare module "factorio:prototype" { * Only loaded if `layers` is not defined. * * How many times to repeat the animation to complete an animation cycle. E.g. if one layer is 10 frames, a second layer of 1 frame would need `repeat_count = 10` to match the complete cycle. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AnimationPrototype.html#repeat_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AnimationPrototype.html#repeat_count Online documentation} */ repeat_count?: uint8 /** * Only loaded if `layers` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AnimationPrototype.html#dice Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AnimationPrototype.html#dice Online documentation} */ dice?: uint8 /** * Only loaded if `layers` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AnimationPrototype.html#dice_x Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AnimationPrototype.html#dice_x Online documentation} */ dice_x?: uint8 /** * Only loaded if `layers` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AnimationPrototype.html#dice_y Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AnimationPrototype.html#dice_y Online documentation} */ dice_y?: uint8 /** * Only loaded if `layers` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AnimationPrototype.html#frame_sequence Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AnimationPrototype.html#frame_sequence Online documentation} */ frame_sequence?: AnimationFrameSequence /** * Only loaded if `layers` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AnimationPrototype.html#stripes Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AnimationPrototype.html#stripes Online documentation} */ stripes?: readonly Stripe[] /** * Only loaded if neither `layers` nor `stripes` are defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AnimationPrototype.html#filenames Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AnimationPrototype.html#filenames Online documentation} */ filenames?: readonly FileName[] /** * **Default:** `Value of `frame_count`` * * Only loaded if `layers` is not defined and if `filenames` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AnimationPrototype.html#slice Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AnimationPrototype.html#slice Online documentation} */ slice?: uint32 /** * Only loaded if `layers` is not defined. Mandatory if `filenames` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AnimationPrototype.html#lines_per_file Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AnimationPrototype.html#lines_per_file Online documentation} */ lines_per_file?: uint32 } /** * An {@linkplain https://wiki.factorio.com/Arithmetic_combinator arithmetic combinator}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArithmeticCombinatorPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArithmeticCombinatorPrototype.html Online documentation} */ export interface ArithmeticCombinatorPrototype extends CombinatorPrototype { type: "arithmetic-combinator" @@ -941,47 +941,47 @@ declare module "factorio:prototype" { } /** * Armor to wear on your in-game {@link CharacterPrototype character} for defense and buffs. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArmorPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArmorPrototype.html Online documentation} */ export interface ArmorPrototype extends ToolPrototype { type: "armor" /** * Name of the {@link EquipmentGridPrototype} that this armor has. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArmorPrototype.html#equipment_grid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArmorPrototype.html#equipment_grid Online documentation} */ equipment_grid?: EquipmentGridID /** * What amount of damage the armor takes on what type of damage is incoming. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArmorPrototype.html#resistances Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArmorPrototype.html#resistances Online documentation} */ resistances?: readonly Resistance[] /** * By how many slots the inventory of the player is expanded when the armor is worn. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArmorPrototype.html#inventory_size_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArmorPrototype.html#inventory_size_bonus Online documentation} */ inventory_size_bonus?: ItemStackIndex /** * ![Space Age](https://wiki.factorio.com/images/thumb/Space_age_icon.png/16px-Space_age_icon.png) ***Space Age*** required to use. * * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArmorPrototype.html#provides_flight Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArmorPrototype.html#provides_flight Online documentation} */ provides_flight?: boolean collision_box?: BoundingBox drawing_box?: BoundingBox /** * Only loaded if `provides_flight` is `true`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArmorPrototype.html#takeoff_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArmorPrototype.html#takeoff_sound Online documentation} */ takeoff_sound?: Sound /** * Only loaded if `provides_flight` is `true`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArmorPrototype.html#flight_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArmorPrototype.html#flight_sound Online documentation} */ flight_sound?: InterruptibleSound /** * Only loaded if `provides_flight` is `true`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArmorPrototype.html#landing_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArmorPrototype.html#landing_sound Online documentation} */ landing_sound?: Sound steps_sound?: Sound @@ -1010,7 +1010,7 @@ declare module "factorio:prototype" { * height = 50 * } * } - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArrowPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArrowPrototype.html Online documentation} */ export interface ArrowPrototype extends EntityPrototype { type: "arrow" @@ -1018,7 +1018,7 @@ declare module "factorio:prototype" { circle_picture?: Sprite /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArrowPrototype.html#blinking Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArrowPrototype.html#blinking Online documentation} */ blinking?: boolean /** @@ -1027,88 +1027,88 @@ declare module "factorio:prototype" { * The entity with the higher number is selectable before the entity with the lower number. * * The value `0` will be treated the same as `nil`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArrowPrototype.html#selection_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArrowPrototype.html#selection_priority Online documentation} */ selection_priority?: uint8 } /** * The entity spawned by the {@linkplain https://wiki.factorio.com/Artillery_targeting_remote artillery targeting remote}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryFlarePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryFlarePrototype.html Online documentation} */ export interface ArtilleryFlarePrototype extends EntityPrototype { type: "artillery-flare" /** * Picture variation count and individual frame count must be equal to shadow variation count. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryFlarePrototype.html#pictures Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryFlarePrototype.html#pictures Online documentation} */ pictures?: AnimationVariations life_time: uint16 /** * Shadow variation variation count and individual frame count must be equal to picture variation count. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryFlarePrototype.html#shadows Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryFlarePrototype.html#shadows Online documentation} */ shadows?: AnimationVariations /** * **Default:** `"object"` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryFlarePrototype.html#render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryFlarePrototype.html#render_layer Online documentation} */ render_layer?: RenderLayer /** * **Default:** `"lower-object"` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryFlarePrototype.html#render_layer_when_on_ground Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryFlarePrototype.html#render_layer_when_on_ground Online documentation} */ render_layer_when_on_ground?: RenderLayer regular_trigger_effect?: TriggerEffect /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryFlarePrototype.html#regular_trigger_effect_frequency Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryFlarePrototype.html#regular_trigger_effect_frequency Online documentation} */ regular_trigger_effect_frequency?: uint32 ended_in_water_trigger_effect?: TriggerEffect /** * **Default:** `0.8` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryFlarePrototype.html#movement_modifier_when_on_ground Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryFlarePrototype.html#movement_modifier_when_on_ground Online documentation} */ movement_modifier_when_on_ground?: double /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryFlarePrototype.html#movement_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryFlarePrototype.html#movement_modifier Online documentation} */ movement_modifier?: double creation_shift?: Vector initial_speed?: Vector /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryFlarePrototype.html#initial_height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryFlarePrototype.html#initial_height Online documentation} */ initial_height?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryFlarePrototype.html#initial_vertical_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryFlarePrototype.html#initial_vertical_speed Online documentation} */ initial_vertical_speed?: float /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryFlarePrototype.html#initial_frame_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryFlarePrototype.html#initial_frame_speed Online documentation} */ initial_frame_speed?: float /** * **Default:** `1` * * How many artillery shots should be fired at the position of this flare. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryFlarePrototype.html#shots_per_flare Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryFlarePrototype.html#shots_per_flare Online documentation} */ shots_per_flare?: uint32 /** * **Default:** `180` * * How long this flare stays alive after `shots_per_flare` amount of shots have been shot at it. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryFlarePrototype.html#early_death_ticks Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryFlarePrototype.html#early_death_ticks Online documentation} */ early_death_ticks?: uint32 /** * Only artillery turrets/wagons whose ammo's {@link AmmoItemPrototype#ammo_category ammo_category} matches this category will shoot at this flare. Defaults to all ammo categories being able to shoot at this flare. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryFlarePrototype.html#shot_category Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryFlarePrototype.html#shot_category Online documentation} */ shot_category?: AmmoCategoryID map_color: Color @@ -1118,13 +1118,13 @@ declare module "factorio:prototype" { * The entity with the higher number is selectable before the entity with the lower number. * * The value `0` will be treated the same as `nil`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryFlarePrototype.html#selection_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryFlarePrototype.html#selection_priority Online documentation} */ selection_priority?: uint8 } /** * The projectile shot by {@linkplain https://wiki.factorio.com/Artillery artillery}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryProjectilePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryProjectilePrototype.html Online documentation} */ export interface ArtilleryProjectilePrototype extends EntityPrototype { type: "artillery-projectile" @@ -1136,14 +1136,14 @@ declare module "factorio:prototype" { final_action?: Trigger /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryProjectilePrototype.html#height_from_ground Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryProjectilePrototype.html#height_from_ground Online documentation} */ height_from_ground?: float /** * **Default:** `true` * * Whether the picture of the projectile is rotated to match the direction of travel. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryProjectilePrototype.html#rotatable Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryProjectilePrototype.html#rotatable Online documentation} */ rotatable?: boolean map_color: Color @@ -1153,7 +1153,7 @@ declare module "factorio:prototype" { * Must have a collision box size of zero. * @example * collision_box = {{0, 0}, {0, 0}} - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryProjectilePrototype.html#collision_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryProjectilePrototype.html#collision_box Online documentation} */ collision_box?: BoundingBox /** @@ -1162,60 +1162,60 @@ declare module "factorio:prototype" { * The entity with the higher number is selectable before the entity with the lower number. * * The value `0` will be treated the same as `nil`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryProjectilePrototype.html#selection_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryProjectilePrototype.html#selection_priority Online documentation} */ selection_priority?: uint8 } /** * An {@linkplain https://wiki.factorio.com/Artillery_turret artillery turret}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryTurretPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryTurretPrototype.html Online documentation} */ export interface ArtilleryTurretPrototype extends EntityWithOwnerPrototype { type: "artillery-turret" /** * Name of a {@link GunPrototype}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryTurretPrototype.html#gun Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryTurretPrototype.html#gun Online documentation} */ gun: ItemID /** * Must be > 0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryTurretPrototype.html#inventory_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryTurretPrototype.html#inventory_size Online documentation} */ inventory_size: ItemStackIndex /** * Must be > 0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryTurretPrototype.html#ammo_stack_limit Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryTurretPrototype.html#ammo_stack_limit Online documentation} */ ammo_stack_limit: ItemCountType /** * Must be > 0. The amount of ammo that inserters automatically insert into this artillery turret. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryTurretPrototype.html#automated_ammo_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryTurretPrototype.html#automated_ammo_count Online documentation} */ automated_ammo_count?: ItemCountType turret_rotation_speed: double /** * Must be positive. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryTurretPrototype.html#manual_range_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryTurretPrototype.html#manual_range_modifier Online documentation} */ manual_range_modifier: double /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryTurretPrototype.html#alert_when_attacking Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryTurretPrototype.html#alert_when_attacking Online documentation} */ alert_when_attacking?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryTurretPrototype.html#disable_automatic_firing Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryTurretPrototype.html#disable_automatic_firing Online documentation} */ disable_automatic_firing?: boolean /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryTurretPrototype.html#base_picture_secondary_draw_order Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryTurretPrototype.html#base_picture_secondary_draw_order Online documentation} */ base_picture_secondary_draw_order?: uint8 /** * **Default:** `"lower-object"` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryTurretPrototype.html#base_picture_render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryTurretPrototype.html#base_picture_render_layer Online documentation} */ base_picture_render_layer?: RenderLayer base_picture?: Animation4Way @@ -1225,145 +1225,145 @@ declare module "factorio:prototype" { rotating_sound?: InterruptibleSound /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryTurretPrototype.html#turn_after_shooting_cooldown Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryTurretPrototype.html#turn_after_shooting_cooldown Online documentation} */ turn_after_shooting_cooldown?: uint16 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryTurretPrototype.html#cannon_parking_frame_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryTurretPrototype.html#cannon_parking_frame_count Online documentation} */ cannon_parking_frame_count?: uint16 /** * **Default:** `1` * * Must be positive. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryTurretPrototype.html#cannon_parking_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryTurretPrototype.html#cannon_parking_speed Online documentation} */ cannon_parking_speed?: float /** * **Default:** `0` * * The maximum circuit wire distance for this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryTurretPrototype.html#circuit_wire_max_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryTurretPrototype.html#circuit_wire_max_distance Online documentation} */ circuit_wire_max_distance?: double /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryTurretPrototype.html#draw_copper_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryTurretPrototype.html#draw_copper_wires Online documentation} */ draw_copper_wires?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryTurretPrototype.html#draw_circuit_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryTurretPrototype.html#draw_circuit_wires Online documentation} */ draw_circuit_wires?: boolean circuit_connector?: CircuitConnectorDefinition cannon_barrel_recoil_shiftings?: readonly Vector3D[] /** * Only loaded if `cannon_barrel_recoil_shiftings` is loaded. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryTurretPrototype.html#cannon_barrel_recoil_shiftings_load_correction_matrix Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryTurretPrototype.html#cannon_barrel_recoil_shiftings_load_correction_matrix Online documentation} */ cannon_barrel_recoil_shiftings_load_correction_matrix?: readonly Vector3D[] /** * Only loaded if `cannon_barrel_recoil_shiftings` is loaded. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryTurretPrototype.html#cannon_barrel_light_direction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryTurretPrototype.html#cannon_barrel_light_direction Online documentation} */ cannon_barrel_light_direction?: Vector3D /** * **Default:** `true` * * Whether this prototype should be a high priority target for enemy forces. See {@linkplain https://wiki.factorio.com/Military_units_and_structures Military units and structures}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryTurretPrototype.html#is_military_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryTurretPrototype.html#is_military_target Online documentation} */ is_military_target?: boolean } /** * An {@linkplain https://wiki.factorio.com/Artillery_wagon artillery wagon}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryWagonPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryWagonPrototype.html Online documentation} */ export interface ArtilleryWagonPrototype extends RollingStockPrototype { type: "artillery-wagon" /** * Name of a {@link GunPrototype}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryWagonPrototype.html#gun Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryWagonPrototype.html#gun Online documentation} */ gun: ItemID /** * Must be > 0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryWagonPrototype.html#inventory_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryWagonPrototype.html#inventory_size Online documentation} */ inventory_size: ItemStackIndex /** * Must be > 0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryWagonPrototype.html#ammo_stack_limit Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryWagonPrototype.html#ammo_stack_limit Online documentation} */ ammo_stack_limit: ItemCountType /** * Must be > 0. The amount of ammo that inserters automatically insert into this artillery wagon. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryWagonPrototype.html#automated_ammo_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryWagonPrototype.html#automated_ammo_count Online documentation} */ automated_ammo_count?: ItemCountType turret_rotation_speed: double /** * Must be > 0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryWagonPrototype.html#manual_range_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryWagonPrototype.html#manual_range_modifier Online documentation} */ manual_range_modifier: double /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryWagonPrototype.html#disable_automatic_firing Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryWagonPrototype.html#disable_automatic_firing Online documentation} */ disable_automatic_firing?: boolean cannon_base_pictures?: RollingStockRotatedSlopedGraphics /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryWagonPrototype.html#cannon_base_height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryWagonPrototype.html#cannon_base_height Online documentation} */ cannon_base_height?: double /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryWagonPrototype.html#cannon_base_shift_when_vertical Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryWagonPrototype.html#cannon_base_shift_when_vertical Online documentation} */ cannon_base_shift_when_vertical?: double /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryWagonPrototype.html#cannon_base_shift_when_horizontal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryWagonPrototype.html#cannon_base_shift_when_horizontal Online documentation} */ cannon_base_shift_when_horizontal?: double cannon_barrel_pictures?: RollingStockRotatedSlopedGraphics rotating_sound?: InterruptibleSound /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryWagonPrototype.html#turn_after_shooting_cooldown Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryWagonPrototype.html#turn_after_shooting_cooldown Online documentation} */ turn_after_shooting_cooldown?: uint16 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryWagonPrototype.html#cannon_parking_frame_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryWagonPrototype.html#cannon_parking_frame_count Online documentation} */ cannon_parking_frame_count?: uint16 /** * **Default:** `1` * * Must be positive. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryWagonPrototype.html#cannon_parking_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryWagonPrototype.html#cannon_parking_speed Online documentation} */ cannon_parking_speed?: float cannon_barrel_recoil_shiftings?: readonly Vector3D[] /** * Only loaded if `cannon_barrel_recoil_shiftings` is loaded. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryWagonPrototype.html#cannon_barrel_recoil_shiftings_load_correction_matrix Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryWagonPrototype.html#cannon_barrel_recoil_shiftings_load_correction_matrix Online documentation} */ cannon_barrel_recoil_shiftings_load_correction_matrix?: readonly Vector3D[] /** * Only loaded if `cannon_barrel_recoil_shiftings` is loaded. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ArtilleryWagonPrototype.html#cannon_barrel_light_direction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ArtilleryWagonPrototype.html#cannon_barrel_light_direction Online documentation} */ cannon_barrel_light_direction?: Vector3D } /** * An assembling machine - like the assembling machines 1/2/3 in the game, but you can use your own recipe categories. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AssemblingMachinePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AssemblingMachinePrototype.html Online documentation} */ export interface AssemblingMachinePrototype extends CraftingMachinePrototype { type: "assembling-machine" | "rocket-silo" @@ -1371,36 +1371,36 @@ declare module "factorio:prototype" { * **Default:** `""` * * The preset recipe of this machine. This machine does not show a recipe selection if this is set. The base game uses this for the {@linkplain https://wiki.factorio.com/Rocket_silo rocket silo}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AssemblingMachinePrototype.html#fixed_recipe Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AssemblingMachinePrototype.html#fixed_recipe Online documentation} */ fixed_recipe?: RecipeID /** * Only loaded if `fixed_recipe` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AssemblingMachinePrototype.html#fixed_quality Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AssemblingMachinePrototype.html#fixed_quality Online documentation} */ fixed_quality?: QualityID /** * **Default:** `""` * * The locale key of the title of the recipe selection GUI that is shown when the player opens the assembling machine. May not be longer than 200 characters. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AssemblingMachinePrototype.html#gui_title_key Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AssemblingMachinePrototype.html#gui_title_key Online documentation} */ gui_title_key?: string /** * **Default:** `0` * * The maximum circuit wire distance for this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AssemblingMachinePrototype.html#circuit_wire_max_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AssemblingMachinePrototype.html#circuit_wire_max_distance Online documentation} */ circuit_wire_max_distance?: double /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AssemblingMachinePrototype.html#draw_copper_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AssemblingMachinePrototype.html#draw_copper_wires Online documentation} */ draw_copper_wires?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AssemblingMachinePrototype.html#draw_circuit_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AssemblingMachinePrototype.html#draw_circuit_wires Online documentation} */ draw_circuit_wires?: boolean default_recipe_finished_signal?: SignalIDConnector @@ -1411,12 +1411,12 @@ declare module "factorio:prototype" { * Sets the maximum number of item ingredients this machine can craft with. Any recipe with more item ingredients than this will be unavailable in this machine. * * This only counts item ingredients, not fluid ingredients! This means if ingredient count is 2, and the recipe has 2 item ingredients and 1 fluid ingredient, it can still be crafted in the machine. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AssemblingMachinePrototype.html#ingredient_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AssemblingMachinePrototype.html#ingredient_count Online documentation} */ ingredient_count?: uint16 /** * **Default:** `65535` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AssemblingMachinePrototype.html#max_item_product_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AssemblingMachinePrototype.html#max_item_product_count Online documentation} */ max_item_product_count?: uint16 circuit_connector?: readonly [ @@ -1437,12 +1437,12 @@ declare module "factorio:prototype" { * Whether the {@link CraftingMachinePrototype#fluid_boxes fluid boxes} are disabled when this assembling machine has no recipe set. * * If a recipe is set, this property does not affect fluidbox behavior. Instead, whether fluidboxes are enabled depends on whether the recipe needs them, e.g. if a recipe without fluid ingredients is set, the input fluidboxes will be disabled. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AssemblingMachinePrototype.html#fluid_boxes_off_when_no_fluid_recipe Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AssemblingMachinePrototype.html#fluid_boxes_off_when_no_fluid_recipe Online documentation} */ fluid_boxes_off_when_no_fluid_recipe?: boolean /** * Defaults to true if `fixed_recipe` is not given. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AssemblingMachinePrototype.html#disabled_when_recipe_not_researched Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AssemblingMachinePrototype.html#disabled_when_recipe_not_researched Online documentation} */ disabled_when_recipe_not_researched?: boolean } @@ -1453,14 +1453,14 @@ declare module "factorio:prototype" { graphics_set?: AsteroidGraphicsSet /** * Can't be an empty array. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AsteroidChunkPrototype.html#icons Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AsteroidChunkPrototype.html#icons Online documentation} */ icons?: readonly IconData[] /** * Path to the icon file. * * Only loaded, and mandatory if `icons` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AsteroidChunkPrototype.html#icon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AsteroidChunkPrototype.html#icon Online documentation} */ icon?: FileName /** @@ -1469,130 +1469,130 @@ declare module "factorio:prototype" { * The size of the square icon, in pixels. E.g. `32` for a 32px by 32px icon. Must be larger than `0`. * * Only loaded if `icons` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AsteroidChunkPrototype.html#icon_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AsteroidChunkPrototype.html#icon_size Online documentation} */ icon_size?: SpriteSizeType /** * **Default:** `unset` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AsteroidChunkPrototype.html#hide_from_signal_gui Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AsteroidChunkPrototype.html#hide_from_signal_gui Online documentation} */ hide_from_signal_gui?: boolean } /** * ![Space Age](https://wiki.factorio.com/images/thumb/Space_age_icon.png/16px-Space_age_icon.png) ***Space Age*** required to use. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AsteroidCollectorPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AsteroidCollectorPrototype.html Online documentation} */ export interface AsteroidCollectorPrototype extends EntityWithOwnerPrototype { type: "asteroid-collector" /** * **Default:** `5` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AsteroidCollectorPrototype.html#arm_inventory_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AsteroidCollectorPrototype.html#arm_inventory_size Online documentation} */ arm_inventory_size?: ItemStackIndex /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AsteroidCollectorPrototype.html#arm_inventory_size_quality_increase Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AsteroidCollectorPrototype.html#arm_inventory_size_quality_increase Online documentation} */ arm_inventory_size_quality_increase?: ItemStackIndex /** * **Default:** `39` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AsteroidCollectorPrototype.html#inventory_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AsteroidCollectorPrototype.html#inventory_size Online documentation} */ inventory_size?: ItemStackIndex /** * **Default:** `5` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AsteroidCollectorPrototype.html#inventory_size_quality_increase Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AsteroidCollectorPrototype.html#inventory_size_quality_increase Online documentation} */ inventory_size_quality_increase?: ItemStackIndex /** - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AsteroidCollectorPrototype.html#graphics_set Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AsteroidCollectorPrototype.html#graphics_set Online documentation} */ graphics_set: AsteroidCollectorGraphicsSet passive_energy_usage: Energy arm_energy_usage: Energy /** * If `arm_energy_usage` is not met, attempts to move slower at the cost of `arm_slow_energy_usage`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AsteroidCollectorPrototype.html#arm_slow_energy_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AsteroidCollectorPrototype.html#arm_slow_energy_usage Online documentation} */ arm_slow_energy_usage: Energy /** * **Default:** `0.1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AsteroidCollectorPrototype.html#energy_usage_quality_scaling Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AsteroidCollectorPrototype.html#energy_usage_quality_scaling Online documentation} */ energy_usage_quality_scaling?: float /** * **Default:** `3` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AsteroidCollectorPrototype.html#arm_count_base Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AsteroidCollectorPrototype.html#arm_count_base Online documentation} */ arm_count_base?: uint32 /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AsteroidCollectorPrototype.html#arm_count_quality_scaling Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AsteroidCollectorPrototype.html#arm_count_quality_scaling Online documentation} */ arm_count_quality_scaling?: uint32 /** * **Default:** `0.6` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AsteroidCollectorPrototype.html#head_collection_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AsteroidCollectorPrototype.html#head_collection_radius Online documentation} */ head_collection_radius?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AsteroidCollectorPrototype.html#collection_box_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AsteroidCollectorPrototype.html#collection_box_offset Online documentation} */ collection_box_offset?: float /** * **Default:** `1.5` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AsteroidCollectorPrototype.html#deposit_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AsteroidCollectorPrototype.html#deposit_radius Online documentation} */ deposit_radius?: float /** * **Default:** `0.1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AsteroidCollectorPrototype.html#arm_speed_base Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AsteroidCollectorPrototype.html#arm_speed_base Online documentation} */ arm_speed_base?: float /** * **Default:** `0.1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AsteroidCollectorPrototype.html#arm_speed_quality_scaling Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AsteroidCollectorPrototype.html#arm_speed_quality_scaling Online documentation} */ arm_speed_quality_scaling?: float /** * **Default:** `0.1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AsteroidCollectorPrototype.html#arm_angular_speed_cap_base Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AsteroidCollectorPrototype.html#arm_angular_speed_cap_base Online documentation} */ arm_angular_speed_cap_base?: float /** * **Default:** `0.1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AsteroidCollectorPrototype.html#arm_angular_speed_cap_quality_scaling Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AsteroidCollectorPrototype.html#arm_angular_speed_cap_quality_scaling Online documentation} */ arm_angular_speed_cap_quality_scaling?: float /** * **Default:** `0.4` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AsteroidCollectorPrototype.html#tether_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AsteroidCollectorPrototype.html#tether_size Online documentation} */ tether_size?: float /** * **Default:** `0.3` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AsteroidCollectorPrototype.html#unpowered_arm_speed_scale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AsteroidCollectorPrototype.html#unpowered_arm_speed_scale Online documentation} */ unpowered_arm_speed_scale?: float /** * **Default:** `6` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AsteroidCollectorPrototype.html#minimal_arm_swing_segment_retraction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AsteroidCollectorPrototype.html#minimal_arm_swing_segment_retraction Online documentation} */ minimal_arm_swing_segment_retraction?: uint32 /** * **Default:** `0.1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AsteroidCollectorPrototype.html#held_items_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AsteroidCollectorPrototype.html#held_items_offset Online documentation} */ held_items_offset?: float /** * **Default:** `0.15` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AsteroidCollectorPrototype.html#held_items_spread Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AsteroidCollectorPrototype.html#held_items_spread Online documentation} */ held_items_spread?: float /** * **Default:** `5` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AsteroidCollectorPrototype.html#held_items_display_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AsteroidCollectorPrototype.html#held_items_display_count Online documentation} */ held_items_display_count?: uint8 munch_sound?: Sound @@ -1604,23 +1604,23 @@ declare module "factorio:prototype" { * **Default:** `0` * * The maximum circuit wire distance for this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AsteroidCollectorPrototype.html#circuit_wire_max_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AsteroidCollectorPrototype.html#circuit_wire_max_distance Online documentation} */ circuit_wire_max_distance?: double /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AsteroidCollectorPrototype.html#draw_copper_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AsteroidCollectorPrototype.html#draw_copper_wires Online documentation} */ draw_copper_wires?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AsteroidCollectorPrototype.html#draw_circuit_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AsteroidCollectorPrototype.html#draw_circuit_wires Online documentation} */ draw_circuit_wires?: boolean radius_visualisation_picture?: Sprite /** * Must be positive. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AsteroidCollectorPrototype.html#collection_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AsteroidCollectorPrototype.html#collection_radius Online documentation} */ collection_radius: double circuit_connector?: readonly [ @@ -1631,13 +1631,13 @@ declare module "factorio:prototype" { ] /** * **Default:** `{{1, 1, 1}}` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AsteroidCollectorPrototype.html#arm_color_gradient Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AsteroidCollectorPrototype.html#arm_color_gradient Online documentation} */ arm_color_gradient?: readonly Color[] } /** * ![Space Age](https://wiki.factorio.com/images/thumb/Space_age_icon.png/16px-Space_age_icon.png) ***Space Age*** required to use. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AsteroidPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AsteroidPrototype.html Online documentation} */ export interface AsteroidPrototype extends EntityWithOwnerPrototype { type: "asteroid" @@ -1645,13 +1645,13 @@ declare module "factorio:prototype" { * **Default:** `1` * * How much damage should entities and tiles get for each asteroid health point lost due to collision with these objects. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AsteroidPrototype.html#damage_per_hp Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AsteroidPrototype.html#damage_per_hp Online documentation} */ damage_per_hp?: float graphics_set?: AsteroidGraphicsSet /** * Emissions cannot be larger than zero, asteroids cannot produce pollution. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AsteroidPrototype.html#emissions_per_second Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AsteroidPrototype.html#emissions_per_second Online documentation} */ emissions_per_second?: Record } @@ -1659,13 +1659,13 @@ declare module "factorio:prototype" { * A setting in the map creation GUI. Used by the {@link AutoplaceSpecification#control autoplace system}. * * _Prototype limited to **255** total instances_ - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AutoplaceControl.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AutoplaceControl.html Online documentation} */ export interface AutoplaceControl extends Prototype { type: "autoplace-control" /** * Controls in what tab the autoplace is shown in the map generator GUI. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AutoplaceControl.html#category Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AutoplaceControl.html#category Online documentation} */ category: "resource" | "terrain" | "cliff" | "enemy" /** @@ -1674,41 +1674,41 @@ declare module "factorio:prototype" { * Sets whether this control's richness can be changed. The map generator GUI will only show the richness slider when the `category` is `"resource"`. * * If the autoplace control is used to generate ores, you probably want this to be true. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AutoplaceControl.html#richness Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AutoplaceControl.html#richness Online documentation} */ richness?: boolean /** * **Default:** `true` * * Whether there is an "enable" checkbox for the autoplace control in the map generator GUI. If this is false, the autoplace control cannot be disabled from the GUI. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AutoplaceControl.html#can_be_disabled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AutoplaceControl.html#can_be_disabled Online documentation} */ can_be_disabled?: boolean /** * **Default:** `false` * * Whether this settings being lower than default disables fight related achievements. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AutoplaceControl.html#related_to_fight_achievements Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AutoplaceControl.html#related_to_fight_achievements Online documentation} */ related_to_fight_achievements?: boolean /** * **Default:** `false` * * Hides the autoplace control from the map generation screen. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AutoplaceControl.html#hidden Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AutoplaceControl.html#hidden Online documentation} */ hidden?: boolean } /** * Used by {@linkplain https://wiki.factorio.com/Personal_battery personal battery}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BatteryEquipmentPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BatteryEquipmentPrototype.html Online documentation} */ export interface BatteryEquipmentPrototype extends EquipmentPrototype { type: "battery-equipment" } /** * Entity with the ability to transfer {@link ModulePrototype module} effects to its neighboring entities. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BeaconPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BeaconPrototype.html Online documentation} */ export interface BeaconPrototype extends EntityWithOwnerPrototype { type: "beacon" @@ -1716,66 +1716,66 @@ declare module "factorio:prototype" { * The constant power usage of this beacon. * @example * energy_usage = "480kW" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BeaconPrototype.html#energy_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BeaconPrototype.html#energy_usage Online documentation} */ energy_usage: Energy energy_source: ElectricEnergySource | VoidEnergySource /** * The maximum distance that this beacon can supply its neighbors with its module's effects. Max distance is 64. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BeaconPrototype.html#supply_area_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BeaconPrototype.html#supply_area_distance Online documentation} */ supply_area_distance: uint32 /** * The multiplier of the module's effects, when shared between neighbors. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BeaconPrototype.html#distribution_effectivity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BeaconPrototype.html#distribution_effectivity Online documentation} */ distribution_effectivity: double /** * Must be 0 or positive. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BeaconPrototype.html#distribution_effectivity_bonus_per_quality_level Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BeaconPrototype.html#distribution_effectivity_bonus_per_quality_level Online documentation} */ distribution_effectivity_bonus_per_quality_level?: double /** * The number of module slots in this beacon. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BeaconPrototype.html#module_slots Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BeaconPrototype.html#module_slots Online documentation} */ module_slots: ItemStackIndex /** * **Default:** `false` * * If set, {@link QualityPrototype#beacon_module_slots_bonus QualityPrototype::beacon_module_slots_bonus} will be added to module slots count. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BeaconPrototype.html#quality_affects_module_slots Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BeaconPrototype.html#quality_affects_module_slots Online documentation} */ quality_affects_module_slots?: boolean /** * **Default:** `false` * * If set, {@link QualityPrototype#beacon_supply_area_distance_bonus QualityPrototype::beacon_supply_area_distance_bonus} will be added to supply_area_distance. Total value will be clamped to be within range `[0, 64]`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BeaconPrototype.html#quality_affects_supply_area_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BeaconPrototype.html#quality_affects_supply_area_distance Online documentation} */ quality_affects_supply_area_distance?: boolean /** * The graphics for the beacon. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BeaconPrototype.html#graphics_set Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BeaconPrototype.html#graphics_set Online documentation} */ graphics_set?: BeaconGraphicsSet /** * Only loaded if `graphics_set` is not defined. * * The animation for the beacon, when in use. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BeaconPrototype.html#animation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BeaconPrototype.html#animation Online documentation} */ animation?: Animation /** * Only loaded if `graphics_set` is not defined. * * The picture of the beacon when it is not on. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BeaconPrototype.html#base_picture Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BeaconPrototype.html#base_picture Online documentation} */ base_picture?: Animation /** * Affects animation speed. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BeaconPrototype.html#perceived_performance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BeaconPrototype.html#perceived_performance Online documentation} */ perceived_performance?: PerceivedPerformance radius_visualisation_picture?: Sprite @@ -1783,14 +1783,14 @@ declare module "factorio:prototype" { * **Default:** `No effects are allowed` * * The types of {@link ModulePrototype modules} that a player can place inside of the beacon. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BeaconPrototype.html#allowed_effects Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BeaconPrototype.html#allowed_effects Online documentation} */ allowed_effects?: EffectTypeLimitation /** * **Default:** `All module categories are allowed` * * Sets the {@link ModuleCategory module categories} that are allowed to be inserted into this machine. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BeaconPrototype.html#allowed_module_categories Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BeaconPrototype.html#allowed_module_categories Online documentation} */ allowed_module_categories?: readonly ModuleCategoryID[] /** @@ -1801,20 +1801,20 @@ declare module "factorio:prototype" { * If this is not defined, then an implicit profile of `{1}` will be used. * @example * profile = {1, 0} -- entities do not receive any effects when they are in range of more than one beacon - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BeaconPrototype.html#profile Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BeaconPrototype.html#profile Online documentation} */ profile?: readonly double[] /** * **Default:** `"total"` * * The beacon counter used by effect receiver when deciding which sample to take from `profile`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BeaconPrototype.html#beacon_counter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BeaconPrototype.html#beacon_counter Online documentation} */ beacon_counter?: "total" | "same_type" } /** * Used as a laser beam. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BeamPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BeamPrototype.html Online documentation} */ export interface BeamPrototype extends EntityPrototype { type: "beam" @@ -1822,20 +1822,20 @@ declare module "factorio:prototype" { width: float /** * Damage interval can't be 0. A value of 1 will cause the attack to be applied each tick. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BeamPrototype.html#damage_interval Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BeamPrototype.html#damage_interval Online documentation} */ damage_interval: uint32 target_offset?: Vector /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BeamPrototype.html#random_target_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BeamPrototype.html#random_target_offset Online documentation} */ random_target_offset?: boolean /** * **Default:** `false` * * Whether this beams should trigger its action every `damage_interval`. If false, the action is instead triggered when its owner triggers shooting. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BeamPrototype.html#action_triggered_automatically Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BeamPrototype.html#action_triggered_automatically Online documentation} */ action_triggered_automatically?: boolean graphics_set: BeamGraphicsSet @@ -1845,51 +1845,51 @@ declare module "factorio:prototype" { * The entity with the higher number is selectable before the entity with the lower number. * * The value `0` will be treated the same as `nil`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BeamPrototype.html#selection_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BeamPrototype.html#selection_priority Online documentation} */ selection_priority?: uint8 } /** * Used by {@linkplain https://wiki.factorio.com/Belt_immunity_equipment belt immunity equipment}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BeltImmunityEquipmentPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BeltImmunityEquipmentPrototype.html Online documentation} */ export interface BeltImmunityEquipmentPrototype extends EquipmentPrototype { type: "belt-immunity-equipment" /** * The continuous power consumption of the belt immunity equipment. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BeltImmunityEquipmentPrototype.html#energy_consumption Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BeltImmunityEquipmentPrototype.html#energy_consumption Online documentation} */ energy_consumption: Energy } /** * A {@linkplain https://wiki.factorio.com/Blueprint_book blueprint book}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BlueprintBookPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BlueprintBookPrototype.html Online documentation} */ export interface BlueprintBookPrototype extends Omit { type: "blueprint-book" /** * The inventory size of the item. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BlueprintBookPrototype.html#inventory_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BlueprintBookPrototype.html#inventory_size Online documentation} */ inventory_size: ItemStackIndex | "dynamic" /** * Count of items of the same name that can be stored in one inventory slot. Must be 1 when the `"not-stackable"` flag is set. * @example * stack_size = 1 - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BlueprintBookPrototype.html#stack_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BlueprintBookPrototype.html#stack_size Online documentation} */ stack_size: 1 /** * **Default:** `true` * * If the item will draw its label when held in the cursor in place of the item count. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BlueprintBookPrototype.html#draw_label_for_cursor_render Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BlueprintBookPrototype.html#draw_label_for_cursor_render Online documentation} */ draw_label_for_cursor_render?: boolean } /** * A {@linkplain https://wiki.factorio.com/Blueprint blueprint}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BlueprintItemPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BlueprintItemPrototype.html Online documentation} */ export interface BlueprintItemPrototype extends SelectionToolPrototype { type: "blueprint" @@ -1897,51 +1897,51 @@ declare module "factorio:prototype" { * Count of items of the same name that can be stored in one inventory slot. Must be 1 when the `"not-stackable"` flag is set. * @example * stack_size = 1 - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BlueprintItemPrototype.html#stack_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BlueprintItemPrototype.html#stack_size Online documentation} */ stack_size: 1 /** * **Default:** `true` * * Whether the item will draw its label when held in the cursor in place of the item count. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BlueprintItemPrototype.html#draw_label_for_cursor_render Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BlueprintItemPrototype.html#draw_label_for_cursor_render Online documentation} */ draw_label_for_cursor_render?: boolean /** * The {@link SelectionModeData#mode SelectionModeData::mode} is hardcoded to `"blueprint"`. * * The filters are parsed, but then ignored and forced to be empty. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BlueprintItemPrototype.html#select Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BlueprintItemPrototype.html#select Online documentation} */ select: SelectionModeData /** * The {@link SelectionModeData#mode SelectionModeData::mode} is hardcoded to `"blueprint"`. * * The filters are parsed, but then ignored and forced to be empty. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BlueprintItemPrototype.html#alt_select Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BlueprintItemPrototype.html#alt_select Online documentation} */ alt_select: SelectionModeData /** * **Default:** `false` * * This property is hardcoded to `false`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BlueprintItemPrototype.html#always_include_tiles Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BlueprintItemPrototype.html#always_include_tiles Online documentation} */ always_include_tiles?: boolean /** * Tints of the building preview when this blueprint is held in the cursor. Every property is optional here, any that are not given use the color from {@link UtilityConstants#build_preview_tints UtilityConstants::build_preview_tints}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BlueprintItemPrototype.html#build_preview_tints Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BlueprintItemPrototype.html#build_preview_tints Online documentation} */ build_preview_tints?: BuildPreviewTints } /** * A {@linkplain https://wiki.factorio.com/Boiler boiler}. It heats fluid and optionally outputs it as a different fluid. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BoilerPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BoilerPrototype.html Online documentation} */ export interface BoilerPrototype extends EntityWithOwnerPrototype { type: "boiler" /** - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BoilerPrototype.html#pictures Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BoilerPrototype.html#pictures Online documentation} */ pictures?: BoilerPictureSet energy_source: EnergySource @@ -1949,7 +1949,7 @@ declare module "factorio:prototype" { * The input fluid box. * * If `mode` is `"heat-fluid-inside"`, the fluid is heated up directly in this fluidbox. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BoilerPrototype.html#fluid_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BoilerPrototype.html#fluid_box Online documentation} */ fluid_box: FluidBox /** @@ -1958,7 +1958,7 @@ declare module "factorio:prototype" { * If `mode` is `"output-to-separate-pipe"` and this has a {@link FluidBox#filter filter}, the heated input fluid is converted to the output fluid that is set in the filter. The conversion ratio is based on the {@link FluidPrototype#heat_capacity heat capacity} of the fluids: `output_fluid_amount = input_fluid_amount * (input_fluid_heat_capacity / output_fluid_heat_capacity)` * * If `mode` is `"heat-fluid-inside"`, this fluidbox is unused. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BoilerPrototype.html#output_fluid_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BoilerPrototype.html#output_fluid_box Online documentation} */ output_fluid_box: FluidBox energy_consumption: Energy @@ -1966,36 +1966,36 @@ declare module "factorio:prototype" { * Controls for how many ticks the boiler will show the fire and fire_glow after the energy source runs out of energy. * * Note that `fire` and `fire_glow` alpha is set to the light intensity of the energy source, so 0 light intensity means the fire is invisible. For burner energy sources, the light intensity will reach zero rather quickly after the boiler runs out of fuel, effectively capping the time that `fire` and `fire_glow` will be shown after the boiler runs out of fuel. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BoilerPrototype.html#burning_cooldown Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BoilerPrototype.html#burning_cooldown Online documentation} */ burning_cooldown: uint16 /** * Only loaded, and mandatory if `mode` is `"output-to-separate-pipe"`. The boiler heats the input fluid to exactly this temperature and moves the fluid to the output fluid box. An input fluid above this temperature will cause the boiler to stop working. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BoilerPrototype.html#target_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BoilerPrototype.html#target_temperature Online documentation} */ target_temperature?: float /** * If specified, an input fluid below this temperature will cause the boiler to stop working. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BoilerPrototype.html#minimum_input_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BoilerPrototype.html#minimum_input_temperature Online documentation} */ minimum_input_temperature?: float /** - * If specified, an input fluid above this temperature will cause the boiler to stop working. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BoilerPrototype.html#maximum_input_temperature Online documentation} + * If specified, an input fluid above this temperature will cause the boiler to stop working. This can be lower than the `target_temperature` for heating the fluid. + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BoilerPrototype.html#maximum_input_temperature Online documentation} */ maximum_input_temperature?: float /** * **Default:** `false` * * If this is set to false, `fire_glow` alpha is always 1 instead of being controlled by the light intensity of the energy source. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BoilerPrototype.html#fire_glow_flicker_enabled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BoilerPrototype.html#fire_glow_flicker_enabled Online documentation} */ fire_glow_flicker_enabled?: boolean /** * **Default:** `false` * * If this is set to false, `fire` alpha is always 1 instead of being controlled by the light intensity of the energy source. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BoilerPrototype.html#fire_flicker_enabled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BoilerPrototype.html#fire_flicker_enabled Online documentation} */ fire_flicker_enabled?: boolean /** @@ -2004,24 +2004,24 @@ declare module "factorio:prototype" { * In the `"output-to-separate-pipe"` mode, fluid is transferred from the `fluid_box` to the `output_fluid_box` when enough energy is available to {@link FluidPrototype#heat_capacity heat} the input fluid to the `target_temperature`. Setting a filter on the `output_fluid_box` means that instead of the heated input fluid getting moved to the output, it is converted to the filtered fluid in a ratio based on the heat capacity of the fluids: `output_fluid_amount = input_fluid_amount * (input_fluid_heat_capacity / output_fluid_heat_capacity)` * * In the `"heat-fluid-inside"` mode, fluid in the `fluid_box` is continuously heated from the input temperature up to its {@link FluidPrototype#max_temperature FluidPrototype::max_temperature}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BoilerPrototype.html#mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BoilerPrototype.html#mode Online documentation} */ mode?: "heat-fluid-inside" | "output-to-separate-pipe" /** * **Default:** `0` * * The maximum circuit wire distance for this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BoilerPrototype.html#circuit_wire_max_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BoilerPrototype.html#circuit_wire_max_distance Online documentation} */ circuit_wire_max_distance?: double /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BoilerPrototype.html#draw_copper_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BoilerPrototype.html#draw_copper_wires Online documentation} */ draw_copper_wires?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BoilerPrototype.html#draw_circuit_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BoilerPrototype.html#draw_circuit_wires Online documentation} */ draw_circuit_wires?: boolean circuit_connector?: readonly [ @@ -2033,7 +2033,7 @@ declare module "factorio:prototype" { } /** * This prototype is used for receiving an achievement when the player builds an entity. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BuildEntityAchievementPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BuildEntityAchievementPrototype.html Online documentation} */ export interface BuildEntityAchievementPrototype extends AchievementPrototype { type: "build-entity-achievement" @@ -2041,21 +2041,21 @@ declare module "factorio:prototype" { * This will trigger the achievement, if this entity is placed. * @example * to_build = "locomotive" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BuildEntityAchievementPrototype.html#to_build Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BuildEntityAchievementPrototype.html#to_build Online documentation} */ to_build: EntityID /** * **Default:** `1` * * How many entities need to be built. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BuildEntityAchievementPrototype.html#amount Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BuildEntityAchievementPrototype.html#amount Online documentation} */ amount?: uint32 /** * **Default:** `false` * * If this is false, the player carries over their statistics from this achievement through all their saves. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BuildEntityAchievementPrototype.html#limited_to_one_game Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BuildEntityAchievementPrototype.html#limited_to_one_game Online documentation} */ limited_to_one_game?: boolean /** @@ -2064,57 +2064,57 @@ declare module "factorio:prototype" { * The achievement must be completed within this time limit. * @example * within = 60 * 60 * 60 * 8 -- 8 hours - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BuildEntityAchievementPrototype.html#within Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BuildEntityAchievementPrototype.html#within Online documentation} */ within?: MapTick } /** * An entity that produces power from a burner energy source. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BurnerGeneratorPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BurnerGeneratorPrototype.html Online documentation} */ export interface BurnerGeneratorPrototype extends EntityWithOwnerPrototype { type: "burner-generator" /** * The output energy source of the generator. Any emissions specified on this energy source are ignored, they must be specified on `burner`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BurnerGeneratorPrototype.html#energy_source Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BurnerGeneratorPrototype.html#energy_source Online documentation} */ energy_source: ElectricEnergySource /** * The input energy source of the generator. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BurnerGeneratorPrototype.html#burner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BurnerGeneratorPrototype.html#burner Online documentation} */ burner: BurnerEnergySource /** * Plays when the generator is active. `idle_animation` must have the same frame count as animation. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BurnerGeneratorPrototype.html#animation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BurnerGeneratorPrototype.html#animation Online documentation} */ animation?: Animation4Way /** * How much energy this generator can produce. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BurnerGeneratorPrototype.html#max_power_output Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BurnerGeneratorPrototype.html#max_power_output Online documentation} */ max_power_output: Energy /** * Plays when the generator is inactive. Idle animation must have the same frame count as `animation`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BurnerGeneratorPrototype.html#idle_animation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BurnerGeneratorPrototype.html#idle_animation Online documentation} */ idle_animation?: Animation4Way /** * **Default:** `false` * * Whether the `idle_animation` should also play when the generator is active. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BurnerGeneratorPrototype.html#always_draw_idle_animation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BurnerGeneratorPrototype.html#always_draw_idle_animation Online documentation} */ always_draw_idle_animation?: boolean /** * Affects animation speed and working sound. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BurnerGeneratorPrototype.html#perceived_performance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BurnerGeneratorPrototype.html#perceived_performance Online documentation} */ perceived_performance?: PerceivedPerformance } /** * Set of data affecting tooltips, looks of gui slots etc when {@link BurnerEnergySource burner} is not supposed to be burning items but eating them. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BurnerUsagePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BurnerUsagePrototype.html Online documentation} */ export interface BurnerUsagePrototype extends Prototype { type: "burner-usage" @@ -2128,20 +2128,20 @@ declare module "factorio:prototype" { } /** * A capsule, for example a {@linkplain https://wiki.factorio.com/Combat_robot_capsules combat robot capsule} or the {@linkplain https://wiki.factorio.com/Raw_fish raw fish}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CapsulePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CapsulePrototype.html Online documentation} */ export interface CapsulePrototype extends ItemPrototype { type: "capsule" capsule_action: CapsuleAction /** * Color of the range radius that is shown around the player when they hold the capsule. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CapsulePrototype.html#radius_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CapsulePrototype.html#radius_color Online documentation} */ radius_color?: Color } /** * ![Space Age](https://wiki.factorio.com/images/thumb/Space_age_icon.png/16px-Space_age_icon.png) ***Space Age*** required to use. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CaptureRobotPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CaptureRobotPrototype.html Online documentation} */ export interface CaptureRobotPrototype extends FlyingRobotPrototype { type: "capture-robot" @@ -2149,14 +2149,14 @@ declare module "factorio:prototype" { * **Default:** `1` * * Must be >= 0.001. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CaptureRobotPrototype.html#capture_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CaptureRobotPrototype.html#capture_speed Online documentation} */ capture_speed?: double /** * **Default:** `1` * * Must be >= 0.0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CaptureRobotPrototype.html#search_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CaptureRobotPrototype.html#search_radius Online documentation} */ search_radius?: double destroy_action?: Trigger @@ -2164,114 +2164,114 @@ declare module "factorio:prototype" { } /** * Entity with specialized properties for acceleration, braking, and turning. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CarPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CarPrototype.html Online documentation} */ export interface CarPrototype extends VehiclePrototype { type: "car" /** * Animation speed 1 means 1 frame per tile. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CarPrototype.html#animation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CarPrototype.html#animation Online documentation} */ animation?: RotatedAnimation /** * Modifies the efficiency of energy transfer from burner output to wheels. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CarPrototype.html#effectivity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CarPrototype.html#effectivity Online documentation} */ effectivity: double consumption: Energy rotation_speed: double /** * Vehicle will snap the vertical, horizontal or diagonal axis if it's within this angle - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CarPrototype.html#rotation_snap_angle Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CarPrototype.html#rotation_snap_angle Online documentation} */ rotation_snap_angle: double energy_source: BurnerEnergySource | VoidEnergySource /** * Animation speed 1 means 1 frame per tile. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CarPrototype.html#turret_animation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CarPrototype.html#turret_animation Online documentation} */ turret_animation?: RotatedAnimation /** * Must have the same frame count as `animation`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CarPrototype.html#light_animation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CarPrototype.html#light_animation Online documentation} */ light_animation?: RotatedAnimation /** * **Default:** `"object"` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CarPrototype.html#render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CarPrototype.html#render_layer Online documentation} */ render_layer?: RenderLayer /** * **Default:** `false` * * If this car prototype uses tank controls to drive. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CarPrototype.html#tank_driving Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CarPrototype.html#tank_driving Online documentation} */ tank_driving?: boolean /** * **Default:** `false` * * If this car prototype keeps the trunk inventory sorted. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CarPrototype.html#auto_sort_inventory Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CarPrototype.html#auto_sort_inventory Online documentation} */ auto_sort_inventory?: boolean /** * **Default:** `false` * * If this car is immune to movement by belts. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CarPrototype.html#has_belt_immunity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CarPrototype.html#has_belt_immunity Online documentation} */ has_belt_immunity?: boolean /** * **Default:** `false` * * If this car gets damaged by driving over/against {@link TreePrototype trees}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CarPrototype.html#immune_to_tree_impacts Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CarPrototype.html#immune_to_tree_impacts Online documentation} */ immune_to_tree_impacts?: boolean /** * **Default:** `false` * * If this car gets damaged by driving over/against {@link SimpleEntityPrototype#count_as_rock_for_filtered_deconstruction rocks}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CarPrototype.html#immune_to_rock_impacts Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CarPrototype.html#immune_to_rock_impacts Online documentation} */ immune_to_rock_impacts?: boolean /** * **Default:** `true` * * If this car gets damaged by driving against {@link CliffPrototype cliffs}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CarPrototype.html#immune_to_cliff_impacts Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CarPrototype.html#immune_to_cliff_impacts Online documentation} */ immune_to_cliff_impacts?: boolean /** * **Default:** `false` * * If this car gets damaged by driving into anything. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CarPrototype.html#immune_to_all_impacts Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CarPrototype.html#immune_to_all_impacts Online documentation} */ immune_to_all_impacts?: boolean /** * **Default:** `0.01` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CarPrototype.html#turret_rotation_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CarPrototype.html#turret_rotation_speed Online documentation} */ turret_rotation_speed?: float /** * **Default:** `60` * * Timeout in ticks specifying how long the turret must be inactive to return to the default position. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CarPrototype.html#turret_return_timeout Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CarPrototype.html#turret_return_timeout Online documentation} */ turret_return_timeout?: uint32 /** * Size of the car inventory. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CarPrototype.html#inventory_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CarPrototype.html#inventory_size Online documentation} */ inventory_size: ItemStackIndex /** * **Default:** `0` * * If set to 0 then the car will not have a Logistics tab. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CarPrototype.html#trash_inventory_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CarPrototype.html#trash_inventory_size Online documentation} */ trash_inventory_size?: ItemStackIndex light?: LightDefinition @@ -2280,48 +2280,48 @@ declare module "factorio:prototype" { * **Default:** `1` * * Cannot be negative. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CarPrototype.html#driving_sound_volume_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CarPrototype.html#driving_sound_volume_modifier Online documentation} */ driving_sound_volume_modifier?: float /** * **Default:** `0.3` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CarPrototype.html#darkness_to_render_light_animation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CarPrototype.html#darkness_to_render_light_animation Online documentation} */ darkness_to_render_light_animation?: float track_particle_triggers?: FootstepTriggerEffectList /** * The names of the {@link GunPrototype}s this car prototype uses. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CarPrototype.html#guns Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CarPrototype.html#guns Online documentation} */ guns?: readonly ItemID[] } /** * ![Space Age](https://wiki.factorio.com/images/thumb/Space_age_icon.png/16px-Space_age_icon.png) ***Space Age*** required to use. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CargoBayPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CargoBayPrototype.html Online documentation} */ export interface CargoBayPrototype extends EntityWithOwnerPrototype { type: "cargo-bay" graphics_set?: CargoBayConnectableGraphicsSet /** * A special variant which renders on space platforms. If not specified, the game will fall back to the regular graphics set. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CargoBayPrototype.html#platform_graphics_set Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CargoBayPrototype.html#platform_graphics_set Online documentation} */ platform_graphics_set?: CargoBayConnectableGraphicsSet /** * Cannot be 0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CargoBayPrototype.html#inventory_size_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CargoBayPrototype.html#inventory_size_bonus Online documentation} */ inventory_size_bonus: ItemStackIndex /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CargoBayPrototype.html#has_direction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CargoBayPrototype.html#has_direction Online documentation} */ has_direction?: boolean /** * **Default:** `false` * * When set to `true`, inserters will be able to take items out of this cargo bay when it is connected to a cargo landing pad. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CargoBayPrototype.html#allow_unloading Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CargoBayPrototype.html#allow_unloading Online documentation} */ allow_unloading?: boolean /** @@ -2332,7 +2332,7 @@ declare module "factorio:prototype" { * When `false` this cargo bay will allow item unloading regardless of distance as long as it is connected to a cargo landing pad. * * When `true` this cargo bay will allow item unloading only when connected to a cargo landing pad and cargo bay is within distance limit set by {@link MaxCargoBayUnloadingDistanceModifier} from that cargo landing pad. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CargoBayPrototype.html#use_unloading_distance_limit Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CargoBayPrototype.html#use_unloading_distance_limit Online documentation} */ use_unloading_distance_limit?: boolean hatch_definitions?: readonly CargoHatchDefinition[] @@ -2340,7 +2340,7 @@ declare module "factorio:prototype" { * **Default:** `2` * * Has to be 2 for 2x2 grid. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CargoBayPrototype.html#build_grid_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CargoBayPrototype.html#build_grid_size Online documentation} */ build_grid_size?: 2 } @@ -2350,24 +2350,24 @@ declare module "factorio:prototype" { inventory_size: ItemStackIndex /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CargoLandingPadPrototype.html#trash_inventory_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CargoLandingPadPrototype.html#trash_inventory_size Online documentation} */ trash_inventory_size?: ItemStackIndex /** * **Default:** `0` * * The maximum circuit wire distance for this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CargoLandingPadPrototype.html#circuit_wire_max_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CargoLandingPadPrototype.html#circuit_wire_max_distance Online documentation} */ circuit_wire_max_distance?: double /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CargoLandingPadPrototype.html#draw_copper_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CargoLandingPadPrototype.html#draw_copper_wires Online documentation} */ draw_copper_wires?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CargoLandingPadPrototype.html#draw_circuit_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CargoLandingPadPrototype.html#draw_circuit_wires Online documentation} */ draw_circuit_wires?: boolean circuit_connector?: CircuitConnectorDefinition @@ -2378,32 +2378,46 @@ declare module "factorio:prototype" { * **Default:** `0` * * In chunks. The radius of how many chunks this cargo landing pad charts around itself. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CargoLandingPadPrototype.html#radar_range Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CargoLandingPadPrototype.html#radar_range Online documentation} */ radar_range?: uint32 /** * The visualisation used when showing cargo bay unloading distance limits. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CargoLandingPadPrototype.html#radar_visualisation_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CargoLandingPadPrototype.html#radar_visualisation_color Online documentation} */ radar_visualisation_color?: Color radius_visualisation_picture?: Sprite } + /** + * Entity used to send cargo between the {@link CargoHatchDefinition cargo hatches} of {@link CargoLandingPadPrototype cargo landing pads}, {@link SpacePlatformHubPrototype space platform hubs}, {@link CargoBayPrototype cargo bays} and {@link RocketSiloPrototype rocket silos}. + * + * The pod for sending cargo is determined by {@link CargoHatchDefinition#cargo_unit_entity_to_spawn CargoHatchDefinition::cargo_unit_entity_to_spawn}. A cargo pod will only be sent to a destination if {@link CargoHatchDefinition#receiving_cargo_units receiving_cargo_units} of the destination hatch contains the cargo pod. + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CargoPodPrototype.html Online documentation} + */ export interface CargoPodPrototype extends EntityWithOwnerPrototype { type: "cargo-pod" /** * Has to be of type 'pod-catalogue'. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CargoPodPrototype.html#default_graphic Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CargoPodPrototype.html#default_graphic Online documentation} */ default_graphic?: ProcessionGraphic /** * Has to be of type 'pod-catalogue'. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CargoPodPrototype.html#default_shadow_graphic Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CargoPodPrototype.html#default_shadow_graphic Online documentation} */ default_shadow_graphic?: ProcessionGraphic procession_graphic_catalogue?: ProcessionGraphicCatalogue procession_audio_catalogue?: ProcessionAudioCatalogue shadow_slave_entity?: EntityID + /** + * The amount of item stacks that this cargo pod can transport. + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CargoPodPrototype.html#inventory_size Online documentation} + */ inventory_size: ItemStackIndex + /** + * The entity that is created if this cargo pod lands on the ground instead of in a cargo hatch. The transported items will be transferred into the spawned entity. + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CargoPodPrototype.html#spawned_container Online documentation} + */ spawned_container: EntityID impact_trigger?: Trigger /** @@ -2412,64 +2426,64 @@ declare module "factorio:prototype" { * The entity with the higher number is selectable before the entity with the lower number. * * The value `0` will be treated the same as `nil`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CargoPodPrototype.html#selection_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CargoPodPrototype.html#selection_priority Online documentation} */ selection_priority?: uint8 } /** * A {@linkplain https://wiki.factorio.com/Cargo_wagon cargo wagon}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CargoWagonPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CargoWagonPrototype.html Online documentation} */ export interface CargoWagonPrototype extends RollingStockPrototype { type: "cargo-wagon" | "infinity-cargo-wagon" /** * Size of the inventory of the wagon. The inventory can be limited using the red bar and filtered. This functionality cannot be turned off. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CargoWagonPrototype.html#inventory_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CargoWagonPrototype.html#inventory_size Online documentation} */ inventory_size: ItemStackIndex /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CargoWagonPrototype.html#quality_affects_inventory_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CargoWagonPrototype.html#quality_affects_inventory_size Online documentation} */ quality_affects_inventory_size?: boolean } /** * Jumps between targets and applies a {@link Trigger} to them. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ChainActiveTriggerPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ChainActiveTriggerPrototype.html Online documentation} */ export interface ChainActiveTriggerPrototype extends ActiveTriggerPrototype { type: "chain-active-trigger" /** * The trigger to apply when jumping to a new target. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ChainActiveTriggerPrototype.html#action Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ChainActiveTriggerPrototype.html#action Online documentation} */ action?: Trigger /** * **Default:** `5` * * Max number of jumps per trigger. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ChainActiveTriggerPrototype.html#max_jumps Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ChainActiveTriggerPrototype.html#max_jumps Online documentation} */ max_jumps?: uint32 /** * **Default:** `5` * * Max length of jumps. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ChainActiveTriggerPrototype.html#max_range_per_jump Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ChainActiveTriggerPrototype.html#max_range_per_jump Online documentation} */ max_range_per_jump?: double /** * **Default:** `infinity` * * Max distance jumps are allowed to travel away from the original target. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ChainActiveTriggerPrototype.html#max_range Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ChainActiveTriggerPrototype.html#max_range Online documentation} */ max_range?: double /** * **Default:** `0` * * Tick delay between each jump. `0` means that all jumps are instantaneous. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ChainActiveTriggerPrototype.html#jump_delay_ticks Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ChainActiveTriggerPrototype.html#jump_delay_ticks Online documentation} */ jump_delay_ticks?: MapTick /** @@ -2478,32 +2492,32 @@ declare module "factorio:prototype" { * Chance that a new fork will spawn after each jump. `0` for 0% chance and `1` for 100% chance. * * Must be between 0 and 1. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ChainActiveTriggerPrototype.html#fork_chance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ChainActiveTriggerPrototype.html#fork_chance Online documentation} */ fork_chance?: double /** * **Default:** `0.1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ChainActiveTriggerPrototype.html#fork_chance_increase_per_quality_level Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ChainActiveTriggerPrototype.html#fork_chance_increase_per_quality_level Online documentation} */ fork_chance_increase_per_quality_level?: double /** * **Default:** `1` * * Maximum number of forks that can spawn from a single jump. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ChainActiveTriggerPrototype.html#max_forks_per_jump Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ChainActiveTriggerPrototype.html#max_forks_per_jump Online documentation} */ max_forks_per_jump?: uint32 /** * **Default:** `max uint32` * * Maximum number of forks allowed to spawn for the entire chain. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ChainActiveTriggerPrototype.html#max_forks Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ChainActiveTriggerPrototype.html#max_forks Online documentation} */ max_forks?: uint32 } /** * This prototype is used for receiving an achievement when the player changes to a surface. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ChangedSurfaceAchievementPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ChangedSurfaceAchievementPrototype.html Online documentation} */ export interface ChangedSurfaceAchievementPrototype extends AchievementPrototype { type: "change-surface-achievement" @@ -2511,53 +2525,53 @@ declare module "factorio:prototype" { * This will trigger the achievement, if the player changes to this surface. * @example * surface = "fulgora" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ChangedSurfaceAchievementPrototype.html#surface Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ChangedSurfaceAchievementPrototype.html#surface Online documentation} */ surface?: string } /** * The corpse of a {@link CharacterPrototype}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CharacterCorpsePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CharacterCorpsePrototype.html Online documentation} */ export interface CharacterCorpsePrototype extends EntityPrototype { type: "character-corpse" /** * In ticks. 0 for infinite. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CharacterCorpsePrototype.html#time_to_live Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CharacterCorpsePrototype.html#time_to_live Online documentation} */ time_to_live: uint32 /** * **Default:** `"object"` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CharacterCorpsePrototype.html#render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CharacterCorpsePrototype.html#render_layer Online documentation} */ render_layer?: RenderLayer /** * Mandatory if `picture` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CharacterCorpsePrototype.html#pictures Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CharacterCorpsePrototype.html#pictures Online documentation} */ pictures?: AnimationVariations /** * Only loaded, and mandatory if `pictures` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CharacterCorpsePrototype.html#picture Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CharacterCorpsePrototype.html#picture Online documentation} */ picture?: Animation /** * A mapping of {@link ArmorPrototype} name to a number. The number is the Animation that is associated with the armor, e.g. using `1` will associate the armor with the first Animation in the `pictures` table. * * This mapping can be empty to have no sprite changes based on armor. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CharacterCorpsePrototype.html#armor_picture_mapping Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CharacterCorpsePrototype.html#armor_picture_mapping Online documentation} */ armor_picture_mapping?: Record } /** * Entity that you move around on the screen during the campaign and freeplay. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CharacterPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CharacterPrototype.html Online documentation} */ export interface CharacterPrototype extends EntityWithOwnerPrototype { type: "character" /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CharacterPrototype.html#crafting_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CharacterPrototype.html#crafting_speed Online documentation} */ crafting_speed?: double mining_speed: double @@ -2566,19 +2580,19 @@ declare module "factorio:prototype" { maximum_corner_sliding_distance: double /** * The sound played when the character's health is low. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CharacterPrototype.html#heartbeat Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CharacterPrototype.html#heartbeat Online documentation} */ heartbeat?: Sound /** * Number of slots in the main inventory. May be 0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CharacterPrototype.html#inventory_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CharacterPrototype.html#inventory_size Online documentation} */ inventory_size: ItemStackIndex /** * **Default:** `3` * * Must be between 1 and 15. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CharacterPrototype.html#guns_inventory_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CharacterPrototype.html#guns_inventory_size Online documentation} */ guns_inventory_size?: ItemStackIndex build_distance: uint32 @@ -2595,142 +2609,142 @@ declare module "factorio:prototype" { * List of positions in the mining with tool animation when the mining sound and mining particles are created. * @example * mining_with_tool_particles_animation_positions = {28} - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CharacterPrototype.html#mining_with_tool_particles_animation_positions Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CharacterPrototype.html#mining_with_tool_particles_animation_positions Online documentation} */ mining_with_tool_particles_animation_positions: readonly float[] /** * List of positions in the running animation when the walking sound is played. * @example * running_sound_animation_positions = {14, 29} - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CharacterPrototype.html#running_sound_animation_positions Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CharacterPrototype.html#running_sound_animation_positions Online documentation} */ running_sound_animation_positions: readonly float[] /** * List of positions in the running animation when the moving sound is played. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CharacterPrototype.html#moving_sound_animation_positions Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CharacterPrototype.html#moving_sound_animation_positions Online documentation} */ moving_sound_animation_positions: readonly float[] animations: readonly CharacterArmorAnimation[] /** * Names of the crafting categories the character can craft recipes from. The built-in categories can be found {@linkplain https://wiki.factorio.com/Data.raw#recipe-category here}. See also {@link RecipeCategory}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CharacterPrototype.html#crafting_categories Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CharacterPrototype.html#crafting_categories Online documentation} */ crafting_categories?: readonly RecipeCategoryID[] /** * Names of the resource categories the character can mine resources from. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CharacterPrototype.html#mining_categories Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CharacterPrototype.html#mining_categories Online documentation} */ mining_categories?: readonly ResourceCategoryID[] light?: LightDefinition /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CharacterPrototype.html#flying_bob_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CharacterPrototype.html#flying_bob_speed Online documentation} */ flying_bob_speed?: float /** * **Default:** `0` * * The search radius for a non-colliding position to move the player to if they are grounded mid-flight. Must be >= 0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CharacterPrototype.html#grounded_landing_search_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CharacterPrototype.html#grounded_landing_search_radius Online documentation} */ grounded_landing_search_radius?: double /** * **Default:** `3` * * Must be >= 0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CharacterPrototype.html#enter_vehicle_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CharacterPrototype.html#enter_vehicle_distance Online documentation} */ enter_vehicle_distance?: double /** * **Default:** `1.5` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CharacterPrototype.html#tool_attack_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CharacterPrototype.html#tool_attack_distance Online documentation} */ tool_attack_distance?: double /** * **Default:** `10` * * Time in seconds. Must be positive - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CharacterPrototype.html#respawn_time Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CharacterPrototype.html#respawn_time Online documentation} */ respawn_time?: uint32 /** * **Default:** `false` * * Whether this character is moved by belts when standing on them. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CharacterPrototype.html#has_belt_immunity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CharacterPrototype.html#has_belt_immunity Online documentation} */ has_belt_immunity?: boolean /** * Name of the character corpse that is spawned when this character dies. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CharacterPrototype.html#character_corpse Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CharacterPrototype.html#character_corpse Online documentation} */ character_corpse?: EntityID /** * This collision mask is used when the character is flying. * * Defaults to the mask from {@link UtilityConstants#default_collision_masks UtilityConstants::default_collision_masks} when indexed by `"character/flying"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CharacterPrototype.html#flying_collision_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CharacterPrototype.html#flying_collision_mask Online documentation} */ flying_collision_mask?: CollisionMaskConnector tool_attack_result?: Trigger /** * Triggered every tick of the running animation. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CharacterPrototype.html#footstep_particle_triggers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CharacterPrototype.html#footstep_particle_triggers Online documentation} */ footstep_particle_triggers?: FootstepTriggerEffectList /** * Triggered when the running animation (`animations`) rolls over the frames defined in `right_footprint_frames` and `left_footprint_frames`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CharacterPrototype.html#synced_footstep_particle_triggers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CharacterPrototype.html#synced_footstep_particle_triggers Online documentation} */ synced_footstep_particle_triggers?: FootstepTriggerEffectList /** * Triggered when the running animation (`animations`) rolls over the frames defined in `right_footprint_frames` and `left_footprint_frames`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CharacterPrototype.html#footprint_particles Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CharacterPrototype.html#footprint_particles Online documentation} */ footprint_particles?: readonly FootprintParticle[] /** * Offset from the center of the entity for the left footprint. Used by `footprint_particles`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CharacterPrototype.html#left_footprint_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CharacterPrototype.html#left_footprint_offset Online documentation} */ left_footprint_offset?: Vector /** * Offset from the center of the entity for the right footprint. Used by `footprint_particles`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CharacterPrototype.html#right_footprint_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CharacterPrototype.html#right_footprint_offset Online documentation} */ right_footprint_offset?: Vector /** * The frames in the running animation (`animations`) where the right foot touches the ground. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CharacterPrototype.html#right_footprint_frames Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CharacterPrototype.html#right_footprint_frames Online documentation} */ right_footprint_frames?: readonly float[] /** * The frames in the running animation (`animations`) where the left foot touches the ground. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CharacterPrototype.html#left_footprint_frames Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CharacterPrototype.html#left_footprint_frames Online documentation} */ left_footprint_frames?: readonly float[] /** * **Default:** `true` * * Whether this prototype should be a high priority target for enemy forces. See {@linkplain https://wiki.factorio.com/Military_units_and_structures Military units and structures}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CharacterPrototype.html#is_military_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CharacterPrototype.html#is_military_target Online documentation} */ is_military_target?: boolean } /** * A {@linkplain https://wiki.factorio.com/Cliff cliff}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CliffPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CliffPrototype.html Online documentation} */ export interface CliffPrototype extends EntityPrototype { type: "cliff" /** - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CliffPrototype.html#orientations Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CliffPrototype.html#orientations Online documentation} */ orientations: OrientedCliffPrototypeSet grid_size: Vector grid_offset: Vector /** * Name of a capsule that has a robot_action to explode cliffs. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CliffPrototype.html#cliff_explosive Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CliffPrototype.html#cliff_explosive Online documentation} */ cliff_explosive?: ItemID place_as_crater?: CraterPlacementDefinition @@ -2746,14 +2760,14 @@ declare module "factorio:prototype" { * type = "collision-layer", * name = "is_lower_object" * } - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CollisionLayerPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CollisionLayerPrototype.html Online documentation} */ export interface CollisionLayerPrototype extends Prototype { type: "collision-layer" } /** * This prototype is used for receiving an achievement when the player has a certain robot follower count. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CombatRobotCountAchievementPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CombatRobotCountAchievementPrototype.html Online documentation} */ export interface CombatRobotCountAchievementPrototype extends AchievementPrototype { type: "combat-robot-count-achievement" @@ -2763,13 +2777,13 @@ declare module "factorio:prototype" { * This will trigger the achievement, if player's current robot count is over this amount. * @example * count = 100 - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CombatRobotCountAchievementPrototype.html#count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CombatRobotCountAchievementPrototype.html#count Online documentation} */ count?: uint32 } /** * A combat robot. Can attack enemies. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CombatRobotPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CombatRobotPrototype.html Online documentation} */ export interface CombatRobotPrototype extends FlyingRobotPrototype { type: "combat-robot" @@ -2781,22 +2795,22 @@ declare module "factorio:prototype" { shadow_in_motion?: RotatedAnimation /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CombatRobotPrototype.html#range_from_player Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CombatRobotPrototype.html#range_from_player Online documentation} */ range_from_player?: double /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CombatRobotPrototype.html#friction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CombatRobotPrototype.html#friction Online documentation} */ friction?: double /** * Applied when the combat robot expires (runs out of `time_to_live`). - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CombatRobotPrototype.html#destroy_action Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CombatRobotPrototype.html#destroy_action Online documentation} */ destroy_action?: Trigger /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CombatRobotPrototype.html#follows_player Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CombatRobotPrototype.html#follows_player Online documentation} */ follows_player?: boolean light?: LightDefinition @@ -2804,14 +2818,14 @@ declare module "factorio:prototype" { * **Default:** `0` * * The range within which the robot will try to separate itself from other friendly combat robots. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CombatRobotPrototype.html#separation_range Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CombatRobotPrototype.html#separation_range Online documentation} */ separation_range?: double /** * **Default:** `0` * * The maximum force that can be applied to separate from other friendly combat robots. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CombatRobotPrototype.html#max_separation_force Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CombatRobotPrototype.html#max_separation_force Online documentation} */ max_separation_force?: double /** @@ -2820,25 +2834,25 @@ declare module "factorio:prototype" { * A factor determining how strongly the robot will try to separate from other friendly combat robots. * * Higher values result in stronger separation forces. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CombatRobotPrototype.html#separation_force_factor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CombatRobotPrototype.html#separation_force_factor Online documentation} */ separation_force_factor?: double } /** * Abstract base type for decider and arithmetic combinators. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CombinatorPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CombinatorPrototype.html Online documentation} */ export interface CombinatorPrototype extends EntityWithOwnerPrototype { type: "arithmetic-combinator" | "decider-combinator" | "selector-combinator" /** * Defines how this combinator gets energy. The emissions set on the energy source are ignored so combinators cannot produce pollution. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CombinatorPrototype.html#energy_source Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CombinatorPrototype.html#energy_source Online documentation} */ energy_source: ElectricEnergySource | VoidEnergySource /** * @example * active_energy_usage = "1kW" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CombinatorPrototype.html#active_energy_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CombinatorPrototype.html#active_energy_usage Online documentation} */ active_energy_usage: Energy sprites?: Sprite4Way @@ -2864,29 +2878,29 @@ declare module "factorio:prototype" { screen_light?: LightDefinition /** * **Default:** `5` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CombinatorPrototype.html#activity_led_hold_time Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CombinatorPrototype.html#activity_led_hold_time Online documentation} */ activity_led_hold_time?: uint8 /** * **Default:** `0` * * The maximum circuit wire distance for this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CombinatorPrototype.html#circuit_wire_max_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CombinatorPrototype.html#circuit_wire_max_distance Online documentation} */ circuit_wire_max_distance?: double /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CombinatorPrototype.html#draw_copper_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CombinatorPrototype.html#draw_copper_wires Online documentation} */ draw_copper_wires?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CombinatorPrototype.html#draw_circuit_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CombinatorPrototype.html#draw_circuit_wires Online documentation} */ draw_circuit_wires?: boolean /** * Emissions cannot be larger than zero, combinators cannot produce pollution. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CombinatorPrototype.html#emissions_per_second Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CombinatorPrototype.html#emissions_per_second Online documentation} */ emissions_per_second?: Record } @@ -2898,13 +2912,13 @@ declare module "factorio:prototype" { * The achievement must be completed within this time limit. * @example * within = 60 * 60 * 60 * 8 -- 8 hours - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CompleteObjectiveAchievementPrototype.html#within Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CompleteObjectiveAchievementPrototype.html#within Online documentation} */ within?: MapTick } /** * A {@linkplain https://wiki.factorio.com/Constant_combinator constant combinator}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ConstantCombinatorPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ConstantCombinatorPrototype.html Online documentation} */ export interface ConstantCombinatorPrototype extends EntityWithOwnerPrototype { type: "constant-combinator" @@ -2922,36 +2936,36 @@ declare module "factorio:prototype" { * **Default:** `0` * * The maximum circuit wire distance for this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ConstantCombinatorPrototype.html#circuit_wire_max_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ConstantCombinatorPrototype.html#circuit_wire_max_distance Online documentation} */ circuit_wire_max_distance?: double /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ConstantCombinatorPrototype.html#draw_copper_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ConstantCombinatorPrototype.html#draw_copper_wires Online documentation} */ draw_copper_wires?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ConstantCombinatorPrototype.html#draw_circuit_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ConstantCombinatorPrototype.html#draw_circuit_wires Online documentation} */ draw_circuit_wires?: boolean /** * **Default:** `0` * * When not zero, toggle entity will enable constant combinator for that amount of ticks and then turn it off. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ConstantCombinatorPrototype.html#pulse_duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ConstantCombinatorPrototype.html#pulse_duration Online documentation} */ pulse_duration?: uint32 } /** * This prototype is used for receiving an achievement when the player constructs enough entities with construction robots. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ConstructWithRobotsAchievementPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ConstructWithRobotsAchievementPrototype.html Online documentation} */ export interface ConstructWithRobotsAchievementPrototype extends AchievementPrototype { type: "construct-with-robots-achievement" /** * If this is false, the player carries over their statistics from this achievement through all their saves. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ConstructWithRobotsAchievementPrototype.html#limited_to_one_game Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ConstructWithRobotsAchievementPrototype.html#limited_to_one_game Online documentation} */ limited_to_one_game: boolean /** @@ -2960,18 +2974,18 @@ declare module "factorio:prototype" { * This will trigger the achievement, if enough entities were placed using construction robots. * @example * amount = 100 - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ConstructWithRobotsAchievementPrototype.html#amount Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ConstructWithRobotsAchievementPrototype.html#amount Online documentation} */ amount?: uint32 /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ConstructWithRobotsAchievementPrototype.html#more_than_manually Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ConstructWithRobotsAchievementPrototype.html#more_than_manually Online documentation} */ more_than_manually?: boolean } /** * A {@linkplain https://wiki.factorio.com/Construction_robot construction robot}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ConstructionRobotPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ConstructionRobotPrototype.html Online documentation} */ export interface ConstructionRobotPrototype extends RobotWithLogisticInterfacePrototype { type: "construction-robot" @@ -2983,7 +2997,7 @@ declare module "factorio:prototype" { repairing_sound?: Sound /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ConstructionRobotPrototype.html#mined_sound_volume_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ConstructionRobotPrototype.html#mined_sound_volume_modifier Online documentation} */ mined_sound_volume_modifier?: float working_light?: LightDefinition @@ -2993,125 +3007,125 @@ declare module "factorio:prototype" { * Must have a collision box size of zero. * @example * collision_box = {{0, 0}, {0, 0}} - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ConstructionRobotPrototype.html#collision_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ConstructionRobotPrototype.html#collision_box Online documentation} */ collision_box?: BoundingBox } /** * A generic container, such as a chest. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ContainerPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ContainerPrototype.html Online documentation} */ export interface ContainerPrototype extends EntityWithOwnerPrototype { type: "container" | "infinity-container" | "logistic-container" | "temporary-container" /** * The number of slots in this container. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ContainerPrototype.html#inventory_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ContainerPrototype.html#inventory_size Online documentation} */ inventory_size: ItemStackIndex /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ContainerPrototype.html#quality_affects_inventory_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ContainerPrototype.html#quality_affects_inventory_size Online documentation} */ quality_affects_inventory_size?: boolean /** * **Default:** `1` * * Amount of directions this container should have. Allowed values are 1, 2 and 4. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ContainerPrototype.html#direction_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ContainerPrototype.html#direction_count Online documentation} */ direction_count?: uint8 /** * The picture displayed for this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ContainerPrototype.html#picture Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ContainerPrototype.html#picture Online documentation} */ picture?: Sprite4Way /** * **Default:** `"with_bar"` * * Determines the type of inventory that this container has. Whether the inventory has a limiter bar, can be filtered (like cargo wagons), uses a custom stack size for contained item stacks (like artillery wagon), or uses a weight limit (like space age rocket silo). - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ContainerPrototype.html#inventory_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ContainerPrototype.html#inventory_type Online documentation} */ inventory_type?: "normal" | "with_bar" | "with_filters_and_bar" | "with_custom_stack_size" | "with_weight_limit" /** * Only used when `inventory_type` is `"with_custom_stack_size"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ContainerPrototype.html#inventory_properties Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ContainerPrototype.html#inventory_properties Online documentation} */ inventory_properties?: InventoryWithCustomStackSizeSpecification /** * **Default:** `0` * * Only used when `inventory_type` is `"with_weight_limit"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ContainerPrototype.html#inventory_weight_limit Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ContainerPrototype.html#inventory_weight_limit Online documentation} */ inventory_weight_limit?: Weight /** * **Default:** `0` * * The maximum circuit wire distance for this container. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ContainerPrototype.html#circuit_wire_max_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ContainerPrototype.html#circuit_wire_max_distance Online documentation} */ circuit_wire_max_distance?: double /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ContainerPrototype.html#draw_copper_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ContainerPrototype.html#draw_copper_wires Online documentation} */ draw_copper_wires?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ContainerPrototype.html#draw_circuit_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ContainerPrototype.html#draw_circuit_wires Online documentation} */ draw_circuit_wires?: boolean /** * If given, there must be exactly `direction_count` elements in the table. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ContainerPrototype.html#circuit_connector Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ContainerPrototype.html#circuit_connector Online documentation} */ circuit_connector?: readonly CircuitConnectorDefinition[] /** * **Default:** `"normal"` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ContainerPrototype.html#default_status Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ContainerPrototype.html#default_status Online documentation} */ default_status?: EntityStatus default_empty_slots_signal?: SignalIDConnector } /** * A copy-paste or cut-paste tool. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CopyPasteToolPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CopyPasteToolPrototype.html Online documentation} */ export interface CopyPasteToolPrototype extends SelectionToolPrototype { type: "copy-paste-tool" /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CopyPasteToolPrototype.html#cuts Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CopyPasteToolPrototype.html#cuts Online documentation} */ cuts?: boolean /** * Count of items of the same name that can be stored in one inventory slot. Must be 1 when the `"not-stackable"` flag is set. * @example * stack_size = 1 - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CopyPasteToolPrototype.html#stack_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CopyPasteToolPrototype.html#stack_size Online documentation} */ stack_size: 1 /** * **Default:** `false` * * This property is hardcoded to `false`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CopyPasteToolPrototype.html#always_include_tiles Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CopyPasteToolPrototype.html#always_include_tiles Online documentation} */ always_include_tiles?: boolean /** * The filters are parsed, but then ignored and forced to be empty. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CopyPasteToolPrototype.html#select Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CopyPasteToolPrototype.html#select Online documentation} */ select: SelectionModeData /** * The filters are parsed, but then ignored and forced to be empty. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CopyPasteToolPrototype.html#alt_select Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CopyPasteToolPrototype.html#alt_select Online documentation} */ alt_select: SelectionModeData } /** * Used for corpses, for example the remnants when destroying buildings. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CorpsePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CorpsePrototype.html Online documentation} */ export interface CorpsePrototype extends EntityPrototype { type: "corpse" | "rail-remnants" @@ -3121,137 +3135,137 @@ declare module "factorio:prototype" { * Multiplier for `time_before_shading_off` and `time_before_removed`. Must be positive. * * Controls the speed of the animation: `1 ÷ dying_speed = duration of the animation` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CorpsePrototype.html#dying_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CorpsePrototype.html#dying_speed Online documentation} */ dying_speed?: float /** * **Default:** `1` * * Controls the speed of the splash animation: `1 ÷ splash_speed = duration of the splash animation` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CorpsePrototype.html#splash_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CorpsePrototype.html#splash_speed Online documentation} */ splash_speed?: float /** * **Default:** `60 * 15 (15 seconds)` * * Controls how long the corpse takes to fade, as in how long it takes to get from no transparency to full transparency/removed. This time is *not* added to `time_before_removed`, it is instead subtracted from it. So by default, the corpse starts fading about 15 seconds before it gets removed. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CorpsePrototype.html#time_before_shading_off Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CorpsePrototype.html#time_before_shading_off Online documentation} */ time_before_shading_off?: uint32 /** * **Default:** `60 * 120 (120 seconds)` * * Time in ticks this corpse lasts. May not be 0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CorpsePrototype.html#time_before_removed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CorpsePrototype.html#time_before_removed Online documentation} */ time_before_removed?: uint32 /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CorpsePrototype.html#expires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CorpsePrototype.html#expires Online documentation} */ expires?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CorpsePrototype.html#protected_from_tile_building Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CorpsePrototype.html#protected_from_tile_building Online documentation} */ protected_from_tile_building?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CorpsePrototype.html#remove_on_entity_placement Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CorpsePrototype.html#remove_on_entity_placement Online documentation} */ remove_on_entity_placement?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CorpsePrototype.html#remove_on_tile_placement Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CorpsePrototype.html#remove_on_tile_placement Online documentation} */ remove_on_tile_placement?: boolean /** * **Default:** `true` * * If true, and the collision box is unset, this will take the collision box of the first entity that uses this corpse. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CorpsePrototype.html#auto_setup_collision_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CorpsePrototype.html#auto_setup_collision_box Online documentation} */ auto_setup_collision_box?: boolean /** * **Default:** `"corpse"` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CorpsePrototype.html#final_render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CorpsePrototype.html#final_render_layer Online documentation} */ final_render_layer?: RenderLayer /** * **Default:** `"ground-patch"` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CorpsePrototype.html#ground_patch_render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CorpsePrototype.html#ground_patch_render_layer Online documentation} */ ground_patch_render_layer?: RenderLayer /** * **Default:** `"object"` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CorpsePrototype.html#animation_render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CorpsePrototype.html#animation_render_layer Online documentation} */ animation_render_layer?: RenderLayer /** * **Default:** `"object"` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CorpsePrototype.html#splash_render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CorpsePrototype.html#splash_render_layer Online documentation} */ splash_render_layer?: RenderLayer /** * **Default:** `"object"` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CorpsePrototype.html#animation_overlay_render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CorpsePrototype.html#animation_overlay_render_layer Online documentation} */ animation_overlay_render_layer?: RenderLayer /** * **Default:** `"corpse"` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CorpsePrototype.html#animation_overlay_final_render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CorpsePrototype.html#animation_overlay_final_render_layer Online documentation} */ animation_overlay_final_render_layer?: RenderLayer /** * **Default:** `1` * * Defines after which frame in the `animation` the `direction_shuffle` should be applied. Can be set to `0`, frames are 1-indexed. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CorpsePrototype.html#shuffle_directions_at_frame Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CorpsePrototype.html#shuffle_directions_at_frame Online documentation} */ shuffle_directions_at_frame?: uint8 /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CorpsePrototype.html#use_tile_color_for_ground_patch_tint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CorpsePrototype.html#use_tile_color_for_ground_patch_tint Online documentation} */ use_tile_color_for_ground_patch_tint?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CorpsePrototype.html#use_decay_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CorpsePrototype.html#use_decay_layer Online documentation} */ use_decay_layer?: boolean /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CorpsePrototype.html#underwater_layer_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CorpsePrototype.html#underwater_layer_offset Online documentation} */ underwater_layer_offset?: int8 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CorpsePrototype.html#ground_patch_fade_in_delay Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CorpsePrototype.html#ground_patch_fade_in_delay Online documentation} */ ground_patch_fade_in_delay?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CorpsePrototype.html#ground_patch_fade_in_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CorpsePrototype.html#ground_patch_fade_in_speed Online documentation} */ ground_patch_fade_in_speed?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CorpsePrototype.html#ground_patch_fade_out_start Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CorpsePrototype.html#ground_patch_fade_out_start Online documentation} */ ground_patch_fade_out_start?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CorpsePrototype.html#decay_frame_transition_duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CorpsePrototype.html#decay_frame_transition_duration Online documentation} */ decay_frame_transition_duration?: float /** * The dying animation. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CorpsePrototype.html#animation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CorpsePrototype.html#animation Online documentation} */ animation?: RotatedAnimationVariations /** * Variation count must be the same as `animation` variation count. Direction count must be the same as `animation` direction count. Frame count must be the same as `animation` frame count. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CorpsePrototype.html#animation_overlay Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CorpsePrototype.html#animation_overlay Online documentation} */ animation_overlay?: RotatedAnimationVariations decay_animation?: RotatedAnimationVariations @@ -3262,7 +3276,7 @@ declare module "factorio:prototype" { underwater_patch?: RotatedSprite /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CorpsePrototype.html#ground_patch_fade_out_duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CorpsePrototype.html#ground_patch_fade_out_duration Online documentation} */ ground_patch_fade_out_duration?: float /** @@ -3273,7 +3287,7 @@ declare module "factorio:prototype" { * The inner arrays are called "groups" and must all have the same size. * * The indices map to the directions of `animation` and they are 1-indexed. After the `shuffle_directions_at_frame` frame of the `animation`, these indices are used as the direction when choosing which frame to render. The chosen shuffled direction can be any direction in the same group as the non-shuffled direction. Which direction is chosen from the group depends on the shuffle variation which is `dying_graphics_variation % group_size`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CorpsePrototype.html#direction_shuffle Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CorpsePrototype.html#direction_shuffle Online documentation} */ direction_shuffle?: readonly (readonly uint16[])[] /** @@ -3282,7 +3296,7 @@ declare module "factorio:prototype" { * The entity with the higher number is selectable before the entity with the lower number. * * The value `0` will be treated the same as `nil`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CorpsePrototype.html#selection_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CorpsePrototype.html#selection_priority Online documentation} */ selection_priority?: uint8 } @@ -3290,7 +3304,7 @@ declare module "factorio:prototype" { * The abstract basis of the assembling machines and furnaces. Contains the properties that both of them have. * * Note that a crafting machine cannot be rotated unless it has at least one of the following: a fluid box, a heat energy source, a fluid energy source, or a non-square collision box. Crafting machines with non-square collision boxes can only be rotated before placement, not after. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CraftingMachinePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CraftingMachinePrototype.html Online documentation} */ export interface CraftingMachinePrototype extends EntityWithOwnerPrototype { type: "assembling-machine" | "furnace" | "rocket-silo" @@ -3298,35 +3312,35 @@ declare module "factorio:prototype" { * **Default:** `false` * * When set, {@link QualityPrototype#crafting_machine_energy_usage_multiplier QualityPrototype::crafting_machine_energy_usage_multiplier} will be applied to energy_usage. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CraftingMachinePrototype.html#quality_affects_energy_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CraftingMachinePrototype.html#quality_affects_energy_usage Online documentation} */ quality_affects_energy_usage?: boolean /** * Sets how much energy this machine uses while crafting. Energy usage has to be positive. * @example * energy_usage = "90kW" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CraftingMachinePrototype.html#energy_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CraftingMachinePrototype.html#energy_usage Online documentation} */ energy_usage: Energy /** * How fast this crafting machine can craft. 1 means that for example a 1 second long recipe take 1 second to craft. 0.5 means it takes 2 seconds, and 2 means it takes 0.5 seconds. * * Crafting speed has to be positive. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CraftingMachinePrototype.html#crafting_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CraftingMachinePrototype.html#crafting_speed Online documentation} */ crafting_speed: double /** * A list of {@link RecipeCategory recipe categories} this crafting machine can use. * @example * crafting_categories = {"crafting", "smelting"} - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CraftingMachinePrototype.html#crafting_categories Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CraftingMachinePrototype.html#crafting_categories Online documentation} */ crafting_categories: readonly RecipeCategoryID[] /** * Defines how the crafting machine is powered. * * When using an electric energy source and `drain` is not specified, it will be set to `energy_usage ÷ 30` automatically. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CraftingMachinePrototype.html#energy_source Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CraftingMachinePrototype.html#energy_source Online documentation} */ energy_source: EnergySource /** @@ -3353,7 +3367,7 @@ declare module "factorio:prototype" { * secondary_draw_orders = { north = -1 } * }, * } - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CraftingMachinePrototype.html#fluid_boxes Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CraftingMachinePrototype.html#fluid_boxes Online documentation} */ fluid_boxes?: readonly FluidBox[] effect_receiver?: EffectReceiver @@ -3361,87 +3375,87 @@ declare module "factorio:prototype" { * **Default:** `0` * * The number of module slots in this machine. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CraftingMachinePrototype.html#module_slots Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CraftingMachinePrototype.html#module_slots Online documentation} */ module_slots?: ItemStackIndex /** * **Default:** `false` * * If set, {@link QualityPrototype#crafting_machine_module_slots_bonus QualityPrototype::crafting_machine_module_slots_bonus} will be added to module slots count. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CraftingMachinePrototype.html#quality_affects_module_slots Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CraftingMachinePrototype.html#quality_affects_module_slots Online documentation} */ quality_affects_module_slots?: boolean /** * **Default:** `No effects are allowed` * * Sets the {@link ModulePrototype modules} and {@link BeaconPrototype beacon} effects that are allowed to be used on this machine. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CraftingMachinePrototype.html#allowed_effects Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CraftingMachinePrototype.html#allowed_effects Online documentation} */ allowed_effects?: EffectTypeLimitation /** * **Default:** `All module categories are allowed` * * Sets the {@link ModuleCategory module categories} that are allowed to be inserted into this machine. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CraftingMachinePrototype.html#allowed_module_categories Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CraftingMachinePrototype.html#allowed_module_categories Online documentation} */ allowed_module_categories?: readonly ModuleCategoryID[] /** * **Default:** `true` * * Whether the "alt-mode icon" should be drawn at all. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CraftingMachinePrototype.html#show_recipe_icon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CraftingMachinePrototype.html#show_recipe_icon Online documentation} */ show_recipe_icon?: boolean /** * **Default:** `true` * * Controls whether the ingredients of an in-progress recipe are destroyed when mining the machine/changing the recipe. If set to true, the ingredients do not get destroyed. This affects only the ingredients of the recipe that is currently in progress, so those that visually have already been consumed while their resulting product has not yet been produced. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CraftingMachinePrototype.html#return_ingredients_on_change Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CraftingMachinePrototype.html#return_ingredients_on_change Online documentation} */ return_ingredients_on_change?: boolean /** * **Default:** `true` * * Whether the "alt-mode icon" should have a black background. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CraftingMachinePrototype.html#draw_entity_info_icon_background Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CraftingMachinePrototype.html#draw_entity_info_icon_background Online documentation} */ draw_entity_info_icon_background?: boolean /** * **Default:** `true` * * Whether the speed of the animation and working visualization should be based on the machine's speed (boosted or slowed by modules). - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CraftingMachinePrototype.html#match_animation_speed_to_activity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CraftingMachinePrototype.html#match_animation_speed_to_activity Online documentation} */ match_animation_speed_to_activity?: boolean /** * **Default:** `true` * * Whether the recipe icon should be shown on the map. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CraftingMachinePrototype.html#show_recipe_icon_on_map Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CraftingMachinePrototype.html#show_recipe_icon_on_map Online documentation} */ show_recipe_icon_on_map?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CraftingMachinePrototype.html#fast_transfer_modules_into_module_slots_only Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CraftingMachinePrototype.html#fast_transfer_modules_into_module_slots_only Online documentation} */ fast_transfer_modules_into_module_slots_only?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CraftingMachinePrototype.html#ignore_output_full Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CraftingMachinePrototype.html#ignore_output_full Online documentation} */ ignore_output_full?: boolean /** * **Default:** `false` * * If true the starting frame will be randomized upon placement. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CraftingMachinePrototype.html#animation_random_start_frame Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CraftingMachinePrototype.html#animation_random_start_frame Online documentation} */ animation_random_start_frame?: boolean graphics_set?: CraftingMachineGraphicsSet graphics_set_flipped?: CraftingMachineGraphicsSet /** * Affects animation speed. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CraftingMachinePrototype.html#perceived_performance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CraftingMachinePrototype.html#perceived_performance Online documentation} */ perceived_performance?: PerceivedPerformance production_health_effect?: ProductionHealthEffect @@ -3449,21 +3463,21 @@ declare module "factorio:prototype" { vector_to_place_result?: Vector /** * Defaults to true if `vector_to_place_result` is given. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CraftingMachinePrototype.html#use_mirroring Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CraftingMachinePrototype.html#use_mirroring Online documentation} */ use_mirroring?: boolean /** * Each value must be >= 0.01. * * If value is not provided for a quality, then {@link QualityPrototype#crafting_machine_speed_multiplier QualityPrototype::crafting_machine_speed_multiplier} will be used as a speed multiplier instead. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CraftingMachinePrototype.html#crafting_speed_quality_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CraftingMachinePrototype.html#crafting_speed_quality_multiplier Online documentation} */ crafting_speed_quality_multiplier?: Record /** * If value is not provided for a quality, then {@link QualityPrototype#crafting_machine_module_slots_bonus QualityPrototype::crafting_machine_module_slots_bonus} will be used as a module slots bonus instead. * * Does nothing if {@link CraftingMachinePrototype#quality_affects_module_slots CraftingMachinePrototype::quality_affects_module_slots} is not set. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CraftingMachinePrototype.html#module_slots_quality_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CraftingMachinePrototype.html#module_slots_quality_bonus Online documentation} */ module_slots_quality_bonus?: Record /** @@ -3472,13 +3486,13 @@ declare module "factorio:prototype" { * If value is not provided for a quality, then {@link QualityPrototype#crafting_machine_energy_usage_multiplier QualityPrototype::crafting_machine_energy_usage_multiplier} will be used as an energy usage multiplier instead. * * Does nothing if {@link CraftingMachinePrototype#quality_affects_energy_usage CraftingMachinePrototype::quality_affects_energy_usage} is not set. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CraftingMachinePrototype.html#energy_usage_quality_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CraftingMachinePrototype.html#energy_usage_quality_multiplier Online documentation} */ energy_usage_quality_multiplier?: Record } /** * This prototype is used for receiving an achievement when the player creates a space platform. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CreatePlatformAchievementPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CreatePlatformAchievementPrototype.html Online documentation} */ export interface CreatePlatformAchievementPrototype extends AchievementPrototype { type: "create-platform-achievement" @@ -3486,13 +3500,13 @@ declare module "factorio:prototype" { * **Default:** `1` * * How many space platforms need to be created. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CreatePlatformAchievementPrototype.html#amount Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CreatePlatformAchievementPrototype.html#amount Online documentation} */ amount?: uint32 } /** * A curved-A rail. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CurvedRailAPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CurvedRailAPrototype.html Online documentation} */ export interface CurvedRailAPrototype extends RailPrototype { type: "curved-rail-a" | "elevated-curved-rail-a" @@ -3500,13 +3514,13 @@ declare module "factorio:prototype" { * **Default:** ``{{-0.7, -2.516}, {0.7, 2.516}}`` * * The {@link EntityPrototype#collision_box collision_box} of straight rail is hardcoded to `{{-0.7, -2.516}, {0.7, 2.516}}`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CurvedRailAPrototype.html#collision_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CurvedRailAPrototype.html#collision_box Online documentation} */ collision_box?: BoundingBox } /** * A curved-B rail. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CurvedRailBPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CurvedRailBPrototype.html Online documentation} */ export interface CurvedRailBPrototype extends RailPrototype { type: "curved-rail-b" | "elevated-curved-rail-b" @@ -3514,7 +3528,7 @@ declare module "factorio:prototype" { * **Default:** ``{{-0.7, -2.441}, {0.7, 2.441}}`` * * The {@link EntityPrototype#collision_box collision_box} of straight rail is hardcoded to `{{-0.7, -2.441}, {0.7, 2.441}}`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CurvedRailBPrototype.html#collision_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CurvedRailBPrototype.html#collision_box Online documentation} */ collision_box?: BoundingBox } @@ -3525,14 +3539,14 @@ declare module "factorio:prototype" { * type = "custom-event", * name = "potato-custom-event" * } - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CustomEventPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CustomEventPrototype.html Online documentation} */ export interface CustomEventPrototype extends Prototype { type: "custom-event" } /** * Used for custom keyboard shortcuts/key bindings in mods. The key associated with the custom input can be changed in the options. This means that `key_sequence` is simply the default key binding. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CustomInputPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CustomInputPrototype.html Online documentation} */ export interface CustomInputPrototype extends Prototype { type: "custom-input" @@ -3542,7 +3556,7 @@ declare module "factorio:prototype" { * For a list of all names used in vanilla, see {@linkplain https://wiki.factorio.com/Data.raw data.raw}. * * It is also the name for the event that is raised when they key (combination) is pressed and action is `"lua"`, see {@linkplain https://wiki.factorio.com/Tutorial:Script_interfaces#Custom_input Tutorial:Script interfaces}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CustomInputPrototype.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CustomInputPrototype.html#name Online documentation} */ name: CustomInputName /** @@ -3552,15 +3566,15 @@ declare module "factorio:prototype" { * * `" + "` is used to separate modifier keys from normal keys, like so: `"ALT + G"`. A key binding can contain any amount of individual modifier keys, but only a single normal mouse button or keyboard key (listed below). * - * {@link https://lua-api.factorio.com/2.1.22/prototypes/CustomInputPrototype.html#key_sequence > Available names for the normal mouse button} + * {@link https://lua-api.factorio.com/2.1.24/prototypes/CustomInputPrototype.html#key_sequence > Available names for the normal mouse button} * - * {@link https://lua-api.factorio.com/2.1.22/prototypes/CustomInputPrototype.html#key_sequence > Available names for the normal keyboard keys} - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CustomInputPrototype.html#key_sequence Online documentation} + * {@link https://lua-api.factorio.com/2.1.24/prototypes/CustomInputPrototype.html#key_sequence > Available names for the normal keyboard keys} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CustomInputPrototype.html#key_sequence Online documentation} */ key_sequence: string /** * The alternative key binding for this control. See `key_sequence` for the format. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CustomInputPrototype.html#alternative_key_sequence Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CustomInputPrototype.html#alternative_key_sequence Online documentation} */ alternative_key_sequence?: string /** @@ -3570,13 +3584,13 @@ declare module "factorio:prototype" { * * `" + "` is used to separate modifier buttons from normal buttons, like so: `"controller-righttrigger + controller-a"`. A key binding can contain any amount of individual modifier buttons, but only a single normal button (listed below). * - * {@link https://lua-api.factorio.com/2.1.22/prototypes/CustomInputPrototype.html#controller_key_sequence > Available names for the normal controller buttons} - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CustomInputPrototype.html#controller_key_sequence Online documentation} + * {@link https://lua-api.factorio.com/2.1.24/prototypes/CustomInputPrototype.html#controller_key_sequence > Available names for the normal controller buttons} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CustomInputPrototype.html#controller_key_sequence Online documentation} */ controller_key_sequence?: string /** * The alternative controller (game pad) keybinding for this control. See `controller_key_sequence` for the format. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CustomInputPrototype.html#controller_alternative_key_sequence Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CustomInputPrototype.html#controller_alternative_key_sequence Online documentation} */ controller_alternative_key_sequence?: string /** @@ -3586,31 +3600,31 @@ declare module "factorio:prototype" { * @example * key_sequence = "", * linked_game_control = "clear-cursor" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CustomInputPrototype.html#linked_game_control Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CustomInputPrototype.html#linked_game_control Online documentation} */ linked_game_control?: LinkedGameControl /** * **Default:** `"none"` * * Sets whether internal game events associated with the same key sequence should be fired or blocked. If they are fired ("none"), then the custom input event will happen before the internal game event. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CustomInputPrototype.html#consuming Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CustomInputPrototype.html#consuming Online documentation} */ consuming?: ConsumingType /** * **Default:** `true` * * If this custom input is enabled. Disabled custom inputs exist but are not used by the game. If disabled, no event is raised when the input is used. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CustomInputPrototype.html#enabled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CustomInputPrototype.html#enabled Online documentation} */ enabled?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CustomInputPrototype.html#enabled_while_spectating Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CustomInputPrototype.html#enabled_while_spectating Online documentation} */ enabled_while_spectating?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CustomInputPrototype.html#enabled_while_in_cutscene Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CustomInputPrototype.html#enabled_while_in_cutscene Online documentation} */ enabled_while_in_cutscene?: boolean /** @@ -3619,19 +3633,19 @@ declare module "factorio:prototype" { * If true, the type and name of the currently selected prototype will be provided as "selected_prototype" in the raised {@link import("factorio:runtime").CustomInputEvent Lua event}. {@linkplain https://forums.factorio.com/96125 This also works in GUIs}, not just the game world. * * This will also return an item in the cursor such as copper-wire or rail-planner, if nothing is beneath the cursor. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CustomInputPrototype.html#include_selected_prototype Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CustomInputPrototype.html#include_selected_prototype Online documentation} */ include_selected_prototype?: boolean /** * The item will be created when this input is pressed and action is set to "spawn-item". The item must have the {@link ItemPrototypeFlags#spawnable spawnable} flag set. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CustomInputPrototype.html#item_to_spawn Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CustomInputPrototype.html#item_to_spawn Online documentation} */ item_to_spawn?: ItemID /** * **Default:** `"lua"` * * A {@link import("factorio:runtime").CustomInputEvent Lua event} is only raised if the action is "lua". - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CustomInputPrototype.html#action Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CustomInputPrototype.html#action Online documentation} */ action?: | "lua" @@ -3643,7 +3657,7 @@ declare module "factorio:prototype" { * **Default:** `false` * * If `true`, when the shortcut is activated, the modifiers used for this shortcut can't be re-used to press something else until unpressed. The example where this is useful is ALT+A to activate spidertron remote, where ALT is consumed, so pressing right mouse button before the ALT is unpressed will not trigger pin creation (ALT + right mouse button), but send the selected unit instead. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CustomInputPrototype.html#block_modifiers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CustomInputPrototype.html#block_modifiers Online documentation} */ block_modifiers?: boolean } @@ -3651,14 +3665,14 @@ declare module "factorio:prototype" { * A damage type. This is used in the {@linkplain https://wiki.factorio.com/Damage damage system}. {@linkplain https://wiki.factorio.com/Damage#Damage_types A list of built-in damage types can be found here}. * * _Prototype limited to **255** total instances_ - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DamageType.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DamageType.html Online documentation} */ export interface DamageType extends Prototype { type: "damage-type" } /** * A {@linkplain https://wiki.factorio.com/Decider_combinator decider combinator}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DeciderCombinatorPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DeciderCombinatorPrototype.html Online documentation} */ export interface DeciderCombinatorPrototype extends CombinatorPrototype { type: "decider-combinator" @@ -3671,7 +3685,7 @@ declare module "factorio:prototype" { } /** * This prototype is used for receiving an achievement when the player deconstructs enough entities with construction robots. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DeconstructWithRobotsAchievementPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DeconstructWithRobotsAchievementPrototype.html Online documentation} */ export interface DeconstructWithRobotsAchievementPrototype extends AchievementPrototype { type: "deconstruct-with-robots-achievement" @@ -3679,20 +3693,20 @@ declare module "factorio:prototype" { * This will trigger the achievement, if enough entities were deconstructed using construction robots. * @example * amount = 100 - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DeconstructWithRobotsAchievementPrototype.html#amount Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DeconstructWithRobotsAchievementPrototype.html#amount Online documentation} */ amount: uint32 } /** * Entity used to signify that the tile below it should be deconstructed. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DeconstructibleTileProxyPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DeconstructibleTileProxyPrototype.html Online documentation} */ export interface DeconstructibleTileProxyPrototype extends EntityPrototype { type: "deconstructible-tile-proxy" } /** * A {@linkplain https://wiki.factorio.com/Deconstruction_planner deconstruction planner}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DeconstructionItemPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DeconstructionItemPrototype.html Online documentation} */ export interface DeconstructionItemPrototype extends SelectionToolPrototype { type: "deconstruction-item" @@ -3700,28 +3714,28 @@ declare module "factorio:prototype" { * Count of items of the same name that can be stored in one inventory slot. Must be 1 when the `"not-stackable"` flag is set. * @example * stack_size = 1 - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DeconstructionItemPrototype.html#stack_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DeconstructionItemPrototype.html#stack_size Online documentation} */ stack_size: 1 /** * The {@link SelectionModeData#mode SelectionModeData::mode} is hardcoded to `"deconstruct"`. * * The filters are parsed, but then ignored and forced to be empty. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DeconstructionItemPrototype.html#select Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DeconstructionItemPrototype.html#select Online documentation} */ select: SelectionModeData /** * The {@link SelectionModeData#mode SelectionModeData::mode} is hardcoded to `"cancel-deconstruct"`. * * The filters are parsed, but then ignored and forced to be empty. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DeconstructionItemPrototype.html#alt_select Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DeconstructionItemPrototype.html#alt_select Online documentation} */ alt_select: SelectionModeData /** * **Default:** `false` * * This property is hardcoded to `false`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DeconstructionItemPrototype.html#always_include_tiles Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DeconstructionItemPrototype.html#always_include_tiles Online documentation} */ always_include_tiles?: boolean } @@ -3729,40 +3743,40 @@ declare module "factorio:prototype" { * Simple decorative purpose objects on the map, they have no health and some of them are removed when the player builds over. Usually used for grass patches, roots, small plants etc. * * _Prototype limited to **65535** total instances_ - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DecorativePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DecorativePrototype.html Online documentation} */ export interface DecorativePrototype extends Prototype { type: "optimized-decorative" /** * Must contain at least 1 picture. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DecorativePrototype.html#pictures Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DecorativePrototype.html#pictures Online documentation} */ pictures: SpriteVariations /** * Can be defined only when decorative is not "decal" (see `render_layer`). - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DecorativePrototype.html#stateless_visualisation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DecorativePrototype.html#stateless_visualisation Online documentation} */ stateless_visualisation?: StatelessVisualisation | readonly StatelessVisualisation[] /** * Only loaded if `stateless_visualisation` is not defined. Can be defined only when decorative is not "decal" (see `render_layer`). - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DecorativePrototype.html#stateless_visualisation_variations Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DecorativePrototype.html#stateless_visualisation_variations Online documentation} */ stateless_visualisation_variations?: readonly (StatelessVisualisation | readonly StatelessVisualisation[])[] /** * Must contain the [0,0] point. Max radius of the collision box is 8. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DecorativePrototype.html#collision_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DecorativePrototype.html#collision_box Online documentation} */ collision_box?: BoundingBox /** * **Default:** `"decorative"` * * When "decals" render layer is used, the decorative is treated as decal. That means it will be rendered within tile layers instead of normal sprite layers. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DecorativePrototype.html#render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DecorativePrototype.html#render_layer Online documentation} */ render_layer?: RenderLayer /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DecorativePrototype.html#grows_through_rail_path Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DecorativePrototype.html#grows_through_rail_path Online documentation} */ grows_through_rail_path?: boolean /** @@ -3771,42 +3785,42 @@ declare module "factorio:prototype" { * **Default:** `1` * * Loaded only if `render_layer` = "decals". Value lower than 1 enables masking by water for decals with `tile_layer` greater or equal to {@link UtilityConstants#capture_water_mask_at_layer UtilityConstants::capture_water_mask_at_layer}. Water tiles must use water `tile-effect` with {@link WaterTileEffectParameters#lightmap_alpha WaterTileEffectParameters::lightmap_alpha} set to 0 or value less than 1. Graphics option `Occlude light sprites` must be enabled, as water mask is captured into terrain lightmap alpha channel. Tiles rendered in layer between {@link UtilityConstants#capture_water_mask_at_layer UtilityConstants::capture_water_mask_at_layer} and decal's `tile_layer` will likely also mask decals in some way, as water mask will likely be 0 at their position, but this is considered undefined behavior. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DecorativePrototype.html#opacity_over_water Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DecorativePrototype.html#opacity_over_water Online documentation} */ opacity_over_water?: float /** * **Default:** `0` * * Mandatory if `render_layer` = "decals". This int16 is converted to a {@link TileRenderLayer} internally. It is offset from `ground-natural`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DecorativePrototype.html#tile_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DecorativePrototype.html#tile_layer Online documentation} */ tile_layer?: int16 /** * **Default:** `0` * * Loaded only if `render_layer` = "decals". When decoratives are being spawned by {@link EnemySpawnerPrototype#spawn_decoration EnemySpawnerPrototype::spawn_decoration} or {@link TurretPrototype#spawn_decoration TurretPrototype::spawn_decoration}, decals with `decal_overdraw_priority` greater than 0 will be filtered such that they don't overlap too much. If two or more decals would overlap, only the one with the largest value of `decal_overdraw_priority` is placed. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DecorativePrototype.html#decal_overdraw_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DecorativePrototype.html#decal_overdraw_priority Online documentation} */ decal_overdraw_priority?: uint16 /** * Defaults to the mask from {@link UtilityConstants#default_collision_masks UtilityConstants::default_collision_masks} when indexed by `"decorative"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DecorativePrototype.html#collision_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DecorativePrototype.html#collision_mask Online documentation} */ collision_mask?: CollisionMaskConnector walking_sound?: Sound /** * Called by {@link DestroyDecorativesTriggerEffectItem}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DecorativePrototype.html#trigger_effect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DecorativePrototype.html#trigger_effect Online documentation} */ trigger_effect?: TriggerEffect /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DecorativePrototype.html#minimal_separation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DecorativePrototype.html#minimal_separation Online documentation} */ minimal_separation?: double /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DecorativePrototype.html#target_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DecorativePrototype.html#target_count Online documentation} */ target_count?: uint16 placed_effect?: TriggerEffect @@ -3814,45 +3828,45 @@ declare module "factorio:prototype" { } /** * Delays the delivery of triggered effect by some number of ticks. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DelayedActiveTriggerPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DelayedActiveTriggerPrototype.html Online documentation} */ export interface DelayedActiveTriggerPrototype extends ActiveTriggerPrototype { type: "delayed-active-trigger" /** * The trigger to apply after `delay` has elapsed. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DelayedActiveTriggerPrototype.html#action Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DelayedActiveTriggerPrototype.html#action Online documentation} */ action: Trigger /** * The number of ticks to delay the delivery of the triggered effect. Must be greater than 0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DelayedActiveTriggerPrototype.html#delay Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DelayedActiveTriggerPrototype.html#delay Online documentation} */ delay: uint32 /** * **Default:** `0` * * The number of times to repeat the delayed trigger. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DelayedActiveTriggerPrototype.html#repeat_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DelayedActiveTriggerPrototype.html#repeat_count Online documentation} */ repeat_count?: uint32 /** * **Default:** `Value of `delay`` * * The number of ticks between repeat deliveries of the triggered effect. Must be greater than 0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DelayedActiveTriggerPrototype.html#repeat_delay Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DelayedActiveTriggerPrototype.html#repeat_delay Online documentation} */ repeat_delay?: uint32 /** * **Default:** `false` * * If true, the delayed trigger is cancelled if the source entity is destroyed. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DelayedActiveTriggerPrototype.html#cancel_when_source_is_destroyed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DelayedActiveTriggerPrototype.html#cancel_when_source_is_destroyed Online documentation} */ cancel_when_source_is_destroyed?: boolean } /** * This prototype is used for receiving an achievement, when the player requests and receives enough items using logistic robots. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DeliverByRobotsAchievementPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DeliverByRobotsAchievementPrototype.html Online documentation} */ export interface DeliverByRobotsAchievementPrototype extends AchievementPrototype { type: "deliver-by-robots-achievement" @@ -3860,7 +3874,7 @@ declare module "factorio:prototype" { * This will trigger the achievement, when the player receives enough items through logistic robots. * @example * amount = 10000 - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DeliverByRobotsAchievementPrototype.html#amount Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DeliverByRobotsAchievementPrototype.html#amount Online documentation} */ amount: uint32 } @@ -3870,13 +3884,13 @@ declare module "factorio:prototype" { * type = "deliver-category", * name = "bullet" * } - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DeliverCategory.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DeliverCategory.html Online documentation} */ export interface DeliverCategory { readonly type: "deliver-category" /** * Name of the deliver category. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DeliverCategory.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DeliverCategory.html#name Online documentation} */ name: string } @@ -3898,13 +3912,13 @@ declare module "factorio:prototype" { * } * } * } - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DeliverImpactCombination.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DeliverImpactCombination.html Online documentation} */ export interface DeliverImpactCombination { readonly type: "deliver-impact-combination" /** * Name of the deliver impact combination. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DeliverImpactCombination.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DeliverImpactCombination.html#name Online documentation} */ name: string impact_category: string @@ -3913,7 +3927,7 @@ declare module "factorio:prototype" { } /** * This prototype is used for receiving an achievement when a resource entity is depleted. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DepleteResourceAchievementPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DepleteResourceAchievementPrototype.html Online documentation} */ export interface DepleteResourceAchievementPrototype extends AchievementPrototype { type: "deplete-resource-achievement" @@ -3921,14 +3935,14 @@ declare module "factorio:prototype" { * **Default:** `1` * * How many resource entities need to be depleted. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DepleteResourceAchievementPrototype.html#amount Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DepleteResourceAchievementPrototype.html#amount Online documentation} */ amount?: uint32 /** * **Default:** `false` * * If this is false, the player carries over their statistics from this achievement through all their saves. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DepleteResourceAchievementPrototype.html#limited_to_one_game Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DepleteResourceAchievementPrototype.html#limited_to_one_game Online documentation} */ limited_to_one_game?: boolean } @@ -3936,79 +3950,79 @@ declare module "factorio:prototype" { type: "destroy-cliff-achievement" /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DestroyCliffAchievementPrototype.html#amount Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DestroyCliffAchievementPrototype.html#amount Online documentation} */ amount?: uint32 /** * **Default:** `false` * * If this is false, the player carries over their statistics from this achievement through all their saves. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DestroyCliffAchievementPrototype.html#limited_to_one_game Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DestroyCliffAchievementPrototype.html#limited_to_one_game Online documentation} */ limited_to_one_game?: boolean } /** * Entity that display a signal icon and some text, either configured directly in the entity or through the circuit network. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DisplayPanelPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DisplayPanelPrototype.html Online documentation} */ export interface DisplayPanelPrototype extends EntityWithOwnerPrototype { type: "display-panel" /** * The display panel's graphics. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DisplayPanelPrototype.html#sprites Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DisplayPanelPrototype.html#sprites Online documentation} */ sprites?: Sprite4Way /** * **Default:** `400` * * The maximum display width of the text on the display panel. If the text exceeds this width it will be wrapped so that it continues on the next line. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DisplayPanelPrototype.html#max_text_width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DisplayPanelPrototype.html#max_text_width Online documentation} */ max_text_width?: uint32 /** * **Default:** `500` * * Maximum length of the text. If the text exceeds this length all characters beyond the limit will be discarded. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DisplayPanelPrototype.html#max_text_length Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DisplayPanelPrototype.html#max_text_length Online documentation} */ max_text_length?: uint32 /** * **Default:** `100` * * Maximum amount of message records that can be configured in this display panel when it is connected to circuit network. Must be >= 1. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DisplayPanelPrototype.html#max_records_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DisplayPanelPrototype.html#max_records_count Online documentation} */ max_records_count?: uint32 /** * The shift of the text on the display panel. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DisplayPanelPrototype.html#text_shift Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DisplayPanelPrototype.html#text_shift Online documentation} */ text_shift?: Vector /** * The color of the text on the display panel. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DisplayPanelPrototype.html#text_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DisplayPanelPrototype.html#text_color Online documentation} */ text_color?: Color /** * The background color of the display panel text. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DisplayPanelPrototype.html#background_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DisplayPanelPrototype.html#background_color Online documentation} */ background_color?: Color /** * **Default:** `0` * * The maximum circuit wire distance for this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DisplayPanelPrototype.html#circuit_wire_max_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DisplayPanelPrototype.html#circuit_wire_max_distance Online documentation} */ circuit_wire_max_distance?: double /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DisplayPanelPrototype.html#draw_copper_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DisplayPanelPrototype.html#draw_copper_wires Online documentation} */ draw_copper_wires?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DisplayPanelPrototype.html#draw_circuit_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DisplayPanelPrototype.html#draw_circuit_wires Online documentation} */ draw_circuit_wires?: boolean circuit_connector?: readonly [ @@ -4020,7 +4034,7 @@ declare module "factorio:prototype" { } /** * This prototype is used for receiving an achievement when the player finishes the game without building a specific entity. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DontBuildEntityAchievementPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DontBuildEntityAchievementPrototype.html Online documentation} */ export interface DontBuildEntityAchievementPrototype extends AchievementPrototypeWithCondition { type: "dont-build-entity-achievement" @@ -4028,23 +4042,23 @@ declare module "factorio:prototype" { * This will disable the achievement, if this entity is placed. If you finish the game without building this entity, you receive the achievement. * @example * dont_build = {"bulk-inserter", "fluid-wagon"} - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DontBuildEntityAchievementPrototype.html#dont_build Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DontBuildEntityAchievementPrototype.html#dont_build Online documentation} */ dont_build: EntityID | readonly EntityID[] /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DontBuildEntityAchievementPrototype.html#amount Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DontBuildEntityAchievementPrototype.html#amount Online documentation} */ amount?: uint32 /** * If you research technology using one of specified items before building entity, you receive the achievement. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DontBuildEntityAchievementPrototype.html#research_with Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DontBuildEntityAchievementPrototype.html#research_with Online documentation} */ research_with?: ItemID | readonly ItemID[] } /** * This prototype is used for receiving an achievement when the player finishes the game without crafting more than a set amount. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DontCraftManuallyAchievementPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DontCraftManuallyAchievementPrototype.html Online documentation} */ export interface DontCraftManuallyAchievementPrototype extends AchievementPrototypeWithCondition { type: "dont-craft-manually-achievement" @@ -4052,32 +4066,32 @@ declare module "factorio:prototype" { * This will disable the achievement, if the player crafts more than this. * @example * amount = 111 - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DontCraftManuallyAchievementPrototype.html#amount Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DontCraftManuallyAchievementPrototype.html#amount Online documentation} */ amount: uint32 } /** * This prototype is used for receiving an achievement when the player kill first entity using artillery. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DontKillManuallyAchievementPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DontKillManuallyAchievementPrototype.html Online documentation} */ export interface DontKillManuallyAchievementPrototype extends AchievementPrototypeWithCondition { type: "dont-kill-manually-achievement" /** * This will disable the achievement, if this entity is killed manually. If you kill this entity with artillery first, you receive the achievement. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DontKillManuallyAchievementPrototype.html#to_kill Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DontKillManuallyAchievementPrototype.html#to_kill Online documentation} */ to_kill?: EntityID /** * This will disable the achievement, if this entity type is killed manually. If you kill this entity type with artillery first, you receive the achievement. * @example * type_not_to_kill = "unit-spawner" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DontKillManuallyAchievementPrototype.html#type_not_to_kill Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DontKillManuallyAchievementPrototype.html#type_not_to_kill Online documentation} */ type_not_to_kill?: string } /** * This prototype is used for receiving an achievement when the player researches with a specific science pack before unlocking another. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DontResearchBeforeResearchingAchievementPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DontResearchBeforeResearchingAchievementPrototype.html Online documentation} */ export interface DontResearchBeforeResearchingAchievementPrototype extends AchievementPrototypeWithCondition { type: "dont-research-before-researching-achievement" @@ -4085,20 +4099,20 @@ declare module "factorio:prototype" { * This will disable the achievement, if technology unlocking this item is researched before meeting requirements. * @example * dont_research = {"production-science-pack", "utility-science-pack"} - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DontResearchBeforeResearchingAchievementPrototype.html#dont_research Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DontResearchBeforeResearchingAchievementPrototype.html#dont_research Online documentation} */ dont_research: ItemID | readonly ItemID[] /** * If you research technology using one of specified items, you receive the achievement. * @example * research_with = {"metallurgic-science-pack", "electromagnetic-science-pack", "agricultural-science-pack"} - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DontResearchBeforeResearchingAchievementPrototype.html#research_with Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DontResearchBeforeResearchingAchievementPrototype.html#research_with Online documentation} */ research_with: ItemID | readonly ItemID[] } /** * This prototype is used for receiving an achievement when the player finishes the game without receiving energy from a specific energy source. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DontUseEntityInEnergyProductionAchievementPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DontUseEntityInEnergyProductionAchievementPrototype.html Online documentation} */ export interface DontUseEntityInEnergyProductionAchievementPrototype extends AchievementPrototypeWithCondition { type: "dont-use-entity-in-energy-production-achievement" @@ -4106,28 +4120,28 @@ declare module "factorio:prototype" { * This will **not** disable the achievement, if this entity is placed, and you have received any amount of power from it. * @example * excluded = {"steam-engine", "steam-turbine"} - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DontUseEntityInEnergyProductionAchievementPrototype.html#excluded Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DontUseEntityInEnergyProductionAchievementPrototype.html#excluded Online documentation} */ excluded: EntityID | readonly EntityID[] /** * This will disable the achievement, if this entity is placed, and you have received any amount of power from it. If you finish the game without receiving power from this entity, you receive the achievement. * @example * included = "solar-panel" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DontUseEntityInEnergyProductionAchievementPrototype.html#included Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DontUseEntityInEnergyProductionAchievementPrototype.html#included Online documentation} */ included?: EntityID | readonly EntityID[] /** * **Default:** `false` * * If `true`, the achievements will only be checked for the last hour of the game, independently of finishing the game. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DontUseEntityInEnergyProductionAchievementPrototype.html#last_hour_only Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DontUseEntityInEnergyProductionAchievementPrototype.html#last_hour_only Online documentation} */ last_hour_only?: boolean /** * **Default:** `"0J"` * * The minimum amount of energy that needs to be produced by the allowed entities to trigger the achievement. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/DontUseEntityInEnergyProductionAchievementPrototype.html#minimum_energy_produced Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/DontUseEntityInEnergyProductionAchievementPrototype.html#minimum_energy_produced Online documentation} */ minimum_energy_produced?: Energy } @@ -4135,20 +4149,20 @@ declare module "factorio:prototype" { * Properties of the editor controller. * * _Prototype limited to **1** total instances_ - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EditorControllerPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EditorControllerPrototype.html Online documentation} */ export interface EditorControllerPrototype { readonly type: "editor-controller" /** * Name of the editor controller. Base game uses "default". - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EditorControllerPrototype.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EditorControllerPrototype.html#name Online documentation} */ name: string inventory_size: ItemStackIndex gun_inventory_size: ItemStackIndex /** * Must be >= 0.34375. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EditorControllerPrototype.html#movement_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EditorControllerPrototype.html#movement_speed Online documentation} */ movement_speed: double item_pickup_distance: double @@ -4175,7 +4189,7 @@ declare module "factorio:prototype" { } /** * Provides or consumes power in equipment grids. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ElectricEnergyInterfaceEquipmentPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ElectricEnergyInterfaceEquipmentPrototype.html Online documentation} */ export interface ElectricEnergyInterfaceEquipmentPrototype extends EquipmentPrototype { type: "electric-energy-interface-equipment" @@ -4183,40 +4197,40 @@ declare module "factorio:prototype" { * **Default:** `0` * @example * energy_production = "500GW" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ElectricEnergyInterfaceEquipmentPrototype.html#energy_production Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ElectricEnergyInterfaceEquipmentPrototype.html#energy_production Online documentation} */ energy_production?: Energy /** * **Default:** `0` * @example * energy_usage = "10kW" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ElectricEnergyInterfaceEquipmentPrototype.html#energy_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ElectricEnergyInterfaceEquipmentPrototype.html#energy_usage Online documentation} */ energy_usage?: Energy /** * **Default:** `"none"` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ElectricEnergyInterfaceEquipmentPrototype.html#gui_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ElectricEnergyInterfaceEquipmentPrototype.html#gui_mode Online documentation} */ gui_mode?: "all" | "none" | "admins" /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ElectricEnergyInterfaceEquipmentPrototype.html#show_power_production_in_tooltip Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ElectricEnergyInterfaceEquipmentPrototype.html#show_power_production_in_tooltip Online documentation} */ show_power_production_in_tooltip?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ElectricEnergyInterfaceEquipmentPrototype.html#show_power_usage_in_tooltip Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ElectricEnergyInterfaceEquipmentPrototype.html#show_power_usage_in_tooltip Online documentation} */ show_power_usage_in_tooltip?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ElectricEnergyInterfaceEquipmentPrototype.html#show_stored_energy_in_tooltip Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ElectricEnergyInterfaceEquipmentPrototype.html#show_stored_energy_in_tooltip Online documentation} */ show_stored_energy_in_tooltip?: boolean } /** * Entity with electric energy source with that can have some of its values changed runtime. Useful for modding in energy consumers/producers. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ElectricEnergyInterfacePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ElectricEnergyInterfacePrototype.html Online documentation} */ export interface ElectricEnergyInterfacePrototype extends EntityWithOwnerPrototype { type: "electric-energy-interface" @@ -4225,63 +4239,63 @@ declare module "factorio:prototype" { * **Default:** `0` * @example * energy_production = "500GW" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ElectricEnergyInterfacePrototype.html#energy_production Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ElectricEnergyInterfacePrototype.html#energy_production Online documentation} */ energy_production?: Energy /** * **Default:** `0` * @example * energy_usage = "10kW" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ElectricEnergyInterfacePrototype.html#energy_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ElectricEnergyInterfacePrototype.html#energy_usage Online documentation} */ energy_usage?: Energy /** * **Default:** `"none"` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ElectricEnergyInterfacePrototype.html#gui_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ElectricEnergyInterfacePrototype.html#gui_mode Online documentation} */ gui_mode?: "all" | "none" | "admins" /** * **Default:** `false` * * Whether the electric energy interface animation always runs instead of being scaled to activity. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ElectricEnergyInterfacePrototype.html#continuous_animation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ElectricEnergyInterfacePrototype.html#continuous_animation Online documentation} */ continuous_animation?: boolean /** * **Default:** `"object"` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ElectricEnergyInterfacePrototype.html#render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ElectricEnergyInterfacePrototype.html#render_layer Online documentation} */ render_layer?: RenderLayer /** * The light that this electric energy interface emits. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ElectricEnergyInterfacePrototype.html#light Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ElectricEnergyInterfacePrototype.html#light Online documentation} */ light?: LightDefinition picture?: Sprite /** * Only loaded if `picture` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ElectricEnergyInterfacePrototype.html#pictures Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ElectricEnergyInterfacePrototype.html#pictures Online documentation} */ pictures?: Sprite4Way /** * Only loaded if both `picture` and `pictures` are not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ElectricEnergyInterfacePrototype.html#animation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ElectricEnergyInterfacePrototype.html#animation Online documentation} */ animation?: Animation /** * Only loaded if `picture`, `pictures`, and `animation` are not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ElectricEnergyInterfacePrototype.html#animations Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ElectricEnergyInterfacePrototype.html#animations Online documentation} */ animations?: Animation4Way /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ElectricEnergyInterfacePrototype.html#allow_copy_paste Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ElectricEnergyInterfacePrototype.html#allow_copy_paste Online documentation} */ allow_copy_paste?: boolean } /** * An electric pole - part of the {@linkplain https://wiki.factorio.com/Electric_system electric system}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ElectricPolePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ElectricPolePrototype.html Online documentation} */ export interface ElectricPolePrototype extends EntityWithOwnerPrototype { type: "electric-pole" @@ -4290,14 +4304,14 @@ declare module "factorio:prototype" { * The "radius" of this pole's supply area. Corresponds to *half* of the "supply area" in the item tooltip. If this is 3.5, the pole will have a 7x7 supply area. * * Max value is 64. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ElectricPolePrototype.html#supply_area_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ElectricPolePrototype.html#supply_area_distance Online documentation} */ supply_area_distance: double connection_points: readonly WireConnectionPoint[] radius_visualisation_picture?: Sprite /** * Drawn above the `pictures` when the electric pole is connected to an electric network. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ElectricPolePrototype.html#active_picture Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ElectricPolePrototype.html#active_picture Online documentation} */ active_picture?: Sprite /** @@ -4306,45 +4320,45 @@ declare module "factorio:prototype" { * The maximum distance between this pole and any other connected pole - if two poles are farther apart than this, they cannot be connected together directly. Corresponds to "wire reach" in the item tooltip. * * Max value is 64. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ElectricPolePrototype.html#maximum_wire_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ElectricPolePrototype.html#maximum_wire_distance Online documentation} */ maximum_wire_distance?: double /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ElectricPolePrototype.html#draw_copper_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ElectricPolePrototype.html#draw_copper_wires Online documentation} */ draw_copper_wires?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ElectricPolePrototype.html#draw_circuit_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ElectricPolePrototype.html#draw_circuit_wires Online documentation} */ draw_circuit_wires?: boolean /** * Drawn when the electric pole is connected to an electric network. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ElectricPolePrototype.html#light Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ElectricPolePrototype.html#light Online documentation} */ light?: LightDefinition /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ElectricPolePrototype.html#track_coverage_during_drag_building Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ElectricPolePrototype.html#track_coverage_during_drag_building Online documentation} */ track_coverage_during_drag_building?: boolean /** * **Default:** `5` * * `0` means disable auto-connect. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ElectricPolePrototype.html#auto_connect_up_to_n_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ElectricPolePrototype.html#auto_connect_up_to_n_wires Online documentation} */ auto_connect_up_to_n_wires?: uint8 /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ElectricPolePrototype.html#rewire_neighbours_when_destroying Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ElectricPolePrototype.html#rewire_neighbours_when_destroying Online documentation} */ rewire_neighbours_when_destroying?: boolean } /** * A turret that uses electricity as ammunition. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ElectricTurretPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ElectricTurretPrototype.html Online documentation} */ export interface ElectricTurretPrototype extends TurretPrototype { type: "electric-turret" @@ -4352,7 +4366,7 @@ declare module "factorio:prototype" { } /** * An elevated curved-A rail. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ElevatedCurvedRailAPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ElevatedCurvedRailAPrototype.html Online documentation} */ export interface ElevatedCurvedRailAPrototype extends CurvedRailAPrototype { type: "elevated-curved-rail-a" @@ -4360,14 +4374,14 @@ declare module "factorio:prototype" { * Unique textual identification of the prototype. May only contain alphanumeric characters, dashes and underscores. May not exceed a length of 200 characters. * * Requires Space Age to create prototypes with name not starting with `dummy-`. Dummy prototypes cannot be built. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ElevatedCurvedRailAPrototype.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ElevatedCurvedRailAPrototype.html#name Online documentation} */ name: string /** * **Default:** `true` * * When this is true, this entity prototype will be translucent and unselectable when "Hide tall entities" mode is active. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ElevatedCurvedRailAPrototype.html#tall Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ElevatedCurvedRailAPrototype.html#tall Online documentation} */ tall?: boolean /** @@ -4376,13 +4390,13 @@ declare module "factorio:prototype" { * The entity with the higher number is selectable before the entity with the lower number. * * The value `0` will be treated the same as `nil`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ElevatedCurvedRailAPrototype.html#selection_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ElevatedCurvedRailAPrototype.html#selection_priority Online documentation} */ selection_priority?: uint8 } /** * An elevated curved-B rail. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ElevatedCurvedRailBPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ElevatedCurvedRailBPrototype.html Online documentation} */ export interface ElevatedCurvedRailBPrototype extends CurvedRailBPrototype { type: "elevated-curved-rail-b" @@ -4390,14 +4404,14 @@ declare module "factorio:prototype" { * Unique textual identification of the prototype. May only contain alphanumeric characters, dashes and underscores. May not exceed a length of 200 characters. * * Requires Space Age to create prototypes with name not starting with `dummy-`. Dummy prototypes cannot be built. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ElevatedCurvedRailBPrototype.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ElevatedCurvedRailBPrototype.html#name Online documentation} */ name: string /** * **Default:** `true` * * When this is true, this entity prototype will be translucent and unselectable when "Hide tall entities" mode is active. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ElevatedCurvedRailBPrototype.html#tall Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ElevatedCurvedRailBPrototype.html#tall Online documentation} */ tall?: boolean /** @@ -4406,13 +4420,13 @@ declare module "factorio:prototype" { * The entity with the higher number is selectable before the entity with the lower number. * * The value `0` will be treated the same as `nil`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ElevatedCurvedRailBPrototype.html#selection_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ElevatedCurvedRailBPrototype.html#selection_priority Online documentation} */ selection_priority?: uint8 } /** * An elevated half diagonal rail. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ElevatedHalfDiagonalRailPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ElevatedHalfDiagonalRailPrototype.html Online documentation} */ export interface ElevatedHalfDiagonalRailPrototype extends HalfDiagonalRailPrototype { type: "elevated-half-diagonal-rail" @@ -4420,14 +4434,14 @@ declare module "factorio:prototype" { * Unique textual identification of the prototype. May only contain alphanumeric characters, dashes and underscores. May not exceed a length of 200 characters. * * Requires Space Age to create prototypes with name not starting with `dummy-`. Dummy prototypes cannot be built. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ElevatedHalfDiagonalRailPrototype.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ElevatedHalfDiagonalRailPrototype.html#name Online documentation} */ name: string /** * **Default:** `true` * * When this is true, this entity prototype will be translucent and unselectable when "Hide tall entities" mode is active. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ElevatedHalfDiagonalRailPrototype.html#tall Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ElevatedHalfDiagonalRailPrototype.html#tall Online documentation} */ tall?: boolean /** @@ -4436,13 +4450,13 @@ declare module "factorio:prototype" { * The entity with the higher number is selectable before the entity with the lower number. * * The value `0` will be treated the same as `nil`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ElevatedHalfDiagonalRailPrototype.html#selection_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ElevatedHalfDiagonalRailPrototype.html#selection_priority Online documentation} */ selection_priority?: uint8 } /** * An elevated straight rail. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ElevatedStraightRailPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ElevatedStraightRailPrototype.html Online documentation} */ export interface ElevatedStraightRailPrototype extends StraightRailPrototype { type: "elevated-straight-rail" @@ -4450,14 +4464,14 @@ declare module "factorio:prototype" { * Unique textual identification of the prototype. May only contain alphanumeric characters, dashes and underscores. May not exceed a length of 200 characters. * * Requires Space Age to create prototypes with name not starting with `dummy-`. Dummy prototypes cannot be built. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ElevatedStraightRailPrototype.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ElevatedStraightRailPrototype.html#name Online documentation} */ name: string /** * **Default:** `true` * * When this is true, this entity prototype will be translucent and unselectable when "Hide tall entities" mode is active. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ElevatedStraightRailPrototype.html#tall Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ElevatedStraightRailPrototype.html#tall Online documentation} */ tall?: boolean /** @@ -4466,106 +4480,106 @@ declare module "factorio:prototype" { * The entity with the higher number is selectable before the entity with the lower number. * * The value `0` will be treated the same as `nil`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ElevatedStraightRailPrototype.html#selection_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ElevatedStraightRailPrototype.html#selection_priority Online documentation} */ selection_priority?: uint8 } /** * Can spawn entities. Used for biter/spitter nests. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EnemySpawnerPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EnemySpawnerPrototype.html Online documentation} */ export interface EnemySpawnerPrototype extends EntityWithOwnerPrototype { type: "unit-spawner" graphics_set: EnemySpawnerGraphicsSet /** * Count of enemies this spawner can sustain. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EnemySpawnerPrototype.html#max_count_of_owned_units Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EnemySpawnerPrototype.html#max_count_of_owned_units Online documentation} */ max_count_of_owned_units: uint32 /** * **Default:** `Value of `max_count_of_owned_units`` * * Count of defensive enemies this spawner can sustain. Defensive units are units with {@link UnitAISettings#join_attacks UnitAISettings::join_attacks} set to false. If set below {@link EnemySpawnerPrototype#max_count_of_owned_units EnemySpawnerPrototype::max_count_of_owned_units}, the difference will be the space reserved for non-defensive units. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EnemySpawnerPrototype.html#max_count_of_owned_defensive_units Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EnemySpawnerPrototype.html#max_count_of_owned_defensive_units Online documentation} */ max_count_of_owned_defensive_units?: uint32 /** * How many friendly units are required within the {@link EnemySpawnerPrototype#spawning_radius EnemySpawnerPrototype::spawning_radius} of this spawner for it to stop producing more units. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EnemySpawnerPrototype.html#max_friends_around_to_spawn Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EnemySpawnerPrototype.html#max_friends_around_to_spawn Online documentation} */ max_friends_around_to_spawn: uint32 /** * **Default:** `Value of `max_friends_around_to_spawn`` * * How many friendly defensive units are required within the {@link EnemySpawnerPrototype#spawning_radius EnemySpawnerPrototype::spawning_radius} of this spawner for it to stop producing more units. Defensive units are units with {@link UnitAISettings#join_attacks UnitAISettings::join_attacks} set to false. If set below {@link EnemySpawnerPrototype#max_friends_around_to_spawn EnemySpawnerPrototype::max_friends_around_to_spawn}, the difference will be the space reserved for non-defensive units. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EnemySpawnerPrototype.html#max_defensive_friends_around_to_spawn Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EnemySpawnerPrototype.html#max_defensive_friends_around_to_spawn Online documentation} */ max_defensive_friends_around_to_spawn?: uint32 /** * Ticks for cooldown after unit is spawned. The first member of the tuple is min, the second member of the tuple is max. * * The resulting spawning cooldown is a linear interpolation between min and max based on the current evolution factor. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EnemySpawnerPrototype.html#spawning_cooldown Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EnemySpawnerPrototype.html#spawning_cooldown Online documentation} */ spawning_cooldown: readonly [double, double] /** * How far from the spawner can the units be spawned. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EnemySpawnerPrototype.html#spawning_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EnemySpawnerPrototype.html#spawning_radius Online documentation} */ spawning_radius: double /** * What spaces should be between the spawned units. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EnemySpawnerPrototype.html#spawning_spacing Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EnemySpawnerPrototype.html#spawning_spacing Online documentation} */ spawning_spacing: double /** * Max richness to determine spawn shift. Spawn shift is a linear interpolation between 0 and max_spawn_shift. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EnemySpawnerPrototype.html#max_richness_for_spawn_shift Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EnemySpawnerPrototype.html#max_richness_for_spawn_shift Online documentation} */ max_richness_for_spawn_shift: double /** * Caps how much richness can be added on top of evolution when spawning units. {@linkplain https://www.reddit.com/r/factorio/comments/8pjscm/friday_facts_246_the_gui_update_part_3/e0bttnp/ See also} - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EnemySpawnerPrototype.html#max_spawn_shift Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EnemySpawnerPrototype.html#max_spawn_shift Online documentation} */ max_spawn_shift: double call_for_help_radius: double /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EnemySpawnerPrototype.html#time_to_capture Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EnemySpawnerPrototype.html#time_to_capture Online documentation} */ time_to_capture?: uint32 /** * Trigger that is activated when the spawner cannot find a valid spawn location. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EnemySpawnerPrototype.html#spawn_blocked_trigger Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EnemySpawnerPrototype.html#spawn_blocked_trigger Online documentation} */ spawn_blocked_trigger?: Trigger /** * Array of the {@link EntityPrototype entities} that this spawner can spawn and their spawn probabilities. The sum of probabilities is expected to be 1.0. The array must not be empty. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EnemySpawnerPrototype.html#result_units Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EnemySpawnerPrototype.html#result_units Online documentation} */ result_units: readonly UnitSpawnDefinition[] dying_sound?: Sound absorptions_per_second?: Record /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EnemySpawnerPrototype.html#min_darkness_to_spawn Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EnemySpawnerPrototype.html#min_darkness_to_spawn Online documentation} */ min_darkness_to_spawn?: float /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EnemySpawnerPrototype.html#max_darkness_to_spawn Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EnemySpawnerPrototype.html#max_darkness_to_spawn Online documentation} */ max_darkness_to_spawn?: float /** * **Default:** `false` * * Whether `spawn_decoration` should be spawned when enemies {@linkplain https://wiki.factorio.com/Enemies#Expansions expand}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EnemySpawnerPrototype.html#spawn_decorations_on_expansion Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EnemySpawnerPrototype.html#spawn_decorations_on_expansion Online documentation} */ spawn_decorations_on_expansion?: boolean /** * Decoratives to be created when the spawner is created by the {@linkplain https://wiki.factorio.com/Map_generator map generator}. Placed when enemies expand if `spawn_decorations_on_expansion` is set to true. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EnemySpawnerPrototype.html#spawn_decoration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EnemySpawnerPrototype.html#spawn_decoration Online documentation} */ spawn_decoration?: readonly CreateDecorativesTriggerEffectItem[] captured_spawner_entity?: EntityID @@ -4573,20 +4587,20 @@ declare module "factorio:prototype" { * **Default:** `true` * * Whether this prototype should be a high priority target for enemy forces. See {@linkplain https://wiki.factorio.com/Military_units_and_structures Military units and structures}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EnemySpawnerPrototype.html#is_military_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EnemySpawnerPrototype.html#is_military_target Online documentation} */ is_military_target?: true /** * **Default:** `false` * * If this is true, this entities `is_military_target property` can be changed runtime (on the entity, not on the prototype itself). - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EnemySpawnerPrototype.html#allow_run_time_change_of_is_military_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EnemySpawnerPrototype.html#allow_run_time_change_of_is_military_target Online documentation} */ allow_run_time_change_of_is_military_target?: false } /** * Used by {@linkplain https://wiki.factorio.com/Energy_shield energy shield}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EnergyShieldEquipmentPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EnergyShieldEquipmentPrototype.html Online documentation} */ export interface EnergyShieldEquipmentPrototype extends EquipmentPrototype { type: "energy-shield-equipment" @@ -4607,7 +4621,7 @@ declare module "factorio:prototype" { * minable = { mining_time = 0, results = {} }, * mined_sound = { { filename = "__core__/sound/deconstruct-ghost.ogg", volume = 0.4 } } * } - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityGhostPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityGhostPrototype.html Online documentation} */ export interface EntityGhostPrototype extends EntityPrototype { type: "entity-ghost" @@ -4647,7 +4661,7 @@ declare module "factorio:prototype" { * shift = {0.25, 0.015625} * } * } - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityPrototype.html Online documentation} */ export interface EntityPrototype extends Prototype { type: @@ -4788,7 +4802,7 @@ declare module "factorio:prototype" { * This will be used in the electric network statistics, editor building selection, and the bonus gui. Can't be an empty array. * * Either this or `icon` is mandatory for entities that have at least one of these flags active: `"placeable-neutral"`, `"placeable-player`", `"placeable-enemy"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityPrototype.html#icons Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityPrototype.html#icons Online documentation} */ icons?: readonly IconData[] /** @@ -4799,7 +4813,7 @@ declare module "factorio:prototype" { * Only loaded if `icons` is not defined. * @example * icon = "__base__/graphics/icons/wooden-chest.png" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityPrototype.html#icon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityPrototype.html#icon Online documentation} */ icon?: FileName /** @@ -4808,7 +4822,7 @@ declare module "factorio:prototype" { * The size of the square icon, in pixels. E.g. `32` for a 32px by 32px icon. Must be larger than `0`. * * Only loaded if `icons` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityPrototype.html#icon_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityPrototype.html#icon_size Online documentation} */ icon_size?: SpriteSizeType /** @@ -4821,19 +4835,19 @@ declare module "factorio:prototype" { * Note, that for buildings, it is customary to leave 0.1 wide border between the edge of the tile and the edge of the building, this lets the player move between the building and electric poles/inserters etc. * @example * collision_box = {{-0.4, -0.4}, {0.4, 0.4}} - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityPrototype.html#collision_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityPrototype.html#collision_box Online documentation} */ collision_box?: BoundingBox /** * Defaults to the mask from {@link UtilityConstants#default_collision_masks UtilityConstants::default_collision_masks} when indexed by the entity type. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityPrototype.html#collision_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityPrototype.html#collision_mask Online documentation} */ collision_mask?: CollisionMaskConnector /** * **Default:** `The value of collision_box.` * * Used instead of the collision box during map generation. Allows space entities differently during map generation, for example if the box is bigger, the entities will be placed farther apart. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityPrototype.html#map_generator_bounding_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityPrototype.html#map_generator_bounding_box Online documentation} */ map_generator_bounding_box?: BoundingBox /** @@ -4844,7 +4858,7 @@ declare module "factorio:prototype" { * The selection box is usually a little bit bigger than the collision box. For tileable entities (like buildings) it should match the tile size of the building. * @example * selection_box = {{-0.5, -0.5}, {0.5, 0.5}} - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityPrototype.html#selection_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityPrototype.html#selection_box Online documentation} */ selection_box?: BoundingBox /** @@ -4853,7 +4867,7 @@ declare module "factorio:prototype" { * Specification of extra vertical space needed to see the whole entity in GUIs. This is used to calculate the correct zoom and positioning in the entity info gui, for example in the entity tooltip. * @example * drawing_box_vertical_extension = 0.5 - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityPrototype.html#drawing_box_vertical_extension Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityPrototype.html#drawing_box_vertical_extension Online documentation} */ drawing_box_vertical_extension?: double /** @@ -4862,19 +4876,19 @@ declare module "factorio:prototype" { * Used to specify the area where the {@link StickerPrototype sticker} animation can appear for entities that can have stickers on them. * @example * sticker_box = {{-0.5, -0.5}, {0.5, 0.5}} - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityPrototype.html#sticker_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityPrototype.html#sticker_box Online documentation} */ sticker_box?: BoundingBox /** * **Default:** `Empty = `{{0, 0}, {0, 0}}`` * * Where beams should hit the entity. Useful if the bounding box only covers part of the entity (e.g. feet of the character) and beams only hitting there would look weird. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityPrototype.html#hit_visualization_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityPrototype.html#hit_visualization_box Online documentation} */ hit_visualization_box?: BoundingBox /** * Defaults to the mask from {@link UtilityConstants#default_trigger_target_mask_by_type UtilityConstants::default_trigger_target_mask_by_type}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityPrototype.html#trigger_target_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityPrototype.html#trigger_target_mask Online documentation} */ trigger_target_mask?: TriggerTargetMask flags?: EntityPrototypeFlags @@ -4885,17 +4899,17 @@ declare module "factorio:prototype" { * The item given to the player when they mine the entity and other properties relevant to mining this entity. * @example * minable = {mining_time = 0.2, result = "boiler"} - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityPrototype.html#minable Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityPrototype.html#minable Online documentation} */ minable?: MinableProperties /** * ![Space Age](https://wiki.factorio.com/images/thumb/Space_age_icon.png/16px-Space_age_icon.png) ***Space Age*** required to use. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityPrototype.html#surface_conditions Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityPrototype.html#surface_conditions Online documentation} */ surface_conditions?: readonly SurfaceCondition[] /** * Used to merge multiple entities into one entry in the deconstruction planner. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityPrototype.html#deconstruction_alternative Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityPrototype.html#deconstruction_alternative Online documentation} */ deconstruction_alternative?: EntityID /** @@ -4904,7 +4918,7 @@ declare module "factorio:prototype" { * The entity with the higher number is selectable before the entity with the lower number. * * The value `0` will be treated the same as `nil`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityPrototype.html#selection_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityPrototype.html#selection_priority Online documentation} */ selection_priority?: uint8 /** @@ -4915,41 +4929,41 @@ declare module "factorio:prototype" { * Internally forced to be `2` for {@link RailPrototype}, {@link RailRemnantsPrototype}, {@link TrainStopPrototype}, {@link RailSupportPrototype} and {@link CargoBayPrototype}. * * Internally forced to be `256` for {@link SpacePlatformHubPrototype}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityPrototype.html#build_grid_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityPrototype.html#build_grid_size Online documentation} */ build_grid_size?: uint8 /** * **Default:** `"automatic"` * * Whether this entity should remove decoratives that collide with it when this entity is built. When set to "automatic", if the entity type is considered {@link import("factorio:runtime").LuaEntityPrototype#is_building a building} (e.g. an assembling machine or a wall) it will remove decoratives. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityPrototype.html#remove_decoratives Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityPrototype.html#remove_decoratives Online documentation} */ remove_decoratives?: "automatic" | "true" | "false" /** * Amount of emissions created (positive number) or cleaned (negative number) every second by the entity. This is passive and currently used just for trees and fires. This is independent of the {@link BaseEnergySource#emissions_per_minute emissions of energy sources} used by machines, which are created actively depending on the power consumption. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityPrototype.html#emissions_per_second Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityPrototype.html#emissions_per_second Online documentation} */ emissions_per_second?: Record /** * The cursor size used when shooting at this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityPrototype.html#shooting_cursor_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityPrototype.html#shooting_cursor_size Online documentation} */ shooting_cursor_size?: double /** * **Default:** `The "smoke-building"-smoke` * * The smoke that is shown when the entity is placed. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityPrototype.html#created_smoke Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityPrototype.html#created_smoke Online documentation} */ created_smoke?: CreateTrivialSmokeEffectItem /** * Will also work on entities that don't actually do work. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityPrototype.html#working_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityPrototype.html#working_sound Online documentation} */ working_sound?: WorkingSound /** * The effect/trigger that happens when the entity is placed. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityPrototype.html#created_effect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityPrototype.html#created_effect Online documentation} */ created_effect?: Trigger build_sound?: Sound @@ -4961,7 +4975,7 @@ declare module "factorio:prototype" { * **Default:** `"default"` * * Name of a {@link ImpactCategory}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityPrototype.html#impact_category Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityPrototype.html#impact_category Online documentation} */ impact_category?: string open_sound?: Sound @@ -4978,13 +4992,13 @@ declare module "factorio:prototype" { * }, * distance = 6 * } - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityPrototype.html#radius_visualisation_specification Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityPrototype.html#radius_visualisation_specification Online documentation} */ radius_visualisation_specification?: RadiusVisualisationSpecification stateless_visualisation?: StatelessVisualisation | readonly StatelessVisualisation[] /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityPrototype.html#draw_stateless_visualisations_in_ghost Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityPrototype.html#draw_stateless_visualisations_in_ghost Online documentation} */ draw_stateless_visualisations_in_ghost?: boolean alert_icon_shift?: Vector @@ -4997,7 +5011,7 @@ declare module "factorio:prototype" { * This is simply a string, so any string can be used here. The entity that should be replaced simply has to use the same string here. * * Entities with the same fast replaceable group can be configured as upgrades for each other in the upgrade planner. Refer to the {@link UpgradeItemPrototype upgrade planner prototype's page} the full requirements for entities to be shown in the upgrade planner. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityPrototype.html#fast_replaceable_group Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityPrototype.html#fast_replaceable_group Online documentation} */ fast_replaceable_group?: string /** @@ -5008,14 +5022,14 @@ declare module "factorio:prototype" { * The upgrade target entity needs to have the same bounding box, collision mask, and fast replaceable group as this entity. The upgrade target entity must have least 1 item that builds it that isn't hidden. * @example * next_upgrade = "fast-inserter" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityPrototype.html#next_upgrade Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityPrototype.html#next_upgrade Online documentation} */ next_upgrade?: EntityID /** * **Default:** `true` * * When this is true, this entity prototype should be included during tile collision checks with tiles that have {@link TilePrototype#check_collision_with_entities TilePrototype::check_collision_with_entities} set to true. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityPrototype.html#protected_from_tile_building Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityPrototype.html#protected_from_tile_building Online documentation} */ protected_from_tile_building?: boolean /** @@ -5024,14 +5038,14 @@ declare module "factorio:prototype" { * When this is true, this entity prototype will be translucent and unselectable when "Hide tall entities" mode is active. * * Rail signals are always treated as 'tall' when built attached to elevated rails. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityPrototype.html#tall Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityPrototype.html#tall Online documentation} */ tall?: boolean /** * **Default:** `false` * * When this is true, fluid pipelines will be visualized when this entity is held in the cursor. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityPrototype.html#show_fluid_visualization_when_in_cursor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityPrototype.html#show_fluid_visualization_when_in_cursor Online documentation} */ show_fluid_visualization_when_in_cursor?: boolean /** @@ -5040,17 +5054,17 @@ declare module "factorio:prototype" { * **Default:** `"0W"` * * This entity can freeze if heating_energy is larger than zero. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityPrototype.html#heating_energy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityPrototype.html#heating_energy Online documentation} */ heating_energy?: Energy /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityPrototype.html#allow_copy_paste Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityPrototype.html#allow_copy_paste Online documentation} */ allow_copy_paste?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityPrototype.html#selectable_in_game Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityPrototype.html#selectable_in_game Online documentation} */ selectable_in_game?: boolean /** @@ -5059,12 +5073,12 @@ declare module "factorio:prototype" { * The item count specified here can't be larger than the stack size of that item. * @example * placeable_by = {item = "rail", count = 4} - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityPrototype.html#placeable_by Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityPrototype.html#placeable_by Online documentation} */ placeable_by?: ItemToPlace | readonly ItemToPlace[] /** * The entity that remains when this one is mined, deconstructed or fast-replaced. The entity wont actually be spawned if it would collide with the entity that is in the process of being mined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityPrototype.html#remains_when_mined Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityPrototype.html#remains_when_mined Online documentation} */ remains_when_mined?: EntityID | readonly EntityID[] /** @@ -5073,7 +5087,7 @@ declare module "factorio:prototype" { * This is used to allow copying between types that aren't compatible on the C++ code side, by allowing mods to receive the {@link import("factorio:runtime").on_entity_settings_pasted on_entity_settings_pasted} event for the given entity and do the setting pasting via script. * @example * additional_pastable_entities = {"steel-chest", "iron-chest"} - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityPrototype.html#additional_pastable_entities Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityPrototype.html#additional_pastable_entities Online documentation} */ additional_pastable_entities?: readonly EntityID[] /** @@ -5082,12 +5096,12 @@ declare module "factorio:prototype" { * Used to determine how the center of the entity should be positioned when building (unless the off-grid {@link EntityPrototypeFlags flag} is specified). * * When the tile width is odd, the center will be in the center of the tile, when it is even, the center is on the tile transition. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityPrototype.html#tile_width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityPrototype.html#tile_width Online documentation} */ tile_width?: int32 /** * **Default:** `calculated by the collision box height rounded up.` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityPrototype.html#tile_height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityPrototype.html#tile_height Online documentation} */ tile_height?: int32 diagonal_tile_grid_size?: TilePosition @@ -5095,7 +5109,7 @@ declare module "factorio:prototype" { * **Default:** `nil (entity is not autoplacable)` * * Used to specify the rules for placing this entity during map generation. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityPrototype.html#autoplace Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityPrototype.html#autoplace Online documentation} */ autoplace?: AutoplaceSpecification map_color?: Color @@ -5105,7 +5119,7 @@ declare module "factorio:prototype" { * May also be defined inside `graphics_set` instead of directly in the entity prototype. This is useful for entities that use a `graphics_set` property to define their graphics, because then all graphics can be defined in one place. * * {@linkplain https://forums.factorio.com/100703 Currently only renders} for {@link EntityWithHealthPrototype} and {@link CorpsePrototype}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityPrototype.html#water_reflection Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityPrototype.html#water_reflection Online documentation} */ water_reflection?: WaterReflectionDefinition ambient_sounds_group?: EntityID @@ -5114,7 +5128,7 @@ declare module "factorio:prototype" { * Used to specify where and how the alt-mode icons should be drawn. * @example * icon_draw_specification = {shift = {0, 0.5}, scale = 0.75, scale_for_many = 0.5, render_layer = "entity-info-icon"} - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityPrototype.html#icon_draw_specification Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityPrototype.html#icon_draw_specification Online documentation} */ icon_draw_specification?: IconDrawSpecification /** @@ -5124,14 +5138,14 @@ declare module "factorio:prototype" { * {inventory_index = defines.inventory.lab_modules, shift = {0, 0.9}}, * {inventory_index = defines.inventory.lab_input, shift = {0, 0.0}, max_icons_per_row = 6, separation_multiplier = 0.9} * } - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityPrototype.html#icons_positioning Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityPrototype.html#icons_positioning Online documentation} */ icons_positioning?: readonly IconSequencePositioning[] /** * Used to order prototypes in inventory, recipes and GUIs. May not exceed a length of 200 characters. * * The order string is taken from the items in `placeable_by` if they exist, or from an item that has its {@link ItemPrototype#place_result place_result} set to this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityPrototype.html#order Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityPrototype.html#order Online documentation} */ order?: Order } @@ -5161,7 +5175,7 @@ declare module "factorio:prototype" { * shift = {0.25, 0.015625} * } * } - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityWithHealthPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityWithHealthPrototype.html Online documentation} */ export interface EntityWithHealthPrototype extends EntityPrototype { type: @@ -5278,7 +5292,7 @@ declare module "factorio:prototype" { * The unit health can never go over the maximum. Default health of units on creation is set to max. Must be greater than 0. * @example * max_health = 50 - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityWithHealthPrototype.html#max_health Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityWithHealthPrototype.html#max_health Online documentation} */ max_health?: float /** @@ -5287,19 +5301,19 @@ declare module "factorio:prototype" { * The amount of health automatically regenerated per tick. If the value is in range [-0.0166, 0.0166], then healing is considered slow and will apply 60 * healing_per_tick once every second. * @example * healing_per_tick = 0.01 - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityWithHealthPrototype.html#healing_per_tick Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityWithHealthPrototype.html#healing_per_tick Online documentation} */ healing_per_tick?: float /** * **Default:** `1` * * Multiplier of {@link RepairToolPrototype#speed RepairToolPrototype::speed} for this entity prototype. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityWithHealthPrototype.html#repair_speed_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityWithHealthPrototype.html#repair_speed_modifier Online documentation} */ repair_speed_modifier?: float /** * The entities that are spawned in place of this one when it dies. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityWithHealthPrototype.html#dying_explosion Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityWithHealthPrototype.html#dying_explosion Online documentation} */ dying_explosion?: ExplosionDefinition | readonly ExplosionDefinition[] dying_trigger_effect?: TriggerEffect @@ -5317,7 +5331,7 @@ declare module "factorio:prototype" { * independent_probability = 1 * } * } - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityWithHealthPrototype.html#loot Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityWithHealthPrototype.html#loot Online documentation} */ loot?: readonly ItemProductPrototype[] /** @@ -5334,75 +5348,75 @@ declare module "factorio:prototype" { * percent = 30 * } * } - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityWithHealthPrototype.html#resistances Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityWithHealthPrototype.html#resistances Online documentation} */ resistances?: readonly Resistance[] /** * **Default:** `Empty` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityWithHealthPrototype.html#attack_reaction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityWithHealthPrototype.html#attack_reaction Online documentation} */ attack_reaction?: AttackReactionItem | readonly AttackReactionItem[] /** * **Default:** `Utility sound defaultManualRepair` * * Played when this entity is repaired with a {@link RepairToolPrototype}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityWithHealthPrototype.html#repair_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityWithHealthPrototype.html#repair_sound Online documentation} */ repair_sound?: Sound /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityWithHealthPrototype.html#alert_when_damaged Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityWithHealthPrototype.html#alert_when_damaged Online documentation} */ alert_when_damaged?: boolean /** * **Default:** `true` * * Whether the resistances of this entity should be hidden in the entity tooltip. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityWithHealthPrototype.html#hide_resistances Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityWithHealthPrototype.html#hide_resistances Online documentation} */ hide_resistances?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityWithHealthPrototype.html#create_ghost_on_death Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityWithHealthPrototype.html#create_ghost_on_death Online documentation} */ create_ghost_on_death?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityWithHealthPrototype.html#random_corpse_variation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityWithHealthPrototype.html#random_corpse_variation Online documentation} */ random_corpse_variation?: boolean /** * **Default:** `"lower-object"` * * May also be defined inside `graphics_set` instead of directly in the entity prototype. This is useful for entities that use a `graphics_set` property to define their graphics, because then all graphics can be defined in one place. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityWithHealthPrototype.html#integration_patch_render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityWithHealthPrototype.html#integration_patch_render_layer Online documentation} */ integration_patch_render_layer?: RenderLayer /** * **Default:** `Empty` * * Specifies the names of the {@link CorpsePrototype} to be used when this entity dies. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityWithHealthPrototype.html#corpse Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityWithHealthPrototype.html#corpse Online documentation} */ corpse?: EntityID | readonly EntityID[] /** * May also be defined inside `graphics_set` instead of directly in the entity prototype. This is useful for entities that use a `graphics_set` property to define their graphics, because then all graphics can be defined in one place. * * Sprite drawn on ground under the entity to make it feel more integrated into the ground. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityWithHealthPrototype.html#integration_patch Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityWithHealthPrototype.html#integration_patch Online documentation} */ integration_patch?: Sprite4Way /** * **Default:** `0.05` * * Fraction of health by which predicted damage must be exceeded before entity is considered as "predicted to die" causing turrets (and others) to stop shooting more projectiles. If entity is healing it is better to keep larger margin to avoid cases where not enough projectiles goes towards a target and it heals causing it to survive all the incoming projectiles. If entity does not heal, margin may be reduced. Must be >= 0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityWithHealthPrototype.html#overkill_fraction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityWithHealthPrototype.html#overkill_fraction Online documentation} */ overkill_fraction?: float } /** * Abstract base of all entities with a force in the game. These entities have a {@link import("factorio:runtime").LuaEntity#unit_number LuaEntity::unit_number} during runtime. Can be high priority {@linkplain https://wiki.factorio.com/Military_units_and_structures military targets}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityWithOwnerPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityWithOwnerPrototype.html Online documentation} */ export interface EntityWithOwnerPrototype extends EntityWithHealthPrototype { type: @@ -5513,32 +5527,32 @@ declare module "factorio:prototype" { * **Default:** `false` * * Whether this prototype should be a high priority target for enemy forces. See {@linkplain https://wiki.factorio.com/Military_units_and_structures Military units and structures}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityWithOwnerPrototype.html#is_military_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityWithOwnerPrototype.html#is_military_target Online documentation} */ is_military_target?: boolean /** * **Default:** `false` * * If this is true, this entity's `is_military_target` property can be changed during runtime (on the entity, not on the prototype itself). - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityWithOwnerPrototype.html#allow_run_time_change_of_is_military_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityWithOwnerPrototype.html#allow_run_time_change_of_is_military_target Online documentation} */ allow_run_time_change_of_is_military_target?: boolean /** * The shift from the bottom left corner of the selection box. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityWithOwnerPrototype.html#quality_indicator_shift Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityWithOwnerPrototype.html#quality_indicator_shift Online documentation} */ quality_indicator_shift?: Vector /** * **Default:** `Calculated based on entity tile_width and height` * * The default scale is based on the tile distance of the shorter dimension. Where size 3 results into scale 1. The default minimum is 0.5 and maximum 1.0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EntityWithOwnerPrototype.html#quality_indicator_scale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EntityWithOwnerPrototype.html#quality_indicator_scale Online documentation} */ quality_indicator_scale?: double } /** * This prototype is used for receiving an achievement when the player equips armor. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EquipArmorAchievementPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EquipArmorAchievementPrototype.html Online documentation} */ export interface EquipArmorAchievementPrototype extends AchievementPrototype { type: "equip-armor-achievement" @@ -5546,14 +5560,14 @@ declare module "factorio:prototype" { * The achievement will trigger if this armor or the alternative armor is equipped. * @example * armor = "power-armor-mk2" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EquipArmorAchievementPrototype.html#armor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EquipArmorAchievementPrototype.html#armor Online documentation} */ armor: ItemID /** * The achievement will trigger if this armor or the other armor is equipped. * @example * alternative_armor = "mech-armor" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EquipArmorAchievementPrototype.html#alternative_armor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EquipArmorAchievementPrototype.html#alternative_armor Online documentation} */ alternative_armor: ItemID limit_quality: QualityID @@ -5561,14 +5575,14 @@ declare module "factorio:prototype" { * **Default:** `1` * * How many armors need to be equipped. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EquipArmorAchievementPrototype.html#amount Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EquipArmorAchievementPrototype.html#amount Online documentation} */ amount?: uint32 /** * **Default:** `false` * * If this is false, the player carries over their statistics from this achievement through all their saves. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EquipArmorAchievementPrototype.html#limited_to_one_game Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EquipArmorAchievementPrototype.html#limited_to_one_game Online documentation} */ limited_to_one_game?: boolean } @@ -5576,35 +5590,35 @@ declare module "factorio:prototype" { * Defines a category to be available to {@link EquipmentPrototype equipment} and {@link EquipmentGridPrototype equipment grids}. * * _Prototype limited to **255** total instances_ - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EquipmentCategory.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EquipmentCategory.html Online documentation} */ export interface EquipmentCategory extends Prototype { type: "equipment-category" } /** * The equipment used for ghosts of equipment. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EquipmentGhostPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EquipmentGhostPrototype.html Online documentation} */ export interface EquipmentGhostPrototype extends Omit { type: "equipment-ghost" /** * Not loaded for equipment ghosts. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EquipmentGhostPrototype.html#energy_source Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EquipmentGhostPrototype.html#energy_source Online documentation} */ energy_source?: ElectricEnergySource /** * Not loaded for equipment ghosts. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EquipmentGhostPrototype.html#shape Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EquipmentGhostPrototype.html#shape Online documentation} */ shape?: EquipmentShape /** * Not loaded for equipment ghosts. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EquipmentGhostPrototype.html#categories Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EquipmentGhostPrototype.html#categories Online documentation} */ categories?: readonly EquipmentCategoryID[] /** * Not loaded for equipment ghosts. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EquipmentGhostPrototype.html#take_result Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EquipmentGhostPrototype.html#take_result Online documentation} */ take_result?: ItemID } @@ -5612,13 +5626,13 @@ declare module "factorio:prototype" { * The prototype of an equipment grid, for example the one used in a {@linkplain https://wiki.factorio.com/Power_armor power armor}. * * _Prototype limited to **255** total instances_ - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EquipmentGridPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EquipmentGridPrototype.html Online documentation} */ export interface EquipmentGridPrototype extends Prototype { type: "equipment-grid" /** * Only {@link EquipmentPrototype equipment} with at least one of these {@link EquipmentCategory categories} can be inserted into the grid. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EquipmentGridPrototype.html#equipment_categories Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EquipmentGridPrototype.html#equipment_categories Online documentation} */ equipment_categories: readonly EquipmentCategoryID[] width: uint32 @@ -5627,13 +5641,13 @@ declare module "factorio:prototype" { * **Default:** `false` * * Whether this locked from user interaction which means that the user cannot put equipment into or take equipment from this equipment grid. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EquipmentGridPrototype.html#locked Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EquipmentGridPrototype.html#locked Online documentation} */ locked?: boolean } /** * Abstract base of all equipment modules. Equipment modules can be inserted into {@link EquipmentGridPrototype equipment grids}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EquipmentPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EquipmentPrototype.html Online documentation} */ export interface EquipmentPrototype extends Prototype { type: @@ -5651,17 +5665,17 @@ declare module "factorio:prototype" { | "solar-panel-equipment" /** * The graphics to use when this equipment is shown inside an equipment grid. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EquipmentPrototype.html#sprite Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EquipmentPrototype.html#sprite Online documentation} */ sprite: Sprite /** * How big this equipment should be in the grid and whether it should be one solid rectangle or of a custom shape. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EquipmentPrototype.html#shape Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EquipmentPrototype.html#shape Online documentation} */ shape: EquipmentShape /** * Sets the categories of the equipment. It can only be inserted into {@link EquipmentGridPrototype#equipment_categories grids} with at least one matching category. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EquipmentPrototype.html#categories Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EquipmentPrototype.html#categories Online documentation} */ categories: readonly EquipmentCategoryID[] energy_source: ElectricEnergySource @@ -5669,34 +5683,34 @@ declare module "factorio:prototype" { * **Default:** ``name` of this prototype` * * Name of the item prototype that should be returned to the player when they remove this equipment from an equipment grid. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EquipmentPrototype.html#take_result Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EquipmentPrototype.html#take_result Online documentation} */ take_result?: ItemID /** * **Default:** `equipment_default_background_color in utility constants` * * The color that the background of this equipment should have when shown inside an equipment grid. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EquipmentPrototype.html#background_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EquipmentPrototype.html#background_color Online documentation} */ background_color?: Color /** * **Default:** `equipment_default_background_border_color in utility constants` * * The color that the border of the background of this equipment should have when shown inside an equipment grid. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EquipmentPrototype.html#background_border_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EquipmentPrototype.html#background_border_color Online documentation} */ background_border_color?: Color /** * **Default:** `equipment_default_grabbed_background_color in utility constants` * * The color that the background of this equipment should have when held in the players hand and hovering over an equipment grid. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/EquipmentPrototype.html#grabbed_background_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/EquipmentPrototype.html#grabbed_background_color Online documentation} */ grabbed_background_color?: Color } /** * Used to play an animation and a sound. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ExplosionPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ExplosionPrototype.html Online documentation} */ export interface ExplosionPrototype extends EntityPrototype { type: "explosion" @@ -5704,165 +5718,165 @@ declare module "factorio:prototype" { sound?: Sound /** * Mandatory if `smoke_count` > 0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ExplosionPrototype.html#smoke Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ExplosionPrototype.html#smoke Online documentation} */ smoke?: TrivialSmokeID /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ExplosionPrototype.html#height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ExplosionPrototype.html#height Online documentation} */ height?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ExplosionPrototype.html#smoke_slow_down_factor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ExplosionPrototype.html#smoke_slow_down_factor Online documentation} */ smoke_slow_down_factor?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ExplosionPrototype.html#smoke_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ExplosionPrototype.html#smoke_count Online documentation} */ smoke_count?: uint16 /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ExplosionPrototype.html#rotate Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ExplosionPrototype.html#rotate Online documentation} */ rotate?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ExplosionPrototype.html#beam Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ExplosionPrototype.html#beam Online documentation} */ beam?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ExplosionPrototype.html#correct_rotation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ExplosionPrototype.html#correct_rotation Online documentation} */ correct_rotation?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ExplosionPrototype.html#scale_animation_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ExplosionPrototype.html#scale_animation_speed Online documentation} */ scale_animation_speed?: boolean /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ExplosionPrototype.html#fade_in_duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ExplosionPrototype.html#fade_in_duration Online documentation} */ fade_in_duration?: uint8 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ExplosionPrototype.html#fade_out_duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ExplosionPrototype.html#fade_out_duration Online documentation} */ fade_out_duration?: uint8 /** * **Default:** `"explosion"` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ExplosionPrototype.html#render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ExplosionPrototype.html#render_layer Online documentation} */ render_layer?: RenderLayer /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ExplosionPrototype.html#scale_in_duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ExplosionPrototype.html#scale_in_duration Online documentation} */ scale_in_duration?: uint8 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ExplosionPrototype.html#scale_out_duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ExplosionPrototype.html#scale_out_duration Online documentation} */ scale_out_duration?: uint8 /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ExplosionPrototype.html#scale_end Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ExplosionPrototype.html#scale_end Online documentation} */ scale_end?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ExplosionPrototype.html#scale_increment_per_tick Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ExplosionPrototype.html#scale_increment_per_tick Online documentation} */ scale_increment_per_tick?: float /** * **Default:** `0` * * Silently clamped to be between 0 and 1. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ExplosionPrototype.html#light_intensity_factor_initial Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ExplosionPrototype.html#light_intensity_factor_initial Online documentation} */ light_intensity_factor_initial?: float /** * **Default:** `0` * * Silently clamped to be between 0 and 1. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ExplosionPrototype.html#light_intensity_factor_final Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ExplosionPrototype.html#light_intensity_factor_final Online documentation} */ light_intensity_factor_final?: float /** * **Default:** `0.05` * * Silently clamped to be between 0 and 1. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ExplosionPrototype.html#light_size_factor_initial Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ExplosionPrototype.html#light_size_factor_initial Online documentation} */ light_size_factor_initial?: float /** * **Default:** `0.1` * * Silently clamped to be between 0 and 1. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ExplosionPrototype.html#light_size_factor_final Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ExplosionPrototype.html#light_size_factor_final Online documentation} */ light_size_factor_final?: float light?: LightDefinition /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ExplosionPrototype.html#light_intensity_peak_start_progress Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ExplosionPrototype.html#light_intensity_peak_start_progress Online documentation} */ light_intensity_peak_start_progress?: float /** * **Default:** `0.9` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ExplosionPrototype.html#light_intensity_peak_end_progress Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ExplosionPrototype.html#light_intensity_peak_end_progress Online documentation} */ light_intensity_peak_end_progress?: float /** * **Default:** `0.1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ExplosionPrototype.html#light_size_peak_start_progress Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ExplosionPrototype.html#light_size_peak_start_progress Online documentation} */ light_size_peak_start_progress?: float /** * **Default:** `0.5` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ExplosionPrototype.html#light_size_peak_end_progress Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ExplosionPrototype.html#light_size_peak_end_progress Online documentation} */ light_size_peak_end_progress?: float /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ExplosionPrototype.html#scale_initial Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ExplosionPrototype.html#scale_initial Online documentation} */ scale_initial?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ExplosionPrototype.html#scale_initial_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ExplosionPrototype.html#scale_initial_deviation Online documentation} */ scale_initial_deviation?: float /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ExplosionPrototype.html#scale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ExplosionPrototype.html#scale Online documentation} */ scale?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ExplosionPrototype.html#scale_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ExplosionPrototype.html#scale_deviation Online documentation} */ scale_deviation?: float /** * **Default:** `0` * * Number of ticks to delay the explosion effects by. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ExplosionPrototype.html#delay Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ExplosionPrototype.html#delay Online documentation} */ delay?: MapTick /** * **Default:** `0` * * The maximum number of ticks to randomly delay the explosion effects by. In addition to the number of ticks defined by `delay`, the explosion will be delayed by a random number of ticks between 0 and `delay_deviation` (inclusive). - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ExplosionPrototype.html#delay_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ExplosionPrototype.html#delay_deviation Online documentation} */ delay_deviation?: MapTick /** * The effect/trigger that happens when the explosion effect triggers after the initial delay as defined by `delay` and `delay_deviation`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ExplosionPrototype.html#explosion_effect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ExplosionPrototype.html#explosion_effect Online documentation} */ explosion_effect?: Trigger /** @@ -5871,13 +5885,13 @@ declare module "factorio:prototype" { * The entity with the higher number is selectable before the entity with the lower number. * * The value `0` will be treated the same as `nil`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ExplosionPrototype.html#selection_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ExplosionPrototype.html#selection_priority Online documentation} */ selection_priority?: uint8 } /** * A fire. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FireFlamePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FireFlamePrototype.html Online documentation} */ export interface FireFlamePrototype extends EntityPrototype { type: "fire" @@ -5886,17 +5900,17 @@ declare module "factorio:prototype" { spread_delay_deviation: uint32 /** * **Default:** `"object"` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FireFlamePrototype.html#render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FireFlamePrototype.html#render_layer Online documentation} */ render_layer?: RenderLayer /** * **Default:** `"object"` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FireFlamePrototype.html#initial_render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FireFlamePrototype.html#initial_render_layer Online documentation} */ initial_render_layer?: RenderLayer /** * **Default:** `"object"` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FireFlamePrototype.html#secondary_render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FireFlamePrototype.html#secondary_render_layer Online documentation} */ secondary_render_layer?: RenderLayer small_tree_fire_pictures?: AnimationVariations @@ -5906,19 +5920,19 @@ declare module "factorio:prototype" { burnt_patch_pictures?: SpriteVariations /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FireFlamePrototype.html#secondary_picture_fade_out_start Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FireFlamePrototype.html#secondary_picture_fade_out_start Online documentation} */ secondary_picture_fade_out_start?: uint32 /** * **Default:** `30` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FireFlamePrototype.html#secondary_picture_fade_out_duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FireFlamePrototype.html#secondary_picture_fade_out_duration Online documentation} */ secondary_picture_fade_out_duration?: uint32 spawn_entity?: EntityID smoke?: readonly SmokeSource[] /** * **Default:** `200` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FireFlamePrototype.html#maximum_spread_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FireFlamePrototype.html#maximum_spread_count Online documentation} */ maximum_spread_count?: uint16 /** @@ -5927,7 +5941,7 @@ declare module "factorio:prototype" { * Spawns this many `secondary_pictures` around the entity when it first spawns. It waits `delay_between_initial_flames` between each spawned `secondary_pictures`. This can be used to make fires look less repetitive. * * For example, spitters use this to make several smaller splashes around the main one. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FireFlamePrototype.html#initial_flame_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FireFlamePrototype.html#initial_flame_count Online documentation} */ initial_flame_count?: uint8 /** @@ -5936,82 +5950,82 @@ declare module "factorio:prototype" { * If `false`, then all animations loop. If `true`, they run once and stay on the final frame. Also changes the behavior of several other fire properties as mentioned in their descriptions. * * For example, spitters use alternate behavior, flamethrower flames don't. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FireFlamePrototype.html#uses_alternative_behavior Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FireFlamePrototype.html#uses_alternative_behavior Online documentation} */ uses_alternative_behavior?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FireFlamePrototype.html#limit_overlapping_particles Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FireFlamePrototype.html#limit_overlapping_particles Online documentation} */ limit_overlapping_particles?: boolean /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FireFlamePrototype.html#tree_dying_factor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FireFlamePrototype.html#tree_dying_factor Online documentation} */ tree_dying_factor?: float /** * **Default:** `30` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FireFlamePrototype.html#fade_in_duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FireFlamePrototype.html#fade_in_duration Online documentation} */ fade_in_duration?: uint32 /** * **Default:** `30` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FireFlamePrototype.html#fade_out_duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FireFlamePrototype.html#fade_out_duration Online documentation} */ fade_out_duration?: uint32 /** * **Default:** `300` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FireFlamePrototype.html#initial_lifetime Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FireFlamePrototype.html#initial_lifetime Online documentation} */ initial_lifetime?: uint32 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FireFlamePrototype.html#damage_multiplier_decrease_per_tick Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FireFlamePrototype.html#damage_multiplier_decrease_per_tick Online documentation} */ damage_multiplier_decrease_per_tick?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FireFlamePrototype.html#damage_multiplier_increase_per_added_fuel Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FireFlamePrototype.html#damage_multiplier_increase_per_added_fuel Online documentation} */ damage_multiplier_increase_per_added_fuel?: float /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FireFlamePrototype.html#maximum_damage_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FireFlamePrototype.html#maximum_damage_multiplier Online documentation} */ maximum_damage_multiplier?: float /** * **Default:** `20` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FireFlamePrototype.html#lifetime_increase_by Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FireFlamePrototype.html#lifetime_increase_by Online documentation} */ lifetime_increase_by?: uint32 /** * **Default:** `10` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FireFlamePrototype.html#lifetime_increase_cooldown Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FireFlamePrototype.html#lifetime_increase_cooldown Online documentation} */ lifetime_increase_cooldown?: uint32 /** * **Default:** `Max uint32` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FireFlamePrototype.html#maximum_lifetime Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FireFlamePrototype.html#maximum_lifetime Online documentation} */ maximum_lifetime?: uint32 /** * **Default:** `10` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FireFlamePrototype.html#add_fuel_cooldown Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FireFlamePrototype.html#add_fuel_cooldown Online documentation} */ add_fuel_cooldown?: uint32 /** * **Default:** `10` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FireFlamePrototype.html#delay_between_initial_flames Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FireFlamePrototype.html#delay_between_initial_flames Online documentation} */ delay_between_initial_flames?: uint32 /** * **Default:** `30` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FireFlamePrototype.html#smoke_fade_in_duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FireFlamePrototype.html#smoke_fade_in_duration Online documentation} */ smoke_fade_in_duration?: uint32 /** * **Default:** `30` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FireFlamePrototype.html#smoke_fade_out_duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FireFlamePrototype.html#smoke_fade_out_duration Online documentation} */ smoke_fade_out_duration?: uint32 on_fuel_added_action?: Trigger @@ -6019,59 +6033,59 @@ declare module "factorio:prototype" { light?: LightDefinition /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FireFlamePrototype.html#light_size_modifier_per_flame Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FireFlamePrototype.html#light_size_modifier_per_flame Online documentation} */ light_size_modifier_per_flame?: float /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FireFlamePrototype.html#light_size_modifier_maximum Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FireFlamePrototype.html#light_size_modifier_maximum Online documentation} */ light_size_modifier_maximum?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FireFlamePrototype.html#particle_alpha_blend_duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FireFlamePrototype.html#particle_alpha_blend_duration Online documentation} */ particle_alpha_blend_duration?: uint16 /** * **Default:** `1800` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FireFlamePrototype.html#burnt_patch_lifetime Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FireFlamePrototype.html#burnt_patch_lifetime Online documentation} */ burnt_patch_lifetime?: uint32 /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FireFlamePrototype.html#burnt_patch_alpha_default Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FireFlamePrototype.html#burnt_patch_alpha_default Online documentation} */ burnt_patch_alpha_default?: float /** * **Default:** `1` * * Only loaded if `uses_alternative_behavior` is true. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FireFlamePrototype.html#particle_alpha Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FireFlamePrototype.html#particle_alpha Online documentation} */ particle_alpha?: float /** * **Default:** `0` * * Only loaded if `uses_alternative_behavior` is true. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FireFlamePrototype.html#particle_alpha_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FireFlamePrototype.html#particle_alpha_deviation Online documentation} */ particle_alpha_deviation?: float /** * **Default:** `1` * * Only loaded if `uses_alternative_behavior` is false. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FireFlamePrototype.html#flame_alpha Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FireFlamePrototype.html#flame_alpha Online documentation} */ flame_alpha?: float /** * **Default:** `0` * * Only loaded if `uses_alternative_behavior` is false. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FireFlamePrototype.html#flame_alpha_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FireFlamePrototype.html#flame_alpha_deviation Online documentation} */ flame_alpha_deviation?: float /** - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FireFlamePrototype.html#burnt_patch_alpha_variations Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FireFlamePrototype.html#burnt_patch_alpha_variations Online documentation} */ burnt_patch_alpha_variations?: readonly TileAndAlpha[] /** @@ -6080,7 +6094,7 @@ declare module "factorio:prototype" { * The entity with the higher number is selectable before the entity with the lower number. * * The value `0` will be treated the same as `nil`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FireFlamePrototype.html#selection_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FireFlamePrototype.html#selection_priority Online documentation} */ selection_priority?: uint8 } @@ -6117,7 +6131,7 @@ declare module "factorio:prototype" { * autoplace = { influence = 0.01 }, * protected_from_tile_building = false * } - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FishPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FishPrototype.html Online documentation} */ export interface FishPrototype extends EntityWithHealthPrototype { type: "fish" @@ -6138,20 +6152,20 @@ declare module "factorio:prototype" { * icon_size = 64, * order = "a[fluid]-a[water]" * } - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidPrototype.html Online documentation} */ export interface FluidPrototype extends Prototype { type: "fluid" /** * Can't be an empty array. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidPrototype.html#icons Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidPrototype.html#icons Online documentation} */ icons?: readonly IconData[] /** * Path to the icon file. * * Only loaded, and mandatory if `icons` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidPrototype.html#icon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidPrototype.html#icon Online documentation} */ icon?: FileName /** @@ -6160,34 +6174,34 @@ declare module "factorio:prototype" { * The size of the square icon, in pixels. E.g. `32` for a 32px by 32px icon. Must be larger than `0`. * * Only loaded if `icons` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidPrototype.html#icon_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidPrototype.html#icon_size Online documentation} */ icon_size?: SpriteSizeType /** * Also the minimum temperature of the fluid. Has to be lower than `max_temperature`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidPrototype.html#default_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidPrototype.html#default_temperature Online documentation} */ default_temperature: float /** * Used by bars that show the fluid color, like the flamethrower turret fill bar in the tooltip, or the fill bar for the fluid wagon tooltip; and for the pipe windows and storage tank fill gauges. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidPrototype.html#base_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidPrototype.html#base_color Online documentation} */ base_color: Color /** * Used only for pipe windows or storage tank fill gauges. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidPrototype.html#flow_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidPrototype.html#flow_color Online documentation} */ flow_color: Color /** * Color to use for visualization. This color should be vibrant and easily distinguished. * * If not specified, this will be auto-generated from `base_color` by converting to HSV, decreasing saturation by 10% and setting value to 80%. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidPrototype.html#visualization_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidPrototype.html#visualization_color Online documentation} */ visualization_color?: Color /** * **Default:** `value of `default_temperature`` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidPrototype.html#max_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidPrototype.html#max_temperature Online documentation} */ max_temperature?: float /** @@ -6196,35 +6210,35 @@ declare module "factorio:prototype" { * Joule needed to heat 1 Unit by 1 °C. * @example * heat_capacity = "0.2kJ" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidPrototype.html#heat_capacity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidPrototype.html#heat_capacity Online documentation} */ heat_capacity?: Energy /** * **Default:** `"0J"` * @example * fuel_value = "3MJ" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidPrototype.html#fuel_value Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidPrototype.html#fuel_value Online documentation} */ fuel_value?: Energy /** * **Default:** `1` * * Scales pollution generated when the fluid is consumed. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidPrototype.html#emissions_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidPrototype.html#emissions_multiplier Online documentation} */ emissions_multiplier?: double /** * **Default:** `max value of float` * * Above this temperature the `gas_flow` animation is used to display the fluid inside storage tanks and pipes. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidPrototype.html#gas_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidPrototype.html#gas_temperature Online documentation} */ gas_temperature?: float /** * **Default:** `false` * * Whether the fluid should glow in pipe and storage tank windows. The glow is only drawn when the {@link FeatureFlags#expansion_shaders expansion_shaders} feature flag is enabled. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidPrototype.html#draw_as_glow Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidPrototype.html#draw_as_glow Online documentation} */ draw_as_glow?: boolean /** @@ -6233,119 +6247,119 @@ declare module "factorio:prototype" { * Whether the fluid should be included in the barrel recipes automatically generated by the base mod. * * This property is not read by the game engine itself, but the base mod's data-updates.lua file. This means it is discarded by the game engine after loading finishes. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidPrototype.html#auto_barrel Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidPrototype.html#auto_barrel Online documentation} */ auto_barrel?: boolean /** * **Default:** `false` * * Hides the fluid from the signal selection screen. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidPrototype.html#hidden Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidPrototype.html#hidden Online documentation} */ hidden?: boolean /** * Fluid and amount produced per 1 unit of fluid consumed. Used by Generator only if {@link GeneratorPrototype#spent_fluid GeneratorPrototype::spent_fluid} is not set and it has {@link GeneratorPrototype#output_fluid_box GeneratorPrototype::output_fluid_box}. Used by FluidEnergySource only if {@link FluidEnergySource#spent_fluid FluidEnergySource::spent_fluid} is not set and it has {@link FluidEnergySource#output_fluid_box FluidEnergySource::output_fluid_box}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidPrototype.html#spent_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidPrototype.html#spent_fluid Online documentation} */ spent_fluid?: SpentFluidSpecification } /** * Used for example for the handheld flamethrower. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidStreamPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidStreamPrototype.html Online documentation} */ export interface FluidStreamPrototype extends EntityPrototype { type: "stream" /** * The stream will spawn one particle every `particle_spawn_interval` ticks until the `particle_spawn_timeout` is reached. The first particle will trigger an `initial_action` upon landing. Each particle triggers an `action` upon landing. Particles spawned within a single `particle_spawn_timeout` interval will be connected by a stretched `spine_animation`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidStreamPrototype.html#particle_spawn_interval Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidStreamPrototype.html#particle_spawn_interval Online documentation} */ particle_spawn_interval: uint16 /** * Must be larger than 0. `particle_horizontal_speed` has to be greater than `particle_horizontal_speed_deviation`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidStreamPrototype.html#particle_horizontal_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidStreamPrototype.html#particle_horizontal_speed Online documentation} */ particle_horizontal_speed: float particle_horizontal_speed_deviation: float particle_vertical_acceleration: float /** * Action that is triggered when the first particle lands. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidStreamPrototype.html#initial_action Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidStreamPrototype.html#initial_action Online documentation} */ initial_action?: Trigger /** * Action that is triggered every time a particle lands. Not triggered for the first particle if `initial_action` is non-empty. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidStreamPrototype.html#action Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidStreamPrototype.html#action Online documentation} */ action?: Trigger special_neutral_target_damage?: DamageParameters /** * **Default:** `0.5` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidStreamPrototype.html#width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidStreamPrototype.html#width Online documentation} */ width?: float /** * **Default:** `20` * * Number of spawned child particles of the stream. Must be greater than 0 and less than 256. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidStreamPrototype.html#particle_buffer_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidStreamPrototype.html#particle_buffer_size Online documentation} */ particle_buffer_size?: uint32 /** * **Default:** `4 * `particle_spawn_interval`` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidStreamPrototype.html#particle_spawn_timeout Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidStreamPrototype.html#particle_spawn_timeout Online documentation} */ particle_spawn_timeout?: uint16 /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidStreamPrototype.html#particle_start_alpha Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidStreamPrototype.html#particle_start_alpha Online documentation} */ particle_start_alpha?: float /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidStreamPrototype.html#particle_end_alpha Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidStreamPrototype.html#particle_end_alpha Online documentation} */ particle_end_alpha?: float /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidStreamPrototype.html#particle_start_scale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidStreamPrototype.html#particle_start_scale Online documentation} */ particle_start_scale?: float /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidStreamPrototype.html#particle_alpha_per_part Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidStreamPrototype.html#particle_alpha_per_part Online documentation} */ particle_alpha_per_part?: float /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidStreamPrototype.html#particle_scale_per_part Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidStreamPrototype.html#particle_scale_per_part Online documentation} */ particle_scale_per_part?: float /** * **Default:** `1` * * Value between 0 and 1. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidStreamPrototype.html#particle_fade_out_threshold Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidStreamPrototype.html#particle_fade_out_threshold Online documentation} */ particle_fade_out_threshold?: float /** * **Default:** `0` * * Value between 0 and 1. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidStreamPrototype.html#particle_loop_exit_threshold Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidStreamPrototype.html#particle_loop_exit_threshold Online documentation} */ particle_loop_exit_threshold?: float /** * **Default:** `1` * * Will be set to 1 by the game if less than 1. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidStreamPrototype.html#particle_loop_frame_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidStreamPrototype.html#particle_loop_frame_count Online documentation} */ particle_loop_frame_count?: uint16 /** * **Default:** `65535` * * Will be set to 1 by the game if less than 1. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidStreamPrototype.html#particle_fade_out_duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidStreamPrototype.html#particle_fade_out_duration Online documentation} */ particle_fade_out_duration?: uint16 spine_animation?: Animation @@ -6353,36 +6367,36 @@ declare module "factorio:prototype" { shadow?: Animation /** * Smoke spawning is controlled by `progress_to_create_smoke`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidStreamPrototype.html#smoke_sources Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidStreamPrototype.html#smoke_sources Online documentation} */ smoke_sources?: readonly SmokeSource[] /** * **Default:** `0.5` * * The point in the particles projectile arc to start spawning smoke. 0.5 (the default) starts spawning smoke at the halfway point between the source and target. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidStreamPrototype.html#progress_to_create_smoke Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidStreamPrototype.html#progress_to_create_smoke Online documentation} */ progress_to_create_smoke?: float stream_light?: LightDefinition ground_light?: LightDefinition /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidStreamPrototype.html#target_position_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidStreamPrototype.html#target_position_deviation Online documentation} */ target_position_deviation?: double /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidStreamPrototype.html#oriented_particle Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidStreamPrototype.html#oriented_particle Online documentation} */ oriented_particle?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidStreamPrototype.html#shadow_scale_enabled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidStreamPrototype.html#shadow_scale_enabled Online documentation} */ shadow_scale_enabled?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidStreamPrototype.html#target_initial_position_only Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidStreamPrototype.html#target_initial_position_only Online documentation} */ target_initial_position_only?: boolean /** @@ -6391,13 +6405,13 @@ declare module "factorio:prototype" { * The entity with the higher number is selectable before the entity with the lower number. * * The value `0` will be treated the same as `nil`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidStreamPrototype.html#selection_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidStreamPrototype.html#selection_priority Online documentation} */ selection_priority?: uint8 } /** * A turret that uses {@link FluidPrototype fluid} as ammunition. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidTurretPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidTurretPrototype.html Online documentation} */ export interface FluidTurretPrototype extends TurretPrototype { type: "fluid-turret" @@ -6405,7 +6419,7 @@ declare module "factorio:prototype" { fluid_buffer_input_flow: FluidAmount /** * Before an turret that was out of fluid ammunition is able to fire again, the `fluid_buffer_size` must fill to this proportion. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidTurretPrototype.html#activation_buffer_ratio Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidTurretPrototype.html#activation_buffer_ratio Online documentation} */ activation_buffer_ratio: FluidAmount fluid_box: FluidBox @@ -6424,65 +6438,65 @@ declare module "factorio:prototype" { not_enough_fuel_indicator_picture?: Sprite8Way /** * The sprite will be drawn on top of fluid turrets that are out of fluid ammunition. If the `out_of_ammo_alert_icon` is not set, {@link UtilitySprites#fluid_icon UtilitySprites::fluid_icon} will be used instead. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidTurretPrototype.html#out_of_ammo_alert_icon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidTurretPrototype.html#out_of_ammo_alert_icon Online documentation} */ out_of_ammo_alert_icon?: Sprite /** * Always `true`, forcing the turret's collision box to be affected by its rotation. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidTurretPrototype.html#turret_base_has_direction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidTurretPrototype.html#turret_base_has_direction Online documentation} */ turret_base_has_direction: true /** * Requires ammo_type in attack_parameters. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidTurretPrototype.html#attack_parameters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidTurretPrototype.html#attack_parameters Online documentation} */ attack_parameters: StreamAttackParameters } /** * A {@linkplain https://wiki.factorio.com/Fluid_wagon fluid wagon}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidWagonPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidWagonPrototype.html Online documentation} */ export interface FluidWagonPrototype extends RollingStockPrototype { type: "fluid-wagon" capacity: FluidAmount /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidWagonPrototype.html#quality_affects_capacity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidWagonPrototype.html#quality_affects_capacity Online documentation} */ quality_affects_capacity?: boolean /** * **Default:** `3` * * Must be positive. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidWagonPrototype.html#tank_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidWagonPrototype.html#tank_count Online documentation} */ tank_count?: uint8 /** * **Default:** `2` * * Must be > 0.1. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidWagonPrototype.html#tank_spacing Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidWagonPrototype.html#tank_spacing Online documentation} */ tank_spacing?: float /** * **Default:** `-1.375` * * Projected height of valves when the wagon is oriented east/west. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidWagonPrototype.html#base_valve_z_offset_projected_when_horizontal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidWagonPrototype.html#base_valve_z_offset_projected_when_horizontal Online documentation} */ base_valve_z_offset_projected_when_horizontal?: float /** * **Default:** `-0.65` * * Projected height of valves when the wagon is oriented north/south. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidWagonPrototype.html#base_valve_z_offset_projected_when_vertical Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidWagonPrototype.html#base_valve_z_offset_projected_when_vertical Online documentation} */ base_valve_z_offset_projected_when_vertical?: float /** * **Default:** `"default"` * * Pumps are only allowed to connect to this fluid wagon if the pump's {@link PipeConnectionDefinition fluid box connection} and this fluid wagon share a connection category. Pump may have different connection categories on the input and output side, connection categories will be taken from the connection that is facing towards fluid wagon. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidWagonPrototype.html#connection_category Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidWagonPrototype.html#connection_category Online documentation} */ connection_category?: string | readonly string[] /** @@ -6495,7 +6509,7 @@ declare module "factorio:prototype" { * The tangential component of the offset is interpolated from values `valve_to_valve_offset_when_horizontal.x` and `valve_to_valve_offset_when_vertical.y`. The normal component of the offset is interpolated from values `valve_to_valve_offset_when_vertical.x` and `valve_to_valve_offset_when_horizontal.y`. * * Interpolating the components with one value non-zero and the other zero would produce undesirable behaviour and is therefore not allowed. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidWagonPrototype.html#valve_to_valve_offset_when_horizontal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidWagonPrototype.html#valve_to_valve_offset_when_horizontal Online documentation} */ valve_to_valve_offset_when_horizontal?: Vector /** @@ -6504,7 +6518,7 @@ declare module "factorio:prototype" { * Projected offset between valves when the wagon is oriented north/south. * * See `valve_to_valve_offset_when_horizontal` for how this value is used in the offset calculation. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidWagonPrototype.html#valve_to_valve_offset_when_vertical Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidWagonPrototype.html#valve_to_valve_offset_when_vertical Online documentation} */ valve_to_valve_offset_when_vertical?: Vector /** @@ -6517,7 +6531,7 @@ declare module "factorio:prototype" { * The tangential component of the offset is interpolated from values `base_valve_xy_offset_when_horizontal.x` and `base_valve_xy_offset_when_vertical.y`. The normal component of the offset is interpolated from values `base_valve_xy_offset_when_vertical.x` and `base_valve_xy_offset_when_horizontal.y`. * * Interpolating the components with one value non-zero and the other zero would produce undesirable behaviour and is therefore not allowed. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidWagonPrototype.html#base_valve_xy_offset_when_horizontal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidWagonPrototype.html#base_valve_xy_offset_when_horizontal Online documentation} */ base_valve_xy_offset_when_horizontal?: Vector /** @@ -6526,19 +6540,19 @@ declare module "factorio:prototype" { * Horizontal (xy) offset of the central valve from the wagon position when it is oriented north/south. * * See `base_valve_xy_offset_when_horizontal` for how this value is used in the offset calculation. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FluidWagonPrototype.html#base_valve_xy_offset_when_vertical Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FluidWagonPrototype.html#base_valve_xy_offset_when_vertical Online documentation} */ base_valve_xy_offset_when_vertical?: Vector } /** * Abstract base for construction/logistics and combat robots. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FlyingRobotPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FlyingRobotPrototype.html Online documentation} */ export interface FlyingRobotPrototype extends EntityWithOwnerPrototype { type: "capture-robot" | "combat-robot" | "construction-robot" | "logistic-robot" /** * The flying speed of the robot, in tiles/tick. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FlyingRobotPrototype.html#speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FlyingRobotPrototype.html#speed Online documentation} */ speed: double /** @@ -6547,7 +6561,7 @@ declare module "factorio:prototype" { * The maximum flying speed of the robot, including bonuses, in tiles/tick. Useful to limit the impact of {@link WorkerRobotSpeedModifier worker robot speed research}. * * Must be >= speed. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FlyingRobotPrototype.html#max_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FlyingRobotPrototype.html#max_speed Online documentation} */ max_speed?: double /** @@ -6558,7 +6572,7 @@ declare module "factorio:prototype" { * Used only by {@link RobotWithLogisticInterfacePrototype robots with logistic interface}. * @example * max_energy = "1.5MJ" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FlyingRobotPrototype.html#max_energy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FlyingRobotPrototype.html#max_energy Online documentation} */ max_energy?: Energy /** @@ -6569,7 +6583,7 @@ declare module "factorio:prototype" { * Used only by {@link RobotWithLogisticInterfacePrototype robots with logistic interface}. * @example * energy_per_move = "5kJ" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FlyingRobotPrototype.html#energy_per_move Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FlyingRobotPrototype.html#energy_per_move Online documentation} */ energy_per_move?: Energy /** @@ -6580,7 +6594,7 @@ declare module "factorio:prototype" { * Used only by {@link RobotWithLogisticInterfacePrototype robots with logistic interface}. * @example * energy_per_tick = "0.05kJ" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FlyingRobotPrototype.html#energy_per_tick Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FlyingRobotPrototype.html#energy_per_tick Online documentation} */ energy_per_tick?: Energy /** @@ -6589,7 +6603,7 @@ declare module "factorio:prototype" { * The robot will go to charge when its battery fill ratio is less than this. * * Used only by {@link RobotWithLogisticInterfacePrototype robots with logistic interface}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FlyingRobotPrototype.html#min_to_charge Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FlyingRobotPrototype.html#min_to_charge Online documentation} */ min_to_charge?: float /** @@ -6598,7 +6612,7 @@ declare module "factorio:prototype" { * If the robot's battery fill ratio is more than this, it does not need to charge before stationing. * * Used only by {@link RobotWithLogisticInterfacePrototype robots with logistic interface}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FlyingRobotPrototype.html#max_to_charge Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FlyingRobotPrototype.html#max_to_charge Online documentation} */ max_to_charge?: float /** @@ -6609,14 +6623,14 @@ declare module "factorio:prototype" { * Used only by {@link RobotWithLogisticInterfacePrototype robots with logistic interface}. * @example * speed_multiplier_when_out_of_energy = 0.2 - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FlyingRobotPrototype.html#speed_multiplier_when_out_of_energy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FlyingRobotPrototype.html#speed_multiplier_when_out_of_energy Online documentation} */ speed_multiplier_when_out_of_energy?: float /** * **Default:** `true` * * Whether this prototype should be a high priority target for enemy forces. See {@linkplain https://wiki.factorio.com/Military_units_and_structures Military units and structures}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FlyingRobotPrototype.html#is_military_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FlyingRobotPrototype.html#is_military_target Online documentation} */ is_military_target?: boolean /** @@ -6625,7 +6639,7 @@ declare module "factorio:prototype" { * The entity with the higher number is selectable before the entity with the lower number. * * The value `0` will be treated the same as `nil`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FlyingRobotPrototype.html#selection_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FlyingRobotPrototype.html#selection_priority Online documentation} */ selection_priority?: uint8 } @@ -6638,45 +6652,45 @@ declare module "factorio:prototype" { * from = "default-bold", * size = 18 * } - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FontPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FontPrototype.html Online documentation} */ export interface FontPrototype { readonly type: "font" /** * Name of the font. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FontPrototype.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FontPrototype.html#name Online documentation} */ name: string /** * Size of the font. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FontPrototype.html#size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FontPrototype.html#size Online documentation} */ size: int32 /** * The name of the fonts .ttf descriptor. This descriptor must be defined in the locale info.json. Refer to `data/core/locale/_language_/info.json` for examples. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FontPrototype.html#from Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FontPrototype.html#from Online documentation} */ from: string /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FontPrototype.html#spacing Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FontPrototype.html#spacing Online documentation} */ spacing?: float /** * **Default:** `false` * * Whether the font has a border. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FontPrototype.html#border Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FontPrototype.html#border Online documentation} */ border?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FontPrototype.html#filtered Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FontPrototype.html#filtered Online documentation} */ filtered?: boolean /** * The color of the border, if enabled. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FontPrototype.html#border_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FontPrototype.html#border_color Online documentation} */ border_color?: Color } @@ -6689,32 +6703,32 @@ declare module "factorio:prototype" { * type = "fuel-category", * name = "best-fuel" * } - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FuelCategory.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FuelCategory.html Online documentation} */ export interface FuelCategory extends Prototype { type: "fuel-category" /** * **Default:** ``{"description.fuel-value"}`` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FuelCategory.html#fuel_value_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FuelCategory.html#fuel_value_type Online documentation} */ fuel_value_type?: LocalisedString } /** * A furnace. Normal furnaces only process "smelting" category recipes, but you can make furnaces that process other {@link RecipeCategory recipe categories}. * - * The difference to assembling machines is that furnaces automatically choose their recipe based on input. See {@linkplain https://lua-api.factorio.com/2.1.22/auxiliary/furnace-recipe-selection.html Furnace Recipe Selection} for how the recipe is chosen. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FurnacePrototype.html Online documentation} + * The difference to assembling machines is that furnaces automatically choose their recipe based on input. See {@linkplain https://lua-api.factorio.com/2.1.24/auxiliary/furnace-recipe-selection.html Furnace Recipe Selection} for how the recipe is chosen. + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FurnacePrototype.html Online documentation} */ export interface FurnacePrototype extends CraftingMachinePrototype { type: "furnace" /** * The number of output slots. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FurnacePrototype.html#result_inventory_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FurnacePrototype.html#result_inventory_size Online documentation} */ result_inventory_size: ItemStackIndex /** * The number of input slots, but not more than 1. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FurnacePrototype.html#source_inventory_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FurnacePrototype.html#source_inventory_size Online documentation} */ source_inventory_size: ItemStackIndex /** @@ -6723,14 +6737,14 @@ declare module "factorio:prototype" { * The locale key of the message shown when the player attempts to insert an item into the furnace that cannot be processed by that furnace. In-game, the locale is provided the `__1__` parameter, which is the localised name of the item. * * The locale key is also used with an `_until` suffix for items that cannot be processed until they recipe is unlocked by a technology. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FurnacePrototype.html#cant_insert_at_source_message_key Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FurnacePrototype.html#cant_insert_at_source_message_key Online documentation} */ cant_insert_at_source_message_key?: string /** * **Default:** `""` * * The locale key of the tooltip to be shown in the input slot instead of the automatically generated list of items that fit there - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FurnacePrototype.html#custom_input_slot_tooltip_key Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FurnacePrototype.html#custom_input_slot_tooltip_key Online documentation} */ custom_input_slot_tooltip_key?: string circuit_connector?: readonly [ @@ -6749,17 +6763,17 @@ declare module "factorio:prototype" { * **Default:** `0` * * The maximum circuit wire distance for this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FurnacePrototype.html#circuit_wire_max_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FurnacePrototype.html#circuit_wire_max_distance Online documentation} */ circuit_wire_max_distance?: double /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FurnacePrototype.html#draw_copper_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FurnacePrototype.html#draw_copper_wires Online documentation} */ draw_copper_wires?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FurnacePrototype.html#draw_circuit_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FurnacePrototype.html#draw_circuit_wires Online documentation} */ draw_circuit_wires?: boolean default_recipe_finished_signal?: SignalIDConnector @@ -6767,75 +6781,75 @@ declare module "factorio:prototype" { } /** * Consumes a fluid to generate electricity and create another fluid. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FusionGeneratorPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FusionGeneratorPrototype.html Online documentation} */ export interface FusionGeneratorPrototype extends EntityWithOwnerPrototype { type: "fusion-generator" /** * `output_flow_limit` is mandatory and must be positive. `output_flow_limit` is the maximum power output of the generator. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FusionGeneratorPrototype.html#energy_source Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FusionGeneratorPrototype.html#energy_source Online documentation} */ energy_source: ElectricEnergySource graphics_set?: FusionGeneratorGraphicsSet /** * {@link FluidBox#filter filter} is mandatory. The temperature (or fuel value if `burns_fluid` is true) of this fluid is used to calculate the available power output. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FusionGeneratorPrototype.html#input_fluid_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FusionGeneratorPrototype.html#input_fluid_box Online documentation} */ input_fluid_box: FluidBox /** * {@link FluidBox#filter filter} is mandatory. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FusionGeneratorPrototype.html#output_fluid_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FusionGeneratorPrototype.html#output_fluid_box Online documentation} */ output_fluid_box: FluidBox /** * Must be positive. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FusionGeneratorPrototype.html#max_fluid_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FusionGeneratorPrototype.html#max_fluid_usage Online documentation} */ max_fluid_usage: FluidAmount /** * Affects animation speed and working sound. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FusionGeneratorPrototype.html#perceived_performance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FusionGeneratorPrototype.html#perceived_performance Online documentation} */ perceived_performance?: PerceivedPerformance /** * **Default:** `false` * * If set to `true`, the available power output is based on the {@link FluidPrototype#fuel_value FluidPrototype::fuel_value}. Otherwise, the available power output will be based on the fluid temperature and {@link FluidPrototype#heat_capacity FluidPrototype::heat_capacity}: `energy = fluid_amount * fluid_temperature * fluid_heat_capacity * effectivity` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FusionGeneratorPrototype.html#burns_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FusionGeneratorPrototype.html#burns_fluid Online documentation} */ burns_fluid?: boolean /** * **Default:** `1` * * `1` means 100% effectivity. Must be greater than `0`. Multiplier of the energy output. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FusionGeneratorPrototype.html#effectivity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FusionGeneratorPrototype.html#effectivity Online documentation} */ effectivity?: double /** * If specified, an input fluid below this temperature will cause the fusion generator to stop working. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FusionGeneratorPrototype.html#minimum_input_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FusionGeneratorPrototype.html#minimum_input_temperature Online documentation} */ minimum_input_temperature?: float /** * If specified, an input fluid above this temperature will cause the fusion generator to stop working. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FusionGeneratorPrototype.html#maximum_input_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FusionGeneratorPrototype.html#maximum_input_temperature Online documentation} */ maximum_input_temperature?: float } /** * Fusion reactor. Consumes fluid, fuel and additional energy to produce other fluid. Kind of advanced boiler. Can also have neighbour bonus. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FusionReactorPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FusionReactorPrototype.html Online documentation} */ export interface FusionReactorPrototype extends EntityWithOwnerPrototype { type: "fusion-reactor" /** * First energy source for the process: provides energy - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FusionReactorPrototype.html#energy_source Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FusionReactorPrototype.html#energy_source Online documentation} */ energy_source: ElectricEnergySource /** * Second energy source for the process: provides fuel - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FusionReactorPrototype.html#burner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FusionReactorPrototype.html#burner Online documentation} */ burner: BurnerEnergySource graphics_set: FusionReactorGraphicsSet @@ -6843,71 +6857,71 @@ declare module "factorio:prototype" { * The input fluid box. * * {@link FluidBox#filter filter} is mandatory. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FusionReactorPrototype.html#input_fluid_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FusionReactorPrototype.html#input_fluid_box Online documentation} */ input_fluid_box: FluidBox /** * The output fluid box. * * {@link FluidBox#filter filter} is mandatory. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FusionReactorPrototype.html#output_fluid_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FusionReactorPrototype.html#output_fluid_box Online documentation} */ output_fluid_box: FluidBox /** * Defines connection points to neighbours used to compute neighbour bonus. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FusionReactorPrototype.html#neighbour_connectable Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FusionReactorPrototype.html#neighbour_connectable Online documentation} */ neighbour_connectable?: NeighbourConnectable /** * **Default:** `false` * * If set to true, only North and East direction will be buildable. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FusionReactorPrototype.html#two_direction_only Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FusionReactorPrototype.html#two_direction_only Online documentation} */ two_direction_only?: boolean /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FusionReactorPrototype.html#neighbour_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FusionReactorPrototype.html#neighbour_bonus Online documentation} */ neighbour_bonus?: float /** * Power input consumed from first energy source at full performance. * * Cannot be negative. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FusionReactorPrototype.html#power_input Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FusionReactorPrototype.html#power_input Online documentation} */ power_input: Energy /** * Maximum amount of fluid converted from `input_fluid_box` to `output_fluid_box` within a single tick. * * Must be positive. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FusionReactorPrototype.html#max_fluid_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FusionReactorPrototype.html#max_fluid_usage Online documentation} */ max_fluid_usage: FluidAmount /** * If specified, an input fluid below this temperature will cause the fusion reactor to stop working. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FusionReactorPrototype.html#minimum_input_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FusionReactorPrototype.html#minimum_input_temperature Online documentation} */ minimum_input_temperature?: float /** * If specified, an input fluid above this temperature will cause the fusion reactor to stop working. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FusionReactorPrototype.html#maximum_input_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FusionReactorPrototype.html#maximum_input_temperature Online documentation} */ maximum_input_temperature?: float /** * The temperature of the fluid to output. If not defined, the default temperature of the output fluid will be used. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FusionReactorPrototype.html#target_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FusionReactorPrototype.html#target_temperature Online documentation} */ target_temperature?: float /** * Affects working sound. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FusionReactorPrototype.html#perceived_performance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FusionReactorPrototype.html#perceived_performance Online documentation} */ perceived_performance?: PerceivedPerformance } /** * A {@linkplain https://wiki.factorio.com/Gate gate}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/GatePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/GatePrototype.html Online documentation} */ export interface GatePrototype extends EntityWithOwnerPrototype { type: "gate" @@ -6925,30 +6939,30 @@ declare module "factorio:prototype" { timeout_to_close: uint32 /** * Played when the gate opens. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/GatePrototype.html#opening_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/GatePrototype.html#opening_sound Online documentation} */ opening_sound?: Sound /** * Played when the gate closes. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/GatePrototype.html#closing_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/GatePrototype.html#closing_sound Online documentation} */ closing_sound?: Sound /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/GatePrototype.html#fadeout_interval Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/GatePrototype.html#fadeout_interval Online documentation} */ fadeout_interval?: uint32 /** * This collision mask is used when the gate is open. * * Defaults to the mask from {@link UtilityConstants#default_collision_masks UtilityConstants::default_collision_masks} when indexed by `"gate/opened"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/GatePrototype.html#opened_collision_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/GatePrototype.html#opened_collision_mask Online documentation} */ opened_collision_mask?: CollisionMaskConnector } /** * Used by {@linkplain https://wiki.factorio.com/Portable_fusion_reactor portable fusion reactor}. Provides power in equipment grids. Can produce power for free or use a burner energy source. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/GeneratorEquipmentPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/GeneratorEquipmentPrototype.html Online documentation} */ export interface GeneratorEquipmentPrototype extends EquipmentPrototype { type: "generator-equipment" @@ -6956,59 +6970,59 @@ declare module "factorio:prototype" { * The power output of this equipment. * @example * power = "750kW" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/GeneratorEquipmentPrototype.html#power Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/GeneratorEquipmentPrototype.html#power Online documentation} */ power: Energy /** * If not defined, this equipment produces power for free. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/GeneratorEquipmentPrototype.html#burner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/GeneratorEquipmentPrototype.html#burner Online documentation} */ burner?: BurnerEnergySource } /** * An entity that produces power from fluids, for example a {@linkplain https://wiki.factorio.com/Steam_engine steam engine}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/GeneratorPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/GeneratorPrototype.html Online documentation} */ export interface GeneratorPrototype extends EntityWithOwnerPrototype { type: "generator" energy_source: ElectricEnergySource /** * This must have a filter if `max_power_output` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/GeneratorPrototype.html#fluid_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/GeneratorPrototype.html#fluid_box Online documentation} */ fluid_box: FluidBox output_fluid_box?: FluidBox /** - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/GeneratorPrototype.html#pictures Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/GeneratorPrototype.html#pictures Online documentation} */ pictures?: GeneratorPictureSet /** * **Default:** `1` * * How much energy the generator produces compared to how much energy it consumes. For example, an effectivity of 0.5 means that half of the consumed energy is output as power. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/GeneratorPrototype.html#effectivity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/GeneratorPrototype.html#effectivity Online documentation} */ effectivity?: double /** * The number of fluid units the generator uses per tick. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/GeneratorPrototype.html#fluid_usage_per_tick Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/GeneratorPrototype.html#fluid_usage_per_tick Online documentation} */ fluid_usage_per_tick: FluidAmount /** * The maximum temperature to which the efficiency can increase. At this temperature the generator will run at 100% efficiency. Note: Higher temperature fluid can still be consumed. * * Used to calculate the `max_power_output` if it is not defined and `burns_fluid` is false. Then, the max power output is `(min(fluid_max_temp, maximum_temperature) - fluid_default_temp) × fluid_usage_per_tick × fluid_heat_capacity × effectivity`, the fluid is the filter specified on the `fluid_box`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/GeneratorPrototype.html#maximum_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/GeneratorPrototype.html#maximum_temperature Online documentation} */ maximum_temperature: float /** * If specified, an input fluid below this temperature will cause the generator to stop working. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/GeneratorPrototype.html#minimum_input_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/GeneratorPrototype.html#minimum_input_temperature Online documentation} */ minimum_input_temperature?: float /** * If specified, an input fluid above this temperature will cause the generator to stop working. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/GeneratorPrototype.html#maximum_input_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/GeneratorPrototype.html#maximum_input_temperature Online documentation} */ maximum_input_temperature?: float smoke?: readonly SmokeSource[] @@ -7016,7 +7030,7 @@ declare module "factorio:prototype" { * **Default:** `false` * * If set to `true`, the available power output is based on the {@link FluidPrototype#fuel_value FluidPrototype::fuel_value}. Otherwise, the available power output will be based on the fluid temperature and {@link FluidPrototype#heat_capacity FluidPrototype::heat_capacity}: `energy = fluid_amount * (fluid_temperature - fluid_default_temperature) * fluid_heat_capacity * effectivity` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/GeneratorPrototype.html#burns_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/GeneratorPrototype.html#burns_fluid Online documentation} */ burns_fluid?: boolean /** @@ -7024,10 +7038,10 @@ declare module "factorio:prototype" { * * Scales the generator's fluid usage to its maximum power output. * - * Setting this to true prevents the generator from overconsuming fluid, for example when higher than`maximum_temperature` fluid is fed to the generator. + * Setting this to `true` prevents the generator from overconsuming fluid, for example when higher than `maximum_temperature` fluid is fed to the generator. * * If scale_fluid_usage is false, the generator consumes the full `fluid_usage_per_tick` and any of the extra energy in the fluid (in the form of higher temperature) is wasted. The {@linkplain https://wiki.factorio.com/Steam_engine steam engine} exhibits this behavior when fed steam from {@linkplain https://wiki.factorio.com/Heat_exchanger heat exchangers}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/GeneratorPrototype.html#scale_fluid_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/GeneratorPrototype.html#scale_fluid_usage Online documentation} */ scale_fluid_usage?: boolean /** @@ -7038,29 +7052,29 @@ declare module "factorio:prototype" { * This property is also used when `burns_fluid` is false and the fluid is at default temperature. * * In these cases, this property determines whether the fluid should be destroyed, meaning that the fluid is consumed at the rate of `fluid_usage_per_tick`, without producing any power. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/GeneratorPrototype.html#destroy_non_fuel_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/GeneratorPrototype.html#destroy_non_fuel_fluid Online documentation} */ destroy_non_fuel_fluid?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/GeneratorPrototype.html#two_direction_only Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/GeneratorPrototype.html#two_direction_only Online documentation} */ two_direction_only?: boolean /** * Affects animation speed and working sound. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/GeneratorPrototype.html#perceived_performance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/GeneratorPrototype.html#perceived_performance Online documentation} */ perceived_performance?: PerceivedPerformance /** * The power production of the generator is capped to this value. This is also the value that is shown as the maximum power output in the tooltip of the generator. * * `fluid_box` must have a filter if this is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/GeneratorPrototype.html#max_power_output Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/GeneratorPrototype.html#max_power_output Online documentation} */ max_power_output?: Energy /** * Fluid and amount produced per 1 unit of fluid consumed. Only used when `output_fluid_box` is defined. If this value is not provided, {@link FluidPrototype#spent_fluid FluidPrototype::spent_fluid} will be used based on the input fluid being consumed. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/GeneratorPrototype.html#spent_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/GeneratorPrototype.html#spent_fluid Online documentation} */ spent_fluid?: SpentFluidSpecification } @@ -7068,19 +7082,19 @@ declare module "factorio:prototype" { * Properties of the god controller. * * _Prototype limited to **1** total instances_ - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/GodControllerPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/GodControllerPrototype.html Online documentation} */ export interface GodControllerPrototype { readonly type: "god-controller" /** * Name of the god-controller. Base game uses "default". - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/GodControllerPrototype.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/GodControllerPrototype.html#name Online documentation} */ name: string inventory_size: ItemStackIndex /** * Must be >= 0.34375. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/GodControllerPrototype.html#movement_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/GodControllerPrototype.html#movement_speed Online documentation} */ movement_speed: double item_pickup_distance: double @@ -7088,18 +7102,18 @@ declare module "factorio:prototype" { mining_speed: double /** * Names of the crafting categories the player can craft recipes from. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/GodControllerPrototype.html#crafting_categories Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/GodControllerPrototype.html#crafting_categories Online documentation} */ crafting_categories?: readonly RecipeCategoryID[] /** * Names of the resource categories the player can mine resources from. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/GodControllerPrototype.html#mining_categories Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/GodControllerPrototype.html#mining_categories Online documentation} */ mining_categories?: readonly ResourceCategoryID[] } /** * This prototype is used for receiving an achievement when the player gets attacked due to pollution. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/GroupAttackAchievementPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/GroupAttackAchievementPrototype.html Online documentation} */ export interface GroupAttackAchievementPrototype extends AchievementPrototype { type: "group-attack-achievement" @@ -7109,17 +7123,17 @@ declare module "factorio:prototype" { * This will trigger the achievement, if the player receives this amount of attacks. **Note**: The default achievement "it stinks and they don't like it" uses the amount of 1. (As in getting attacked once.) * @example * amount = 10 - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/GroupAttackAchievementPrototype.html#amount Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/GroupAttackAchievementPrototype.html#amount Online documentation} */ amount?: uint32 /** * The achievement is only triggered if the attacking group of enemies contains at least one of the entities listed here. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/GroupAttackAchievementPrototype.html#entities Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/GroupAttackAchievementPrototype.html#entities Online documentation} */ entities?: readonly EntityID[] /** * The type of attack that triggers this achievement. "autonomous" attacks are triggered in response to pollution or a territory disturbance. "distraction" attacks are in response to taking damage or seeing a nearby enemy. "scripted" attacks are triggered from mods. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/GroupAttackAchievementPrototype.html#attack_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/GroupAttackAchievementPrototype.html#attack_type Online documentation} */ attack_type?: "autonomous" | "distraction" | "scripted" } @@ -7127,17 +7141,17 @@ declare module "factorio:prototype" { type: "gui-style" /** * **Default:** `""` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/GuiStyle.html#default_tileset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/GuiStyle.html#default_tileset Online documentation} */ default_tileset?: FileName /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/GuiStyle.html#default_sprite_scale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/GuiStyle.html#default_sprite_scale Online documentation} */ default_sprite_scale?: double /** * **Default:** `"medium"` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/GuiStyle.html#default_sprite_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/GuiStyle.html#default_sprite_priority Online documentation} */ default_sprite_priority?: SpritePriority } @@ -7147,7 +7161,7 @@ declare module "factorio:prototype" { * * Styles with certain names are mandatory, as they are used by the base game GUI. A list is found below. * - * {@link https://lua-api.factorio.com/2.1.22/prototypes/GuiStyle.html#custom_properties > Mandatory styles:} + * {@link https://lua-api.factorio.com/2.1.24/prototypes/GuiStyle.html#custom_properties > Mandatory styles:} * @example * -- Adding a custom frame_style-type style * data.raw["gui-style"]["default"]["custom_style_for_a_frame"] = @@ -7157,7 +7171,7 @@ declare module "factorio:prototype" { * use_header_filler = false, * drag_by_title = false * } - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/GuiStyle.html#custom_properties Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/GuiStyle.html#custom_properties Online documentation} */ [key: string]: StyleSpecification } @@ -7165,24 +7179,24 @@ declare module "factorio:prototype" { * The available GUI styles. * * _Prototype limited to **1** total instances_ - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/GuiStyle.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/GuiStyle.html Online documentation} */ export type GuiStyle = GuiStyleMembers & GuiStyleCustomProperties /** * A gun. A weapon to deal damage to entities. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/GunPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/GunPrototype.html Online documentation} */ export interface GunPrototype extends ItemPrototype { type: "gun" /** * The information the item needs to know in order to know what ammo it requires, the sounds, and range. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/GunPrototype.html#attack_parameters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/GunPrototype.html#attack_parameters Online documentation} */ attack_parameters: AttackParameters } /** * A half diagonal rail. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/HalfDiagonalRailPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/HalfDiagonalRailPrototype.html Online documentation} */ export interface HalfDiagonalRailPrototype extends RailPrototype { type: "elevated-half-diagonal-rail" | "half-diagonal-rail" @@ -7190,13 +7204,13 @@ declare module "factorio:prototype" { * **Default:** ``{{-0.75, -1.9}, {0.75, 1.9}}`` * * The {@link EntityPrototype#collision_box collision_box} of straight rail is hardcoded to `{{-0.75, -1.9}, {0.75, 1.9}}`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/HalfDiagonalRailPrototype.html#collision_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/HalfDiagonalRailPrototype.html#collision_box Online documentation} */ collision_box?: BoundingBox } /** * This entity produces or consumes heat. Its heat settings can be changed runtime. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/HeatInterfacePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/HeatInterfacePrototype.html Online documentation} */ export interface HeatInterfacePrototype extends EntityWithOwnerPrototype { type: "heat-interface" @@ -7204,18 +7218,18 @@ declare module "factorio:prototype" { picture?: Sprite /** * **Default:** `"all"` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/HeatInterfacePrototype.html#gui_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/HeatInterfacePrototype.html#gui_mode Online documentation} */ gui_mode?: "all" | "none" | "admins" /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/HeatInterfacePrototype.html#heating_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/HeatInterfacePrototype.html#heating_radius Online documentation} */ heating_radius?: float } /** * A {@linkplain https://wiki.factorio.com/Heat_pipe heat pipe}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/HeatPipePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/HeatPipePrototype.html Online documentation} */ export interface HeatPipePrototype extends EntityWithOwnerPrototype { type: "heat-pipe" @@ -7226,7 +7240,7 @@ declare module "factorio:prototype" { * **Default:** `1` * * Must be >= 0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/HeatPipePrototype.html#heating_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/HeatPipePrototype.html#heating_radius Online documentation} */ heating_radius?: float /** @@ -7235,29 +7249,29 @@ declare module "factorio:prototype" { * The entity with the higher number is selectable before the entity with the lower number. * * The value `0` will be treated the same as `nil`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/HeatPipePrototype.html#selection_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/HeatPipePrototype.html#selection_priority Online documentation} */ selection_priority?: uint8 /** * **Default:** `0` * * The maximum circuit wire distance for this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/HeatPipePrototype.html#circuit_wire_max_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/HeatPipePrototype.html#circuit_wire_max_distance Online documentation} */ circuit_wire_max_distance?: double /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/HeatPipePrototype.html#draw_copper_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/HeatPipePrototype.html#draw_copper_wires Online documentation} */ draw_copper_wires?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/HeatPipePrototype.html#draw_circuit_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/HeatPipePrototype.html#draw_circuit_wires Online documentation} */ draw_circuit_wires?: boolean /** * Set of 16 circuit connector definitions. They correspond to the following sprites in this exact order: {@link ConnectableEntityGraphics#single single}, {@link ConnectableEntityGraphics#ending_up ending_up}, {@link ConnectableEntityGraphics#ending_right ending_right}, {@link ConnectableEntityGraphics#corner_right_up corner_right_up}, {@link ConnectableEntityGraphics#ending_down ending_down}, {@link ConnectableEntityGraphics#straight_vertical straight_vertical}, {@link ConnectableEntityGraphics#corner_right_down corner_right_down}, {@link ConnectableEntityGraphics#t_right t_right}, {@link ConnectableEntityGraphics#ending_left ending_left}, {@link ConnectableEntityGraphics#corner_left_up corner_left_up}, {@link ConnectableEntityGraphics#straight_horizontal straight_horizontal}, {@link ConnectableEntityGraphics#t_up t_up}, {@link ConnectableEntityGraphics#corner_left_down corner_left_down}, {@link ConnectableEntityGraphics#t_left t_left}, {@link ConnectableEntityGraphics#t_down t_down}, {@link ConnectableEntityGraphics#cross cross}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/HeatPipePrototype.html#circuit_connector Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/HeatPipePrototype.html#circuit_connector Online documentation} */ circuit_connector?: readonly CircuitConnectorDefinition[] default_temperature_signal?: SignalIDConnector @@ -7266,7 +7280,7 @@ declare module "factorio:prototype" { * Used to attach graphics for {@link CursorBoxType cursor boxes} to entities during runtime. HighlightBoxEntity can also be independent from entities so it is simply drawn somewhere in the world. See {@link import("factorio:runtime").LuaSurface#create_entity LuaSurface::create_entity} for the available options for type "highlight-box". * * The {@link EntityPrototype#collision_box collision_box} of the highlight box prototype is ignored during runtime, instead the "bounding_box" given in create_entity() or the selection box of the target entity is used. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/HighlightBoxEntityPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/HighlightBoxEntityPrototype.html Online documentation} */ export interface HighlightBoxEntityPrototype extends EntityPrototype { type: "highlight-box" @@ -7276,7 +7290,7 @@ declare module "factorio:prototype" { * The entity with the higher number is selectable before the entity with the lower number. * * The value `0` will be treated the same as `nil`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/HighlightBoxEntityPrototype.html#selection_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/HighlightBoxEntityPrototype.html#selection_priority Online documentation} */ selection_priority?: uint8 } @@ -7286,45 +7300,45 @@ declare module "factorio:prototype" { * type = "impact-category", * name = "metal" * } - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ImpactCategory.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ImpactCategory.html Online documentation} */ export interface ImpactCategory { readonly type: "impact-category" /** * Name of the impact category. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ImpactCategory.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ImpactCategory.html#name Online documentation} */ name: string } /** * A cargo wagon that can spawn or void items at will. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/InfinityCargoWagonPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/InfinityCargoWagonPrototype.html Online documentation} */ export interface InfinityCargoWagonPrototype extends CargoWagonPrototype { type: "infinity-cargo-wagon" /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/InfinityCargoWagonPrototype.html#erase_contents_when_mined Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/InfinityCargoWagonPrototype.html#erase_contents_when_mined Online documentation} */ erase_contents_when_mined?: boolean /** * **Default:** `true` * * When true, items created inside the infinity cargo wagon will not start to spoil until they have been removed from the wagon. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/InfinityCargoWagonPrototype.html#preserve_contents_when_created Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/InfinityCargoWagonPrototype.html#preserve_contents_when_created Online documentation} */ preserve_contents_when_created?: boolean /** * **Default:** `"all"` * * Controls which players can control what the chest spawns. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/InfinityCargoWagonPrototype.html#gui_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/InfinityCargoWagonPrototype.html#gui_mode Online documentation} */ gui_mode?: "all" | "none" | "admins" } /** * A generic container, such as a chest, that can spawn or void items and interact with the logistics network. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/InfinityContainerPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/InfinityContainerPrototype.html Online documentation} */ export interface InfinityContainerPrototype extends Omit { type: "infinity-container" @@ -7333,19 +7347,19 @@ declare module "factorio:prototype" { * **Default:** `true` * * When true, items created inside the infinity chest will not start to spoil until they have been removed from the chest. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/InfinityContainerPrototype.html#preserve_contents_when_created Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/InfinityContainerPrototype.html#preserve_contents_when_created Online documentation} */ preserve_contents_when_created?: boolean /** * **Default:** `"all"` * * Controls which players can control what the chest spawns. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/InfinityContainerPrototype.html#gui_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/InfinityContainerPrototype.html#gui_mode Online documentation} */ gui_mode?: "all" | "none" | "admins" /** * The way this chest interacts with the logistic network. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/InfinityContainerPrototype.html#logistic_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/InfinityContainerPrototype.html#logistic_mode Online documentation} */ logistic_mode?: LogisticMode /** @@ -7353,31 +7367,31 @@ declare module "factorio:prototype" { * * Whether the "no network" icon should be rendered on this entity if the entity is not within a logistics network. * - * ![](https://lua-api.factorio.com/2.1.22/static/images/too-far-from-roboport-icon.png) - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/InfinityContainerPrototype.html#render_not_in_network_icon Online documentation} + * ![](https://lua-api.factorio.com/2.1.24/static/images/too-far-from-roboport-icon.png) + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/InfinityContainerPrototype.html#render_not_in_network_icon Online documentation} */ render_not_in_network_icon?: boolean /** * The number of slots in this container. May not be zero. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/InfinityContainerPrototype.html#inventory_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/InfinityContainerPrototype.html#inventory_size Online documentation} */ inventory_size: ItemStackIndex } /** * This entity produces or consumes fluids. Its fluid settings can be changed runtime. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/InfinityPipePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/InfinityPipePrototype.html Online documentation} */ export interface InfinityPipePrototype extends PipePrototype { type: "infinity-pipe" /** * **Default:** `"all"` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/InfinityPipePrototype.html#gui_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/InfinityPipePrototype.html#gui_mode Online documentation} */ gui_mode?: "all" | "none" | "admins" } /** * An {@linkplain https://wiki.factorio.com/Inserter inserter}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/InserterPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/InserterPrototype.html Online documentation} */ export interface InserterPrototype extends EntityWithOwnerPrototype { type: "inserter" @@ -7385,7 +7399,7 @@ declare module "factorio:prototype" { rotation_speed: double /** * **Default:** `0.7` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/InserterPrototype.html#starting_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/InserterPrototype.html#starting_distance Online documentation} */ starting_distance?: double insert_position: Vector @@ -7405,85 +7419,85 @@ declare module "factorio:prototype" { hand_closed_shadow?: Sprite /** * Defines how this inserter gets energy. The emissions set on the energy source are ignored so inserters cannot produce pollution. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/InserterPrototype.html#energy_source Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/InserterPrototype.html#energy_source Online documentation} */ energy_source: EnergySource /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/InserterPrototype.html#energy_per_movement Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/InserterPrototype.html#energy_per_movement Online documentation} */ energy_per_movement?: Energy /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/InserterPrototype.html#energy_per_rotation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/InserterPrototype.html#energy_per_rotation Online documentation} */ energy_per_rotation?: Energy /** * **Default:** `false` * * Whether this inserter is considered a bulk inserter. Relevant for determining how {@linkplain https://wiki.factorio.com/Inserter_capacity_bonus_(research inserter capacity bonus (research)}) applies to the inserter. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/InserterPrototype.html#bulk Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/InserterPrototype.html#bulk Online documentation} */ bulk?: boolean /** * **Default:** `true` * * When set to false, then relevant value of inserter stack size bonus ({@link import("factorio:runtime").LuaForce#inserter_stack_size_bonus LuaForce::inserter_stack_size_bonus} or {@link import("factorio:runtime").LuaForce#bulk_inserter_capacity_bonus LuaForce::bulk_inserter_capacity_bonus}) will not affect inserter stack size. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/InserterPrototype.html#uses_inserter_stack_size_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/InserterPrototype.html#uses_inserter_stack_size_bonus Online documentation} */ uses_inserter_stack_size_bonus?: boolean /** * **Default:** `false` * * Whether pickup and insert position can be set run-time. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/InserterPrototype.html#allow_custom_vectors Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/InserterPrototype.html#allow_custom_vectors Online documentation} */ allow_custom_vectors?: boolean /** * **Default:** `false` * * Whether this burner inserter can fuel itself from the fuel inventory of the entity it is picking up items from. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/InserterPrototype.html#allow_burner_leech Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/InserterPrototype.html#allow_burner_leech Online documentation} */ allow_burner_leech?: boolean /** * **Default:** `true` * * Whether the item that the inserter is holding should be drawn. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/InserterPrototype.html#draw_held_item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/InserterPrototype.html#draw_held_item Online documentation} */ draw_held_item?: boolean /** * **Default:** `true` * * Whether the inserter should be able to fish {@linkplain https://wiki.factorio.com/Raw_fish fish}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/InserterPrototype.html#use_easter_egg Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/InserterPrototype.html#use_easter_egg Online documentation} */ use_easter_egg?: boolean /** * **Default:** `false` * * If drop target is belt, inserter may grab less so that it does not drop partial stacks unless it is forced to drop partial. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/InserterPrototype.html#grab_less_to_match_belt_stack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/InserterPrototype.html#grab_less_to_match_belt_stack Online documentation} */ grab_less_to_match_belt_stack?: boolean /** * **Default:** `false` * * Inserter will wait until its hand is full. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/InserterPrototype.html#wait_for_full_hand Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/InserterPrototype.html#wait_for_full_hand Online documentation} */ wait_for_full_hand?: boolean /** * **Default:** `false` * * If inserter waits for full hand it could become stuck when item in hand changed because of spoiling. If this flag is set then inserter will start dropping held stack even if it was waiting for full hand. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/InserterPrototype.html#enter_drop_mode_if_held_stack_spoiled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/InserterPrototype.html#enter_drop_mode_if_held_stack_spoiled Online documentation} */ enter_drop_mode_if_held_stack_spoiled?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/InserterPrototype.html#use_mirroring Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/InserterPrototype.html#use_mirroring Online documentation} */ use_mirroring?: boolean /** @@ -7492,38 +7506,38 @@ declare module "factorio:prototype" { * **Default:** `1` * * This inserter will not create stacks on belt with more than this amount of items. Must be >= 1. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/InserterPrototype.html#max_belt_stack_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/InserterPrototype.html#max_belt_stack_size Online documentation} */ max_belt_stack_size?: uint8 /** * **Default:** `0` * * How many filters this inserter has. Maximum count of filtered items in inserter is 5. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/InserterPrototype.html#filter_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/InserterPrototype.html#filter_count Online documentation} */ filter_count?: uint8 /** * **Default:** `0.75` * * Used to determine how long the arm of the inserter is when drawing it. Does not affect gameplay. The lower the value, the straighter the arm. Increasing the value will give the inserter a bigger bend due to its longer parts. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/InserterPrototype.html#hand_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/InserterPrototype.html#hand_size Online documentation} */ hand_size?: double /** * **Default:** `0` * * The maximum circuit wire distance for this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/InserterPrototype.html#circuit_wire_max_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/InserterPrototype.html#circuit_wire_max_distance Online documentation} */ circuit_wire_max_distance?: double /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/InserterPrototype.html#draw_copper_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/InserterPrototype.html#draw_copper_wires Online documentation} */ draw_copper_wires?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/InserterPrototype.html#draw_circuit_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/InserterPrototype.html#draw_circuit_wires Online documentation} */ draw_circuit_wires?: boolean default_stack_control_input_signal?: SignalIDConnector @@ -7531,21 +7545,21 @@ declare module "factorio:prototype" { * **Default:** `true` * * Whether the yellow arrow that indicates the drop point of the inserter and the line that indicates the pickup position should be drawn. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/InserterPrototype.html#draw_inserter_arrow Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/InserterPrototype.html#draw_inserter_arrow Online documentation} */ draw_inserter_arrow?: boolean /** * **Default:** `true` * * Whether the inserter hand should move to the items it picks up from belts, leading to item chasing behaviour. If this is off, the inserter hand will stay in the center of the belt and any items picked up from the edges of the belt "teleport" to the inserter hand. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/InserterPrototype.html#chases_belt_items Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/InserterPrototype.html#chases_belt_items Online documentation} */ chases_belt_items?: boolean /** * **Default:** `0` * * Stack size bonus that is inherent to the prototype without having to be researched. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/InserterPrototype.html#stack_size_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/InserterPrototype.html#stack_size_bonus Online documentation} */ stack_size_bonus?: uint8 circuit_connector?: readonly [ @@ -7577,7 +7591,7 @@ declare module "factorio:prototype" { * selection_box = { {-0.17, -0.17}, {0.17, 0.17} }, * minable = { mining_time = 0.025 } * } - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemEntityPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemEntityPrototype.html Online documentation} */ export interface ItemEntityPrototype extends EntityPrototype { type: "item-entity" @@ -7593,7 +7607,7 @@ declare module "factorio:prototype" { * Note, that for buildings, it is customary to leave 0.1 wide border between the edge of the tile and the edge of the building, this lets the player move between the building and electric poles/inserters etc. * @example * collision_box = {{-0.4, -0.4}, {0.4, 0.4}} - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemEntityPrototype.html#collision_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemEntityPrototype.html#collision_box Online documentation} */ collision_box?: BoundingBox } @@ -7611,20 +7625,20 @@ declare module "factorio:prototype" { * icon = "__base__/graphics/item-group/logistics.png", * icon_size = 128, * } - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemGroup.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemGroup.html Online documentation} */ export interface ItemGroup extends Prototype { type: "item-group" /** * The icon that is shown to represent this item group. Can't be an empty array. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemGroup.html#icons Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemGroup.html#icons Online documentation} */ icons?: readonly IconData[] /** * Path to the icon that is shown to represent this item group. * * Only loaded, and mandatory if `icons` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemGroup.html#icon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemGroup.html#icon Online documentation} */ icon?: FileName /** @@ -7635,20 +7649,20 @@ declare module "factorio:prototype" { * The base game uses 128px icons for item groups. * * Only loaded if `icons` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemGroup.html#icon_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemGroup.html#icon_size Online documentation} */ icon_size?: SpriteSizeType /** * **Default:** `The `order` of this item group.` * * Item ingredients in recipes are ordered by item group if {@link RecipePrototype#sort_item_ingredients RecipePrototype::sort_item_ingredients} is set to `true`. The `order_in_recipe` property can be used to specify the ordering in recipes with sorted ingredients without affecting the item group's inventory order. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemGroup.html#order_in_recipe Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemGroup.html#order_in_recipe Online documentation} */ order_in_recipe?: Order } /** * Possible configuration for all items. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemPrototype.html Online documentation} */ export interface ItemPrototype extends Prototype { type: @@ -7677,19 +7691,19 @@ declare module "factorio:prototype" { * Count of items of the same name that can be stored in one inventory slot. Must be 1 when the `"not-stackable"` flag is set. * @example * stack_size = 64 - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemPrototype.html#stack_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemPrototype.html#stack_size Online documentation} */ stack_size: ItemCountType /** * Can't be an empty array. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemPrototype.html#icons Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemPrototype.html#icons Online documentation} */ icons?: readonly IconData[] /** * Path to the icon file. * * Only loaded, and mandatory if `icons` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemPrototype.html#icon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemPrototype.html#icon Online documentation} */ icon?: FileName /** @@ -7698,12 +7712,12 @@ declare module "factorio:prototype" { * The size of the square icon, in pixels. E.g. `32` for a 32px by 32px icon. Must be larger than `0`. * * Only loaded if `icons` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemPrototype.html#icon_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemPrototype.html#icon_size Online documentation} */ icon_size?: SpriteSizeType /** * Can't be an empty array. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemPrototype.html#dark_background_icons Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemPrototype.html#dark_background_icons Online documentation} */ dark_background_icons?: readonly IconData[] /** @@ -7712,7 +7726,7 @@ declare module "factorio:prototype" { * Path to the icon file. * * Only loaded if `dark_background_icons` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemPrototype.html#dark_background_icon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemPrototype.html#dark_background_icon Online documentation} */ dark_background_icon?: FileName /** @@ -7721,7 +7735,7 @@ declare module "factorio:prototype" { * The size of the square icon, in pixels. E.g. `32` for a 32px by 32px icon. Must be larger than `0`. * * Only loaded if `dark_background_icons` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemPrototype.html#dark_background_icon_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemPrototype.html#dark_background_icon_size Online documentation} */ dark_background_icon_size?: SpriteSizeType /** @@ -7732,31 +7746,31 @@ declare module "factorio:prototype" { * The localised name of the entity will be used as the in-game item name. This behavior can be overwritten by specifying `localised_name` on this item, it will be used instead. * @example * place_result = "wooden-chest" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemPrototype.html#place_result Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemPrototype.html#place_result Online documentation} */ place_result?: EntityID /** * **Default:** `""` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemPrototype.html#place_as_equipment_result Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemPrototype.html#place_as_equipment_result Online documentation} */ place_as_equipment_result?: EquipmentID /** * Mandatory with at least one fuel category when a nonzero fuel_value is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemPrototype.html#fuel_categories Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemPrototype.html#fuel_categories Online documentation} */ fuel_categories?: readonly FuelCategoryID[] /** * **Default:** `""` * * The item that is the result when this item gets burned as fuel. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemPrototype.html#burnt_result Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemPrototype.html#burnt_result Online documentation} */ burnt_result?: ItemID /** * ![Space Age](https://wiki.factorio.com/images/thumb/Space_age_icon.png/16px-Space_age_icon.png) ***Space Age*** required to use. * * Only loaded if `spoil_ticks` is larger than 0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemPrototype.html#spoil_result Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemPrototype.html#spoil_result Online documentation} */ spoil_result?: ItemID /** @@ -7765,7 +7779,7 @@ declare module "factorio:prototype" { * Only loaded if `spoil_ticks` is larger than 0. * * The minimum quality level that can be reached when {@link ItemPrototype#spoil_quality_change spoil_quality_change} is used. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemPrototype.html#spoil_quality_min Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemPrototype.html#spoil_quality_min Online documentation} */ spoil_quality_min?: QualityID /** @@ -7774,7 +7788,7 @@ declare module "factorio:prototype" { * Only loaded if `spoil_ticks` is larger than 0. * * The maximum quality level that can be reached when {@link ItemPrototype#spoil_quality_change spoil_quality_change} is used. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemPrototype.html#spoil_quality_max Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemPrototype.html#spoil_quality_max Online documentation} */ spoil_quality_max?: QualityID /** @@ -7785,33 +7799,33 @@ declare module "factorio:prototype" { * Only loaded if `spoil_ticks` is larger than 0. * * Defines how many levels the item's quality will go up (positive integer) or down (negative integer) when spoiling. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemPrototype.html#spoil_quality_change Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemPrototype.html#spoil_quality_change Online documentation} */ spoil_quality_change?: int8 plant_result?: EntityID /** - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemPrototype.html#place_as_tile Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemPrototype.html#place_as_tile Online documentation} */ place_as_tile?: PlaceAsTile /** * Used to give the item multiple different icons so that they look less uniform on belts. For inventory icons and similar, `icon/icons` will be used. Maximum number of variations is 16. * * When using sprites of size `64` (same as base game icons), the `scale` should be set to 0.5. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemPrototype.html#pictures Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemPrototype.html#pictures Online documentation} */ pictures?: SpriteVariations /** * Specifies some properties of the item. * @example * flags = { "hide-from-bonus-gui" } - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemPrototype.html#flags Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemPrototype.html#flags Online documentation} */ flags?: ItemPrototypeFlags /** * ![Space Age](https://wiki.factorio.com/images/thumb/Space_age_icon.png/16px-Space_age_icon.png) ***Space Age*** required to use. * * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemPrototype.html#spoil_ticks Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemPrototype.html#spoil_ticks Online documentation} */ spoil_ticks?: uint32 /** @@ -7822,7 +7836,7 @@ declare module "factorio:prototype" { * Only loaded if `spoil_ticks` is larger than 0. * * If set, {@link QualityPrototype#spoil_ticks_multiplier QualityPrototype::spoil_ticks_multiplier} will be applied to spoil_tick value. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemPrototype.html#quality_affects_spoil_ticks Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemPrototype.html#quality_affects_spoil_ticks Online documentation} */ quality_affects_spoil_ticks?: boolean /** @@ -7833,64 +7847,64 @@ declare module "factorio:prototype" { * Mandatory if `fuel_acceleration_multiplier`, `fuel_top_speed_multiplier` or `fuel_emissions_multiplier` or `fuel_glow_color` are used. * @example * fuel_value = "12MJ" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemPrototype.html#fuel_value Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemPrototype.html#fuel_value Online documentation} */ fuel_value?: Energy /** * **Default:** `1` * * Must be 0 or positive. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemPrototype.html#fuel_acceleration_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemPrototype.html#fuel_acceleration_multiplier Online documentation} */ fuel_acceleration_multiplier?: double /** * **Default:** `1` * * Must be 0 or positive. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemPrototype.html#fuel_top_speed_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemPrototype.html#fuel_top_speed_multiplier Online documentation} */ fuel_top_speed_multiplier?: double /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemPrototype.html#fuel_emissions_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemPrototype.html#fuel_emissions_multiplier Online documentation} */ fuel_emissions_multiplier?: double /** * Additional fuel acceleration multiplier per quality level. Defaults to 30% of `fuel_acceleration_multiplier - 1` if `fuel_acceleration_multiplier` is larger than 1. Otherwise defaults to 0. * * Must be 0 or positive. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemPrototype.html#fuel_acceleration_multiplier_quality_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemPrototype.html#fuel_acceleration_multiplier_quality_bonus Online documentation} */ fuel_acceleration_multiplier_quality_bonus?: double /** * Additional fuel top speed multiplier per quality level. Defaults to 30% of `fuel_top_speed_multiplier - 1` if `fuel_top_speed_multiplier` is larger than 1. Otherwise defaults to 0. * * Must be 0 or positive. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemPrototype.html#fuel_top_speed_multiplier_quality_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemPrototype.html#fuel_top_speed_multiplier_quality_bonus Online documentation} */ fuel_top_speed_multiplier_quality_bonus?: double /** * The default weight is calculated automatically from recipes and falls back to {@link UtilityConstants#default_item_weight UtilityConstants::default_item_weight}. * - * More information on how item weight is determined can be found on its {@linkplain https://lua-api.factorio.com/2.1.22/auxiliary/item-weight.html auxiliary page}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemPrototype.html#weight Online documentation} + * More information on how item weight is determined can be found on its {@linkplain https://lua-api.factorio.com/2.1.24/auxiliary/item-weight.html auxiliary page}. + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemPrototype.html#weight Online documentation} */ weight?: Weight /** * **Default:** `0.5` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemPrototype.html#ingredient_to_weight_coefficient Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemPrototype.html#ingredient_to_weight_coefficient Online documentation} */ ingredient_to_weight_coefficient?: double /** * **Default:** `false` * * Used by space platforms to prioritize item requests and make sure there is enough space for priority items before requesting the rest. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemPrototype.html#space_platform_request_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemPrototype.html#space_platform_request_priority Online documentation} */ space_platform_request_priority?: boolean /** * Colors the glow of the burner energy source when this fuel is burned. Can also be used to color the glow of reactors burning the fuel, see {@link ReactorPrototype#use_fuel_glow_color ReactorPrototype::use_fuel_glow_color}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemPrototype.html#fuel_glow_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemPrototype.html#fuel_glow_color Online documentation} */ fuel_glow_color?: Color open_sound?: Sound @@ -7900,31 +7914,31 @@ declare module "factorio:prototype" { inventory_move_sound?: Sound /** * **Default:** `"nauvis"` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemPrototype.html#default_import_location Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemPrototype.html#default_import_location Online documentation} */ default_import_location?: SpaceLocationID /** * Only used by hidden setting, support may be limited. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemPrototype.html#color_hint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemPrototype.html#color_hint Online documentation} */ color_hint?: ColorHintSpecification /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemPrototype.html#has_random_tint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemPrototype.html#has_random_tint Online documentation} */ has_random_tint?: boolean /** * ![Space Age](https://wiki.factorio.com/images/thumb/Space_age_icon.png/16px-Space_age_icon.png) ***Space Age*** required to use. * * Only loaded if `spoil_ticks` is larger than 0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemPrototype.html#spoil_to_trigger_result Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemPrototype.html#spoil_to_trigger_result Online documentation} */ spoil_to_trigger_result?: SpoilToTriggerResult /** * The effect/trigger that happens when an item is destroyed by being dropped on a {@link TilePrototype} marked as destroying dropped items. * * This overrides the {@link TilePrototype#default_destroyed_dropped_item_trigger TilePrototype::default_destroyed_dropped_item_trigger} from the tile. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemPrototype.html#destroyed_by_dropping_trigger Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemPrototype.html#destroyed_by_dropping_trigger Online documentation} */ destroyed_by_dropping_trigger?: Trigger rocket_launch_products?: readonly ItemProductPrototype[] @@ -7936,26 +7950,26 @@ declare module "factorio:prototype" { * When "manual" is set, it can only be launched by pressing the launch button in the rocket silo. * * When "automated" is set, it will force the existence of "launch to orbit automatically" checkbox in the rocket silo which will then force the silo to automatically send the item to orbit when present. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemPrototype.html#send_to_orbit_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemPrototype.html#send_to_orbit_mode Online documentation} */ send_to_orbit_mode?: SendToOrbitMode /** * Whether this item should be moved to the hub when space platform performs building, upgrade or deconstruction and is left with this item. The following items are considered valuable and moved to hub by default: {@link ModulePrototype Modules}, {@link ItemPrototype#place_result items that build entities}, {@link ItemPrototype#place_as_tile items that build tiles} and items {@link AsteroidChunkPrototype#minable not obtainable from asteroid chunks} that have {@link PrototypeBase#subgroup subgroup} from a {@link ItemSubGroup#group group} other than `"intermediate-products"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemPrototype.html#moved_to_hub_when_building Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemPrototype.html#moved_to_hub_when_building Online documentation} */ moved_to_hub_when_building?: boolean /** * **Default:** `Value of UtilityConstants::item_default_random_tint_strength` * * Randomly tints item instances on belts and in the world. 0 no tinting. 1 full tint. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemPrototype.html#random_tint_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemPrototype.html#random_tint_color Online documentation} */ random_tint_color?: Color /** * **Default:** `0` * * Used by Inserters with spoil priority. Item with higher spoil level is considered more spoiled than item with lower spoil level regardless of progress of spoiling. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemPrototype.html#spoil_level Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemPrototype.html#spoil_level Online documentation} */ spoil_level?: uint8 /** @@ -7964,19 +7978,19 @@ declare module "factorio:prototype" { * Whether the item should be included in the self-recycling recipes automatically generated by the quality mod. * * This property is not read by the game engine itself, but the quality mod's data-updates.lua file. This means it is discarded by the game engine after loading finishes. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemPrototype.html#auto_recycle Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemPrototype.html#auto_recycle Online documentation} */ auto_recycle?: boolean /** * **Default:** `false` * * Item will not appear in lists of all items such as those for logistics requests, filters, etc. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemPrototype.html#hidden Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemPrototype.html#hidden Online documentation} */ hidden?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemPrototype.html#lab_ignores_spoil_percent Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemPrototype.html#lab_ignores_spoil_percent Online documentation} */ lab_ignores_spoil_percent?: boolean /** @@ -7985,19 +7999,19 @@ declare module "factorio:prototype" { * Used by labs. Not relevant for {@link ToolPrototype tools} where {@link ToolPrototype#durability durability} is used. * * Must be >= 0.01. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemPrototype.html#science_capacity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemPrototype.html#science_capacity Online documentation} */ science_capacity?: double } /** * Entity used to signify that an entity is requesting items, for example modules for an assembling machine after it was blueprinted with modules inside. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemRequestProxyPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemRequestProxyPrototype.html Online documentation} */ export interface ItemRequestProxyPrototype extends EntityPrototype { type: "item-request-proxy" /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemRequestProxyPrototype.html#use_target_entity_alert_icon_shift Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemRequestProxyPrototype.html#use_target_entity_alert_icon_shift Online documentation} */ use_target_entity_alert_icon_shift?: boolean } @@ -8012,19 +8026,19 @@ declare module "factorio:prototype" { * group = "logistics", * order = "e" * } - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemSubGroup.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemSubGroup.html Online documentation} */ export interface ItemSubGroup extends Prototype { type: "item-subgroup" /** * The item group this subgroup is located in. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemSubGroup.html#group Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemSubGroup.html#group Online documentation} */ group: ItemGroupID } /** * ItemWithEntityData saves data associated with the entity that it represents, for example the content of the equipment grid of a car. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemWithEntityDataPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemWithEntityDataPrototype.html Online documentation} */ export interface ItemWithEntityDataPrototype extends ItemPrototype { type: "item-with-entity-data" @@ -8032,14 +8046,14 @@ declare module "factorio:prototype" { * Can't be an empty array. * * Only loaded if `icon_tintable` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemWithEntityDataPrototype.html#icon_tintable_masks Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemWithEntityDataPrototype.html#icon_tintable_masks Online documentation} */ icon_tintable_masks?: readonly IconData[] /** * Path to the icon file. * * Only loaded if `icon_tintable_masks` is not defined and `icon_tintable` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemWithEntityDataPrototype.html#icon_tintable_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemWithEntityDataPrototype.html#icon_tintable_mask Online documentation} */ icon_tintable_mask?: FileName /** @@ -8048,21 +8062,21 @@ declare module "factorio:prototype" { * The size of the square icon, in pixels. E.g. `32` for a 32px by 32px icon. Must be larger than `0`. * * Only loaded if `icon_tintable_masks` is not defined and `icon_tintable` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemWithEntityDataPrototype.html#icon_tintable_mask_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemWithEntityDataPrototype.html#icon_tintable_mask_size Online documentation} */ icon_tintable_mask_size?: SpriteSizeType /** * Can't be an empty array. * * Only loaded if `icon_tintable` is defined (`icon_tintables` takes precedence over `icon_tintable`). - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemWithEntityDataPrototype.html#icon_tintables Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemWithEntityDataPrototype.html#icon_tintables Online documentation} */ icon_tintables?: readonly IconData[] /** * Path to the icon file. * * Only loaded if `icon_tintables` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemWithEntityDataPrototype.html#icon_tintable Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemWithEntityDataPrototype.html#icon_tintable Online documentation} */ icon_tintable?: FileName /** @@ -8071,45 +8085,45 @@ declare module "factorio:prototype" { * The size of the square icon, in pixels. E.g. `32` for a 32px by 32px icon. Must be larger than `0`. * * Only loaded if `icon_tintables` is not defined and `icon_tintable` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemWithEntityDataPrototype.html#icon_tintable_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemWithEntityDataPrototype.html#icon_tintable_size Online documentation} */ icon_tintable_size?: SpriteSizeType } /** * The inventory allows setting player defined filters similar to cargo wagon inventories. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemWithInventoryPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemWithInventoryPrototype.html Online documentation} */ export interface ItemWithInventoryPrototype extends ItemWithLabelPrototype { type: "blueprint-book" | "item-with-inventory" /** * The inventory size of the item. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemWithInventoryPrototype.html#inventory_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemWithInventoryPrototype.html#inventory_size Online documentation} */ inventory_size: ItemStackIndex /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemWithInventoryPrototype.html#quality_affects_inventory_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemWithInventoryPrototype.html#quality_affects_inventory_size Online documentation} */ quality_affects_inventory_size?: boolean /** * A list of explicit item names to be used as filters. * @example * item_filters = {"iron-ore", "copper-ore", "coal", "stone"} - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemWithInventoryPrototype.html#item_filters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemWithInventoryPrototype.html#item_filters Online documentation} */ item_filters?: readonly ItemID[] /** * A list of explicit item group names to be used as filters. * @example * item_group_filters = {"logistics", "fluids"} - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemWithInventoryPrototype.html#item_group_filters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemWithInventoryPrototype.html#item_group_filters Online documentation} */ item_group_filters?: readonly ItemGroupID[] /** * A list of explicit {@link ItemSubGroup item subgroup} names to be used as filters. * @example * item_subgroup_filters = {"military-equipment", "tool"} - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemWithInventoryPrototype.html#item_subgroup_filters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemWithInventoryPrototype.html#item_subgroup_filters Online documentation} */ item_subgroup_filters?: readonly ItemSubGroupID[] /** @@ -8118,27 +8132,27 @@ declare module "factorio:prototype" { * This determines how filters are applied. If no filters are defined this is automatically set to "none". * @example * filter_mode = "blacklist" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemWithInventoryPrototype.html#filter_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemWithInventoryPrototype.html#filter_mode Online documentation} */ filter_mode?: "blacklist" | "whitelist" /** * **Default:** `"item-limitation.item-not-allowed-in-this-container-item"` * * The locale key used when the player attempts to put an item that doesn't match the filter rules into the item-with-inventory. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemWithInventoryPrototype.html#filter_message_key Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemWithInventoryPrototype.html#filter_message_key Online documentation} */ filter_message_key?: string /** * Count of items of the same name that can be stored in one inventory slot. Must be 1 when the `"not-stackable"` flag is set. * @example * stack_size = 1 - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemWithInventoryPrototype.html#stack_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemWithInventoryPrototype.html#stack_size Online documentation} */ stack_size: 1 } /** * Like a normal item but with the ability to have a colored label. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemWithLabelPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemWithLabelPrototype.html Online documentation} */ export interface ItemWithLabelPrototype extends ItemPrototype { type: @@ -8156,47 +8170,47 @@ declare module "factorio:prototype" { * **Default:** `Default item text color` * * The default label color the item will use. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemWithLabelPrototype.html#default_label_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemWithLabelPrototype.html#default_label_color Online documentation} */ default_label_color?: Color /** * **Default:** `false` * * If the item will draw its label when held in the cursor in place of the item count. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemWithLabelPrototype.html#draw_label_for_cursor_render Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemWithLabelPrototype.html#draw_label_for_cursor_render Online documentation} */ draw_label_for_cursor_render?: boolean } /** * Item type that can store any basic arbitrary Lua data, see {@link import("factorio:runtime").LuaItemStack#tags LuaItemStack::tags}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemWithTagsPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemWithTagsPrototype.html Online documentation} */ export interface ItemWithTagsPrototype extends ItemWithLabelPrototype { type: "item-with-tags" } /** * This prototype is used for receiving an achievement when the player destroys a certain amount of an entity, with a specific damage type. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/KillAchievementPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/KillAchievementPrototype.html Online documentation} */ export interface KillAchievementPrototype extends AchievementPrototype { type: "kill-achievement" /** * This defines which entity needs to be destroyed in order to receive the achievement. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/KillAchievementPrototype.html#to_kill Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/KillAchievementPrototype.html#to_kill Online documentation} */ to_kill?: EntityID | readonly EntityID[] /** * This defines what entity type needs to be destroyed in order to receive the achievement. * @example * type_to_kill = "inserter" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/KillAchievementPrototype.html#type_to_kill Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/KillAchievementPrototype.html#type_to_kill Online documentation} */ type_to_kill?: string /** * This defines how the player needs to destroy the specific entity. * @example * damage_type = "impact" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/KillAchievementPrototype.html#damage_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/KillAchievementPrototype.html#damage_type Online documentation} */ damage_type?: DamageTypeID /** @@ -8205,7 +8219,7 @@ declare module "factorio:prototype" { * damage_dealer = "artillery-turret" * @example * damage_dealer = {"artillery-turret", "artillery-wagon"} - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/KillAchievementPrototype.html#damage_dealer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/KillAchievementPrototype.html#damage_dealer Online documentation} */ damage_dealer?: EntityID | readonly EntityID[] /** @@ -8214,7 +8228,7 @@ declare module "factorio:prototype" { * This is the amount of entity of the specified type the player needs to destroy to receive the achievement. * @example * amount = 100 - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/KillAchievementPrototype.html#amount Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/KillAchievementPrototype.html#amount Online documentation} */ amount?: uint32 /** @@ -8223,7 +8237,7 @@ declare module "factorio:prototype" { * This defines if the player needs to be in a vehicle. * @example * in_vehicle = true - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/KillAchievementPrototype.html#in_vehicle Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/KillAchievementPrototype.html#in_vehicle Online documentation} */ in_vehicle?: boolean /** @@ -8232,34 +8246,34 @@ declare module "factorio:prototype" { * This defines to make sure you are the one driving, for instance, in a tank rather than an automated train. * @example * personally = true - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/KillAchievementPrototype.html#personally Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/KillAchievementPrototype.html#personally Online documentation} */ personally?: boolean } /** * A {@linkplain https://wiki.factorio.com/Lab lab}. It consumes science packs (items) to research {@link TechnologyPrototype technologies}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LabPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LabPrototype.html Online documentation} */ export interface LabPrototype extends EntityWithOwnerPrototype { type: "lab" /** * The amount of energy this lab uses. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LabPrototype.html#energy_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LabPrototype.html#energy_usage Online documentation} */ energy_usage: Energy /** * Defines how this lab gets energy. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LabPrototype.html#energy_source Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LabPrototype.html#energy_source Online documentation} */ energy_source: EnergySource /** * The animation that plays when the lab is active. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LabPrototype.html#on_animation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LabPrototype.html#on_animation Online documentation} */ on_animation?: Animation /** * The animation that plays when the lab is idle. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LabPrototype.html#off_animation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LabPrototype.html#off_animation Online documentation} */ off_animation?: Animation frozen_patch?: Sprite @@ -8269,53 +8283,53 @@ declare module "factorio:prototype" { * If a technology requires other types of science packs, it cannot be researched in this lab. * @example * inputs = {"automation-science-pack", "logistic-science-pack", "chemical-science-pack", "military-science-pack", "production-science-pack", "utility-science-pack", "space-science-pack"} - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LabPrototype.html#inputs Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LabPrototype.html#inputs Online documentation} */ inputs: readonly ItemID[] /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LabPrototype.html#researching_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LabPrototype.html#researching_speed Online documentation} */ researching_speed?: double effect_receiver?: EffectReceiver /** * The number of module slots in this lab. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LabPrototype.html#module_slots Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LabPrototype.html#module_slots Online documentation} */ module_slots?: ItemStackIndex /** * **Default:** `false` * * If set, {@link QualityPrototype#lab_module_slots_bonus QualityPrototype::lab_module_slots_bonus} will be added to module slots count. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LabPrototype.html#quality_affects_module_slots Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LabPrototype.html#quality_affects_module_slots Online documentation} */ quality_affects_module_slots?: boolean /** * **Default:** `false` * * Whether the {@link QualityPrototype#science_pack_drain_multiplier QualityPrototype::science_pack_drain_multiplier} of the quality of this lab should affect how much science is consumed to research one unit of technology. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LabPrototype.html#uses_quality_drain_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LabPrototype.html#uses_quality_drain_modifier Online documentation} */ uses_quality_drain_modifier?: boolean /** * **Default:** `100` * * May not be `0` or larger than `100`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LabPrototype.html#science_pack_drain_rate_percent Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LabPrototype.html#science_pack_drain_rate_percent Online documentation} */ science_pack_drain_rate_percent?: uint8 /** * **Default:** `All effects except quality are allowed` * * Sets the {@link ModulePrototype modules} and {@link BeaconPrototype beacon} effects that are allowed to be used on this lab. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LabPrototype.html#allowed_effects Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LabPrototype.html#allowed_effects Online documentation} */ allowed_effects?: EffectTypeLimitation /** * **Default:** `All module categories are allowed` * * Sets the {@link ModuleCategory module categories} that are allowed to be inserted into this machine. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LabPrototype.html#allowed_module_categories Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LabPrototype.html#allowed_module_categories Online documentation} */ allowed_module_categories?: readonly ModuleCategoryID[] light?: LightDefinition @@ -8325,17 +8339,17 @@ declare module "factorio:prototype" { * **Default:** `0` * * The maximum circuit wire distance for this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LabPrototype.html#circuit_wire_max_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LabPrototype.html#circuit_wire_max_distance Online documentation} */ circuit_wire_max_distance?: double /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LabPrototype.html#draw_copper_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LabPrototype.html#draw_copper_wires Online documentation} */ draw_copper_wires?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LabPrototype.html#draw_circuit_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LabPrototype.html#draw_circuit_wires Online documentation} */ draw_circuit_wires?: boolean circuit_connector?: CircuitConnectorDefinition @@ -8424,95 +8438,95 @@ declare module "factorio:prototype" { * circuit_connector = circuit_connector_definitions["lamp"], * circuit_wire_max_distance = default_circuit_wire_max_distance * } - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LampPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LampPrototype.html Online documentation} */ export interface LampPrototype extends EntityWithOwnerPrototype { type: "lamp" /** * The lamps graphics when it's on. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LampPrototype.html#picture_on Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LampPrototype.html#picture_on Online documentation} */ picture_on?: Sprite /** * The lamps graphics when it's off. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LampPrototype.html#picture_off Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LampPrototype.html#picture_off Online documentation} */ picture_off?: Sprite /** * The amount of energy the lamp uses. Must be greater than > 0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LampPrototype.html#energy_usage_per_tick Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LampPrototype.html#energy_usage_per_tick Online documentation} */ energy_usage_per_tick: Energy /** * The emissions set on the energy source are ignored so lamps cannot produce pollution. * * If this is an electric energy source, any {@link ElectricEnergySource#usage_priority usage_priority} set here will be ignored, lamps always have the "lamp" usage priority. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LampPrototype.html#energy_source Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LampPrototype.html#energy_source Online documentation} */ energy_source: ElectricEnergySource | VoidEnergySource /** * What color the lamp will be when it is on, and receiving power. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LampPrototype.html#light Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LampPrototype.html#light Online documentation} */ light?: LightDefinition /** * This refers to when the light is in a circuit network, and is lit a certain color based on a signal value. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LampPrototype.html#light_when_colored Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LampPrototype.html#light_when_colored Online documentation} */ light_when_colored?: LightDefinition /** * **Default:** `0` * * The maximum circuit wire distance for this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LampPrototype.html#circuit_wire_max_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LampPrototype.html#circuit_wire_max_distance Online documentation} */ circuit_wire_max_distance?: double /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LampPrototype.html#draw_copper_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LampPrototype.html#draw_copper_wires Online documentation} */ draw_copper_wires?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LampPrototype.html#draw_circuit_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LampPrototype.html#draw_circuit_wires Online documentation} */ draw_circuit_wires?: boolean circuit_connector?: CircuitConnectorDefinition /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LampPrototype.html#glow_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LampPrototype.html#glow_size Online documentation} */ glow_size?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LampPrototype.html#glow_color_intensity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LampPrototype.html#glow_color_intensity Online documentation} */ glow_color_intensity?: float /** * **Default:** `0.5` * * darkness_for_all_lamps_on must be > darkness_for_all_lamps_off. Values must be between 0 and 1. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LampPrototype.html#darkness_for_all_lamps_on Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LampPrototype.html#darkness_for_all_lamps_on Online documentation} */ darkness_for_all_lamps_on?: float /** * **Default:** `0.3` * * darkness_for_all_lamps_on must be > darkness_for_all_lamps_off. Values must be between 0 and 1. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LampPrototype.html#darkness_for_all_lamps_off Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LampPrototype.html#darkness_for_all_lamps_off Online documentation} */ darkness_for_all_lamps_off?: float /** * **Default:** `false` * * Whether the lamp should always be on. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LampPrototype.html#always_on Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LampPrototype.html#always_on Online documentation} */ always_on?: boolean signal_to_color_mapping?: readonly SignalColorMapping[] /** * **Default:** `"additive"` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LampPrototype.html#glow_render_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LampPrototype.html#glow_render_mode Online documentation} */ glow_render_mode?: "additive" | "multiplicative" default_red_signal?: SignalIDConnector @@ -8522,38 +8536,38 @@ declare module "factorio:prototype" { } /** * A {@linkplain https://wiki.factorio.com/Land_mine land mine}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LandMinePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LandMinePrototype.html Online documentation} */ export interface LandMinePrototype extends EntityWithOwnerPrototype { type: "land-mine" /** * The sprite of the landmine before it is armed (just after placing). - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LandMinePrototype.html#picture_safe Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LandMinePrototype.html#picture_safe Online documentation} */ picture_safe?: Sprite /** * The sprite of the landmine of a friendly force when it is armed. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LandMinePrototype.html#picture_set Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LandMinePrototype.html#picture_set Online documentation} */ picture_set?: Sprite trigger_radius: double /** * The sprite of the landmine of an enemy force when it is armed. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LandMinePrototype.html#picture_set_enemy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LandMinePrototype.html#picture_set_enemy Online documentation} */ picture_set_enemy?: Sprite /** * **Default:** `120` * * Time between placing and the landmine being armed, in ticks. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LandMinePrototype.html#timeout Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LandMinePrototype.html#timeout Online documentation} */ timeout?: uint32 /** * **Default:** `10` * * Time between checks to detonate due to nearby enemies, in ticks. A larger time will be more performant. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LandMinePrototype.html#trigger_interval Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LandMinePrototype.html#trigger_interval Online documentation} */ trigger_interval?: uint32 action?: Trigger @@ -8562,26 +8576,26 @@ declare module "factorio:prototype" { * **Default:** `true` * * Force the landmine to kill itself when exploding. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LandMinePrototype.html#force_die_on_attack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LandMinePrototype.html#force_die_on_attack Online documentation} */ force_die_on_attack?: boolean /** * **Default:** `"enemy"` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LandMinePrototype.html#trigger_force Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LandMinePrototype.html#trigger_force Online documentation} */ trigger_force?: ForceCondition /** * **Default:** `Value of UtilityConstants::building_collision_mask` * * Collision mask that another entity must collide with to make this landmine blow up. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LandMinePrototype.html#trigger_collision_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LandMinePrototype.html#trigger_collision_mask Online documentation} */ trigger_collision_mask?: CollisionMaskConnector /** * **Default:** `true` * * Whether this prototype should be a high priority target for enemy forces. See {@linkplain https://wiki.factorio.com/Military_units_and_structures Military units and structures}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LandMinePrototype.html#is_military_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LandMinePrototype.html#is_military_target Online documentation} */ is_military_target?: boolean /** @@ -8590,24 +8604,24 @@ declare module "factorio:prototype" { * The entity with the higher number is selectable before the entity with the lower number. * * The value `0` will be treated the same as `nil`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LandMinePrototype.html#selection_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LandMinePrototype.html#selection_priority Online documentation} */ selection_priority?: uint8 /** * **Default:** `0` * * The maximum circuit wire distance for this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LandMinePrototype.html#circuit_wire_max_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LandMinePrototype.html#circuit_wire_max_distance Online documentation} */ circuit_wire_max_distance?: double /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LandMinePrototype.html#draw_copper_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LandMinePrototype.html#draw_copper_wires Online documentation} */ draw_copper_wires?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LandMinePrototype.html#draw_circuit_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LandMinePrototype.html#draw_circuit_wires Online documentation} */ draw_circuit_wires?: boolean circuit_connector?: CircuitConnectorDefinition @@ -8616,12 +8630,12 @@ declare module "factorio:prototype" { type: "lane-splitter" /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LaneSplitterPrototype.html#structure_animation_speed_coefficient Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LaneSplitterPrototype.html#structure_animation_speed_coefficient Online documentation} */ structure_animation_speed_coefficient?: double /** * **Default:** `10` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LaneSplitterPrototype.html#structure_animation_movement_cooldown Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LaneSplitterPrototype.html#structure_animation_movement_cooldown Online documentation} */ structure_animation_movement_cooldown?: uint32 structure: Animation4Way @@ -8629,7 +8643,7 @@ declare module "factorio:prototype" { } /** * A legacy curved rail. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LegacyCurvedRailPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LegacyCurvedRailPrototype.html Online documentation} */ export interface LegacyCurvedRailPrototype extends RailPrototype { type: "legacy-curved-rail" @@ -8639,13 +8653,13 @@ declare module "factorio:prototype" { * The {@link EntityPrototype#collision_box collision_box} of legacy curved rail is hardcoded to `{{-0.75, -0.55}, {0.75, 1.6}}`. * * The secondary collision box of legacy curved rail is hardcoded to `{{-0.68, -2.7}, {0.68, 2.7}}`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LegacyCurvedRailPrototype.html#collision_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LegacyCurvedRailPrototype.html#collision_box Online documentation} */ collision_box?: BoundingBox } /** * A legacy straight rail. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LegacyStraightRailPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LegacyStraightRailPrototype.html Online documentation} */ export interface LegacyStraightRailPrototype extends RailPrototype { type: "legacy-straight-rail" @@ -8653,7 +8667,7 @@ declare module "factorio:prototype" { * **Default:** ``{{-0.7, -0.99}, {0.7, 0.99}}`` * * The {@link EntityPrototype#collision_box collision_box} of legacy straight rail is hardcoded to `{{-0.7, -0.99}, {0.7, 0.99}}`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LegacyStraightRailPrototype.html#collision_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LegacyStraightRailPrototype.html#collision_box Online documentation} */ collision_box?: BoundingBox } @@ -8661,7 +8675,7 @@ declare module "factorio:prototype" { * ![Space Age](https://wiki.factorio.com/images/thumb/Space_age_icon.png/16px-Space_age_icon.png) ***Space Age*** required to use. * * Absorbs {@link LightningPrototype lightning} and optionally converts it into electricity. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LightningAttractorPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LightningAttractorPrototype.html Online documentation} */ export interface LightningAttractorPrototype extends EntityWithOwnerPrototype { type: "lightning-attractor" @@ -8671,17 +8685,17 @@ declare module "factorio:prototype" { * **Default:** `0` * * Cannot be less than 0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LightningAttractorPrototype.html#efficiency Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LightningAttractorPrototype.html#efficiency Online documentation} */ efficiency?: double /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LightningAttractorPrototype.html#range_elongation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LightningAttractorPrototype.html#range_elongation Online documentation} */ range_elongation?: double /** * Mandatory if `efficiency` is larger than 0. May not be defined if `efficiency` is 0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LightningAttractorPrototype.html#energy_source Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LightningAttractorPrototype.html#energy_source Online documentation} */ energy_source?: ElectricEnergySource } @@ -8693,7 +8707,7 @@ declare module "factorio:prototype" { * If a {@link LightningAttractorPrototype lightning attractor} is hit by lightning it will absorb the lightning hit for energy. * * If a something that is not an attractor is hit by lightning it will be damaged by the strike. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LightningPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LightningPrototype.html Online documentation} */ export interface LightningPrototype extends EntityPrototype { type: "lightning" @@ -8701,82 +8715,82 @@ declare module "factorio:prototype" { sound?: Sound /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LightningPrototype.html#attracted_volume_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LightningPrototype.html#attracted_volume_modifier Online documentation} */ attracted_volume_modifier?: float /** * Effect that is triggered when lightning strikes something that is not a lightning attractor. Triggered before `damage` is applied. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LightningPrototype.html#strike_effect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LightningPrototype.html#strike_effect Online documentation} */ strike_effect?: Trigger /** * Effect that is triggered when lightning hits a {@link LightningAttractorPrototype lightning attractor}. Triggered after the attractor is charged by the lightning hit. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LightningPrototype.html#attractor_hit_effect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LightningPrototype.html#attractor_hit_effect Online documentation} */ attractor_hit_effect?: Trigger source_offset?: Vector source_variance?: Vector /** * When lightning strikes something that is not a lightning attractor, this damage is applied to the target. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LightningPrototype.html#damage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LightningPrototype.html#damage Online documentation} */ damage?: DamageParameters /** * **Default:** `Max double` * * When lightning hits a {@link LightningAttractorPrototype lightning attractor}, this amount of energy is transferred to the lightning attractor. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LightningPrototype.html#energy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LightningPrototype.html#energy Online documentation} */ energy?: Energy /** * **Default:** `0` * * Must be less than or equal to `effect_duration`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LightningPrototype.html#time_to_damage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LightningPrototype.html#time_to_damage Online documentation} */ time_to_damage?: uint16 effect_duration: uint16 } /** * A belt that can be connected to a belt anywhere else, including on a different surface. The linked belts have to be {@linkplain https://wiki.factorio.com/Console#Connect_linked_belts connected with console commands} or runtime scripting in mods or scenarios. {@link import("factorio:runtime").LuaEntity#connect_linked_belts LuaEntity::connect_linked_belts} and other runtime functions. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LinkedBeltPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LinkedBeltPrototype.html Online documentation} */ export interface LinkedBeltPrototype extends TransportBeltConnectablePrototype { type: "linked-belt" /** - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LinkedBeltPrototype.html#structure Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LinkedBeltPrototype.html#structure Online documentation} */ structure?: LinkedBeltStructure /** * **Default:** `"object"` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LinkedBeltPrototype.html#structure_render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LinkedBeltPrototype.html#structure_render_layer Online documentation} */ structure_render_layer?: RenderLayer /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LinkedBeltPrototype.html#allow_clone_connection Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LinkedBeltPrototype.html#allow_clone_connection Online documentation} */ allow_clone_connection?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LinkedBeltPrototype.html#allow_blueprint_connection Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LinkedBeltPrototype.html#allow_blueprint_connection Online documentation} */ allow_blueprint_connection?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LinkedBeltPrototype.html#allow_side_loading Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LinkedBeltPrototype.html#allow_side_loading Online documentation} */ allow_side_loading?: boolean } /** * A container that shares its inventory with containers with the same {@link import("factorio:runtime").LuaEntity#link_id link_id}, which can be set via the GUI. The link IDs are per prototype and force, so only containers with the **same ID**, **same prototype name** and **same force** will share inventories. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LinkedContainerPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LinkedContainerPrototype.html Online documentation} */ export interface LinkedContainerPrototype extends EntityWithOwnerPrototype { type: "linked-container" /** * Must be > 0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LinkedContainerPrototype.html#inventory_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LinkedContainerPrototype.html#inventory_size Online documentation} */ inventory_size: ItemStackIndex picture?: Sprite @@ -8784,43 +8798,43 @@ declare module "factorio:prototype" { * **Default:** `"with_bar"` * * Determines the type of inventory that this linked container has. Whether the inventory has a limiter bar, can be filtered (like cargo wagons), uses a custom stack size for contained item stacks (like artillery wagon), or uses a weight limit (like space age rocket silo). - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LinkedContainerPrototype.html#inventory_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LinkedContainerPrototype.html#inventory_type Online documentation} */ inventory_type?: "normal" | "with_bar" | "with_filters_and_bar" | "with_custom_stack_size" | "with_weight_limit" /** * Only used when `inventory_type` is `"with_custom_stack_size"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LinkedContainerPrototype.html#inventory_properties Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LinkedContainerPrototype.html#inventory_properties Online documentation} */ inventory_properties?: InventoryWithCustomStackSizeSpecification /** * **Default:** `0` * * Only used when `inventory_type` is `"with_weight_limit"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LinkedContainerPrototype.html#inventory_weight_limit Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LinkedContainerPrototype.html#inventory_weight_limit Online documentation} */ inventory_weight_limit?: Weight /** * **Default:** `"all"` * * Players that can access the GUI to change the link ID. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LinkedContainerPrototype.html#gui_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LinkedContainerPrototype.html#gui_mode Online documentation} */ gui_mode?: "all" | "none" | "admins" /** * **Default:** `0` * * The maximum circuit wire distance for this linked container. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LinkedContainerPrototype.html#circuit_wire_max_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LinkedContainerPrototype.html#circuit_wire_max_distance Online documentation} */ circuit_wire_max_distance?: double /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LinkedContainerPrototype.html#draw_copper_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LinkedContainerPrototype.html#draw_copper_wires Online documentation} */ draw_copper_wires?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LinkedContainerPrototype.html#draw_circuit_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LinkedContainerPrototype.html#draw_circuit_wires Online documentation} */ draw_circuit_wires?: boolean circuit_connector?: CircuitConnectorDefinition @@ -8832,7 +8846,7 @@ declare module "factorio:prototype" { * This loader type is identical to {@link Loader1x2Prototype} with the exception of its hardcoded belt_distance. The belt_distance of the loader determines the distance between the position of this loader and the tile of the loader's belt target. * * This loader type always has a belt_distance of 0, meaning by default it is 1 tile long in total. For a loader type with a belt_distance of 0.5, see {@link Loader1x2Prototype}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/Loader1x1Prototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/Loader1x1Prototype.html Online documentation} */ export interface Loader1x1Prototype extends LoaderPrototype { type: "loader-1x1" @@ -8843,54 +8857,54 @@ declare module "factorio:prototype" { * This loader type is identical to {@link Loader1x1Prototype} with the exception of its hardcoded belt_distance. The belt_distance of the loader determines the distance between the position of this loader and the tile of the loader's belt target. * * This loader type always has a belt_distance of 0.5, meaning by default it is 2 tiles long in total. For a loader type with a belt_distance of 0, see {@link Loader1x1Prototype}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/Loader1x2Prototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/Loader1x2Prototype.html Online documentation} */ export interface Loader1x2Prototype extends LoaderPrototype { type: "loader" } /** * Continuously loads and unloads machines, as an alternative to inserters. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LoaderPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LoaderPrototype.html Online documentation} */ export interface LoaderPrototype extends TransportBeltConnectablePrototype { type: "loader-1x1" | "loader" structure?: LoaderStructure /** * How many item filters this loader has. Maximum count of filtered items in loader is 5. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LoaderPrototype.html#filter_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LoaderPrototype.html#filter_count Online documentation} */ filter_count: uint8 /** * **Default:** `"object"` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LoaderPrototype.html#structure_render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LoaderPrototype.html#structure_render_layer Online documentation} */ structure_render_layer?: RenderLayer /** * **Default:** `1.5` * * The distance between the position of this loader and the tile of the loader's container target. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LoaderPrototype.html#container_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LoaderPrototype.html#container_distance Online documentation} */ container_distance?: double /** * **Default:** `true` * * Whether this loader can load and unload {@link RollingStockPrototype}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LoaderPrototype.html#allow_rail_interaction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LoaderPrototype.html#allow_rail_interaction Online documentation} */ allow_rail_interaction?: boolean /** * **Default:** `true` * * Whether this loader can load and unload stationary inventories such as containers and crafting machines. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LoaderPrototype.html#allow_container_interaction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LoaderPrototype.html#allow_container_interaction Online documentation} */ allow_container_interaction?: boolean /** * **Default:** `false` * * If filters are per lane. Can only be set to true if filter_count is equal to 2. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LoaderPrototype.html#per_lane_filters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LoaderPrototype.html#per_lane_filters Online documentation} */ per_lane_filters?: boolean /** @@ -8899,7 +8913,7 @@ declare module "factorio:prototype" { * **Default:** `1` * * Loader will not create stacks on belt that are larger than this value. Must be >= 1. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LoaderPrototype.html#max_belt_stack_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LoaderPrototype.html#max_belt_stack_size Online documentation} */ max_belt_stack_size?: uint8 /** @@ -8908,28 +8922,28 @@ declare module "factorio:prototype" { * **Default:** `false` * * Loader belt stack size can be adjusted at runtime. Requires {@link LoaderPrototype#max_belt_stack_size LoaderPrototype::max_belt_stack_size} to be > 1. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LoaderPrototype.html#adjustable_belt_stack_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LoaderPrototype.html#adjustable_belt_stack_size Online documentation} */ adjustable_belt_stack_size?: boolean /** * **Default:** `false` * * When set, this loader will ignore items for which there is not enough to create a full belt stack. Relevant only when loader can create belt stacks. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LoaderPrototype.html#wait_for_full_stack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LoaderPrototype.html#wait_for_full_stack Online documentation} */ wait_for_full_stack?: boolean /** * **Default:** `false` * * When set, this loader will respect the same automated insertion limits as inserters do, instead of inserting up to the full ingredient stack capacity. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LoaderPrototype.html#respect_insert_limits Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LoaderPrototype.html#respect_insert_limits Online documentation} */ respect_insert_limits?: boolean /** * **Default:** `0.5` * * How long this loader's belt is. Should be the same as belt_distance, which is hardcoded to `0.5` for {@link Loader1x2Prototype} and to 0 for {@link Loader1x1Prototype}. See the linked prototypes for an explanation of belt_distance. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LoaderPrototype.html#belt_length Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LoaderPrototype.html#belt_length Online documentation} */ belt_length?: double energy_source?: ElectricEnergySource | HeatEnergySource | FluidEnergySource | VoidEnergySource @@ -8937,35 +8951,35 @@ declare module "factorio:prototype" { * **Default:** `0` * * Energy in Joules. Can't be negative. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LoaderPrototype.html#energy_per_item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LoaderPrototype.html#energy_per_item Online documentation} */ energy_per_item?: Energy /** * **Default:** `0` * * The maximum circuit wire distance for this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LoaderPrototype.html#circuit_wire_max_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LoaderPrototype.html#circuit_wire_max_distance Online documentation} */ circuit_wire_max_distance?: double /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LoaderPrototype.html#draw_copper_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LoaderPrototype.html#draw_copper_wires Online documentation} */ draw_copper_wires?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LoaderPrototype.html#draw_circuit_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LoaderPrototype.html#draw_circuit_wires Online documentation} */ draw_circuit_wires?: boolean /** * First the four cardinal directions for `direction_out`, followed by the four directions for `direction_in`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LoaderPrototype.html#circuit_connector Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LoaderPrototype.html#circuit_connector Online documentation} */ circuit_connector?: readonly CircuitConnectorDefinition[] } /** * A {@linkplain https://wiki.factorio.com/Locomotive locomotive}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LocomotivePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LocomotivePrototype.html Online documentation} */ export interface LocomotivePrototype extends RollingStockPrototype { type: "locomotive" @@ -8976,36 +8990,36 @@ declare module "factorio:prototype" { front_light_pictures?: RollingStockRotatedSlopedGraphics /** * **Default:** `0.3` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LocomotivePrototype.html#darkness_to_render_light_animation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LocomotivePrototype.html#darkness_to_render_light_animation Online documentation} */ darkness_to_render_light_animation?: float /** * **Default:** `3` * * In tiles. A locomotive will snap to a nearby train stop when the player places it within this distance to the stop. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LocomotivePrototype.html#max_snap_to_train_stop_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LocomotivePrototype.html#max_snap_to_train_stop_distance Online documentation} */ max_snap_to_train_stop_distance?: float } /** * A generic container, such as a chest, that interacts with the logistics network. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LogisticContainerPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LogisticContainerPrototype.html Online documentation} */ export interface LogisticContainerPrototype extends ContainerPrototype { type: "infinity-container" | "logistic-container" /** * The way this chest interacts with the logistic network. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LogisticContainerPrototype.html#logistic_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LogisticContainerPrototype.html#logistic_mode Online documentation} */ logistic_mode: LogisticMode /** * The number of request slots this logistics container has. Requester-type containers must have > 0 slots and can have a maximum of {@link UtilityConstants#max_logistic_filter_count UtilityConstants::max_logistic_filter_count} slots. Storage-type containers must have <= 1 slot. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LogisticContainerPrototype.html#max_logistic_slots Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LogisticContainerPrototype.html#max_logistic_slots Online documentation} */ max_logistic_slots?: uint16 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LogisticContainerPrototype.html#trash_inventory_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LogisticContainerPrototype.html#trash_inventory_size Online documentation} */ trash_inventory_size?: ItemStackIndex /** @@ -9013,8 +9027,8 @@ declare module "factorio:prototype" { * * Whether the "no network" icon should be rendered on this entity if the entity is not within a logistics network. * - * ![](https://lua-api.factorio.com/2.1.22/static/images/too-far-from-roboport-icon.png) - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LogisticContainerPrototype.html#render_not_in_network_icon Online documentation} + * ![](https://lua-api.factorio.com/2.1.24/static/images/too-far-from-roboport-icon.png) + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LogisticContainerPrototype.html#render_not_in_network_icon Online documentation} */ render_not_in_network_icon?: boolean robot_door?: RobotDoorSpecification @@ -9022,34 +9036,34 @@ declare module "factorio:prototype" { * **Default:** `false` * * Whether logistic robots have to deliver the exact amount of items requested to this logistic container instead of over-delivering (within their cargo size). - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LogisticContainerPrototype.html#use_exact_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LogisticContainerPrototype.html#use_exact_mode Online documentation} */ use_exact_mode?: boolean } /** * A {@linkplain https://wiki.factorio.com/Logistic_robot logistic robot}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LogisticRobotPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LogisticRobotPrototype.html Online documentation} */ export interface LogisticRobotPrototype extends RobotWithLogisticInterfacePrototype { type: "logistic-robot" /** * Only the first frame of the animation is drawn. This means that the graphics for the idle state cannot be animated. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LogisticRobotPrototype.html#idle_with_cargo Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LogisticRobotPrototype.html#idle_with_cargo Online documentation} */ idle_with_cargo?: RotatedAnimation /** * Only the first frame of the animation is drawn. This means that the graphics for the in_motion state cannot be animated. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LogisticRobotPrototype.html#in_motion_with_cargo Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LogisticRobotPrototype.html#in_motion_with_cargo Online documentation} */ in_motion_with_cargo?: RotatedAnimation /** * Only the first frame of the animation is drawn. This means that the graphics for the idle state cannot be animated. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LogisticRobotPrototype.html#shadow_idle_with_cargo Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LogisticRobotPrototype.html#shadow_idle_with_cargo Online documentation} */ shadow_idle_with_cargo?: RotatedAnimation /** * Only the first frame of the animation is drawn. This means that the graphics for the in_motion state cannot be animated. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LogisticRobotPrototype.html#shadow_in_motion_with_cargo Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LogisticRobotPrototype.html#shadow_in_motion_with_cargo Online documentation} */ shadow_in_motion_with_cargo?: RotatedAnimation /** @@ -9058,7 +9072,7 @@ declare module "factorio:prototype" { * Must have a collision box size of zero. * @example * collision_box = {{0, 0}, {0, 0}} - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LogisticRobotPrototype.html#collision_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LogisticRobotPrototype.html#collision_box Online documentation} */ collision_box?: BoundingBox } @@ -9066,14 +9080,14 @@ declare module "factorio:prototype" { readonly type: "map-gen-presets" /** * Name of the map gen presets. Base game uses "default". - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/MapGenPresets.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/MapGenPresets.html#name Online documentation} */ name: string } export interface MapGenPresetsCustomProperties { /** * Presets are defined as uniquely named {@link MapGenPreset} properties of the prototype. Zero or more named presets can be specified within the prototype. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/MapGenPresets.html#custom_properties Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/MapGenPresets.html#custom_properties Online documentation} */ [key: string]: MapGenPreset } @@ -9129,20 +9143,20 @@ declare module "factorio:prototype" { * } * } * } - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/MapGenPresets.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/MapGenPresets.html Online documentation} */ export type MapGenPresets = MapGenPresetsMembers & MapGenPresetsCustomProperties /** * The default map settings. * * _Prototype limited to **1** total instances_ - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/MapSettings.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/MapSettings.html Online documentation} */ export interface MapSettings { readonly type: "map-settings" /** * Name of the map-settings. Base game uses "map-settings". - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/MapSettings.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/MapSettings.html#name Online documentation} */ name: string pollution: PollutionSettings @@ -9152,7 +9166,7 @@ declare module "factorio:prototype" { path_finder: PathFinderSettings /** * If a behavior fails this many times, the enemy (or enemy group) is destroyed. This solves biters stuck within their own base. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/MapSettings.html#max_failed_behavior_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/MapSettings.html#max_failed_behavior_count Online documentation} */ max_failed_behavior_count: uint32 difficulty_settings: DifficultySettings @@ -9160,7 +9174,7 @@ declare module "factorio:prototype" { } /** * Offers can be added to a market and they are shown when opening the entity. Offers allow to spend items to get research bonuses or items. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/MarketPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/MarketPrototype.html Online documentation} */ export interface MarketPrototype extends EntityWithOwnerPrototype { type: "market" @@ -9169,79 +9183,79 @@ declare module "factorio:prototype" { * **Default:** `true` * * Whether all forces are allowed to open this market. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/MarketPrototype.html#allow_access_to_all_forces Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/MarketPrototype.html#allow_access_to_all_forces Online documentation} */ allow_access_to_all_forces?: boolean } /** * A mining drill for automatically extracting resources from {@link ResourceEntityPrototype resource entities}. This prototype type is used by {@linkplain https://wiki.factorio.com/Burner_mining_drill burner mining drill}, {@linkplain https://wiki.factorio.com/Electric_mining_drill electric mining drill} and {@linkplain https://wiki.factorio.com/Pumpjack pumpjack} in vanilla. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/MiningDrillPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/MiningDrillPrototype.html Online documentation} */ export interface MiningDrillPrototype extends EntityWithOwnerPrototype { type: "mining-drill" /** * The position where any item results are placed, when the mining drill is facing north (default direction). If the drill does not produce any solid items but uses a fluidbox output instead (e.g. pumpjacks), a vector of `{0,0}` disables the yellow arrow alt-mode indicator for the placed item location. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/MiningDrillPrototype.html#vector_to_place_result Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/MiningDrillPrototype.html#vector_to_place_result Online documentation} */ vector_to_place_result: Vector /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/MiningDrillPrototype.html#use_mirroring Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/MiningDrillPrototype.html#use_mirroring Online documentation} */ use_mirroring?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/MiningDrillPrototype.html#require_resources_to_place Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/MiningDrillPrototype.html#require_resources_to_place Online documentation} */ require_resources_to_place?: boolean /** * The distance from the center of the mining drill to search for resources in. * * This is 2.49 for electric mining drills (a 5x5 area) and 0.99 for burner mining drills (a 2x2 area). The drill searches resource outside its natural boundary box, which is 0.01 (the middle of the entity); making it 2.5 and 1.0 gives it another block radius. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/MiningDrillPrototype.html#resource_searching_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/MiningDrillPrototype.html#resource_searching_radius Online documentation} */ resource_searching_radius: double /** * **Default:** ``{0, 0}`` * * Offset of the `resource_searching_radius` from the entity center when the mining drill is facing north. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/MiningDrillPrototype.html#resource_searching_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/MiningDrillPrototype.html#resource_searching_offset Online documentation} */ resource_searching_offset?: Vector /** * The amount of energy used by the drill while mining. Can't be less than or equal to 0. * @example * energy_usage = "150kW" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/MiningDrillPrototype.html#energy_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/MiningDrillPrototype.html#energy_usage Online documentation} */ energy_usage: Energy /** * The speed of this drill. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/MiningDrillPrototype.html#mining_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/MiningDrillPrototype.html#mining_speed Online documentation} */ mining_speed: double /** * The energy source of this mining drill. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/MiningDrillPrototype.html#energy_source Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/MiningDrillPrototype.html#energy_source Online documentation} */ energy_source: EnergySource /** * The names of the {@link ResourceCategory} that can be mined by this drill. For a list of built-in categories, see {@linkplain https://wiki.factorio.com/Data.raw#resource-category here}. * * Note: Categories containing resources which produce items, fluids, or items+fluids may be combined on the same entity, but may not work as expected. Examples: Miner does not rotate fluid-resulting resources until depletion. Fluid isn't output (fluid resource change and fluidbox matches previous fluid). Miner with no `vector_to_place_result` can't output an item result and halts. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/MiningDrillPrototype.html#resource_categories Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/MiningDrillPrototype.html#resource_categories Online documentation} */ resource_categories: readonly ResourceCategoryID[] output_fluid_box?: FluidBox input_fluid_box?: FluidBox /** * Only loaded if `input_fluid_box` is defined. If specified, an input fluid below this temperature will cause the mining drill to stop working. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/MiningDrillPrototype.html#minimum_input_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/MiningDrillPrototype.html#minimum_input_temperature Online documentation} */ minimum_input_temperature?: float /** * Only loaded if `input_fluid_box` is defined. If specified, an input fluid above this temperature will cause the mining drill to stop working. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/MiningDrillPrototype.html#maximum_input_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/MiningDrillPrototype.html#maximum_input_temperature Online documentation} */ maximum_input_temperature?: float graphics_set?: MiningDrillGraphicsSet @@ -9250,104 +9264,104 @@ declare module "factorio:prototype" { wet_mining_graphics_set_flipped?: MiningDrillGraphicsSet /** * Affects animation speed. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/MiningDrillPrototype.html#perceived_performance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/MiningDrillPrototype.html#perceived_performance Online documentation} */ perceived_performance?: PerceivedPerformance effect_receiver?: EffectReceiver /** * The number of module slots in this machine. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/MiningDrillPrototype.html#module_slots Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/MiningDrillPrototype.html#module_slots Online documentation} */ module_slots?: ItemStackIndex /** * **Default:** `false` * * If set, {@link QualityPrototype#mining_drill_module_slots_bonus QualityPrototype::mining_drill_module_slots_bonus} will be added to module slots count. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/MiningDrillPrototype.html#quality_affects_module_slots Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/MiningDrillPrototype.html#quality_affects_module_slots Online documentation} */ quality_affects_module_slots?: boolean /** * **Default:** `All effects are allowed` * * Sets the {@link ModulePrototype modules} and {@link BeaconPrototype beacon} effects that are allowed to be used on this mining drill. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/MiningDrillPrototype.html#allowed_effects Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/MiningDrillPrototype.html#allowed_effects Online documentation} */ allowed_effects?: EffectTypeLimitation /** * **Default:** `All module categories are allowed` * * Sets the {@link ModuleCategory module categories} that are allowed to be inserted into this machine. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/MiningDrillPrototype.html#allowed_module_categories Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/MiningDrillPrototype.html#allowed_module_categories Online documentation} */ allowed_module_categories?: readonly ModuleCategoryID[] /** * The sprite used to show the range of the mining drill. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/MiningDrillPrototype.html#radius_visualisation_picture Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/MiningDrillPrototype.html#radius_visualisation_picture Online documentation} */ radius_visualisation_picture?: Sprite /** * **Default:** `0` * * The maximum circuit wire distance for this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/MiningDrillPrototype.html#circuit_wire_max_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/MiningDrillPrototype.html#circuit_wire_max_distance Online documentation} */ circuit_wire_max_distance?: double /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/MiningDrillPrototype.html#draw_copper_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/MiningDrillPrototype.html#draw_copper_wires Online documentation} */ draw_copper_wires?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/MiningDrillPrototype.html#draw_circuit_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/MiningDrillPrototype.html#draw_circuit_wires Online documentation} */ draw_circuit_wires?: boolean /** * **Default:** `100` * * May not be `0` or larger than `100`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/MiningDrillPrototype.html#resource_drain_rate_percent Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/MiningDrillPrototype.html#resource_drain_rate_percent Online documentation} */ resource_drain_rate_percent?: uint8 /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/MiningDrillPrototype.html#shuffle_resources_to_mine Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/MiningDrillPrototype.html#shuffle_resources_to_mine Online documentation} */ shuffle_resources_to_mine?: boolean /** * ![Space Age](https://wiki.factorio.com/images/thumb/Space_age_icon.png/16px-Space_age_icon.png) ***Space Age*** required to use. * * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/MiningDrillPrototype.html#drops_full_belt_stacks Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/MiningDrillPrototype.html#drops_full_belt_stacks Online documentation} */ drops_full_belt_stacks?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/MiningDrillPrototype.html#uses_force_mining_productivity_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/MiningDrillPrototype.html#uses_force_mining_productivity_bonus Online documentation} */ uses_force_mining_productivity_bonus?: boolean /** * **Default:** `false` * * If set, {@link QualityPrototype#mining_drill_mining_radius_bonus QualityPrototype::mining_drill_mining_radius_bonus} will be added to resource_searching_radius. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/MiningDrillPrototype.html#quality_affects_mining_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/MiningDrillPrototype.html#quality_affects_mining_radius Online documentation} */ quality_affects_mining_radius?: boolean moving_sound?: InterruptibleSound drilling_sound?: InterruptibleSound /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/MiningDrillPrototype.html#drilling_sound_animation_start_frame Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/MiningDrillPrototype.html#drilling_sound_animation_start_frame Online documentation} */ drilling_sound_animation_start_frame?: uint16 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/MiningDrillPrototype.html#drilling_sound_animation_end_frame Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/MiningDrillPrototype.html#drilling_sound_animation_end_frame Online documentation} */ drilling_sound_animation_end_frame?: uint16 /** * When this mining drill is connected to the circuit network, the resource that it is reading (either the entire resource patch, or the resource in the mining area of the drill, depending on circuit network setting), is tinted in this color when mousing over the mining drill. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/MiningDrillPrototype.html#monitor_visualization_tint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/MiningDrillPrototype.html#monitor_visualization_tint Online documentation} */ monitor_visualization_tint?: Color circuit_connector?: readonly [ @@ -9366,14 +9380,14 @@ declare module "factorio:prototype" { * **Default:** `0` * * How many filters this mining drill has. Maximum count of filtered resources in a mining drill is 5. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/MiningDrillPrototype.html#filter_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/MiningDrillPrototype.html#filter_count Online documentation} */ filter_count?: uint8 /** * **Default:** `false` * * When a save file from version 2.0.x or older is loaded and this property is `true`, entities facing east or west direction are migrated to flipped state. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/MiningDrillPrototype.html#migrate_horizontal_mirroring Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/MiningDrillPrototype.html#migrate_horizontal_mirroring Online documentation} */ migrate_horizontal_mirroring?: boolean } @@ -9394,7 +9408,7 @@ declare module "factorio:prototype" { * a_bool = true, * } * } - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ModData.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ModData.html Online documentation} */ export interface ModData extends Prototype { type: "mod-data" @@ -9402,7 +9416,7 @@ declare module "factorio:prototype" { * Arbitrary string that mods can use to declare type of data. Can be used for mod compatibility when one mod declares block of data that is expected to be discovered by another mod. * @example * data_type = "my-mod.my_structure" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ModData.html#data_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ModData.html#data_type Online documentation} */ data_type?: string data: Record @@ -9411,85 +9425,85 @@ declare module "factorio:prototype" { * A module category. The built-in categories can be found {@linkplain https://wiki.factorio.com/Data.raw#module-category here}. See {@link ModulePrototype#category ModulePrototype::category}. * * _Prototype limited to **255** total instances_ - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ModuleCategory.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ModuleCategory.html Online documentation} */ export interface ModuleCategory extends Prototype { type: "module-category" } /** * A {@linkplain https://wiki.factorio.com/Module module}. They are used to affect the capabilities of existing machines, for example by increasing the crafting speed of a {@link CraftingMachinePrototype crafting machine}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ModulePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ModulePrototype.html Online documentation} */ export interface ModulePrototype extends ItemPrototype { type: "module" /** * Used when upgrading modules: Ctrl + click modules into an entity and it will replace lower tier modules of the same category with higher tier modules. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ModulePrototype.html#category Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ModulePrototype.html#category Online documentation} */ category: ModuleCategoryID /** * Tier of the module inside its category. Used when upgrading modules: Ctrl + click modules into an entity and it will replace lower tier modules with higher tier modules if they have the same category. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ModulePrototype.html#tier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ModulePrototype.html#tier Online documentation} */ tier: uint32 /** * The effect of the module on the machine it's inserted in, such as increased pollution. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ModulePrototype.html#effect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ModulePrototype.html#effect Online documentation} */ effect: Effect /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ModulePrototype.html#requires_beacon_alt_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ModulePrototype.html#requires_beacon_alt_mode Online documentation} */ requires_beacon_alt_mode?: boolean /** * Chooses with what art style the module is shown inside {@link BeaconPrototype beacons}. See {@link BeaconModuleVisualizations#art_style BeaconModuleVisualizations::art_style}. Vanilla uses `"vanilla"` here. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ModulePrototype.html#art_style Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ModulePrototype.html#art_style Online documentation} */ art_style?: string /** - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ModulePrototype.html#beacon_tint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ModulePrototype.html#beacon_tint Online documentation} */ beacon_tint?: BeaconVisualizationTints /** * 0.0 means that no quality scaling is applied (common for penalties). 1.0 means that the full scaling of the quality prototype applies. * * Defaults to 1.0 if the module consumption effect is < 0, otherwise 0.0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ModulePrototype.html#consumption_quality_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ModulePrototype.html#consumption_quality_multiplier Online documentation} */ consumption_quality_multiplier?: float /** * 0.0 means that no quality scaling is applied (common for penalties). 1.0 means that the full scaling of the quality prototype applies. * * Defaults to 1.0 if the module speed effect is > 0, otherwise 0.0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ModulePrototype.html#speed_quality_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ModulePrototype.html#speed_quality_multiplier Online documentation} */ speed_quality_multiplier?: float /** * 0.0 means that no quality scaling is applied (common for penalties). 1.0 means that the full scaling of the quality prototype applies. * * Defaults to 1.0 if the module productivity effect is > 0, otherwise 0.0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ModulePrototype.html#productivity_quality_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ModulePrototype.html#productivity_quality_multiplier Online documentation} */ productivity_quality_multiplier?: float /** * 0.0 means that no quality scaling is applied (common for penalties). 1.0 means that the full scaling of the quality prototype applies. * * Defaults to 1.0 if the module pollution effect is < 0, otherwise 0.0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ModulePrototype.html#pollution_quality_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ModulePrototype.html#pollution_quality_multiplier Online documentation} */ pollution_quality_multiplier?: float /** * 0.0 means that no quality scaling is applied (common for penalties). 1.0 means that the full scaling of the quality prototype applies. * * Defaults to 1.0 if the module quality effect is > 0, otherwise 0.0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ModulePrototype.html#quality_quality_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ModulePrototype.html#quality_quality_multiplier Online documentation} */ quality_quality_multiplier?: float } /** * This prototype is used for receiving an achievement when the player moves a module with the cursor. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ModuleTransferAchievementPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ModuleTransferAchievementPrototype.html Online documentation} */ export interface ModuleTransferAchievementPrototype extends AchievementPrototype { type: "module-transfer-achievement" @@ -9497,21 +9511,21 @@ declare module "factorio:prototype" { * This will trigger the achievement, if this module is transferred. * @example * module = "quality-module" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ModuleTransferAchievementPrototype.html#module Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ModuleTransferAchievementPrototype.html#module Online documentation} */ module: ItemID | readonly ItemID[] /** * **Default:** `1` * * How many modules need to be transferred. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ModuleTransferAchievementPrototype.html#amount Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ModuleTransferAchievementPrototype.html#amount Online documentation} */ amount?: uint32 /** * **Default:** `false` * * If this is false, the player carries over their statistics from this achievement through all their saves. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ModuleTransferAchievementPrototype.html#limited_to_one_game Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ModuleTransferAchievementPrototype.html#limited_to_one_game Online documentation} */ limited_to_one_game?: boolean } @@ -9531,46 +9545,46 @@ declare module "factorio:prototype" { * name = "system-crosshair", * system_cursor = "crosshair" * } - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/MouseCursor.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/MouseCursor.html Online documentation} */ export interface MouseCursor { readonly type: "mouse-cursor" /** * Name of the prototype. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/MouseCursor.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/MouseCursor.html#name Online documentation} */ name: string /** * Either this or the other three properties have to be present. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/MouseCursor.html#system_cursor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/MouseCursor.html#system_cursor Online documentation} */ system_cursor?: "arrow" | "i-beam" | "crosshair" | "wait-arrow" | "size-all" | "no" | "hand" /** * Mandatory if `system_cursor` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/MouseCursor.html#filename Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/MouseCursor.html#filename Online documentation} */ filename?: FileName /** * Mandatory if `system_cursor` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/MouseCursor.html#hot_pixel_x Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/MouseCursor.html#hot_pixel_x Online documentation} */ hot_pixel_x?: int16 /** * Mandatory if `system_cursor` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/MouseCursor.html#hot_pixel_y Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/MouseCursor.html#hot_pixel_y Online documentation} */ hot_pixel_y?: int16 } /** * Used by {@linkplain https://wiki.factorio.com/Exoskeleton exoskeleton}. Increases max speed of characters or acceleration of vehicles if they have this equipment in their grid. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/MovementBonusEquipmentPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/MovementBonusEquipmentPrototype.html Online documentation} */ export interface MovementBonusEquipmentPrototype extends EquipmentPrototype { type: "movement-bonus-equipment" energy_consumption: Energy /** * Multiplier of the character speed/vehicle acceleration. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/MovementBonusEquipmentPrototype.html#movement_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/MovementBonusEquipmentPrototype.html#movement_bonus Online documentation} */ movement_bonus: double } @@ -9581,48 +9595,48 @@ declare module "factorio:prototype" { * * Alternate expressions can be made available in the map generator GUI by setting their `intended_property` to the name of the property they should override. * - * Named noise expressions can also be used as {@linkplain https://lua-api.factorio.com/2.1.22/auxiliary/noise-expressions.html noise variables} e.g. `var("my-noise-expression")`. + * Named noise expressions can also be used as {@linkplain https://lua-api.factorio.com/2.1.24/auxiliary/noise-expressions.html noise variables} e.g. `var("my-noise-expression")`. * @example * { * type = "noise-expression", * name = "distance", * expression = "distance_from_nearest_point{x = x, y = y, points = starting_positions}" * } - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/NamedNoiseExpression.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/NamedNoiseExpression.html Online documentation} */ export interface NamedNoiseExpression extends Prototype { type: "noise-expression" /** * The noise expression itself. This is where most of the noise magic happens. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/NamedNoiseExpression.html#expression Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/NamedNoiseExpression.html#expression Online documentation} */ expression: NoiseExpression /** * A map of expression name to expression. * * Local expressions are meant to store data locally similar to local variables in Lua. Their purpose is to hold noise expressions used multiple times in the named noise expression, or just to tell the reader that the local expression has a specific purpose. Local expressions can access other local definitions, but recursive definitions aren't supported. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/NamedNoiseExpression.html#local_expressions Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/NamedNoiseExpression.html#local_expressions Online documentation} */ local_expressions?: Record /** * A map of function name to function. * * Local functions serve the same purpose as local expressions - they aren't visible outside of the specific prototype and they have access to other local definitions. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/NamedNoiseExpression.html#local_functions Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/NamedNoiseExpression.html#local_functions Online documentation} */ local_functions?: Record /** * Names the property that this expression is intended to provide a value for, if any. This will make the expression show up as an option in the map generator GUI, unless it is the only expression with that intended property, in which case it will be hidden and selected by default. * * For example if a noise expression is intended to be used as an alternative temperature generator, `intended_property` should be "temperature". - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/NamedNoiseExpression.html#intended_property Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/NamedNoiseExpression.html#intended_property Online documentation} */ intended_property?: string /** * Used to order alternative expressions in the map generator GUI. For a given property (e.g. 'temperature'), the NamedNoiseExpression with that property's name as its `intended_property` with the lowest order will be chosen as the default in the GUI. * * If no order is specified, it defaults to "2000" if the property name matches the expression name (making it the 'technical default' generator for the property if none is specified in MapGenSettings), or "3000" otherwise. A generator defined with an order less than "2000" but with a unique name can thereby override the default generator used when creating a new map through the GUI without automatically overriding the 'technical default' generator, which is probably used by existing maps. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/NamedNoiseExpression.html#order Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/NamedNoiseExpression.html#order Online documentation} */ order?: Order } @@ -9649,7 +9663,7 @@ declare module "factorio:prototype" { * starting_lake_noise = "quick_multioctave_noise_persistence{}" * } * } - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/NamedNoiseFunction.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/NamedNoiseFunction.html Online documentation} */ export interface NamedNoiseFunction extends Prototype { type: "noise-function" @@ -9657,7 +9671,7 @@ declare module "factorio:prototype" { * The order of the parameters matters because functions can also be called with positional arguments. * * A function can't have more than 255 parameters. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/NamedNoiseFunction.html#parameters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/NamedNoiseFunction.html#parameters Online documentation} */ parameters: readonly string[] expression: NoiseExpression @@ -9665,20 +9679,20 @@ declare module "factorio:prototype" { * A map of expression name to expression. * * Local expressions are meant to store data locally similar to local variables in Lua. Their purpose is to hold noise expressions used multiple times in the named noise expression, or just to tell the reader that the local expression has a specific purpose. Local expressions can access other local definitions and also function parameters, but recursive definitions aren't supported. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/NamedNoiseFunction.html#local_expressions Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/NamedNoiseFunction.html#local_expressions Online documentation} */ local_expressions?: Record /** * A map of function name to function. * * Local functions serve the same purpose as local expressions - they aren't visible outside of the specific prototype and they have access to other local definitions. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/NamedNoiseFunction.html#local_functions Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/NamedNoiseFunction.html#local_functions Online documentation} */ local_functions?: Record } /** * Used by {@linkplain https://wiki.factorio.com/Nightvision nightvision}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/NightVisionEquipmentPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/NightVisionEquipmentPrototype.html Online documentation} */ export interface NightVisionEquipmentPrototype extends EquipmentPrototype { type: "night-vision-equipment" @@ -9688,14 +9702,14 @@ declare module "factorio:prototype" { * **Default:** `0.5` * * Must be >= 0 and <= 1. By default, this equipment turns on when `surface_darkness >= darkness_to_turn_on`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/NightVisionEquipmentPrototype.html#darkness_to_turn_on Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/NightVisionEquipmentPrototype.html#darkness_to_turn_on Online documentation} */ darkness_to_turn_on?: float /** * **Default:** `false` * * If `true`, this equipment turns on when `surface_darkness <= darkness_to_turn_on`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/NightVisionEquipmentPrototype.html#sunglasses Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/NightVisionEquipmentPrototype.html#sunglasses Online documentation} */ sunglasses?: boolean activate_sound?: Sound @@ -9703,20 +9717,20 @@ declare module "factorio:prototype" { } /** * An {@linkplain https://wiki.factorio.com/Offshore_pump offshore pump}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/OffshorePumpPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/OffshorePumpPrototype.html Online documentation} */ export interface OffshorePumpPrototype extends EntityWithOwnerPrototype { type: "offshore-pump" fluid_box: FluidBox /** * How many units of fluid are produced per tick. Must be > 0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/OffshorePumpPrototype.html#pumping_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/OffshorePumpPrototype.html#pumping_speed Online documentation} */ pumping_speed: FluidAmount fluid_source_offset: Vector /** * Affects animation speed. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/OffshorePumpPrototype.html#perceived_performance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/OffshorePumpPrototype.html#perceived_performance Online documentation} */ perceived_performance?: PerceivedPerformance graphics_set?: OffshorePumpGraphicsSet @@ -9724,43 +9738,43 @@ declare module "factorio:prototype" { * Defines how the offshore pump is powered. * * When using an electric energy source and `drain` is not specified, it will be set to `energy_usage ÷ 30` automatically. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/OffshorePumpPrototype.html#energy_source Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/OffshorePumpPrototype.html#energy_source Online documentation} */ energy_source: EnergySource /** * Sets how much energy this offshore pump consumes. Energy usage has to be positive. * @example * energy_usage = "60kW" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/OffshorePumpPrototype.html#energy_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/OffshorePumpPrototype.html#energy_usage Online documentation} */ energy_usage: Energy /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/OffshorePumpPrototype.html#remove_on_tile_collision Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/OffshorePumpPrototype.html#remove_on_tile_collision Online documentation} */ remove_on_tile_collision?: boolean /** * **Default:** `true` * * If false, the offshore pump will not show fluid present (visually) before there is an output connected. The pump will also animate yet not show fluid when the fluid is 100% extracted (e.g. such as with a pump). - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/OffshorePumpPrototype.html#always_draw_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/OffshorePumpPrototype.html#always_draw_fluid Online documentation} */ always_draw_fluid?: boolean /** * **Default:** `0` * * The maximum circuit wire distance for this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/OffshorePumpPrototype.html#circuit_wire_max_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/OffshorePumpPrototype.html#circuit_wire_max_distance Online documentation} */ circuit_wire_max_distance?: double /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/OffshorePumpPrototype.html#draw_copper_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/OffshorePumpPrototype.html#draw_copper_wires Online documentation} */ draw_copper_wires?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/OffshorePumpPrototype.html#draw_circuit_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/OffshorePumpPrototype.html#draw_circuit_wires Online documentation} */ draw_circuit_wires?: boolean circuit_connector?: readonly [ @@ -9773,34 +9787,34 @@ declare module "factorio:prototype" { * **Default:** `true` * * When this is true, fluid pipelines will be visualized when this entity is held in the cursor. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/OffshorePumpPrototype.html#show_fluid_visualization_when_in_cursor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/OffshorePumpPrototype.html#show_fluid_visualization_when_in_cursor Online documentation} */ show_fluid_visualization_when_in_cursor?: boolean } /** * An entity with a limited lifetime that can use trigger effects. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ParticlePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ParticlePrototype.html Online documentation} */ export interface ParticlePrototype extends Prototype { type: "optimized-particle" /** * Picture variation count and individual frame count must be equal to shadow variation count. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ParticlePrototype.html#pictures Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ParticlePrototype.html#pictures Online documentation} */ pictures?: AnimationVariations /** * Can't be 1. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ParticlePrototype.html#life_time Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ParticlePrototype.html#life_time Online documentation} */ life_time: uint16 /** * Shadow variation variation count and individual frame count must be equal to picture variation count. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ParticlePrototype.html#shadows Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ParticlePrototype.html#shadows Online documentation} */ shadows?: AnimationVariations /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ParticlePrototype.html#draw_shadow_when_on_ground Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ParticlePrototype.html#draw_shadow_when_on_ground Online documentation} */ draw_shadow_when_on_ground?: boolean regular_trigger_effect?: TriggerEffect @@ -9808,52 +9822,52 @@ declare module "factorio:prototype" { ended_on_ground_trigger_effect?: TriggerEffect /** * **Default:** `"object"` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ParticlePrototype.html#render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ParticlePrototype.html#render_layer Online documentation} */ render_layer?: RenderLayer /** * **Default:** `"lower-object"` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ParticlePrototype.html#render_layer_when_on_ground Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ParticlePrototype.html#render_layer_when_on_ground Online documentation} */ render_layer_when_on_ground?: RenderLayer /** * **Default:** `0` * * Can't be 1. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ParticlePrototype.html#regular_trigger_effect_frequency Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ParticlePrototype.html#regular_trigger_effect_frequency Online documentation} */ regular_trigger_effect_frequency?: uint32 /** * **Default:** `0.8` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ParticlePrototype.html#movement_modifier_when_on_ground Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ParticlePrototype.html#movement_modifier_when_on_ground Online documentation} */ movement_modifier_when_on_ground?: float /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ParticlePrototype.html#movement_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ParticlePrototype.html#movement_modifier Online documentation} */ movement_modifier?: float /** * **Default:** `-0.004` * * Has to be >= -0.01 and <= 0.01. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ParticlePrototype.html#vertical_acceleration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ParticlePrototype.html#vertical_acceleration Online documentation} */ vertical_acceleration?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ParticlePrototype.html#mining_particle_frame_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ParticlePrototype.html#mining_particle_frame_speed Online documentation} */ mining_particle_frame_speed?: float /** * Defaults to `life_time` / 5, but at most 60. If this is 0, it is silently changed to 1. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ParticlePrototype.html#fade_away_duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ParticlePrototype.html#fade_away_duration Online documentation} */ fade_away_duration?: uint16 } /** * Creates particles. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ParticleSourcePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ParticleSourcePrototype.html Online documentation} */ export interface ParticleSourcePrototype extends EntityPrototype { type: "particle-source" @@ -9864,37 +9878,37 @@ declare module "factorio:prototype" { horizontal_speed: float /** * Mandatory if `smoke` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ParticleSourcePrototype.html#particle Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ParticleSourcePrototype.html#particle Online documentation} */ particle?: ParticleID /** * Mandatory if `particle` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ParticleSourcePrototype.html#smoke Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ParticleSourcePrototype.html#smoke Online documentation} */ smoke?: readonly SmokeSource[] /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ParticleSourcePrototype.html#time_to_live_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ParticleSourcePrototype.html#time_to_live_deviation Online documentation} */ time_to_live_deviation?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ParticleSourcePrototype.html#time_before_start_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ParticleSourcePrototype.html#time_before_start_deviation Online documentation} */ time_before_start_deviation?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ParticleSourcePrototype.html#height_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ParticleSourcePrototype.html#height_deviation Online documentation} */ height_deviation?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ParticleSourcePrototype.html#vertical_speed_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ParticleSourcePrototype.html#vertical_speed_deviation Online documentation} */ vertical_speed_deviation?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ParticleSourcePrototype.html#horizontal_speed_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ParticleSourcePrototype.html#horizontal_speed_deviation Online documentation} */ horizontal_speed_deviation?: float /** @@ -9903,41 +9917,41 @@ declare module "factorio:prototype" { * The entity with the higher number is selectable before the entity with the lower number. * * The value `0` will be treated the same as `nil`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ParticleSourcePrototype.html#selection_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ParticleSourcePrototype.html#selection_priority Online documentation} */ selection_priority?: uint8 } /** * An entity to transport fluids over a distance and between machines. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PipePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PipePrototype.html Online documentation} */ export interface PipePrototype extends EntityWithOwnerPrototype { type: "infinity-pipe" | "pipe" /** * The area of the entity where fluid/gas inputs, and outputs. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PipePrototype.html#fluid_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PipePrototype.html#fluid_box Online documentation} */ fluid_box: FluidBox horizontal_window_bounding_box: BoundingBox vertical_window_bounding_box: BoundingBox /** * All graphics for this pipe. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PipePrototype.html#pictures Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PipePrototype.html#pictures Online documentation} */ pictures?: PipePictures /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PipePrototype.html#circuit_wire_max_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PipePrototype.html#circuit_wire_max_distance Online documentation} */ circuit_wire_max_distance?: double /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PipePrototype.html#draw_copper_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PipePrototype.html#draw_copper_wires Online documentation} */ draw_copper_wires?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PipePrototype.html#draw_circuit_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PipePrototype.html#draw_circuit_wires Online documentation} */ draw_circuit_wires?: boolean circuit_connector?: readonly [ @@ -9951,13 +9965,13 @@ declare module "factorio:prototype" { * **Default:** `true` * * When this is true, fluid pipelines will be visualized when this entity is held in the cursor. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PipePrototype.html#show_fluid_visualization_when_in_cursor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PipePrototype.html#show_fluid_visualization_when_in_cursor Online documentation} */ show_fluid_visualization_when_in_cursor?: boolean } /** * A {@linkplain https://wiki.factorio.com/Pipe_to_ground pipe to ground}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PipeToGroundPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PipeToGroundPrototype.html Online documentation} */ export interface PipeToGroundPrototype extends EntityWithOwnerPrototype { type: "pipe-to-ground" @@ -9974,17 +9988,17 @@ declare module "factorio:prototype" { ] /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PipeToGroundPrototype.html#circuit_wire_max_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PipeToGroundPrototype.html#circuit_wire_max_distance Online documentation} */ circuit_wire_max_distance?: double /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PipeToGroundPrototype.html#draw_copper_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PipeToGroundPrototype.html#draw_copper_wires Online documentation} */ draw_copper_wires?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PipeToGroundPrototype.html#draw_circuit_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PipeToGroundPrototype.html#draw_circuit_wires Online documentation} */ draw_circuit_wires?: boolean default_fluid_temperature_signal?: SignalIDConnector @@ -9992,14 +10006,14 @@ declare module "factorio:prototype" { * **Default:** `false` * * Causes fluid icon to always be drawn, ignoring the usual pair requirement. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PipeToGroundPrototype.html#draw_fluid_icon_override Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PipeToGroundPrototype.html#draw_fluid_icon_override Online documentation} */ draw_fluid_icon_override?: boolean /** * **Default:** `true` * * When this is true, fluid pipelines will be visualized when this entity is held in the cursor. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PipeToGroundPrototype.html#show_fluid_visualization_when_in_cursor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PipeToGroundPrototype.html#show_fluid_visualization_when_in_cursor Online documentation} */ show_fluid_visualization_when_in_cursor?: boolean } @@ -10010,14 +10024,14 @@ declare module "factorio:prototype" { limit_equip_quality: QualityID /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PlaceEquipmentAchievementPrototype.html#amount Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PlaceEquipmentAchievementPrototype.html#amount Online documentation} */ amount?: uint32 /** * **Default:** `false` * * If this is false, the player carries over their statistics from this achievement through all their saves. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PlaceEquipmentAchievementPrototype.html#limited_to_one_game Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PlaceEquipmentAchievementPrototype.html#limited_to_one_game Online documentation} */ limited_to_one_game?: boolean } @@ -10025,14 +10039,14 @@ declare module "factorio:prototype" { type: "planet" /** * **Default:** `CRC checksum of `name`` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PlanetPrototype.html#map_seed_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PlanetPrototype.html#map_seed_offset Online documentation} */ map_seed_offset?: uint32 /** * ![Space Age](https://wiki.factorio.com/images/thumb/Space_age_icon.png/16px-Space_age_icon.png) ***Space Age*** required to use. * * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PlanetPrototype.html#entities_require_heating Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PlanetPrototype.html#entities_require_heating Online documentation} */ entities_require_heating?: boolean pollutant_type?: AirbornePollutantID @@ -10041,7 +10055,7 @@ declare module "factorio:prototype" { player_effects?: Trigger /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PlanetPrototype.html#ticks_between_player_effects Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PlanetPrototype.html#ticks_between_player_effects Online documentation} */ ticks_between_player_effects?: MapTick map_gen_settings?: PlanetPrototypeMapGenSettings @@ -10050,35 +10064,35 @@ declare module "factorio:prototype" { } /** * ![Space Age](https://wiki.factorio.com/images/thumb/Space_age_icon.png/16px-Space_age_icon.png) ***Space Age*** required to use. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PlantPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PlantPrototype.html Online documentation} */ export interface PlantPrototype extends TreePrototype { type: "plant" /** * Must be positive. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PlantPrototype.html#growth_ticks Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PlantPrototype.html#growth_ticks Online documentation} */ growth_ticks: MapTick /** * The burst of pollution to emit when the plant is harvested. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PlantPrototype.html#harvest_emissions Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PlantPrototype.html#harvest_emissions Online documentation} */ harvest_emissions?: Record agricultural_tower_tint?: RecipeTints /** * If defined, it can't be empty. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PlantPrototype.html#growth_variations Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PlantPrototype.html#growth_variations Online documentation} */ growth_variations?: readonly TreeGrowth[] /** * Mound sprite drawn under growing trees which fades close to full growth. If defined, it can't be empty. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PlantPrototype.html#growth_mounds Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PlantPrototype.html#growth_mounds Online documentation} */ growth_mounds?: readonly Sprite[] } /** * This prototype is used for receiving an achievement when the player receives damage. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PlayerDamagedAchievementPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PlayerDamagedAchievementPrototype.html Online documentation} */ export interface PlayerDamagedAchievementPrototype extends AchievementPrototype { type: "player-damaged-achievement" @@ -10086,14 +10100,14 @@ declare module "factorio:prototype" { * This will trigger the achievement, if the amount of damage taken by the dealer, is more than this. * @example * minimum_damage = 500 - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PlayerDamagedAchievementPrototype.html#minimum_damage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PlayerDamagedAchievementPrototype.html#minimum_damage Online documentation} */ minimum_damage: float /** * This sets the achievement to only trigger, if you survive the minimum amount of damage. If you don't need to survive, false. * @example * should_survive = true - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PlayerDamagedAchievementPrototype.html#should_survive Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PlayerDamagedAchievementPrototype.html#should_survive Online documentation} */ should_survive: boolean /** @@ -10102,14 +10116,14 @@ declare module "factorio:prototype" { * This will trigger the achievement, if the player takes damage from this specific entity type. * @example * type_of_dealer = "locomotive" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PlayerDamagedAchievementPrototype.html#type_of_dealer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PlayerDamagedAchievementPrototype.html#type_of_dealer Online documentation} */ type_of_dealer?: string } /** * Deprecated in 2.0. * @deprecated - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PlayerPortPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PlayerPortPrototype.html Online documentation} */ export interface PlayerPortPrototype extends EntityWithOwnerPrototype { /** @@ -10123,13 +10137,13 @@ declare module "factorio:prototype" { * The entity with the higher number is selectable before the entity with the lower number. * * The value `0` will be treated the same as `nil`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PlayerPortPrototype.html#selection_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PlayerPortPrototype.html#selection_priority Online documentation} */ selection_priority?: uint8 } /** * A {@linkplain https://wiki.factorio.com/Power_switch power switch}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PowerSwitchPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PowerSwitchPrototype.html Online documentation} */ export interface PowerSwitchPrototype extends EntityWithOwnerPrototype { type: "power-switch" @@ -10145,17 +10159,17 @@ declare module "factorio:prototype" { right_wire_connection_point: WireConnectionPoint /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PowerSwitchPrototype.html#wire_max_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PowerSwitchPrototype.html#wire_max_distance Online documentation} */ wire_max_distance?: double /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PowerSwitchPrototype.html#draw_copper_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PowerSwitchPrototype.html#draw_copper_wires Online documentation} */ draw_copper_wires?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PowerSwitchPrototype.html#draw_circuit_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PowerSwitchPrototype.html#draw_circuit_wires Online documentation} */ draw_circuit_wires?: boolean } @@ -10163,7 +10177,7 @@ declare module "factorio:prototype" { * Helps {@link ProcessionLayer ProcessionLayers} pass properties between subsequent transitions if they belong to the same group. * * _Prototype limited to **255** total instances_ - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ProcessionLayerInheritanceGroup.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ProcessionLayerInheritanceGroup.html Online documentation} */ export interface ProcessionLayerInheritanceGroup extends Prototype { type: "procession-layer-inheritance-group" @@ -10172,23 +10186,23 @@ declare module "factorio:prototype" { } /** * Describes the duration and visuals of a departure, arrival or an intermezzo while traveling between surfaces. Usually provided inside of a {@link ProcessionSet}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ProcessionPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ProcessionPrototype.html Online documentation} */ export interface ProcessionPrototype extends Prototype { type: "procession" /** * Used when leaving or arriving to a station. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ProcessionPrototype.html#timeline Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ProcessionPrototype.html#timeline Online documentation} */ timeline: ProcessionTimeline /** * Used alternatively when landing to ground. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ProcessionPrototype.html#ground_timeline Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ProcessionPrototype.html#ground_timeline Online documentation} */ ground_timeline?: ProcessionTimeline /** * Arrival and Departure are to be referenced by name. All intermezzos are collected during loading and filled in by `procession_style`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ProcessionPrototype.html#usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ProcessionPrototype.html#usage Online documentation} */ usage: "departure" | "arrival" | "intermezzo" /** @@ -10199,13 +10213,13 @@ declare module "factorio:prototype" { * Surface B has arrivals: [2, 3, 5] * This trip will select: * Departure 3 -> (Intermezzo 3) -> Arrival 3 - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ProcessionPrototype.html#procession_style Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ProcessionPrototype.html#procession_style Online documentation} */ procession_style: uint32 | readonly uint32[] } /** * This prototype is used for receiving an achievement when the player produces more than the specified amount of items. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ProduceAchievementPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ProduceAchievementPrototype.html Online documentation} */ export interface ProduceAchievementPrototype extends AchievementPrototype { type: "produce-achievement" @@ -10213,12 +10227,12 @@ declare module "factorio:prototype" { * This will set the amount of items or fluids needed to craft, for the player to complete the achievement. * @example * amount = 100 - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ProduceAchievementPrototype.html#amount Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ProduceAchievementPrototype.html#amount Online documentation} */ amount: MaterialAmountType /** * If this is false, the player carries over their statistics from this achievement through all their saves. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ProduceAchievementPrototype.html#limited_to_one_game Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ProduceAchievementPrototype.html#limited_to_one_game Online documentation} */ limited_to_one_game: boolean /** @@ -10227,7 +10241,7 @@ declare module "factorio:prototype" { * This will tell the achievement what item the player needs to craft, to get the achievement. * @example * item_product = "pistol" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ProduceAchievementPrototype.html#item_product Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ProduceAchievementPrototype.html#item_product Online documentation} */ item_product?: ItemIDFilter /** @@ -10236,13 +10250,13 @@ declare module "factorio:prototype" { * This will tell the achievement what fluid the player needs to craft, to get the achievement. * @example * fluid_product = "heavy-oil" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ProduceAchievementPrototype.html#fluid_product Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ProduceAchievementPrototype.html#fluid_product Online documentation} */ fluid_product?: FluidID } /** * This prototype is used for receiving an achievement when the player crafts a specified item a certain amount, in an hour. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ProducePerHourAchievementPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ProducePerHourAchievementPrototype.html Online documentation} */ export interface ProducePerHourAchievementPrototype extends AchievementPrototype { type: "produce-per-hour-achievement" @@ -10250,7 +10264,7 @@ declare module "factorio:prototype" { * This is how much the player has to craft in an hour, to receive the achievement. * @example * amount = 1000 - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ProducePerHourAchievementPrototype.html#amount Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ProducePerHourAchievementPrototype.html#amount Online documentation} */ amount: MaterialAmountType /** @@ -10259,7 +10273,7 @@ declare module "factorio:prototype" { * This will tell the achievement what item the player needs to craft, to get the achievement. * @example * item_product = "landfill" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ProducePerHourAchievementPrototype.html#item_product Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ProducePerHourAchievementPrototype.html#item_product Online documentation} */ item_product?: ItemIDFilter /** @@ -10268,13 +10282,13 @@ declare module "factorio:prototype" { * This will tell the achievement what fluid the player needs to craft, to get the achievement. * @example * fluid_product = "light-oil" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ProducePerHourAchievementPrototype.html#fluid_product Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ProducePerHourAchievementPrototype.html#fluid_product Online documentation} */ fluid_product?: FluidID } /** * A {@linkplain https://wiki.factorio.com/Programmable_speaker programmable speaker}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ProgrammableSpeakerPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ProgrammableSpeakerPrototype.html Online documentation} */ export interface ProgrammableSpeakerPrototype extends EntityWithOwnerPrototype { type: "programmable-speaker" @@ -10283,40 +10297,40 @@ declare module "factorio:prototype" { sprite?: Sprite maximum_polyphony: uint32 /** - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ProgrammableSpeakerPrototype.html#instruments Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ProgrammableSpeakerPrototype.html#instruments Online documentation} */ instruments: readonly ProgrammableSpeakerInstrument[] /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ProgrammableSpeakerPrototype.html#audible_distance_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ProgrammableSpeakerPrototype.html#audible_distance_modifier Online documentation} */ audible_distance_modifier?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ProgrammableSpeakerPrototype.html#circuit_wire_max_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ProgrammableSpeakerPrototype.html#circuit_wire_max_distance Online documentation} */ circuit_wire_max_distance?: double /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ProgrammableSpeakerPrototype.html#draw_copper_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ProgrammableSpeakerPrototype.html#draw_copper_wires Online documentation} */ draw_copper_wires?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ProgrammableSpeakerPrototype.html#draw_circuit_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ProgrammableSpeakerPrototype.html#draw_circuit_wires Online documentation} */ draw_circuit_wires?: boolean circuit_connector?: CircuitConnectorDefinition } /** * Entity with limited lifetime that can hit other entities and has triggers when this happens. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ProjectilePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ProjectilePrototype.html Online documentation} */ export interface ProjectilePrototype extends EntityPrototype { type: "projectile" /** * Must be != 0 if `turning_speed_increases_exponentially_with_projectile_speed` is true. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ProjectilePrototype.html#acceleration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ProjectilePrototype.html#acceleration Online documentation} */ acceleration: double animation?: RotatedAnimationVariations @@ -10324,84 +10338,84 @@ declare module "factorio:prototype" { * **Default:** `true` * * Whether the animation of the projectile is rotated to match the direction of travel. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ProjectilePrototype.html#rotatable Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ProjectilePrototype.html#rotatable Online documentation} */ rotatable?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ProjectilePrototype.html#enable_drawing_with_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ProjectilePrototype.html#enable_drawing_with_mask Online documentation} */ enable_drawing_with_mask?: boolean /** * **Default:** `false` * * Setting this to true can be used to disable projectile homing behaviour. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ProjectilePrototype.html#direction_only Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ProjectilePrototype.html#direction_only Online documentation} */ direction_only?: boolean /** * **Default:** `false` * * When true the entity is hit at the position on its collision box the projectile first collides with. When false the entity is hit at its own position. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ProjectilePrototype.html#hit_at_collision_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ProjectilePrototype.html#hit_at_collision_position Online documentation} */ hit_at_collision_position?: boolean /** * **Default:** `"all"` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ProjectilePrototype.html#force_condition Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ProjectilePrototype.html#force_condition Online documentation} */ force_condition?: ForceCondition /** * **Default:** `0` * * Whenever an entity is hit by the projectile, this number gets reduced by the health of the entity. If the number is then below 0, the `final_action` is applied and the projectile destroyed. Otherwise, the projectile simply continues to its destination. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ProjectilePrototype.html#piercing_damage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ProjectilePrototype.html#piercing_damage Online documentation} */ piercing_damage?: float /** * **Default:** `MAX_DOUBLE` * * Must be greater than or equal to 0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ProjectilePrototype.html#max_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ProjectilePrototype.html#max_speed Online documentation} */ max_speed?: double /** * **Default:** `1` * * Must be greater than or equal to 0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ProjectilePrototype.html#turn_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ProjectilePrototype.html#turn_speed Online documentation} */ turn_speed?: float /** * **Default:** ``{1, 1}`` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ProjectilePrototype.html#speed_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ProjectilePrototype.html#speed_modifier Online documentation} */ speed_modifier?: Vector /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ProjectilePrototype.html#height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ProjectilePrototype.html#height Online documentation} */ height?: double /** * Executed when the projectile hits something. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ProjectilePrototype.html#action Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ProjectilePrototype.html#action Online documentation} */ action?: Trigger /** * Executed when the projectile hits something, after `action` and only if the entity that was hit was destroyed. The projectile is destroyed right after the final_action. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ProjectilePrototype.html#final_action Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ProjectilePrototype.html#final_action Online documentation} */ final_action?: Trigger light?: LightDefinition smoke?: readonly SmokeSource[] /** * Defaults to the mask from {@link UtilityConstants#default_collision_masks UtilityConstants::default_collision_masks} when indexed by `"projectile/hit"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ProjectilePrototype.html#hit_collision_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ProjectilePrototype.html#hit_collision_mask Online documentation} */ hit_collision_mask?: CollisionMaskConnector /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ProjectilePrototype.html#turning_speed_increases_exponentially_with_projectile_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ProjectilePrototype.html#turning_speed_increases_exponentially_with_projectile_speed Online documentation} */ turning_speed_increases_exponentially_with_projectile_speed?: boolean shadow?: RotatedAnimationVariations @@ -10411,7 +10425,7 @@ declare module "factorio:prototype" { * The entity with the higher number is selectable before the entity with the lower number. * * The value `0` will be treated the same as `nil`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ProjectilePrototype.html#selection_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ProjectilePrototype.html#selection_priority Online documentation} */ selection_priority?: uint8 } @@ -10657,87 +10671,87 @@ declare module "factorio:prototype" { * The ID type corresponding to the prototype that inherits from this. * * For example, if this is an {@link EntityPrototype}, this property's type is {@link EntityID}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/Prototype.html#factoriopedia_alternative Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/Prototype.html#factoriopedia_alternative Online documentation} */ factoriopedia_alternative?: string /** * Allows to add extra description items to the tooltip and Factoriopedia. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/Prototype.html#custom_tooltip_fields Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/Prototype.html#custom_tooltip_fields Online documentation} */ custom_tooltip_fields?: readonly CustomTooltipField[] } /** * The abstract base for prototypes. PrototypeBase defines the common features of prototypes, such as localization and order. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PrototypeBase.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PrototypeBase.html Online documentation} */ export interface PrototypeBase { /** * Specifies the kind of prototype this is. * - * For a list of all possible types, see the {@linkplain https://lua-api.factorio.com/2.1.22/prototypes.html prototype overview}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PrototypeBase.html#type Online documentation} + * For a list of all possible types, see the {@linkplain https://lua-api.factorio.com/2.1.24/prototypes.html prototype overview}. + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PrototypeBase.html#type Online documentation} */ type: PrototypeType /** * Unique textual identification of the prototype. May only contain alphanumeric characters, dashes and underscores. May not exceed a length of 200 characters. * * For a list of all names used in vanilla, see {@linkplain https://wiki.factorio.com/Data.raw data.raw}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PrototypeBase.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PrototypeBase.html#name Online documentation} */ name: string /** * **Default:** `""` * * Used to order prototypes in inventory, recipes and GUIs. May not exceed a length of 200 characters. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PrototypeBase.html#order Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PrototypeBase.html#order Online documentation} */ order?: Order /** * Overwrites the name set in the {@linkplain https://wiki.factorio.com/Tutorial:Localisation locale file}. Can be used to easily set a procedurally-generated name because the LocalisedString format allows to insert parameters into the name directly from the Lua script. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PrototypeBase.html#localised_name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PrototypeBase.html#localised_name Online documentation} */ localised_name?: LocalisedString /** * Overwrites the description set in the {@linkplain https://wiki.factorio.com/Tutorial:Localisation locale file}. The description is usually shown in the tooltip of the prototype. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PrototypeBase.html#localised_description Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PrototypeBase.html#localised_description Online documentation} */ localised_description?: LocalisedString /** * Provides additional description used in factoriopedia. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PrototypeBase.html#factoriopedia_description Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PrototypeBase.html#factoriopedia_description Online documentation} */ factoriopedia_description?: LocalisedString /** * The name of an {@link ItemSubGroup}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PrototypeBase.html#subgroup Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PrototypeBase.html#subgroup Online documentation} */ subgroup?: ItemSubGroupID /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PrototypeBase.html#hidden Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PrototypeBase.html#hidden Online documentation} */ hidden?: boolean /** * **Default:** `Value of `hidden`` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PrototypeBase.html#hidden_in_factoriopedia Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PrototypeBase.html#hidden_in_factoriopedia Online documentation} */ hidden_in_factoriopedia?: boolean /** * **Default:** `false` * * Whether the prototype is a special type which can be used to parametrize blueprints and doesn't have other function. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PrototypeBase.html#parameter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PrototypeBase.html#parameter Online documentation} */ parameter?: boolean /** * The simulation shown when looking at this prototype in the Factoriopedia GUI. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PrototypeBase.html#factoriopedia_simulation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PrototypeBase.html#factoriopedia_simulation Online documentation} */ factoriopedia_simulation?: SimulationDefinition } /** * A container that must be set to point at other entity and inventory index so it can forward all inventory interactions to the other entity. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ProxyContainerPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ProxyContainerPrototype.html Online documentation} */ export interface ProxyContainerPrototype extends EntityWithOwnerPrototype { type: "proxy-container" @@ -10745,7 +10759,7 @@ declare module "factorio:prototype" { * **Default:** `1` * * Amount of directions this container should have. Allowed values are 1, 2 and 4. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ProxyContainerPrototype.html#direction_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ProxyContainerPrototype.html#direction_count Online documentation} */ direction_count?: uint8 picture?: Sprite4Way @@ -10753,86 +10767,86 @@ declare module "factorio:prototype" { * **Default:** `true` * * If the content of the inventory should be rendered in alt mode. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ProxyContainerPrototype.html#draw_inventory_content Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ProxyContainerPrototype.html#draw_inventory_content Online documentation} */ draw_inventory_content?: boolean /** * **Default:** `0` * * The maximum circuit wire distance for this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ProxyContainerPrototype.html#circuit_wire_max_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ProxyContainerPrototype.html#circuit_wire_max_distance Online documentation} */ circuit_wire_max_distance?: double /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ProxyContainerPrototype.html#draw_copper_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ProxyContainerPrototype.html#draw_copper_wires Online documentation} */ draw_copper_wires?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ProxyContainerPrototype.html#draw_circuit_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ProxyContainerPrototype.html#draw_circuit_wires Online documentation} */ draw_circuit_wires?: boolean /** * If given, there must be exactly `direction_count` elements in the table. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ProxyContainerPrototype.html#circuit_connector Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ProxyContainerPrototype.html#circuit_connector Online documentation} */ circuit_connector?: readonly CircuitConnectorDefinition[] default_empty_slots_signal?: SignalIDConnector } /** * The pump is used to transfer fluids between tanks, fluid wagons and pipes. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PumpPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PumpPrototype.html Online documentation} */ export interface PumpPrototype extends EntityWithOwnerPrototype { type: "pump" /** * The area of the entity where fluid travels. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PumpPrototype.html#fluid_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PumpPrototype.html#fluid_box Online documentation} */ fluid_box: FluidBox /** * The type of energy the pump uses. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PumpPrototype.html#energy_source Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PumpPrototype.html#energy_source Online documentation} */ energy_source: EnergySource /** * The amount of energy the pump uses. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PumpPrototype.html#energy_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PumpPrototype.html#energy_usage Online documentation} */ energy_usage: Energy /** * The amount of fluid this pump transfers per tick. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PumpPrototype.html#pumping_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PumpPrototype.html#pumping_speed Online documentation} */ pumping_speed: FluidAmount /** * The animation for the pump. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PumpPrototype.html#animations Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PumpPrototype.html#animations Online documentation} */ animations?: Animation4Way /** * **Default:** `1 / 64.0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PumpPrototype.html#fluid_wagon_connector_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PumpPrototype.html#fluid_wagon_connector_speed Online documentation} */ fluid_wagon_connector_speed?: double /** * **Default:** `2.2` * * counts from the "start of the arm", which is `pump's position + wagon_connection_graphics.part1_to_2_shift + wagon_connection_graphics.top_pivot_shift (depending on direction)` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PumpPrototype.html#fluid_wagon_tank_valve_max_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PumpPrototype.html#fluid_wagon_tank_valve_max_distance Online documentation} */ fluid_wagon_tank_valve_max_distance?: double /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PumpPrototype.html#fluid_wagon_connector_frame_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PumpPrototype.html#fluid_wagon_connector_frame_count Online documentation} */ fluid_wagon_connector_frame_count?: uint8 /** * **Default:** `true` * * When true, pump will reduce pumping speed based on fullness of the input fluid segment. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PumpPrototype.html#flow_scaling Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PumpPrototype.html#flow_scaling Online documentation} */ flow_scaling?: boolean fluid_animation?: Animation4Way @@ -10840,17 +10854,17 @@ declare module "factorio:prototype" { frozen_patch?: Sprite4Way /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PumpPrototype.html#circuit_wire_max_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PumpPrototype.html#circuit_wire_max_distance Online documentation} */ circuit_wire_max_distance?: double /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PumpPrototype.html#draw_copper_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PumpPrototype.html#draw_copper_wires Online documentation} */ draw_copper_wires?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PumpPrototype.html#draw_circuit_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PumpPrototype.html#draw_circuit_wires Online documentation} */ draw_circuit_wires?: boolean circuit_connector?: readonly [ @@ -10867,7 +10881,7 @@ declare module "factorio:prototype" { * **Default:** `true` * * When this is true, fluid pipelines will be visualized when this entity is held in the cursor. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/PumpPrototype.html#show_fluid_visualization_when_in_cursor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/PumpPrototype.html#show_fluid_visualization_when_in_cursor Online documentation} */ show_fluid_visualization_when_in_cursor?: boolean } @@ -10875,19 +10889,19 @@ declare module "factorio:prototype" { * One quality step. Its effects are specified by the level and the various multiplier and bonus properties. Properties ending in `_multiplier` are applied multiplicatively to their base property, properties ending in `_bonus` are applied additively. * * _Prototype limited to **255** total instances_ - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/QualityPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/QualityPrototype.html Online documentation} */ export interface QualityPrototype extends Prototype { type: "quality" /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/QualityPrototype.html#draw_sprite_by_default Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/QualityPrototype.html#draw_sprite_by_default Online documentation} */ draw_sprite_by_default?: boolean color: Color /** * Requires Space Age to use level greater than `0`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/QualityPrototype.html#level Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/QualityPrototype.html#level Online documentation} */ level: uint32 next?: QualityID @@ -10899,7 +10913,7 @@ declare module "factorio:prototype" { * Probability is scaled linearly with quality effect. E.g. for `next_probability = 1`, 100% quality effect means quality is always increased, at 50% quality effect the quality is increased 50% of the time and so on. * * Must be >= 0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/QualityPrototype.html#next_probability Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/QualityPrototype.html#next_probability Online documentation} */ next_probability?: double /** @@ -10908,7 +10922,7 @@ declare module "factorio:prototype" { * Probability of additional quality increase happening after quality was increased to reach this quality in the same crafting/mining operation. * * Must be in range `[0, 1]`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/QualityPrototype.html#chain_probability Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/QualityPrototype.html#chain_probability Online documentation} */ chain_probability?: double /** @@ -10921,7 +10935,7 @@ declare module "factorio:prototype" { * Must be >= 0. * * Note: for a machine to have a negative quality effect, {@link EffectReceiver#quality_limits EffectReceiver::quality_limits} needs to be set. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/QualityPrototype.html#previous_probability Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/QualityPrototype.html#previous_probability Online documentation} */ previous_probability?: double /** @@ -10930,19 +10944,19 @@ declare module "factorio:prototype" { * Probability of additional quality decrease happening after quality was decreased to reach this quality in the same crafting/mining operation. * * Must be in range `[0, 1]`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/QualityPrototype.html#previous_chain_probability Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/QualityPrototype.html#previous_chain_probability Online documentation} */ previous_chain_probability?: double /** * Can't be an empty array. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/QualityPrototype.html#icons Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/QualityPrototype.html#icons Online documentation} */ icons?: readonly IconData[] /** * Path to the icon file. * * Only loaded, and mandatory if `icons` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/QualityPrototype.html#icon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/QualityPrototype.html#icon Online documentation} */ icon?: FileName /** @@ -10951,21 +10965,21 @@ declare module "factorio:prototype" { * The size of the square icon, in pixels. E.g. `32` for a 32px by 32px icon. Must be larger than `0`. * * Only loaded if `icons` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/QualityPrototype.html#icon_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/QualityPrototype.html#icon_size Online documentation} */ icon_size?: SpriteSizeType /** * **Default:** `1` * * Must be >= 0.01. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/QualityPrototype.html#beacon_power_usage_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/QualityPrototype.html#beacon_power_usage_multiplier Online documentation} */ beacon_power_usage_multiplier?: float /** * **Default:** `1` * * Must be in range `[0, 1]`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/QualityPrototype.html#mining_drill_resource_drain_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/QualityPrototype.html#mining_drill_resource_drain_multiplier Online documentation} */ mining_drill_resource_drain_multiplier?: float /** @@ -10974,28 +10988,28 @@ declare module "factorio:prototype" { * Must be in range `[0, 1]`. * * Only affects labs with {@link LabPrototype#uses_quality_drain_modifier LabPrototype::uses_quality_drain_modifier} set. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/QualityPrototype.html#science_pack_drain_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/QualityPrototype.html#science_pack_drain_multiplier Online documentation} */ science_pack_drain_multiplier?: float /** * Unique textual identification of the prototype. May only contain alphanumeric characters, dashes and underscores. May not exceed a length of 200 characters. * * Requires Space Age to create prototypes with name other than `normal` or `quality-unknown`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/QualityPrototype.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/QualityPrototype.html#name Online documentation} */ name: string /** * **Default:** `1 + 0.3 * `level`` * * Must be >= 0.01. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/QualityPrototype.html#default_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/QualityPrototype.html#default_multiplier Online documentation} */ default_multiplier?: double /** * **Default:** `Value of `default_multiplier`` * * Must be >= 0.01. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/QualityPrototype.html#inserter_speed_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/QualityPrototype.html#inserter_speed_multiplier Online documentation} */ inserter_speed_multiplier?: double /** @@ -11004,42 +11018,42 @@ declare module "factorio:prototype" { * Must be >= 0.01. * * Only affects fluid wagons with {@link FluidWagonPrototype#quality_affects_capacity FluidWagonPrototype::quality_affects_capacity} set. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/QualityPrototype.html#fluid_wagon_capacity_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/QualityPrototype.html#fluid_wagon_capacity_multiplier Online documentation} */ fluid_wagon_capacity_multiplier?: double /** * **Default:** `Value of `default_multiplier`` * * Must be >= 0.01. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/QualityPrototype.html#inventory_size_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/QualityPrototype.html#inventory_size_multiplier Online documentation} */ inventory_size_multiplier?: double /** * **Default:** `Value of `inventory_size_multiplier`` * * Must be >= 0.01. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/QualityPrototype.html#cargo_wagon_inventory_size_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/QualityPrototype.html#cargo_wagon_inventory_size_multiplier Online documentation} */ cargo_wagon_inventory_size_multiplier?: double /** * **Default:** `1 + 0.01 * `level`` * * Must be >= 0.01. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/QualityPrototype.html#locomotive_power_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/QualityPrototype.html#locomotive_power_multiplier Online documentation} */ locomotive_power_multiplier?: double /** * **Default:** `1 + 0.01 * `level`` * * Must be >= 0.01. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/QualityPrototype.html#rolling_stock_max_speed_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/QualityPrototype.html#rolling_stock_max_speed_multiplier Online documentation} */ rolling_stock_max_speed_multiplier?: double /** * **Default:** `Value of `default_multiplier`` * * Must be >= 0.01. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/QualityPrototype.html#lab_research_speed_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/QualityPrototype.html#lab_research_speed_multiplier Online documentation} */ lab_research_speed_multiplier?: double /** @@ -11048,7 +11062,7 @@ declare module "factorio:prototype" { * Must be >= 0.01. * * Will be ignored by crafting machines with {@link CraftingMachinePrototype#crafting_speed_quality_multiplier CraftingMachinePrototype::crafting_speed_quality_multiplier} set. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/QualityPrototype.html#crafting_machine_speed_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/QualityPrototype.html#crafting_machine_speed_multiplier Online documentation} */ crafting_machine_speed_multiplier?: double /** @@ -11059,14 +11073,14 @@ declare module "factorio:prototype" { * Only affects crafting machines with {@link CraftingMachinePrototype#quality_affects_energy_usage CraftingMachinePrototype::quality_affects_energy_usage} set. * * Will be ignored by crafting machines with {@link CraftingMachinePrototype#energy_usage_quality_multiplier CraftingMachinePrototype::energy_usage_quality_multiplier} set. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/QualityPrototype.html#crafting_machine_energy_usage_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/QualityPrototype.html#crafting_machine_energy_usage_multiplier Online documentation} */ crafting_machine_energy_usage_multiplier?: double /** * **Default:** `Value of `default_multiplier`` * * Must be >= 0.01. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/QualityPrototype.html#logistic_cell_charging_energy_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/QualityPrototype.html#logistic_cell_charging_energy_multiplier Online documentation} */ logistic_cell_charging_energy_multiplier?: double /** @@ -11075,7 +11089,7 @@ declare module "factorio:prototype" { * Must be >= 0.01. * * Affects the durability of {@link ToolPrototype tool items} like repair tools and armor. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/QualityPrototype.html#tool_durability_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/QualityPrototype.html#tool_durability_multiplier Online documentation} */ tool_durability_multiplier?: double /** @@ -11086,21 +11100,21 @@ declare module "factorio:prototype" { * Affects how much research will lab be able to do using item of that quality. * * Only used for items that are not a {@link ToolPrototype tool}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/QualityPrototype.html#science_capacity_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/QualityPrototype.html#science_capacity_multiplier Online documentation} */ science_capacity_multiplier?: double /** * **Default:** `1 + `level`` * * Must be >= 0.01. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/QualityPrototype.html#accumulator_capacity_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/QualityPrototype.html#accumulator_capacity_multiplier Online documentation} */ accumulator_capacity_multiplier?: double /** * **Default:** `1 + `level`` * * Must be >= 0.01. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/QualityPrototype.html#flying_robot_max_energy_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/QualityPrototype.html#flying_robot_max_energy_multiplier Online documentation} */ flying_robot_max_energy_multiplier?: double /** @@ -11109,7 +11123,7 @@ declare module "factorio:prototype" { * Must be within `[1, 3]`. * * Affects the range of {@link AttackParameters attack parameters}, e.g. those used by combat robots, units, guns and turrets. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/QualityPrototype.html#range_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/QualityPrototype.html#range_multiplier Online documentation} */ range_multiplier?: double /** @@ -11118,31 +11132,31 @@ declare module "factorio:prototype" { * Must be >= 0. * * Performance warning: the navigation has to pre-calculate ranges for the highest tier collector possible, so you should keep this collection radius within reasonable values. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/QualityPrototype.html#asteroid_collector_collection_radius_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/QualityPrototype.html#asteroid_collector_collection_radius_bonus Online documentation} */ asteroid_collector_collection_radius_bonus?: double /** * **Default:** `Value of `level`` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/QualityPrototype.html#equipment_grid_width_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/QualityPrototype.html#equipment_grid_width_bonus Online documentation} */ equipment_grid_width_bonus?: int16 /** * **Default:** `Value of `level`` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/QualityPrototype.html#equipment_grid_height_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/QualityPrototype.html#equipment_grid_height_bonus Online documentation} */ equipment_grid_height_bonus?: int16 /** * **Default:** `2 * `level`` * * Must be >= 0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/QualityPrototype.html#electric_pole_wire_reach_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/QualityPrototype.html#electric_pole_wire_reach_bonus Online documentation} */ electric_pole_wire_reach_bonus?: float /** * **Default:** `Value of `level`` * * Must be >= 0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/QualityPrototype.html#electric_pole_supply_area_distance_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/QualityPrototype.html#electric_pole_supply_area_distance_bonus Online documentation} */ electric_pole_supply_area_distance_bonus?: float /** @@ -11151,7 +11165,7 @@ declare module "factorio:prototype" { * Only affects beacons with {@link BeaconPrototype#quality_affects_supply_area_distance BeaconPrototype::quality_affects_supply_area_distance} set. * * Must be >= 0 and <= 64. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/QualityPrototype.html#beacon_supply_area_distance_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/QualityPrototype.html#beacon_supply_area_distance_bonus Online documentation} */ beacon_supply_area_distance_bonus?: float /** @@ -11160,42 +11174,42 @@ declare module "factorio:prototype" { * Only affects mining drills with {@link MiningDrillPrototype#quality_affects_mining_radius MiningDrillPrototype::quality_affects_mining_radius} set. * * Must be >= 0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/QualityPrototype.html#mining_drill_mining_radius_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/QualityPrototype.html#mining_drill_mining_radius_bonus Online documentation} */ mining_drill_mining_radius_bonus?: float /** * **Default:** `Value of `default_multiplier`` * * Must be >= 0.01. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/QualityPrototype.html#module_consumption_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/QualityPrototype.html#module_consumption_multiplier Online documentation} */ module_consumption_multiplier?: float /** * **Default:** `Value of `default_multiplier`` * * Must be >= 0.01. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/QualityPrototype.html#module_speed_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/QualityPrototype.html#module_speed_multiplier Online documentation} */ module_speed_multiplier?: float /** * **Default:** `Value of `default_multiplier`` * * Must be >= 0.01. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/QualityPrototype.html#module_productivity_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/QualityPrototype.html#module_productivity_multiplier Online documentation} */ module_productivity_multiplier?: float /** * **Default:** `Value of `default_multiplier`` * * Must be >= 0.01. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/QualityPrototype.html#module_pollution_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/QualityPrototype.html#module_pollution_multiplier Online documentation} */ module_pollution_multiplier?: float /** * **Default:** `Value of `default_multiplier`` * * Must be >= 0.01. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/QualityPrototype.html#module_quality_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/QualityPrototype.html#module_quality_multiplier Online documentation} */ module_quality_multiplier?: float /** @@ -11204,7 +11218,7 @@ declare module "factorio:prototype" { * Must be >= 0.01. * * Only affects items with {@link ItemPrototype#quality_affects_spoil_ticks ItemPrototype::quality_affects_spoil_ticks} set. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/QualityPrototype.html#spoil_ticks_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/QualityPrototype.html#spoil_ticks_multiplier Online documentation} */ spoil_ticks_multiplier?: float /** @@ -11213,14 +11227,14 @@ declare module "factorio:prototype" { * Only affects roboports with {@link RoboportPrototype#charging_station_count_affected_by_quality RoboportPrototype::charging_station_count_affected_by_quality} set. * * Only affects roboport equipment with {@link RoboportEquipmentPrototype#charging_station_count_affected_by_quality RoboportEquipmentPrototype::charging_station_count_affected_by_quality} set. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/QualityPrototype.html#logistic_cell_charging_station_count_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/QualityPrototype.html#logistic_cell_charging_station_count_bonus Online documentation} */ logistic_cell_charging_station_count_bonus?: uint32 /** * **Default:** `Value of `level`` * * Only affects beacons with {@link BeaconPrototype#quality_affects_module_slots BeaconPrototype::quality_affects_module_slots} set. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/QualityPrototype.html#beacon_module_slots_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/QualityPrototype.html#beacon_module_slots_bonus Online documentation} */ beacon_module_slots_bonus?: ItemStackIndex /** @@ -11229,27 +11243,27 @@ declare module "factorio:prototype" { * Only affects crafting machines with {@link CraftingMachinePrototype#quality_affects_module_slots CraftingMachinePrototype::quality_affects_module_slots} set. * * Will be ignored by crafting machines with {@link CraftingMachinePrototype#module_slots_quality_bonus CraftingMachinePrototype::module_slots_quality_bonus} set. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/QualityPrototype.html#crafting_machine_module_slots_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/QualityPrototype.html#crafting_machine_module_slots_bonus Online documentation} */ crafting_machine_module_slots_bonus?: ItemStackIndex /** * **Default:** `Value of `level`` * * Only affects mining drills with {@link MiningDrillPrototype#quality_affects_module_slots MiningDrillPrototype::quality_affects_module_slots} set. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/QualityPrototype.html#mining_drill_module_slots_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/QualityPrototype.html#mining_drill_module_slots_bonus Online documentation} */ mining_drill_module_slots_bonus?: ItemStackIndex /** * **Default:** `Value of `level`` * * Only affects labs with {@link LabPrototype#quality_affects_module_slots LabPrototype::quality_affects_module_slots} set. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/QualityPrototype.html#lab_module_slots_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/QualityPrototype.html#lab_module_slots_bonus Online documentation} */ lab_module_slots_bonus?: ItemStackIndex } /** * A {@linkplain https://wiki.factorio.com/Radar radar}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RadarPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RadarPrototype.html Online documentation} */ export interface RadarPrototype extends EntityWithOwnerPrototype { type: "radar" @@ -11257,14 +11271,14 @@ declare module "factorio:prototype" { * The amount of energy this radar uses. * @example * energy_usage = "300kW" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RadarPrototype.html#energy_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RadarPrototype.html#energy_usage Online documentation} */ energy_usage: Energy /** * The amount of energy it takes to scan a sector. This value doesn't have any effect on nearby scanning. * @example * energy_per_sector = "10MJ" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RadarPrototype.html#energy_per_sector Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RadarPrototype.html#energy_per_sector Online documentation} */ energy_per_sector: Energy /** @@ -11273,121 +11287,121 @@ declare module "factorio:prototype" { * Performance warning: nearby scan causes re-charting of many chunks, which is expensive operation. If you want to make a radar that updates map more in real time, you should keep its range low. If you are making radar with high range, you should set this value such that nearby scan is performed once a second or so. For example if you set `energy_usage` to 100kW, setting `energy_per_nearby_scan` to 100kJ will cause nearby scan to happen once per second. * @example * energy_per_nearby_scan = "250kJ" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RadarPrototype.html#energy_per_nearby_scan Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RadarPrototype.html#energy_per_nearby_scan Online documentation} */ energy_per_nearby_scan: Energy /** * The energy source for this radar. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RadarPrototype.html#energy_source Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RadarPrototype.html#energy_source Online documentation} */ energy_source: EnergySource pictures?: RotatedSprite frozen_patch?: Sprite /** * The radius of the area this radar can chart, in chunks. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RadarPrototype.html#max_distance_of_sector_revealed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RadarPrototype.html#max_distance_of_sector_revealed Online documentation} */ max_distance_of_sector_revealed: uint32 /** * The radius of the area constantly revealed by this radar, in chunks. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RadarPrototype.html#max_distance_of_nearby_sector_revealed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RadarPrototype.html#max_distance_of_nearby_sector_revealed Online documentation} */ max_distance_of_nearby_sector_revealed: uint32 /** * **Default:** `0` * * The maximum circuit wire distance for this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RadarPrototype.html#circuit_wire_max_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RadarPrototype.html#circuit_wire_max_distance Online documentation} */ circuit_wire_max_distance?: double /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RadarPrototype.html#draw_copper_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RadarPrototype.html#draw_copper_wires Online documentation} */ draw_copper_wires?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RadarPrototype.html#draw_circuit_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RadarPrototype.html#draw_circuit_wires Online documentation} */ draw_circuit_wires?: boolean circuit_connector?: CircuitConnectorDefinition radius_minimap_visualisation_color?: Color /** * **Default:** `0.01` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RadarPrototype.html#rotation_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RadarPrototype.html#rotation_speed Online documentation} */ rotation_speed?: double /** * **Default:** `true` * * If set to true, radars on the same surface will connect to other radars on the same surface using hidden wires with {@link defines.wire_origin.radars radar} origin. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RadarPrototype.html#connects_to_other_radars Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RadarPrototype.html#connects_to_other_radars Online documentation} */ connects_to_other_radars?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RadarPrototype.html#reset_orientation_when_frozen Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RadarPrototype.html#reset_orientation_when_frozen Online documentation} */ reset_orientation_when_frozen?: boolean /** * **Default:** `0.9` * * Must be between 0 and 1. Must be larger than or equal to `energy_fraction_to_disconnect`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RadarPrototype.html#energy_fraction_to_connect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RadarPrototype.html#energy_fraction_to_connect Online documentation} */ energy_fraction_to_connect?: float /** * **Default:** `0.1` * * Must be between 0 and 1. Must be less than or equal to `energy_fraction_to_connect`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RadarPrototype.html#energy_fraction_to_disconnect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RadarPrototype.html#energy_fraction_to_disconnect Online documentation} */ energy_fraction_to_disconnect?: float /** * The default channel for the circuit network connection in universe mode. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RadarPrototype.html#default_universe_channel Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RadarPrototype.html#default_universe_channel Online documentation} */ default_universe_channel?: SignalIDConnector /** * **Default:** `true` * * Whether this prototype should be a high priority target for enemy forces. See {@linkplain https://wiki.factorio.com/Military_units_and_structures Military units and structures}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RadarPrototype.html#is_military_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RadarPrototype.html#is_military_target Online documentation} */ is_military_target?: boolean } /** * A {@linkplain https://wiki.factorio.com/Rail_chain_signal rail chain signal}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RailChainSignalPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RailChainSignalPrototype.html Online documentation} */ export interface RailChainSignalPrototype extends RailSignalBasePrototype { type: "rail-chain-signal" } /** * A {@linkplain https://wiki.factorio.com/Rail_planner rail planner}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RailPlannerPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RailPlannerPrototype.html Online documentation} */ export interface RailPlannerPrototype extends ItemPrototype { type: "rail-planner" /** * May not be an empty array. Entities must be rails. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RailPlannerPrototype.html#rails Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RailPlannerPrototype.html#rails Online documentation} */ rails: readonly EntityID[] /** * Name of a rail support. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RailPlannerPrototype.html#support Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RailPlannerPrototype.html#support Online documentation} */ support?: EntityID /** * **Default:** `8 * 2 + 1.41 + 0.5` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RailPlannerPrototype.html#manual_length_limit Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RailPlannerPrototype.html#manual_length_limit Online documentation} */ manual_length_limit?: double } /** * The abstract base of all rail prototypes. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RailPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RailPrototype.html Online documentation} */ export interface RailPrototype extends EntityWithOwnerPrototype { type: @@ -11404,45 +11418,45 @@ declare module "factorio:prototype" { | "straight-rail" /** * Sound played when a character walks over this rail. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RailPrototype.html#walking_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RailPrototype.html#walking_sound Online documentation} */ walking_sound?: Sound pictures?: RailPictureSet fence_pictures?: RailFenceGraphicsSet /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RailPrototype.html#extra_planner_penalty Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RailPrototype.html#extra_planner_penalty Online documentation} */ extra_planner_penalty?: double /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RailPrototype.html#extra_planner_goal_penalty Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RailPrototype.html#extra_planner_goal_penalty Online documentation} */ extra_planner_goal_penalty?: double /** * **Default:** `0` * * Must be 0, 2 or 4. Can't be non-zero if `fence_pictures` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RailPrototype.html#forced_fence_segment_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RailPrototype.html#forced_fence_segment_count Online documentation} */ forced_fence_segment_count?: uint8 ending_shifts?: readonly Vector[] deconstruction_marker_positions?: readonly Vector[] /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RailPrototype.html#removes_soft_decoratives Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RailPrototype.html#removes_soft_decoratives Online documentation} */ removes_soft_decoratives?: boolean /** * **Default:** `2` * * Has to be 2 for 2x2 grid. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RailPrototype.html#build_grid_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RailPrototype.html#build_grid_size Online documentation} */ build_grid_size?: 2 /** * The rail {@link EntityPrototype#selection_box selection_boxes} are automatically calculated from the collision boxes, which are hardcoded. So effectively the selection boxes also hardcoded. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RailPrototype.html#selection_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RailPrototype.html#selection_box Online documentation} */ selection_box?: BoundingBox /** @@ -11451,13 +11465,13 @@ declare module "factorio:prototype" { * The entity with the higher number is selectable before the entity with the lower number. * * The value `0` will be treated the same as `nil`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RailPrototype.html#selection_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RailPrototype.html#selection_priority Online documentation} */ selection_priority?: uint8 } /** * A rail ramp. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RailRampPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RailRampPrototype.html Online documentation} */ export interface RailRampPrototype extends RailPrototype { type: "rail-ramp" @@ -11465,39 +11479,39 @@ declare module "factorio:prototype" { * **Default:** `15` * * Must be lower than 500 and at least 1. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RailRampPrototype.html#support_range Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RailRampPrototype.html#support_range Online documentation} */ support_range?: float /** * Defaults to the mask from {@link UtilityConstants#default_collision_masks UtilityConstants::default_collision_masks} when indexed by `"rail-ramp/allow_on_deep_oil_ocean"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RailRampPrototype.html#collision_mask_allow_on_deep_oil_ocean Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RailRampPrototype.html#collision_mask_allow_on_deep_oil_ocean Online documentation} */ collision_mask_allow_on_deep_oil_ocean?: CollisionMaskConnector /** * **Default:** ``{{-1.6, -7.6}, {1.6, 7.6}}`` * * The {@link EntityPrototype#collision_box collision_box} of straight rail is hardcoded to `{{-1.6, -7.6}, {1.6, 7.6}}`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RailRampPrototype.html#collision_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RailRampPrototype.html#collision_box Online documentation} */ collision_box?: BoundingBox /** * Unique textual identification of the prototype. May only contain alphanumeric characters, dashes and underscores. May not exceed a length of 200 characters. * * Requires Space Age to create prototypes with name not starting with `dummy-`. Dummy prototypes cannot be built. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RailRampPrototype.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RailRampPrototype.html#name Online documentation} */ name: string /** * **Default:** `true` * * When this is true, this entity prototype will be translucent and unselectable when "Hide tall entities" mode is active. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RailRampPrototype.html#tall Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RailRampPrototype.html#tall Online documentation} */ tall?: boolean } /** * Used for rail corpses. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RailRemnantsPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RailRemnantsPrototype.html Online documentation} */ export interface RailRemnantsPrototype extends CorpsePrototype { type: "rail-remnants" @@ -11508,20 +11522,20 @@ declare module "factorio:prototype" { * **Default:** `2` * * Has to be 2 for 2x2 grid. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RailRemnantsPrototype.html#build_grid_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RailRemnantsPrototype.html#build_grid_size Online documentation} */ build_grid_size?: 2 /** * **Default:** `Empty = `{{0, 0}, {0, 0}}`` * * "Rail remnant entities must have a non-zero {@link EntityPrototype#collision_box collision_box} defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RailRemnantsPrototype.html#collision_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RailRemnantsPrototype.html#collision_box Online documentation} */ collision_box?: BoundingBox } /** * The abstract base entity for both rail signals. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RailSignalBasePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RailSignalBasePrototype.html Online documentation} */ export interface RailSignalBasePrototype extends EntityWithOwnerPrototype { type: "rail-chain-signal" | "rail-signal" @@ -11531,17 +11545,17 @@ declare module "factorio:prototype" { * **Default:** `0` * * The maximum circuit wire distance for this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RailSignalBasePrototype.html#circuit_wire_max_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RailSignalBasePrototype.html#circuit_wire_max_distance Online documentation} */ circuit_wire_max_distance?: double /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RailSignalBasePrototype.html#draw_copper_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RailSignalBasePrototype.html#draw_copper_wires Online documentation} */ draw_copper_wires?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RailSignalBasePrototype.html#draw_circuit_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RailSignalBasePrototype.html#draw_circuit_wires Online documentation} */ draw_circuit_wires?: boolean default_red_output_signal?: SignalIDConnector @@ -11550,24 +11564,24 @@ declare module "factorio:prototype" { default_blue_output_signal?: SignalIDConnector /** * Defaults to the mask from {@link UtilityConstants#default_collision_masks UtilityConstants::default_collision_masks} when indexed by `type .. "/elevated"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RailSignalBasePrototype.html#elevated_collision_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RailSignalBasePrototype.html#elevated_collision_mask Online documentation} */ elevated_collision_mask?: CollisionMaskConnector /** * **Default:** `55` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RailSignalBasePrototype.html#elevated_selection_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RailSignalBasePrototype.html#elevated_selection_priority Online documentation} */ elevated_selection_priority?: uint8 /** * **Default:** ``{{-0.2, -0.2}, {0.2, 0.2}}`` * * The {@link EntityPrototype#collision_box collision_box} of rail signals is hardcoded to `{{-0.2, -0.2}, {0.2, 0.2}}`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RailSignalBasePrototype.html#collision_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RailSignalBasePrototype.html#collision_box Online documentation} */ collision_box?: BoundingBox /** * The "placeable-off-grid" flag will be ignored for rail signals. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RailSignalBasePrototype.html#flags Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RailSignalBasePrototype.html#flags Online documentation} */ flags?: EntityPrototypeFlags /** @@ -11576,13 +11590,13 @@ declare module "factorio:prototype" { * The entity with the higher number is selectable before the entity with the lower number. * * The value `0` will be treated the same as `nil`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RailSignalBasePrototype.html#selection_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RailSignalBasePrototype.html#selection_priority Online documentation} */ selection_priority?: uint8 } /** * A {@linkplain https://wiki.factorio.com/Rail_signal rail signal}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RailSignalPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RailSignalPrototype.html Online documentation} */ export interface RailSignalPrototype extends RailSignalBasePrototype { type: "rail-signal" @@ -11590,100 +11604,100 @@ declare module "factorio:prototype" { export interface RailSupportPrototype extends EntityWithOwnerPrototype { type: "rail-support" /** - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RailSupportPrototype.html#graphics_set Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RailSupportPrototype.html#graphics_set Online documentation} */ graphics_set: RailSupportGraphicsSet /** * **Default:** `15` * * Must be lower than 500 and at least 1. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RailSupportPrototype.html#support_range Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RailSupportPrototype.html#support_range Online documentation} */ support_range?: float /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RailSupportPrototype.html#not_buildable_if_no_rails Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RailSupportPrototype.html#not_buildable_if_no_rails Online documentation} */ not_buildable_if_no_rails?: boolean /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RailSupportPrototype.html#snap_to_spots_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RailSupportPrototype.html#snap_to_spots_distance Online documentation} */ snap_to_spots_distance?: float /** * Defaults to the mask from {@link UtilityConstants#default_collision_masks UtilityConstants::default_collision_masks} when indexed by `"rail-support/allow_on_deep_oil_ocean"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RailSupportPrototype.html#collision_mask_allow_on_deep_oil_ocean Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RailSupportPrototype.html#collision_mask_allow_on_deep_oil_ocean Online documentation} */ collision_mask_allow_on_deep_oil_ocean?: CollisionMaskConnector /** * Array must contain 8 items. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RailSupportPrototype.html#elevated_selection_boxes Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RailSupportPrototype.html#elevated_selection_boxes Online documentation} */ elevated_selection_boxes?: readonly BoundingBox[] /** * **Default:** `2` * * Has to be 2 for 2x2 grid. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RailSupportPrototype.html#build_grid_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RailSupportPrototype.html#build_grid_size Online documentation} */ build_grid_size?: 2 /** * Unique textual identification of the prototype. May only contain alphanumeric characters, dashes and underscores. May not exceed a length of 200 characters. * * Requires Space Age to create prototypes with name not starting with `dummy-`. Dummy prototypes cannot be built. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RailSupportPrototype.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RailSupportPrototype.html#name Online documentation} */ name: string } /** * A {@linkplain https://wiki.factorio.com/Reactor reactor}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ReactorPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ReactorPrototype.html Online documentation} */ export interface ReactorPrototype extends EntityWithOwnerPrototype { type: "reactor" working_light_picture?: Animation /** * The energy output as heat. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ReactorPrototype.html#heat_buffer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ReactorPrototype.html#heat_buffer Online documentation} */ heat_buffer: HeatBuffer /** * **Default:** `1` * * Must be >= 0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ReactorPrototype.html#heating_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ReactorPrototype.html#heating_radius Online documentation} */ heating_radius?: double /** * May not be a heat energy source. * * The input energy source, in vanilla it is a burner energy source. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ReactorPrototype.html#energy_source Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ReactorPrototype.html#energy_source Online documentation} */ energy_source: EnergySource /** * How much energy this reactor can consume (from the input energy source) and then output as heat. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ReactorPrototype.html#consumption Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ReactorPrototype.html#consumption Online documentation} */ consumption: Energy /** * If defined, number of variations must be at least equal to count of {@link HeatBuffer#connections connections} defined in `heat_buffer`. Each variation represents connected heat buffer connection of corresponding index. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ReactorPrototype.html#connection_patches_connected Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ReactorPrototype.html#connection_patches_connected Online documentation} */ connection_patches_connected?: SpriteVariations /** * If defined, number of variations must be at least equal to count of {@link HeatBuffer#connections connections} defined in `heat_buffer`. Each variation represents unconnected heat buffer connection of corresponding index. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ReactorPrototype.html#connection_patches_disconnected Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ReactorPrototype.html#connection_patches_disconnected Online documentation} */ connection_patches_disconnected?: SpriteVariations /** * If defined, number of variations must be at least equal to count of {@link HeatBuffer#connections connections} defined in `heat_buffer`. When reactor is heated, corresponding variations are drawn over `connection_patches_connected`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ReactorPrototype.html#heat_connection_patches_connected Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ReactorPrototype.html#heat_connection_patches_connected Online documentation} */ heat_connection_patches_connected?: SpriteVariations /** * If defined, number of variations must be at least equal to count of {@link HeatBuffer#connections connections} defined in `heat_buffer`. When reactor is heated, corresponding variations are drawn over `connection_patches_disconnected`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ReactorPrototype.html#heat_connection_patches_disconnected Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ReactorPrototype.html#heat_connection_patches_disconnected Online documentation} */ heat_connection_patches_disconnected?: SpriteVariations lower_layer_picture?: Sprite @@ -11692,60 +11706,60 @@ declare module "factorio:prototype" { light?: LightDefinition /** * The action is triggered when the reactor dies (is destroyed) at over 90% of max temperature. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ReactorPrototype.html#meltdown_action Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ReactorPrototype.html#meltdown_action Online documentation} */ meltdown_action?: Trigger /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ReactorPrototype.html#neighbour_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ReactorPrototype.html#neighbour_bonus Online documentation} */ neighbour_bonus?: double /** * **Default:** `false` * * When this is true, the reactor will stop consuming fuel/energy when the temperature has reached the maximum. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ReactorPrototype.html#scale_energy_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ReactorPrototype.html#scale_energy_usage Online documentation} */ scale_energy_usage?: boolean /** * **Default:** `false` * * Whether the reactor should use {@link ItemPrototype#fuel_glow_color fuel_glow_color} from the fuel item prototype as light color and tint for `working_light_picture`. {@linkplain https://forums.factorio.com/71121 Forum post.} - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ReactorPrototype.html#use_fuel_glow_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ReactorPrototype.html#use_fuel_glow_color Online documentation} */ use_fuel_glow_color?: boolean /** * **Default:** ``{1, 1, 1, 1} (white)`` * * When `use_fuel_glow_color` is true, this is the color used as `working_light_picture` tint for fuels that don't have glow color defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ReactorPrototype.html#default_fuel_glow_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ReactorPrototype.html#default_fuel_glow_color Online documentation} */ default_fuel_glow_color?: Color /** * The temperature above which energy icons are suppressed. Defaults to maximum double value. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ReactorPrototype.html#temperature_to_suppress_energy_icons Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ReactorPrototype.html#temperature_to_suppress_energy_icons Online documentation} */ temperature_to_suppress_energy_icons?: double /** * Defines connection points to neighbours used to compute neighbour bonus. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ReactorPrototype.html#neighbour_connectable Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ReactorPrototype.html#neighbour_connectable Online documentation} */ neighbour_connectable?: NeighbourConnectable /** * **Default:** `0` * * The maximum circuit wire distance for this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ReactorPrototype.html#circuit_wire_max_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ReactorPrototype.html#circuit_wire_max_distance Online documentation} */ circuit_wire_max_distance?: double /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ReactorPrototype.html#draw_copper_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ReactorPrototype.html#draw_copper_wires Online documentation} */ draw_copper_wires?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ReactorPrototype.html#draw_circuit_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ReactorPrototype.html#draw_circuit_wires Online documentation} */ draw_circuit_wires?: boolean circuit_connector?: CircuitConnectorDefinition @@ -11760,7 +11774,7 @@ declare module "factorio:prototype" { * type = "recipe-category", * name = "my-category" * } - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RecipeCategory.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RecipeCategory.html Online documentation} */ export interface RecipeCategory extends Prototype { type: "recipe-category" @@ -11801,7 +11815,7 @@ declare module "factorio:prototype" { * }, * allow_decomposition = false * } - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RecipePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RecipePrototype.html Online documentation} */ export interface RecipePrototype extends Prototype { type: "recipe" @@ -11815,17 +11829,17 @@ declare module "factorio:prototype" { * The array must contain at least one category, it cannot be empty. * @example * categories = {"smelting"} - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RecipePrototype.html#categories Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RecipePrototype.html#categories Online documentation} */ categories?: readonly RecipeCategoryID[] /** * Used by {@link WorkingVisualisations#working_visualisations WorkingVisualisations::working_visualisations} to tint certain layers with the recipe color. {@link WorkingVisualisation#apply_recipe_tint WorkingVisualisation::apply_recipe_tint} determines which of the four colors is used for that layer, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RecipePrototype.html#crafting_machine_tint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RecipePrototype.html#crafting_machine_tint Online documentation} */ crafting_machine_tint?: RecipeTints /** * Can't be an empty array. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RecipePrototype.html#icons Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RecipePrototype.html#icons Online documentation} */ icons?: readonly IconData[] /** @@ -11836,7 +11850,7 @@ declare module "factorio:prototype" { * Mandatory if `icons` is not defined for a recipe with more than one product and no `main_product`, or no product. * @example * icon = "__base__/graphics/icons/fluid/heavy-oil.png" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RecipePrototype.html#icon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RecipePrototype.html#icon Online documentation} */ icon?: FileName /** @@ -11845,7 +11859,7 @@ declare module "factorio:prototype" { * The size of the square icon, in pixels. E.g. `32` for a 32px by 32px icon. Must be larger than `0`. * * Only loaded if `icons` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RecipePrototype.html#icon_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RecipePrototype.html#icon_size Online documentation} */ icon_size?: SpriteSizeType /** @@ -11868,7 +11882,7 @@ declare module "factorio:prototype" { * {type = "fluid", name = "water", amount = 50}, * {type = "fluid", name = "crude-oil", amount = 100} * } - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RecipePrototype.html#ingredients Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RecipePrototype.html#ingredients Online documentation} */ ingredients?: readonly IngredientPrototype[] /** @@ -11892,38 +11906,38 @@ declare module "factorio:prototype" { * } * @example * results = {{type = "fluid", name = "steam", amount = 1, temperature = 165}} - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RecipePrototype.html#results Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RecipePrototype.html#results Online documentation} */ results?: readonly ProductPrototype[] /** * For recipes with one or more products: Subgroup, localised_name and icon default to the values of the singular/main product, but can be overwritten by the recipe. Setting the main_product to an empty string (`""`) forces the title in the recipe tooltip to use the recipe's name (not that of the product) and shows the products in the tooltip. * * If 1) there are multiple products and this property is nil, 2) this property is set to an empty string (`""`), or 3) there are no products, the recipe will use the localised_name, icon, and subgroup of the recipe. icon and subgroup become non-optional. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RecipePrototype.html#main_product Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RecipePrototype.html#main_product Online documentation} */ main_product?: string /** * **Default:** `0.5` * * The amount of time it takes to make this recipe. Must be `> 0.001`. Equals the number of seconds it takes to craft at crafting speed `1`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RecipePrototype.html#energy_required Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RecipePrototype.html#energy_required Online documentation} */ energy_required?: double /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RecipePrototype.html#emissions_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RecipePrototype.html#emissions_multiplier Online documentation} */ emissions_multiplier?: double /** * **Default:** `3` * * Must be >= 0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RecipePrototype.html#maximum_productivity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RecipePrototype.html#maximum_productivity Online documentation} */ maximum_productivity?: double /** * **Default:** `30` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RecipePrototype.html#requester_paste_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RecipePrototype.html#requester_paste_multiplier Online documentation} */ requester_paste_multiplier?: uint32 /** @@ -11932,14 +11946,14 @@ declare module "factorio:prototype" { * Used to determine how many extra items are put into an assembling machine before it's considered "full enough". See {@linkplain https://wiki.factorio.com/Inserters#Insertion_limits insertion limits}. * * If set to `0`, it instead uses the following formula: `1.166 / (energy_required / the assembler's crafting_speed)`, rounded up, and clamped to be between`2` and `100`. The numbers used in this formula can be changed by the {@link UtilityConstants} properties `dynamic_recipe_overload_factor`, `minimum_recipe_overload_multiplier`, and `maximum_recipe_overload_multiplier`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RecipePrototype.html#overload_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RecipePrototype.html#overload_multiplier Online documentation} */ overload_multiplier?: uint32 /** * **Default:** `true` * * Whether the recipe is allowed to have the extra inserter overload bonus applied (4 * stack inserter stack size). - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RecipePrototype.html#allow_inserter_overload Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RecipePrototype.html#allow_inserter_overload Online documentation} */ allow_inserter_overload?: boolean /** @@ -11948,145 +11962,145 @@ declare module "factorio:prototype" { * This can be `false` to disable the recipe at the start of the game, or `true` to leave it enabled. * * If a recipe is unlocked via technology, this should be set to `false`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RecipePrototype.html#enabled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RecipePrototype.html#enabled Online documentation} */ enabled?: boolean /** * **Default:** `false` * * Hides the recipe from item/fluid production statistics. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RecipePrototype.html#hide_from_stats Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RecipePrototype.html#hide_from_stats Online documentation} */ hide_from_stats?: boolean /** * **Default:** `false` * * Hides the recipe from the player's crafting screen. The recipe will still show up for selection in machines. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RecipePrototype.html#hide_from_player_crafting Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RecipePrototype.html#hide_from_player_crafting Online documentation} */ hide_from_player_crafting?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RecipePrototype.html#hide_from_bonus_gui Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RecipePrototype.html#hide_from_bonus_gui Online documentation} */ hide_from_bonus_gui?: boolean /** * **Default:** `true` * * Whether this recipe is allowed to be broken down for the recipe tooltip "Total raw" calculations. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RecipePrototype.html#allow_decomposition Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RecipePrototype.html#allow_decomposition Online documentation} */ allow_decomposition?: boolean /** * **Default:** `true` * * Whether the recipe can be used as an intermediate recipe in hand-crafting. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RecipePrototype.html#allow_as_intermediate Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RecipePrototype.html#allow_as_intermediate Online documentation} */ allow_as_intermediate?: boolean /** * **Default:** `true` * * Whether the recipe is allowed to use intermediate recipes when hand-crafting. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RecipePrototype.html#allow_intermediates Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RecipePrototype.html#allow_intermediates Online documentation} */ allow_intermediates?: boolean /** * **Default:** `false` * * Whether the "Made in: " part of the tool-tip should always be present, and not only when the recipe can't be hand-crafted. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RecipePrototype.html#always_show_made_in Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RecipePrototype.html#always_show_made_in Online documentation} */ always_show_made_in?: boolean /** * **Default:** `Value of `hidden`` * * Whether enabling this recipe requires the ingredients be unlocked before the products are marked as unlocked. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RecipePrototype.html#requires_ingredients_to_unlock_results Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RecipePrototype.html#requires_ingredients_to_unlock_results Online documentation} */ requires_ingredients_to_unlock_results?: boolean /** * **Default:** `true` * * Whether enabling this recipe unlocks its item products to show in selection lists (item filters, logistic requests, etc.). - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RecipePrototype.html#unlock_results Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RecipePrototype.html#unlock_results Online documentation} */ unlock_results?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RecipePrototype.html#preserve_products_in_machine_output Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RecipePrototype.html#preserve_products_in_machine_output Online documentation} */ preserve_products_in_machine_output?: boolean /** * **Default:** ``{"item-limitation.consumption-effect"}`` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RecipePrototype.html#allow_consumption_message Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RecipePrototype.html#allow_consumption_message Online documentation} */ allow_consumption_message?: LocalisedString /** * **Default:** ``{"item-limitation.speed-effect"}`` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RecipePrototype.html#allow_speed_message Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RecipePrototype.html#allow_speed_message Online documentation} */ allow_speed_message?: LocalisedString /** * **Default:** ``{"item-limitation.productivity-effect"}`` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RecipePrototype.html#allow_productivity_message Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RecipePrototype.html#allow_productivity_message Online documentation} */ allow_productivity_message?: LocalisedString /** * **Default:** ``{"item-limitation.pollution-effect"}`` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RecipePrototype.html#allow_pollution_message Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RecipePrototype.html#allow_pollution_message Online documentation} */ allow_pollution_message?: LocalisedString /** * **Default:** ``{"item-limitation.quality-effect"}`` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RecipePrototype.html#allow_quality_message Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RecipePrototype.html#allow_quality_message Online documentation} */ allow_quality_message?: LocalisedString /** * ![Space Age](https://wiki.factorio.com/images/thumb/Space_age_icon.png/16px-Space_age_icon.png) ***Space Age*** required to use. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RecipePrototype.html#surface_conditions Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RecipePrototype.html#surface_conditions Online documentation} */ surface_conditions?: readonly SurfaceCondition[] /** * If left unset, this property will be determined automatically: If the recipe is not `hidden`, and no item, fluid, or virtual signal has the same icon as this recipe, this property will be set to `false`. It'll be `true` otherwise. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RecipePrototype.html#hide_from_signal_gui Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RecipePrototype.html#hide_from_signal_gui Online documentation} */ hide_from_signal_gui?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RecipePrototype.html#allow_consumption Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RecipePrototype.html#allow_consumption Online documentation} */ allow_consumption?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RecipePrototype.html#allow_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RecipePrototype.html#allow_speed Online documentation} */ allow_speed?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RecipePrototype.html#allow_productivity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RecipePrototype.html#allow_productivity Online documentation} */ allow_productivity?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RecipePrototype.html#allow_pollution Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RecipePrototype.html#allow_pollution Online documentation} */ allow_pollution?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RecipePrototype.html#allow_quality Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RecipePrototype.html#allow_quality Online documentation} */ allow_quality?: boolean /** * **Default:** `All module categories are allowed` * * Sets the {@link ModuleCategory module categories} that are allowed to be used with this recipe. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RecipePrototype.html#allowed_module_categories Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RecipePrototype.html#allowed_module_categories Online documentation} */ allowed_module_categories?: readonly ModuleCategoryID[] /** * Additional technologies to list under "Unlocked by" on a recipe's Factoriopedia page. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RecipePrototype.html#alternative_unlock_methods Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RecipePrototype.html#alternative_unlock_methods Online documentation} */ alternative_unlock_methods?: readonly TechnologyID[] /** @@ -12095,21 +12109,21 @@ declare module "factorio:prototype" { * Whether the recipe should be included in the recycling recipes automatically generated by the recycler mod. * * This property is not read by the game engine itself, but the recycler mod's recycling.lua file. This means it is discarded by the game engine after loading finishes. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RecipePrototype.html#auto_recycle Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RecipePrototype.html#auto_recycle Online documentation} */ auto_recycle?: boolean /** * If set, this recipe's recycling recipe is generated by the recycler mod based on the ingredients of the given recipe, instead of this recipe's own ingredients. * * This property is not read by the game engine itself, but the recycler mod's recycling.lua file. This means it is discarded by the game engine after loading finishes. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RecipePrototype.html#recycle_to_ingredients_of Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RecipePrototype.html#recycle_to_ingredients_of Online documentation} */ recycle_to_ingredients_of?: RecipeID /** * **Default:** `false` * * Hides the recipe from crafting menus and other recipe selection lists. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RecipePrototype.html#hidden Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RecipePrototype.html#hidden Online documentation} */ hidden?: boolean /** @@ -12118,7 +12132,7 @@ declare module "factorio:prototype" { * When set to `true`, item ingredients will be sorted based on {@link ItemGroup#order_in_recipe ItemGroup::order_in_recipe}. * * Otherwise, the item ingredients appear in the order that they are defined in the prototype. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RecipePrototype.html#sort_item_ingredients Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RecipePrototype.html#sort_item_ingredients Online documentation} */ sort_item_ingredients?: boolean /** @@ -12126,8 +12140,8 @@ declare module "factorio:prototype" { * * Defaults to `true` if recipe is a parameter, or has at least one item ingredient that does not have any of {@link ItemIngredientPrototype#quality_min quality_min}, {@link ItemIngredientPrototype#quality_max quality_max}, or {@link ItemIngredientPrototype#quality_change quality_change} set. * - * This property also influences the automatic {@linkplain https://lua-api.factorio.com/2.1.22/auxiliary/furnace-recipe-selection.html Furnace Recipe Selection}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RecipePrototype.html#can_set_quality Online documentation} + * This property also influences the automatic {@linkplain https://lua-api.factorio.com/2.1.24/auxiliary/furnace-recipe-selection.html Furnace Recipe Selection}. + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RecipePrototype.html#can_set_quality Online documentation} */ can_set_quality?: boolean /** @@ -12143,7 +12157,7 @@ declare module "factorio:prototype" { * script.on_event(prototypes.recipe["iron-plate"].on_crafted_event, function(event) * game.print("Iron plate was crafted by ".. event.entity.name .. " at " .. event.entity.gps_tag) * end) - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RecipePrototype.html#raise_on_crafted Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RecipePrototype.html#raise_on_crafted Online documentation} */ raise_on_crafted?: boolean } @@ -12151,24 +12165,24 @@ declare module "factorio:prototype" { * Properties of the remote controller. * * _Prototype limited to **1** total instances_ - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RemoteControllerPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RemoteControllerPrototype.html Online documentation} */ export interface RemoteControllerPrototype { readonly type: "remote-controller" /** * Name of the remote controller. Base game uses "default". - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RemoteControllerPrototype.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RemoteControllerPrototype.html#name Online documentation} */ name: string /** * Must be >= 0.34375. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RemoteControllerPrototype.html#movement_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RemoteControllerPrototype.html#movement_speed Online documentation} */ movement_speed: double } /** * A {@linkplain https://wiki.factorio.com/Repair_pack repair pack}. Using the tool decreases durability to restore entity health. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RepairToolPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RepairToolPrototype.html Online documentation} */ export interface RepairToolPrototype extends ToolPrototype { type: "repair-tool" @@ -12176,13 +12190,13 @@ declare module "factorio:prototype" { * Entity health repaired per used {@link ToolPrototype#durability ToolPrototype::durability}. E.g. a repair tool with 5 durability and a repair speed of 2 will restore 10 health. * * This is then multiplied by the {@link EntityWithHealthPrototype#repair_speed_modifier EntityWithHealthPrototype::repair_speed_modifier} of the entity. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RepairToolPrototype.html#speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RepairToolPrototype.html#speed Online documentation} */ speed: float } /** * This prototype is used for receiving an achievement when the player completes a specific research. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ResearchAchievementPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ResearchAchievementPrototype.html Online documentation} */ export interface ResearchAchievementPrototype extends AchievementPrototype { type: "research-achievement" @@ -12192,7 +12206,7 @@ declare module "factorio:prototype" { * Researching this technology will trigger the achievement. * @example * technology = "oil-processing" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ResearchAchievementPrototype.html#technology Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ResearchAchievementPrototype.html#technology Online documentation} */ technology?: TechnologyID /** @@ -12203,7 +12217,7 @@ declare module "factorio:prototype" { * This will only trigger if the player has learned every research in the game. * @example * research_all = true - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ResearchAchievementPrototype.html#research_all Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ResearchAchievementPrototype.html#research_all Online documentation} */ research_all?: boolean } @@ -12212,7 +12226,7 @@ declare module "factorio:prototype" { science_pack: ItemID /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ResearchWithSciencePackAchievementPrototype.html#amount Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ResearchWithSciencePackAchievementPrototype.html#amount Online documentation} */ amount?: uint32 } @@ -12220,7 +12234,7 @@ declare module "factorio:prototype" { * A resource category. The built-in categories can be found {@linkplain https://wiki.factorio.com/Data.raw#resource-category here}. See {@link ResourceEntityPrototype#category ResourceEntityPrototype::category}. * * _Prototype limited to **255** total instances_ - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ResourceCategory.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ResourceCategory.html Online documentation} */ export interface ResourceCategory extends Prototype { type: "resource-category" @@ -12289,7 +12303,7 @@ declare module "factorio:prototype" { * map_color = {r=0.78, g=0.2, b=0.77}, * map_grid = false * } - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ResourceEntityPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ResourceEntityPrototype.html Online documentation} */ export interface ResourceEntityPrototype extends EntityPrototype { type: "resource" @@ -12297,156 +12311,156 @@ declare module "factorio:prototype" { * Entity's graphics, using a graphic sheet, with variation and depletion. At least one stage must be defined. * * When using {@link AnimationVariations#sheet AnimationVariations::sheet}, `frame_count` is the amount of frames per row in the spritesheet. `variation_count` is the amount of rows in the spritesheet. Each row in the spritesheet is one stage of the animation. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ResourceEntityPrototype.html#stages Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ResourceEntityPrototype.html#stages Online documentation} */ stages?: AnimationVariations /** * Number of stages the animation has. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ResourceEntityPrototype.html#stage_counts Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ResourceEntityPrototype.html#stage_counts Online documentation} */ stage_counts: readonly uint32[] /** * **Default:** `false` * * If the ore is infinitely minable, or if it will eventually run out of resource. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ResourceEntityPrototype.html#infinite Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ResourceEntityPrototype.html#infinite Online documentation} */ infinite?: boolean /** * **Default:** `false` * * If the resource should be highlighted when holding a mining drill that can mine it (holding a pumpjack highlights crude-oil in the base game). - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ResourceEntityPrototype.html#highlight Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ResourceEntityPrototype.html#highlight Online documentation} */ highlight?: boolean /** * **Default:** `true` * * Whether there should be a slight offset to graphics of the resource. Used to make patches a little less uniform in appearance. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ResourceEntityPrototype.html#randomize_visual_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ResourceEntityPrototype.html#randomize_visual_position Online documentation} */ randomize_visual_position?: boolean /** * **Default:** `true` * * Whether the resource should have a grid pattern on the map instead of a solid map color. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ResourceEntityPrototype.html#map_grid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ResourceEntityPrototype.html#map_grid Online documentation} */ map_grid?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ResourceEntityPrototype.html#draw_stateless_visualisation_under_building Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ResourceEntityPrototype.html#draw_stateless_visualisation_under_building Online documentation} */ draw_stateless_visualisation_under_building?: boolean /** * **Default:** `0` * * Must be not 0 when `infinite = true`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ResourceEntityPrototype.html#minimum Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ResourceEntityPrototype.html#minimum Online documentation} */ minimum?: uint32 /** * **Default:** `1` * * Must be not 0 when `infinite = true`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ResourceEntityPrototype.html#normal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ResourceEntityPrototype.html#normal Online documentation} */ normal?: uint32 /** * **Default:** `1` * * Every time an infinite-type resource is decreased by mining, its current resource amount is lowered by this number. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ResourceEntityPrototype.html#infinite_depletion_amount Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ResourceEntityPrototype.html#infinite_depletion_amount Online documentation} */ infinite_depletion_amount?: uint32 /** * **Default:** `3` * * When hovering over this resource in the map view: How far to search for other resource patches of this type to display as one (summing amount, white outline). - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ResourceEntityPrototype.html#resource_patch_search_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ResourceEntityPrototype.html#resource_patch_search_radius Online documentation} */ resource_patch_search_radius?: uint32 /** * **Default:** `"basic-solid"` * * The category for the resource. Available categories in vanilla can be found {@linkplain https://wiki.factorio.com/Data.raw#resource-category here}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ResourceEntityPrototype.html#category Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ResourceEntityPrototype.html#category Online documentation} */ category?: ResourceCategoryID /** * Sound played when the player walks over this resource. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ResourceEntityPrototype.html#walking_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ResourceEntityPrototype.html#walking_sound Online documentation} */ walking_sound?: Sound /** * Sound played when a {@link CarPrototype} drives over this resource. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ResourceEntityPrototype.html#driving_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ResourceEntityPrototype.html#driving_sound Online documentation} */ driving_sound?: InterruptibleSound /** * An effect that can be overlaid above the normal ore graphics. Used in the base game to make {@linkplain https://wiki.factorio.com/Uranium_ore uranium ore} glow. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ResourceEntityPrototype.html#stages_effect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ResourceEntityPrototype.html#stages_effect Online documentation} */ stages_effect?: AnimationVariations /** * **Default:** `0` * * How long it takes `stages_effect` to go from `min_effect_alpha` to `max_effect_alpha`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ResourceEntityPrototype.html#effect_animation_period Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ResourceEntityPrototype.html#effect_animation_period Online documentation} */ effect_animation_period?: float /** * **Default:** `0` * * How much `effect_animation_period` can deviate from its original value. Used to make the stages effect alpha change look less uniform. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ResourceEntityPrototype.html#effect_animation_period_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ResourceEntityPrototype.html#effect_animation_period_deviation Online documentation} */ effect_animation_period_deviation?: float /** * **Default:** `1` * * How much the surface darkness should affect the alpha of `stages_effect`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ResourceEntityPrototype.html#effect_darkness_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ResourceEntityPrototype.html#effect_darkness_multiplier Online documentation} */ effect_darkness_multiplier?: float /** * **Default:** `0` * * Minimal alpha value of `stages_effect`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ResourceEntityPrototype.html#min_effect_alpha Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ResourceEntityPrototype.html#min_effect_alpha Online documentation} */ min_effect_alpha?: float /** * **Default:** `1` * * Maximal alpha value of `stages_effect`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ResourceEntityPrototype.html#max_effect_alpha Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ResourceEntityPrototype.html#max_effect_alpha Online documentation} */ max_effect_alpha?: float /** * **Default:** `0` * * Must be greater than or equal to `0`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ResourceEntityPrototype.html#tree_removal_probability Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ResourceEntityPrototype.html#tree_removal_probability Online documentation} */ tree_removal_probability?: double /** * **Default:** `1` * * Must be greater than or equal to `0`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ResourceEntityPrototype.html#cliff_removal_probability Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ResourceEntityPrototype.html#cliff_removal_probability Online documentation} */ cliff_removal_probability?: double /** * **Default:** `0` * * Must be positive when `tree_removal_probability` is set. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ResourceEntityPrototype.html#tree_removal_max_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ResourceEntityPrototype.html#tree_removal_max_distance Online documentation} */ tree_removal_max_distance?: double /** * Defaults to the resources map color if left unset and map color is set, otherwise defaults to white if left unset. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ResourceEntityPrototype.html#mining_visualisation_tint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ResourceEntityPrototype.html#mining_visualisation_tint Online documentation} */ mining_visualisation_tint?: Color /** @@ -12455,86 +12469,86 @@ declare module "factorio:prototype" { * The entity with the higher number is selectable before the entity with the lower number. * * The value `0` will be treated the same as `nil`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ResourceEntityPrototype.html#selection_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ResourceEntityPrototype.html#selection_priority Online documentation} */ selection_priority?: uint8 } /** * Used by {@linkplain https://wiki.factorio.com/Personal_roboport personal roboport}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportEquipmentPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportEquipmentPrototype.html Online documentation} */ export interface RoboportEquipmentPrototype extends EquipmentPrototype { type: "roboport-equipment" /** * The animation played at each charging point when a robot is charging there. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportEquipmentPrototype.html#recharging_animation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportEquipmentPrototype.html#recharging_animation Online documentation} */ recharging_animation?: Animation /** * Presumably states the height of the charging stations and thus an additive offset for the charging_offsets. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportEquipmentPrototype.html#spawn_and_station_height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportEquipmentPrototype.html#spawn_and_station_height Online documentation} */ spawn_and_station_height: float /** * Presumably, the distance from the roboport at which robots will wait to charge. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportEquipmentPrototype.html#charge_approach_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportEquipmentPrototype.html#charge_approach_distance Online documentation} */ charge_approach_distance: float /** * Can't be negative. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportEquipmentPrototype.html#construction_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportEquipmentPrototype.html#construction_radius Online documentation} */ construction_radius: float /** * @example * charging_energy = "1000kW" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportEquipmentPrototype.html#charging_energy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportEquipmentPrototype.html#charging_energy Online documentation} */ charging_energy: Energy /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportEquipmentPrototype.html#spawn_and_station_shadow_height_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportEquipmentPrototype.html#spawn_and_station_shadow_height_offset Online documentation} */ spawn_and_station_shadow_height_offset?: float /** * **Default:** `0.87` * * When robot ascends or descends to this roboport, at which height is should switch between `"air-object"` and `"object"` {@link RenderLayer render layer}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportEquipmentPrototype.html#stationing_render_layer_swap_height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportEquipmentPrototype.html#stationing_render_layer_swap_height Online documentation} */ stationing_render_layer_swap_height?: float /** * **Default:** `true` * * Unused, as roboport equipment does not have a logistic radius that could be drawn. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportEquipmentPrototype.html#draw_logistic_radius_visualization Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportEquipmentPrototype.html#draw_logistic_radius_visualization Online documentation} */ draw_logistic_radius_visualization?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportEquipmentPrototype.html#draw_construction_radius_visualization Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportEquipmentPrototype.html#draw_construction_radius_visualization Online documentation} */ draw_construction_radius_visualization?: boolean /** * The light emitted when charging a robot. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportEquipmentPrototype.html#recharging_light Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportEquipmentPrototype.html#recharging_light Online documentation} */ recharging_light?: LightDefinition /** * **Default:** `0` * * How many charging points this roboport has. If this is 0, the length of the charging_offsets table is used to calculate the charging station count. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportEquipmentPrototype.html#charging_station_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportEquipmentPrototype.html#charging_station_count Online documentation} */ charging_station_count?: uint32 /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportEquipmentPrototype.html#charging_station_count_affected_by_quality Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportEquipmentPrototype.html#charging_station_count_affected_by_quality Online documentation} */ charging_station_count_affected_by_quality?: boolean /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportEquipmentPrototype.html#charging_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportEquipmentPrototype.html#charging_distance Online documentation} */ charging_distance?: float charging_station_shift?: Vector @@ -12542,72 +12556,72 @@ declare module "factorio:prototype" { * **Default:** `1` * * Distance in tiles. This defines how far away a robot can be from the charging spot and still be charged, however the bot is still required to reach a charging spot in the first place. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportEquipmentPrototype.html#charging_threshold_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportEquipmentPrototype.html#charging_threshold_distance Online documentation} */ charging_threshold_distance?: float /** * **Default:** `0.01` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportEquipmentPrototype.html#robot_vertical_acceleration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportEquipmentPrototype.html#robot_vertical_acceleration Online documentation} */ robot_vertical_acceleration?: float /** * The offset from the center of the roboport at which robots will enter and exit. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportEquipmentPrototype.html#stationing_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportEquipmentPrototype.html#stationing_offset Online documentation} */ stationing_offset?: Vector /** * **Default:** `max uint` * * How many robots can exist in the network (cumulative). - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportEquipmentPrototype.html#robot_limit Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportEquipmentPrototype.html#robot_limit Online documentation} */ robot_limit?: ItemCountType /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportEquipmentPrototype.html#robots_shrink_when_entering_and_exiting Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportEquipmentPrototype.html#robots_shrink_when_entering_and_exiting Online documentation} */ robots_shrink_when_entering_and_exiting?: boolean /** * The offsets from the center of the roboport at which robots will charge. Only used if `charging_station_count` is equal to 0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportEquipmentPrototype.html#charging_offsets Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportEquipmentPrototype.html#charging_offsets Online documentation} */ charging_offsets?: readonly Vector[] /** * **Default:** `0.2 * energy_source.buffer_capacity` * * Minimum amount of energy that needs to available inside the roboport's buffer so that robots can be spawned. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportEquipmentPrototype.html#spawn_minimum Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportEquipmentPrototype.html#spawn_minimum Online documentation} */ spawn_minimum?: Energy /** * Add this is if the roboport should be fueled directly instead of using power from the equipment grid. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportEquipmentPrototype.html#burner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportEquipmentPrototype.html#burner Online documentation} */ burner?: BurnerEnergySource /** * Mandatory if `burner` is defined. * * The size of the buffer of the burner energy source, so effectively the amount of power that the energy source can produce per tick. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportEquipmentPrototype.html#power Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportEquipmentPrototype.html#power Online documentation} */ power?: Energy } /** * A {@linkplain https://wiki.factorio.com/Roboport roboport}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportPrototype.html Online documentation} */ export interface RoboportPrototype extends EntityWithOwnerPrototype { type: "roboport" /** * The roboport's energy source. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportPrototype.html#energy_source Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportPrototype.html#energy_source Online documentation} */ energy_source: ElectricEnergySource | VoidEnergySource /** * The amount of energy the roboport uses when idle. * @example * energy_usage = "50kW" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportPrototype.html#energy_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportPrototype.html#energy_usage Online documentation} */ energy_usage: Energy /** @@ -12616,17 +12630,17 @@ declare module "factorio:prototype" { * Must be larger than or equal to `energy_usage` otherwise during low power the roboport will toggle on and off every tick. * @example * recharge_minimum = "40MJ" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportPrototype.html#recharge_minimum Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportPrototype.html#recharge_minimum Online documentation} */ recharge_minimum: Energy /** * The number of robot slots in the roboport. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportPrototype.html#robot_slots_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportPrototype.html#robot_slots_count Online documentation} */ robot_slots_count: ItemStackIndex /** * The number of repair pack slots in the roboport. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportPrototype.html#material_slots_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportPrototype.html#material_slots_count Online documentation} */ material_slots_count: ItemStackIndex base?: Sprite @@ -12634,7 +12648,7 @@ declare module "factorio:prototype" { frozen_patch?: Sprite /** * The animation played when the roboport is idle. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportPrototype.html#base_animation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportPrototype.html#base_animation Online documentation} */ base_animation?: Animation door_animation_up?: Animation @@ -12642,40 +12656,40 @@ declare module "factorio:prototype" { request_to_open_door_timeout: uint32 /** * In chunks. The radius of how many chunks this roboport charts around itself. Defaults to the max of logistic range or construction range rounded up to chunks. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportPrototype.html#radar_range Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportPrototype.html#radar_range Online documentation} */ radar_range?: uint32 radar_visualisation_color?: Color /** * The animation played at each charging point when a robot is charging there. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportPrototype.html#recharging_animation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportPrototype.html#recharging_animation Online documentation} */ recharging_animation?: Animation /** * Presumably states the height of the charging stations and thus an additive offset for the charging_offsets. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportPrototype.html#spawn_and_station_height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportPrototype.html#spawn_and_station_height Online documentation} */ spawn_and_station_height: float /** * The distance (in tiles) from the roboport at which robots will wait to charge. Notably, if the robot is already in range, then it will simply wait at its current position. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportPrototype.html#charge_approach_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportPrototype.html#charge_approach_distance Online documentation} */ charge_approach_distance: float /** * Can't be negative. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportPrototype.html#logistics_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportPrototype.html#logistics_radius Online documentation} */ logistics_radius: float /** * Can't be negative. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportPrototype.html#construction_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportPrototype.html#construction_radius Online documentation} */ construction_radius: float /** * The maximum power provided to each charging station. * @example * charging_energy = "1000kW" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportPrototype.html#charging_energy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportPrototype.html#charging_energy Online documentation} */ charging_energy: Energy open_door_trigger_effect?: TriggerEffect @@ -12689,17 +12703,17 @@ declare module "factorio:prototype" { * **Default:** `0` * * The maximum circuit wire distance for this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportPrototype.html#circuit_wire_max_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportPrototype.html#circuit_wire_max_distance Online documentation} */ circuit_wire_max_distance?: double /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportPrototype.html#draw_copper_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportPrototype.html#draw_copper_wires Online documentation} */ draw_copper_wires?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportPrototype.html#draw_circuit_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportPrototype.html#draw_circuit_wires Online documentation} */ draw_circuit_wires?: boolean circuit_connector?: CircuitConnectorDefinition @@ -12707,52 +12721,52 @@ declare module "factorio:prototype" { * **Default:** `true` * * Whether to render the {@link UtilitySprites#recharge_icon no charge} icon if the roboport has less energy than `recharge_minimum` in its internal buffer and is recovering from a blackout. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportPrototype.html#render_recharge_icon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportPrototype.html#render_recharge_icon Online documentation} */ render_recharge_icon?: boolean max_logistic_slots?: LogisticFilterIndex /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportPrototype.html#spawn_and_station_shadow_height_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportPrototype.html#spawn_and_station_shadow_height_offset Online documentation} */ spawn_and_station_shadow_height_offset?: float /** * **Default:** `0.87` * * When robot ascends or descends to this roboport, at which height is should switch between `"air-object"` and `"object"` {@link RenderLayer render layer}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportPrototype.html#stationing_render_layer_swap_height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportPrototype.html#stationing_render_layer_swap_height Online documentation} */ stationing_render_layer_swap_height?: float /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportPrototype.html#draw_logistic_radius_visualization Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportPrototype.html#draw_logistic_radius_visualization Online documentation} */ draw_logistic_radius_visualization?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportPrototype.html#draw_construction_radius_visualization Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportPrototype.html#draw_construction_radius_visualization Online documentation} */ draw_construction_radius_visualization?: boolean /** * The light emitted when charging a robot. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportPrototype.html#recharging_light Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportPrototype.html#recharging_light Online documentation} */ recharging_light?: LightDefinition /** * **Default:** `0` * * How many charging points this roboport has. If this is 0, the length of the charging_offsets table is used to calculate the charging station count. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportPrototype.html#charging_station_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportPrototype.html#charging_station_count Online documentation} */ charging_station_count?: uint32 /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportPrototype.html#charging_station_count_affected_by_quality Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportPrototype.html#charging_station_count_affected_by_quality Online documentation} */ charging_station_count_affected_by_quality?: boolean /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportPrototype.html#charging_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportPrototype.html#charging_distance Online documentation} */ charging_distance?: float charging_station_shift?: Vector @@ -12760,53 +12774,53 @@ declare module "factorio:prototype" { * **Default:** `1` * * Unused. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportPrototype.html#charging_threshold_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportPrototype.html#charging_threshold_distance Online documentation} */ charging_threshold_distance?: float /** * **Default:** `0.01` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportPrototype.html#robot_vertical_acceleration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportPrototype.html#robot_vertical_acceleration Online documentation} */ robot_vertical_acceleration?: float /** * The offset from the center of the roboport at which robots will enter and exit. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportPrototype.html#stationing_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportPrototype.html#stationing_offset Online documentation} */ stationing_offset?: Vector /** * **Default:** `max uint` * * Unused. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportPrototype.html#robot_limit Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportPrototype.html#robot_limit Online documentation} */ robot_limit?: ItemCountType /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportPrototype.html#robots_shrink_when_entering_and_exiting Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportPrototype.html#robots_shrink_when_entering_and_exiting Online documentation} */ robots_shrink_when_entering_and_exiting?: boolean /** * The offsets from the center of the roboport at which robots will charge. Only used if `charging_station_count` is equal to 0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportPrototype.html#charging_offsets Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportPrototype.html#charging_offsets Online documentation} */ charging_offsets?: readonly Vector[] /** * **Default:** `value of `logistics_radius`` * * Must be >= `logistics_radius`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RoboportPrototype.html#logistics_connection_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RoboportPrototype.html#logistics_connection_distance Online documentation} */ logistics_connection_distance?: float } /** * The common properties of logistic and construction robots represented by an abstract prototype. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RobotWithLogisticInterfacePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RobotWithLogisticInterfacePrototype.html Online documentation} */ export interface RobotWithLogisticInterfacePrototype extends FlyingRobotPrototype { type: "construction-robot" | "logistic-robot" /** * The robot's cargo carrying capacity. Can be increased by {@link WorkerRobotStorageModifier worker robot cargo size research}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RobotWithLogisticInterfacePrototype.html#max_payload_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RobotWithLogisticInterfacePrototype.html#max_payload_size Online documentation} */ max_payload_size: ItemCountType /** @@ -12815,69 +12829,69 @@ declare module "factorio:prototype" { * The robot's maximum possible cargo carrying capacity, including bonuses. Useful to limit the impact of {@link WorkerRobotStorageModifier worker robot cargo size research}. * * Must be >= max_payload_size. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RobotWithLogisticInterfacePrototype.html#max_payload_size_after_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RobotWithLogisticInterfacePrototype.html#max_payload_size_after_bonus Online documentation} */ max_payload_size_after_bonus?: ItemCountType /** * Only the first frame of the animation is drawn. This means that the graphics for the idle state cannot be animated. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RobotWithLogisticInterfacePrototype.html#idle Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RobotWithLogisticInterfacePrototype.html#idle Online documentation} */ idle?: RotatedAnimation /** * Only the first frame of the animation is drawn. This means that the graphics for the in_motion state cannot be animated. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RobotWithLogisticInterfacePrototype.html#in_motion Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RobotWithLogisticInterfacePrototype.html#in_motion Online documentation} */ in_motion?: RotatedAnimation /** * Only the first frame of the animation is drawn. This means that the graphics for the idle state cannot be animated. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RobotWithLogisticInterfacePrototype.html#shadow_idle Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RobotWithLogisticInterfacePrototype.html#shadow_idle Online documentation} */ shadow_idle?: RotatedAnimation /** * Only the first frame of the animation is drawn. This means that the graphics for the in_motion state cannot be animated. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RobotWithLogisticInterfacePrototype.html#shadow_in_motion Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RobotWithLogisticInterfacePrototype.html#shadow_in_motion Online documentation} */ shadow_in_motion?: RotatedAnimation /** * Applied when the robot expires (runs out of energy and {@link FlyingRobotPrototype#speed_multiplier_when_out_of_energy FlyingRobotPrototype::speed_multiplier_when_out_of_energy} is 0). - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RobotWithLogisticInterfacePrototype.html#destroy_action Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RobotWithLogisticInterfacePrototype.html#destroy_action Online documentation} */ destroy_action?: Trigger /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RobotWithLogisticInterfacePrototype.html#draw_cargo Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RobotWithLogisticInterfacePrototype.html#draw_cargo Online documentation} */ draw_cargo?: boolean /** * **Default:** `false` * * If true, this can't be mined unless it has more than {@link FlyingRobotPrototype#max_to_charge FlyingRobotPrototype::max_to_charge} energy, or the players personal roboports have enough energy to charge it. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RobotWithLogisticInterfacePrototype.html#require_charge_to_mine Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RobotWithLogisticInterfacePrototype.html#require_charge_to_mine Online documentation} */ require_charge_to_mine?: boolean charging_sound?: InterruptibleSound } /** * A {@linkplain https://wiki.factorio.com/Rocket_silo rocket silo}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RocketSiloPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RocketSiloPrototype.html Online documentation} */ export interface RocketSiloPrototype extends AssemblingMachinePrototype { type: "rocket-silo" /** * Additional energy used during the following parts of the {@link defines.rocket_silo_status launch sequence}: doors_opening, rocket_rising, arms_advance, engine_starting, arms_retract, doors_closing. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RocketSiloPrototype.html#active_energy_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RocketSiloPrototype.html#active_energy_usage Online documentation} */ active_energy_usage: Energy /** * May be 0. * * Additional energy used during the night, that is when {@link import("factorio:runtime").LuaSurface#darkness LuaSurface::darkness} is larger than 0.3. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RocketSiloPrototype.html#lamp_energy_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RocketSiloPrototype.html#lamp_energy_usage Online documentation} */ lamp_energy_usage: Energy /** * Name of a {@link RocketSiloRocketPrototype}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RocketSiloPrototype.html#rocket_entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RocketSiloPrototype.html#rocket_entity Online documentation} */ rocket_entity: EntityID arm_02_right_animation?: Animation @@ -12894,12 +12908,12 @@ declare module "factorio:prototype" { base_front_sprite?: Sprite /** * Drawn from the start of the {@link defines.rocket_silo_status.lights_blinking_open lights_blinking_open} state until the end of the {@link defines.rocket_silo_status.lights_blinking_close lights_blinking_close} state. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RocketSiloPrototype.html#red_lights_back_sprites Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RocketSiloPrototype.html#red_lights_back_sprites Online documentation} */ red_lights_back_sprites?: Sprite /** * Drawn from the start of the {@link defines.rocket_silo_status.lights_blinking_open lights_blinking_open} state until the end of the {@link defines.rocket_silo_status.lights_blinking_close lights_blinking_close} state. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RocketSiloPrototype.html#red_lights_front_sprites Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RocketSiloPrototype.html#red_lights_front_sprites Online documentation} */ red_lights_front_sprites?: Sprite base_frozen?: Sprite @@ -12916,26 +12930,26 @@ declare module "factorio:prototype" { * How many times the `red_lights_back_sprites` and `red_lights_front_sprites` should blink during {@link defines.rocket_silo_status.lights_blinking_open lights_blinking_open} and {@link defines.rocket_silo_status.lights_blinking_close lights_blinking_close}. * * Does not affect the duration of the launch sequence. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RocketSiloPrototype.html#times_to_blink Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RocketSiloPrototype.html#times_to_blink Online documentation} */ times_to_blink: uint8 /** * The inverse of the duration in ticks of {@link defines.rocket_silo_status.lights_blinking_open lights_blinking_open} and {@link defines.rocket_silo_status.lights_blinking_close lights_blinking_close}. * @example * light_blinking_speed = 1 / (2 * 60) -- lights blinking takes 120 ticks - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RocketSiloPrototype.html#light_blinking_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RocketSiloPrototype.html#light_blinking_speed Online documentation} */ light_blinking_speed: double /** * The inverse of the duration in ticks of {@link defines.rocket_silo_status.doors_opening doors_opening} and {@link defines.rocket_silo_status.doors_closing closing}. * @example * door_opening_speed = 1 / (4 * 60) -- doors opening and closing takes 4 seconds - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RocketSiloPrototype.html#door_opening_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RocketSiloPrototype.html#door_opening_speed Online documentation} */ door_opening_speed: double /** * The number of crafts that must complete to produce a rocket. This includes bonus crafts from productivity. Recipe products are ignored. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RocketSiloPrototype.html#rocket_parts_required Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RocketSiloPrototype.html#rocket_parts_required Online documentation} */ rocket_parts_required: uint32 rocket_quick_relaunch_start_offset: double @@ -12943,28 +12957,28 @@ declare module "factorio:prototype" { * **Default:** `0` * * Must be >= 0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RocketSiloPrototype.html#rocket_rising_speed_modifier_per_quality_level Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RocketSiloPrototype.html#rocket_rising_speed_modifier_per_quality_level Online documentation} */ rocket_rising_speed_modifier_per_quality_level?: double /** * **Default:** `0` * * Must be >= 0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RocketSiloPrototype.html#rocket_engine_starting_speed_modifier_per_quality_level Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RocketSiloPrototype.html#rocket_engine_starting_speed_modifier_per_quality_level Online documentation} */ rocket_engine_starting_speed_modifier_per_quality_level?: double /** * **Default:** `0` * * Must be >= 0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RocketSiloPrototype.html#arms_speed_modifier_per_quality_level Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RocketSiloPrototype.html#arms_speed_modifier_per_quality_level Online documentation} */ arms_speed_modifier_per_quality_level?: double satellite_animation?: Animation satellite_shadow_animation?: Animation /** * Drawn instead of `base_day_sprite` during the night, that is when {@link import("factorio:runtime").LuaSurface#darkness LuaSurface::darkness} is larger than 0.3. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RocketSiloPrototype.html#base_night_sprite Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RocketSiloPrototype.html#base_night_sprite Online documentation} */ base_night_sprite?: Sprite base_light?: LightDefinition @@ -12973,14 +12987,14 @@ declare module "factorio:prototype" { * **Default:** `30` * * The time to wait in the {@link defines.rocket_silo_status.doors_opened doors_opened} state before switching to {@link defines.rocket_silo_status.rocket_rising rocket_rising}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RocketSiloPrototype.html#rocket_rising_delay Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RocketSiloPrototype.html#rocket_rising_delay Online documentation} */ rocket_rising_delay?: uint8 /** * **Default:** `120` * * The time to wait in the {@link defines.rocket_silo_status.launch_started launch_started} state before switching to {@link defines.rocket_silo_status.engine_starting engine_starting}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RocketSiloPrototype.html#launch_wait_time Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RocketSiloPrototype.html#launch_wait_time Online documentation} */ launch_wait_time?: uint8 /** @@ -12988,94 +13002,94 @@ declare module "factorio:prototype" { * * Whether the "no network" icon should be rendered on this entity if the entity is not within a logistics network. * - * ![](https://lua-api.factorio.com/2.1.22/static/images/too-far-from-roboport-icon.png) - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RocketSiloPrototype.html#render_not_in_network_icon Online documentation} + * ![](https://lua-api.factorio.com/2.1.24/static/images/too-far-from-roboport-icon.png) + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RocketSiloPrototype.html#render_not_in_network_icon Online documentation} */ render_not_in_network_icon?: boolean /** * **Default:** `Value of `rocket_parts_required`` * * All values down to 0 are allowed, however it is suggested to avoid values from 1 up to `rocket_parts_required - 1` to avoid second progress bar stopping before reaching 100%. When set to 0, second progress bar is hidden. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RocketSiloPrototype.html#rocket_parts_storage_cap Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RocketSiloPrototype.html#rocket_parts_storage_cap Online documentation} */ rocket_parts_storage_cap?: uint32 /** * Applied when switching into the {@link defines.rocket_silo_status.lights_blinking_open lights_blinking_open} state. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RocketSiloPrototype.html#alarm_trigger Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RocketSiloPrototype.html#alarm_trigger Online documentation} */ alarm_trigger?: TriggerEffect /** * Applied when switching into the {@link defines.rocket_silo_status.arms_advance arms_advance} state. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RocketSiloPrototype.html#clamps_on_trigger Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RocketSiloPrototype.html#clamps_on_trigger Online documentation} */ clamps_on_trigger?: TriggerEffect /** * Applied when switching into the {@link defines.rocket_silo_status.arms_retract arms_retract} state. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RocketSiloPrototype.html#clamps_off_trigger Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RocketSiloPrototype.html#clamps_off_trigger Online documentation} */ clamps_off_trigger?: TriggerEffect /** * Applied when switching into the {@link defines.rocket_silo_status.doors_opening doors_opening} and {@link defines.rocket_silo_status.doors_closing doors_closing} states. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RocketSiloPrototype.html#doors_trigger Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RocketSiloPrototype.html#doors_trigger Online documentation} */ doors_trigger?: TriggerEffect /** * Applied when switching into the {@link defines.rocket_silo_status.rocket_rising rocket_rising} state. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RocketSiloPrototype.html#raise_rocket_trigger Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RocketSiloPrototype.html#raise_rocket_trigger Online documentation} */ raise_rocket_trigger?: TriggerEffect /** * Played when switching into the {@link defines.rocket_silo_status.lights_blinking_open lights_blinking_open} state. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RocketSiloPrototype.html#alarm_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RocketSiloPrototype.html#alarm_sound Online documentation} */ alarm_sound?: Sound /** * Played when switching from {@link defines.rocket_silo_status.rocket_flying rocket_flying} into the {@link defines.rocket_silo_status.doors_opened doors_opened} state when a quick follow-up rocket is ready. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RocketSiloPrototype.html#quick_alarm_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RocketSiloPrototype.html#quick_alarm_sound Online documentation} */ quick_alarm_sound?: Sound /** * Played when switching into the {@link defines.rocket_silo_status.arms_advance arms_advance} state. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RocketSiloPrototype.html#clamps_on_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RocketSiloPrototype.html#clamps_on_sound Online documentation} */ clamps_on_sound?: Sound /** * Played when switching into the {@link defines.rocket_silo_status.arms_retract arms_retract} state. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RocketSiloPrototype.html#clamps_off_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RocketSiloPrototype.html#clamps_off_sound Online documentation} */ clamps_off_sound?: Sound /** * Played when switching into the {@link defines.rocket_silo_status.doors_opening doors_opening} and {@link defines.rocket_silo_status.doors_closing doors_closing} states. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RocketSiloPrototype.html#doors_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RocketSiloPrototype.html#doors_sound Online documentation} */ doors_sound?: Sound /** * Played when switching into the {@link defines.rocket_silo_status.rocket_rising rocket_rising} state. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RocketSiloPrototype.html#raise_rocket_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RocketSiloPrototype.html#raise_rocket_sound Online documentation} */ raise_rocket_sound?: Sound /** * **Default:** `0` * * When `launch_to_space_platforms` is true, the inventory has dynamic size and is weight-restricted, so this value is ignored. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RocketSiloPrototype.html#to_be_inserted_to_rocket_inventory_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RocketSiloPrototype.html#to_be_inserted_to_rocket_inventory_size Online documentation} */ to_be_inserted_to_rocket_inventory_size?: ItemStackIndex /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RocketSiloPrototype.html#logistic_trash_inventory_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RocketSiloPrototype.html#logistic_trash_inventory_size Online documentation} */ logistic_trash_inventory_size?: ItemStackIndex /** * **Default:** `1000000` * * When `launch_to_space_platforms` is false, the inventory has no weight restrictions, so this value is ignored. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RocketSiloPrototype.html#lift_weight Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RocketSiloPrototype.html#lift_weight Online documentation} */ lift_weight?: Weight /** * Must have exactly one entry in {@link CargoStationParameters#hatch_definitions CargoStationParameters::hatch_definitions}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RocketSiloPrototype.html#cargo_station_parameters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RocketSiloPrototype.html#cargo_station_parameters Online documentation} */ cargo_station_parameters: CargoStationParameters /** @@ -13084,12 +13098,12 @@ declare module "factorio:prototype" { * **Default:** `false` * * Enables 'Space Age' functionality for this rocket silo, allowing it to supply space platforms. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RocketSiloPrototype.html#launch_to_space_platforms Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RocketSiloPrototype.html#launch_to_space_platforms Online documentation} */ launch_to_space_platforms?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RocketSiloPrototype.html#can_launch_without_landing_pads Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RocketSiloPrototype.html#can_launch_without_landing_pads Online documentation} */ can_launch_without_landing_pads?: boolean default_launched_signal?: SignalIDConnector @@ -13097,14 +13111,14 @@ declare module "factorio:prototype" { } /** * The rocket inside the rocket silo. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RocketSiloRocketPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RocketSiloRocketPrototype.html Online documentation} */ export interface RocketSiloRocketPrototype extends EntityPrototype { type: "rocket-silo-rocket" shadow_slave_entity?: EntityID /** * Name of a {@link CargoPodPrototype}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RocketSiloRocketPrototype.html#cargo_pod_entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RocketSiloRocketPrototype.html#cargo_pod_entity Online documentation} */ cargo_pod_entity: EntityID dying_explosion?: EntityID @@ -13135,17 +13149,17 @@ declare module "factorio:prototype" { rocket_visible_distance_from_center: float /** * **Default:** `-3` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RocketSiloRocketPrototype.html#rocket_above_wires_slice_offset_from_center Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RocketSiloRocketPrototype.html#rocket_above_wires_slice_offset_from_center Online documentation} */ rocket_above_wires_slice_offset_from_center?: float /** * **Default:** `-6` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RocketSiloRocketPrototype.html#rocket_air_object_slice_offset_from_center Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RocketSiloRocketPrototype.html#rocket_air_object_slice_offset_from_center Online documentation} */ rocket_air_object_slice_offset_from_center?: float /** * **Default:** ``{rect={{-30, -30}, {30, rocket_above_wires_slice_offset_from_center}}, falloff=1}`` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RocketSiloRocketPrototype.html#rocket_fog_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RocketSiloRocketPrototype.html#rocket_fog_mask Online documentation} */ rocket_fog_mask?: FogMaskShapeDefinition rising_speed: double @@ -13161,7 +13175,7 @@ declare module "factorio:prototype" { * The entity with the higher number is selectable before the entity with the lower number. * * The value `0` will be treated the same as `nil`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RocketSiloRocketPrototype.html#selection_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RocketSiloRocketPrototype.html#selection_priority Online documentation} */ selection_priority?: uint8 } @@ -13177,7 +13191,7 @@ declare module "factorio:prototype" { * collision_box = {{0, 0}, {10, 3.5}}, * selection_box = {{0, 0}, {0, 0}} * } - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RocketSiloRocketShadowPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RocketSiloRocketShadowPrototype.html Online documentation} */ export interface RocketSiloRocketShadowPrototype extends EntityPrototype { type: "rocket-silo-rocket-shadow" @@ -13187,13 +13201,13 @@ declare module "factorio:prototype" { * The entity with the higher number is selectable before the entity with the lower number. * * The value `0` will be treated the same as `nil`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RocketSiloRocketShadowPrototype.html#selection_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RocketSiloRocketShadowPrototype.html#selection_priority Online documentation} */ selection_priority?: uint8 } /** * The abstract base of all rolling stock. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RollingStockPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RollingStockPrototype.html Online documentation} */ export interface RollingStockPrototype extends VehiclePrototype { type: "artillery-wagon" | "cargo-wagon" | "fluid-wagon" | "infinity-cargo-wagon" | "locomotive" @@ -13201,7 +13215,7 @@ declare module "factorio:prototype" { * Maximum speed of the rolling stock in tiles/tick. * * In-game, the max speed of a train is `average(all_rolling_stock_max_speeds) × average(all_fuel_modifiers_in_all_locomotives)`. If this value is not provided it is ignored for the average(all_rolling_stock_max_speed) calculation. This calculated train speed is then silently capped to 7386.3km/h. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RollingStockPrototype.html#max_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RollingStockPrototype.html#max_speed Online documentation} */ max_speed?: double air_resistance: double @@ -13211,14 +13225,14 @@ declare module "factorio:prototype" { * Maximum joint distance is 15. * * Note: There needs to be border at least 0.2 between the {@link EntityPrototype#collision_box bounding box} edge and joint. This means that the collision_box must be at least `{{-0,-0.2},{0,0.2}}`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RollingStockPrototype.html#joint_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RollingStockPrototype.html#joint_distance Online documentation} */ joint_distance: double /** * The distance between the joint of this rolling stock and its connected rolling stocks joint. * * Maximum connection distance is 15. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RollingStockPrototype.html#connection_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RollingStockPrototype.html#connection_distance Online documentation} */ connection_distance: double pictures?: RollingStockRotatedSlopedGraphics @@ -13226,19 +13240,19 @@ declare module "factorio:prototype" { vertical_selection_shift: double /** * Usually a sound to play when the rolling stock drives over a tie. The rolling stock is considered to be driving over a tie every `tie_distance` tiles. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RollingStockPrototype.html#drive_over_tie_trigger Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RollingStockPrototype.html#drive_over_tie_trigger Online documentation} */ drive_over_tie_trigger?: TriggerEffect /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RollingStockPrototype.html#drive_over_tie_trigger_minimal_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RollingStockPrototype.html#drive_over_tie_trigger_minimal_speed Online documentation} */ drive_over_tie_trigger_minimal_speed?: double /** * **Default:** `10` * * In tiles. Used to determine how often `drive_over_tie_trigger` is triggered. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RollingStockPrototype.html#tie_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RollingStockPrototype.html#tie_distance Online documentation} */ tie_distance?: double back_light?: LightDefinition @@ -13248,49 +13262,49 @@ declare module "factorio:prototype" { color?: Color /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RollingStockPrototype.html#allow_manual_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RollingStockPrototype.html#allow_manual_color Online documentation} */ allow_manual_color?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RollingStockPrototype.html#allow_robot_dispatch_in_automatic_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RollingStockPrototype.html#allow_robot_dispatch_in_automatic_mode Online documentation} */ allow_robot_dispatch_in_automatic_mode?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RollingStockPrototype.html#default_copy_color_from_train_stop Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RollingStockPrototype.html#default_copy_color_from_train_stop Online documentation} */ default_copy_color_from_train_stop?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RollingStockPrototype.html#quality_affects_max_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RollingStockPrototype.html#quality_affects_max_speed Online documentation} */ quality_affects_max_speed?: boolean /** * Defaults to the mask from {@link UtilityConstants#default_collision_masks UtilityConstants::default_collision_masks} when indexed by `type .. "/transition"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RollingStockPrototype.html#transition_collision_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RollingStockPrototype.html#transition_collision_mask Online documentation} */ transition_collision_mask?: CollisionMaskConnector /** * Defaults to the mask from {@link UtilityConstants#default_collision_masks UtilityConstants::default_collision_masks} when indexed by `type .. "/elevated"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RollingStockPrototype.html#elevated_collision_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RollingStockPrototype.html#elevated_collision_mask Online documentation} */ elevated_collision_mask?: CollisionMaskConnector /** * **Default:** `56` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RollingStockPrototype.html#elevated_selection_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RollingStockPrototype.html#elevated_selection_priority Online documentation} */ elevated_selection_priority?: uint8 elevated_rail_sound?: MainSound drive_over_elevated_tie_trigger?: TriggerEffect /** * Cannot use `fade_ticks`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RollingStockPrototype.html#door_opening_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RollingStockPrototype.html#door_opening_sound Online documentation} */ door_opening_sound?: InterruptibleSound /** * Cannot use `fade_ticks`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RollingStockPrototype.html#door_closing_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RollingStockPrototype.html#door_closing_sound Online documentation} */ door_closing_sound?: InterruptibleSound } @@ -13298,7 +13312,7 @@ declare module "factorio:prototype" { * ![Space Age](https://wiki.factorio.com/images/thumb/Space_age_icon.png/16px-Space_age_icon.png) ***Space Age*** required to use. * * Entity representing an individual segment in a {@link SegmentedUnitPrototype} - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SegmentPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SegmentPrototype.html Online documentation} */ export interface SegmentPrototype extends EntityWithOwnerPrototype { type: "segment" | "segmented-unit" @@ -13306,24 +13320,24 @@ declare module "factorio:prototype" { * The sound to play when the entity dies. * * If not specified, {@link UtilitySounds#segment_dying_sound UtilitySounds::segment_dying_sound} is used. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SegmentPrototype.html#dying_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SegmentPrototype.html#dying_sound Online documentation} */ dying_sound?: Sound /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SegmentPrototype.html#dying_sound_volume_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SegmentPrototype.html#dying_sound_volume_modifier Online documentation} */ dying_sound_volume_modifier?: float /** * The animation to use of the entity. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SegmentPrototype.html#animation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SegmentPrototype.html#animation Online documentation} */ animation: RotatedAnimation /** * **Default:** `"object"` * * The layer to render the entity in. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SegmentPrototype.html#render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SegmentPrototype.html#render_layer Online documentation} */ render_layer?: RenderLayer /** @@ -13332,7 +13346,7 @@ declare module "factorio:prototype" { * The number of segments ahead of this one that should always be rendered atop this one, giving the illusion that at all orientations, those preceding segments overlap this current segment. * * Must be 0 or greater, and the sum of `forward_overlap` and `backward_overlap` must be less than or equal to 4. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SegmentPrototype.html#forward_overlap Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SegmentPrototype.html#forward_overlap Online documentation} */ forward_overlap?: uint8 /** @@ -13341,31 +13355,31 @@ declare module "factorio:prototype" { * The number of segments behind this one that should always be rendered atop this one, giving the illusion that at all orientations, those following segments overlap this current segment. * * Must be 0 or greater, and the sum of `forward_overlap` and `backward_overlap` must be less than or equal to 4. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SegmentPrototype.html#backward_overlap Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SegmentPrototype.html#backward_overlap Online documentation} */ backward_overlap?: uint8 /** * **Default:** `0` * * The number of tiles of spacing to add in front of this segment. Can be negative. Scales with the segment scale when used in a {@link SegmentEngineSpecification}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SegmentPrototype.html#forward_padding Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SegmentPrototype.html#forward_padding Online documentation} */ forward_padding?: double /** * **Default:** `0` * * The number of tiles of spacing to add behind this segment. Can be negative. Scales with the segment scale when used in a {@link SegmentEngineSpecification}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SegmentPrototype.html#backward_padding Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SegmentPrototype.html#backward_padding Online documentation} */ backward_padding?: double /** * The effects to trigger every tick. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SegmentPrototype.html#update_effects Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SegmentPrototype.html#update_effects Online documentation} */ update_effects?: readonly TriggerEffectWithCooldown[] /** * The effects to trigger every tick while enraged, in addition to `update_effects`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SegmentPrototype.html#update_effects_while_enraged Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SegmentPrototype.html#update_effects_while_enraged Online documentation} */ update_effects_while_enraged?: readonly TriggerEffectWithCooldown[] } @@ -13373,89 +13387,89 @@ declare module "factorio:prototype" { * ![Space Age](https://wiki.factorio.com/images/thumb/Space_age_icon.png/16px-Space_age_icon.png) ***Space Age*** required to use. * * Entity composed of multiple segment entities that trail behind the head. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SegmentedUnitPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SegmentedUnitPrototype.html Online documentation} */ export interface SegmentedUnitPrototype extends SegmentPrototype { type: "segmented-unit" /** * Vision distance, affects scanning radius for enemies to attack. Must be non-negative. Max 100. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SegmentedUnitPrototype.html#vision_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SegmentedUnitPrototype.html#vision_distance Online documentation} */ vision_distance: double /** * Attack parameters for when a segmented unit is attacking something. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SegmentedUnitPrototype.html#attack_parameters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SegmentedUnitPrototype.html#attack_parameters Online documentation} */ attack_parameters?: AttackParameters /** * Attack parameters for when a segmented unit is attacking something in retaliation because the target first attacked it. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SegmentedUnitPrototype.html#revenge_attack_parameters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SegmentedUnitPrototype.html#revenge_attack_parameters Online documentation} */ revenge_attack_parameters?: AttackParameters /** * The territory radius in chunks. The chunk in which the entity spawned is included. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SegmentedUnitPrototype.html#territory_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SegmentedUnitPrototype.html#territory_radius Online documentation} */ territory_radius: uint32 /** * The number of ticks to remain enraged after last taking damage. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SegmentedUnitPrototype.html#enraged_duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SegmentedUnitPrototype.html#enraged_duration Online documentation} */ enraged_duration: MapTick /** * The movement speed while patrolling, in tiles per tick. Cannot be negative. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SegmentedUnitPrototype.html#patrolling_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SegmentedUnitPrototype.html#patrolling_speed Online documentation} */ patrolling_speed: double /** * The movement speed while investigating, in tiles per tick. Cannot be negative. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SegmentedUnitPrototype.html#investigating_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SegmentedUnitPrototype.html#investigating_speed Online documentation} */ investigating_speed: double /** * The movement speed while attacking, in tiles per tick. Cannot be negative. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SegmentedUnitPrototype.html#attacking_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SegmentedUnitPrototype.html#attacking_speed Online documentation} */ attacking_speed: double /** * The movement speed while enraged, in tiles per tick. Cannot be negative. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SegmentedUnitPrototype.html#enraged_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SegmentedUnitPrototype.html#enraged_speed Online documentation} */ enraged_speed: double /** * The acceleration rate when moving from one state to another. Cannot be negative. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SegmentedUnitPrototype.html#acceleration_rate Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SegmentedUnitPrototype.html#acceleration_rate Online documentation} */ acceleration_rate: double /** * Turn radius, in tiles. Cannot be negative. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SegmentedUnitPrototype.html#turn_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SegmentedUnitPrototype.html#turn_radius Online documentation} */ turn_radius: double /** * **Default:** `Value of `turn_radius`` * * Cannot be negative. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SegmentedUnitPrototype.html#patrolling_turn_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SegmentedUnitPrototype.html#patrolling_turn_radius Online documentation} */ patrolling_turn_radius?: double /** * **Default:** `1` * * Attempts to smooth out tight turns by limiting how quickly the unit can change turning directions. 0 means no turn smoothing, 1 means no turning whatsoever. Must be between 0 and 1. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SegmentedUnitPrototype.html#turn_smoothing Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SegmentedUnitPrototype.html#turn_smoothing Online documentation} */ turn_smoothing?: double /** * **Default:** `120` * * The number of ticks between territory scans. Greater values means longer time between scans, which means a slower reaction time. Cannot be `0`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SegmentedUnitPrototype.html#ticks_per_scan Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SegmentedUnitPrototype.html#ticks_per_scan Online documentation} */ ticks_per_scan?: uint32 /** * Specification of the segment engine, which should contain a list of the segments that compose the entity's body. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SegmentedUnitPrototype.html#segment_engine Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SegmentedUnitPrototype.html#segment_engine Online documentation} */ segment_engine: SegmentEngineSpecification roar?: Sound @@ -13463,23 +13477,23 @@ declare module "factorio:prototype" { * **Default:** `0.00277777785` * * The default is 1.0f / (6.0f * 60.0f), average pause between roars is 6 seconds. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SegmentedUnitPrototype.html#roar_probability Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SegmentedUnitPrototype.html#roar_probability Online documentation} */ roar_probability?: float /** * Sound which plays when health ratio drops below any of `hurt_thresholds`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SegmentedUnitPrototype.html#hurt_roar Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SegmentedUnitPrototype.html#hurt_roar Online documentation} */ hurt_roar?: Sound /** * Only loaded, and mandatory if `hurt_roar` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SegmentedUnitPrototype.html#hurt_thresholds Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SegmentedUnitPrototype.html#hurt_thresholds Online documentation} */ hurt_thresholds?: readonly float[] } /** * Used in the base game as a base for the blueprint item and the deconstruction item. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SelectionToolPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SelectionToolPrototype.html Online documentation} */ export interface SelectionToolPrototype extends ItemWithLabelPrototype { type: @@ -13490,31 +13504,31 @@ declare module "factorio:prototype" { reverse_select?: SelectionModeData /** * Settings for how the selection tool alt-reverse-selects things in-game (using SHIFT + Right mouse button). - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SelectionToolPrototype.html#alt_reverse_select Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SelectionToolPrototype.html#alt_reverse_select Online documentation} */ alt_reverse_select?: SelectionModeData /** * **Default:** `false` * * If tiles should be included in the selection regardless of entities also being in the selection. This is a visual only setting. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SelectionToolPrototype.html#always_include_tiles Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SelectionToolPrototype.html#always_include_tiles Online documentation} */ always_include_tiles?: boolean /** * **Default:** `"selection-tool-cursor"` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SelectionToolPrototype.html#mouse_cursor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SelectionToolPrototype.html#mouse_cursor Online documentation} */ mouse_cursor?: MouseCursorID /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SelectionToolPrototype.html#skip_fog_of_war Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SelectionToolPrototype.html#skip_fog_of_war Online documentation} */ skip_fog_of_war?: boolean /** * **Default:** `false` * - * If true, the selection tool will send pre-selection events to mods {@link defines.events.on_player_start_select_area}, {@link defines.events.on_player_change_select_area}, and {@link defines.events.on_player_cancel_select_area}. Off by default because it will incur a performance penalty in multiplayer. It should only be enabled if a mod specifically needs it. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SelectionToolPrototype.html#send_pre_selection_events Online documentation} + * If true, the selection tool will send pre-selection events to mods {@link defines.events.on_player_start_selected_area}, {@link defines.events.on_player_change_selected_area}, and {@link defines.events.on_player_cancel_selected_area}. Off by default because it will incur a performance penalty in multiplayer. It should only be enabled if a mod specifically needs it. + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SelectionToolPrototype.html#send_pre_selection_events Online documentation} */ send_pre_selection_events?: boolean } @@ -13534,7 +13548,7 @@ declare module "factorio:prototype" { } /** * This prototype is used for receiving an achievement when the player shoots certain ammo. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ShootAchievementPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ShootAchievementPrototype.html Online documentation} */ export interface ShootAchievementPrototype extends AchievementPrototype { type: "shoot-achievement" @@ -13542,14 +13556,14 @@ declare module "factorio:prototype" { * This will trigger the achievement, if this ammo is shot. * @example * ammo_type = "atomic-bomb" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ShootAchievementPrototype.html#ammo_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ShootAchievementPrototype.html#ammo_type Online documentation} */ ammo_type?: ItemID /** * **Default:** `1` * * How much of the ammo needs to be shot. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ShootAchievementPrototype.html#amount Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ShootAchievementPrototype.html#amount Online documentation} */ amount?: uint32 } @@ -13573,13 +13587,13 @@ declare module "factorio:prototype" { * small_icon = "__base__/graphics/icons/shortcut-toolbar/mip/new-deconstruction-planner-x24.png", * small_icon_size = 24 * } - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ShortcutPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ShortcutPrototype.html Online documentation} */ export interface ShortcutPrototype extends Prototype { type: "shortcut" /** * If this is `"lua"`, {@link import("factorio:runtime").on_lua_shortcut on_lua_shortcut} is raised when the shortcut is clicked. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ShortcutPrototype.html#action Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ShortcutPrototype.html#action Online documentation} */ action: | "toggle-alt-mode" @@ -13594,14 +13608,14 @@ declare module "factorio:prototype" { | "lua" /** * Can't be an empty array. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ShortcutPrototype.html#icons Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ShortcutPrototype.html#icons Online documentation} */ icons?: readonly IconData[] /** * Path to the icon file. * * Only loaded, and mandatory if `icons` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ShortcutPrototype.html#icon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ShortcutPrototype.html#icon Online documentation} */ icon?: FileName /** @@ -13612,19 +13626,19 @@ declare module "factorio:prototype" { * The base game uses 32px icons for shortcuts. * * Only loaded if `icons` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ShortcutPrototype.html#icon_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ShortcutPrototype.html#icon_size Online documentation} */ icon_size?: SpriteSizeType /** * Can't be an empty array. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ShortcutPrototype.html#small_icons Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ShortcutPrototype.html#small_icons Online documentation} */ small_icons?: readonly IconData[] /** * Path to the icon file. Used in the shortcut selection popup. * * Only loaded, and mandatory if `small_icons` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ShortcutPrototype.html#small_icon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ShortcutPrototype.html#small_icon Online documentation} */ small_icon?: FileName /** @@ -13635,56 +13649,56 @@ declare module "factorio:prototype" { * The base game uses 24px small icons for shortcuts. * * Only loaded if `small_icons` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ShortcutPrototype.html#small_icon_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ShortcutPrototype.html#small_icon_size Online documentation} */ small_icon_size?: SpriteSizeType /** * The item to create when clicking on a shortcut with the action set to `"spawn-item"`. The item must have the {@link ItemPrototypeFlags#spawnable spawnable} flag set. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ShortcutPrototype.html#item_to_spawn Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ShortcutPrototype.html#item_to_spawn Online documentation} */ item_to_spawn?: ItemID /** * The technology that must be researched before this shortcut can be used. Once a shortcut is unlocked in one save file, it is unlocked for all future save files. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ShortcutPrototype.html#technology_to_unlock Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ShortcutPrototype.html#technology_to_unlock Online documentation} */ technology_to_unlock?: TechnologyID /** * **Default:** `false` * * If `true`, the shortcut will not be available until its `technology_to_unlock` is researched, even if it was already researched in a different game. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ShortcutPrototype.html#unavailable_until_unlocked Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ShortcutPrototype.html#unavailable_until_unlocked Online documentation} */ unavailable_until_unlocked?: boolean /** * **Default:** `false` * * Must be enabled for the Factorio API to be able to set the toggled state on the shortcut button, see {@link import("factorio:runtime").LuaPlayer#set_shortcut_toggled LuaPlayer::set_shortcut_toggled}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ShortcutPrototype.html#toggleable Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ShortcutPrototype.html#toggleable Online documentation} */ toggleable?: boolean /** * **Default:** `""` * * Name of a custom input or vanilla control. This is **only** used to show the keybind in the tooltip of the shortcut. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ShortcutPrototype.html#associated_control_input Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ShortcutPrototype.html#associated_control_input Online documentation} */ associated_control_input?: string /** * **Default:** `"default"` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ShortcutPrototype.html#style Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ShortcutPrototype.html#style Online documentation} */ style?: "default" | "blue" | "red" | "green" /** * **Default:** `""` * * Used to order the shortcuts in the {@linkplain https://wiki.factorio.com/Quick_panel quick panel}, which replaces the shortcut bar when using a controller (game pad). It {@linkplain https://forums.factorio.com/106661 is recommended} to order modded shortcuts after the vanilla shortcuts. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ShortcutPrototype.html#order Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ShortcutPrototype.html#order Online documentation} */ order?: Order } /** * An extremely basic entity with no special functionality. Used for minable rocks. Cannot be rotated. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SimpleEntityPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SimpleEntityPrototype.html Online documentation} */ export interface SimpleEntityPrototype extends EntityWithHealthPrototype { type: "simple-entity" @@ -13692,66 +13706,66 @@ declare module "factorio:prototype" { * **Default:** `false` * * Whether this entity should be treated as a rock for the purpose of deconstruction and for {@link CarPrototype#immune_to_rock_impacts CarPrototype::immune_to_rock_impacts}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SimpleEntityPrototype.html#count_as_rock_for_filtered_deconstruction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SimpleEntityPrototype.html#count_as_rock_for_filtered_deconstruction Online documentation} */ count_as_rock_for_filtered_deconstruction?: boolean /** * **Default:** `"object"` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SimpleEntityPrototype.html#render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SimpleEntityPrototype.html#render_layer Online documentation} */ render_layer?: RenderLayer /** * **Default:** `0` * * Used to determine render order for entities with the same `render_layer` in the same position. Entities with a higher `secondary_draw_order` are drawn on top. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SimpleEntityPrototype.html#secondary_draw_order Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SimpleEntityPrototype.html#secondary_draw_order Online documentation} */ secondary_draw_order?: int8 /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SimpleEntityPrototype.html#random_animation_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SimpleEntityPrototype.html#random_animation_offset Online documentation} */ random_animation_offset?: boolean /** * **Default:** `true` * * Whether a random graphics variation is chosen when placing the entity/creating it via script/creating it via map generation. If this is `false`, the entity will use the first variation instead of a random one. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SimpleEntityPrototype.html#random_variation_on_create Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SimpleEntityPrototype.html#random_variation_on_create Online documentation} */ random_variation_on_create?: boolean /** * **Default:** `false` * * If true, map generator will shuffle graphics variations for each chunk and pick the next one in sequence instead of making it purely position-based. This prevents identical entity variations from being too close to each other. This property overrides random_variation_on_create. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SimpleEntityPrototype.html#shuffled_variation_on_chunk_generated Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SimpleEntityPrototype.html#shuffled_variation_on_chunk_generated Online documentation} */ shuffled_variation_on_chunk_generated?: boolean /** * Takes priority over `picture` and `animations`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SimpleEntityPrototype.html#pictures Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SimpleEntityPrototype.html#pictures Online documentation} */ pictures?: SpriteVariations /** * Takes priority over `animations`. Only the `north` sprite is used because this entity cannot be rotated. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SimpleEntityPrototype.html#picture Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SimpleEntityPrototype.html#picture Online documentation} */ picture?: Sprite4Way animations?: AnimationVariations /** * **Default:** `"lower-object"` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SimpleEntityPrototype.html#lower_render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SimpleEntityPrototype.html#lower_render_layer Online documentation} */ lower_render_layer?: RenderLayer lower_pictures?: SpriteVariations /** * Loaded and drawn with all `pictures`, `picture` and `animations`. If graphics variation is larger than number of `lower_pictures` variations this layer is not drawn. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SimpleEntityPrototype.html#stateless_visualisation_variations Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SimpleEntityPrototype.html#stateless_visualisation_variations Online documentation} */ stateless_visualisation_variations?: readonly (StatelessVisualisation | readonly StatelessVisualisation[])[] } /** * By default, this entity will be a priority target for units/turrets, who will choose to attack it even if it does not block their path. Setting {@link EntityWithOwnerPrototype#is_military_target EntityWithOwnerPrototype::is_military_target} to `false` will turn this off, which then makes this type equivalent to {@link SimpleEntityWithOwnerPrototype}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SimpleEntityWithForcePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SimpleEntityWithForcePrototype.html Online documentation} */ export interface SimpleEntityWithForcePrototype extends SimpleEntityWithOwnerPrototype { type: "simple-entity-with-force" @@ -13759,7 +13773,7 @@ declare module "factorio:prototype" { * **Default:** `true` * * Whether this prototype should be a high priority target for enemy forces. See {@linkplain https://wiki.factorio.com/Military_units_and_structures Military units and structures}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SimpleEntityWithForcePrototype.html#is_military_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SimpleEntityWithForcePrototype.html#is_military_target Online documentation} */ is_military_target?: boolean } @@ -13767,53 +13781,53 @@ declare module "factorio:prototype" { * Has a force, but unlike {@link SimpleEntityWithForcePrototype} it is only attacked if the biters get stuck on it (or if {@link EntityWithOwnerPrototype#is_military_target EntityWithOwnerPrototype::is_military_target} set to true to make the two entity types equivalent). * * Can be rotated in 4 directions. `picture` can be used to specify different graphics per direction. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SimpleEntityWithOwnerPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SimpleEntityWithOwnerPrototype.html Online documentation} */ export interface SimpleEntityWithOwnerPrototype extends EntityWithOwnerPrototype { type: "simple-entity-with-force" | "simple-entity-with-owner" /** * **Default:** `"object"` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SimpleEntityWithOwnerPrototype.html#render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SimpleEntityWithOwnerPrototype.html#render_layer Online documentation} */ render_layer?: RenderLayer /** * **Default:** `0` * * Used to determine render order for entities with the same `render_layer` in the same position. Entities with a higher `secondary_draw_order` are drawn on top. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SimpleEntityWithOwnerPrototype.html#secondary_draw_order Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SimpleEntityWithOwnerPrototype.html#secondary_draw_order Online documentation} */ secondary_draw_order?: int8 /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SimpleEntityWithOwnerPrototype.html#random_animation_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SimpleEntityWithOwnerPrototype.html#random_animation_offset Online documentation} */ random_animation_offset?: boolean /** * **Default:** `true` * * Whether a random graphics variation is chosen when placing the entity/creating it via script/creating it via map generation. If this is false, the entity will use the first variation instead of a random one. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SimpleEntityWithOwnerPrototype.html#random_variation_on_create Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SimpleEntityWithOwnerPrototype.html#random_variation_on_create Online documentation} */ random_variation_on_create?: boolean /** * Takes priority over `picture` and `animations`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SimpleEntityWithOwnerPrototype.html#pictures Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SimpleEntityWithOwnerPrototype.html#pictures Online documentation} */ pictures?: SpriteVariations /** * Takes priority over `animations`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SimpleEntityWithOwnerPrototype.html#picture Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SimpleEntityWithOwnerPrototype.html#picture Online documentation} */ picture?: Sprite4Way animations?: AnimationVariations /** * **Default:** `"lower-object"` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SimpleEntityWithOwnerPrototype.html#lower_render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SimpleEntityWithOwnerPrototype.html#lower_render_layer Online documentation} */ lower_render_layer?: RenderLayer /** * Loaded and drawn with all `pictures`, `picture` and `animations`. If graphics variation is larger than number of `lower_pictures` variations this layer is not drawn. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SimpleEntityWithOwnerPrototype.html#lower_pictures Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SimpleEntityWithOwnerPrototype.html#lower_pictures Online documentation} */ lower_pictures?: SpriteVariations stateless_visualisation_variations?: readonly (StatelessVisualisation | readonly StatelessVisualisation[])[] @@ -13821,13 +13835,13 @@ declare module "factorio:prototype" { * **Default:** `"all"` * * If the entity is not visible to a player, the player cannot select it. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SimpleEntityWithOwnerPrototype.html#force_visibility Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SimpleEntityWithOwnerPrototype.html#force_visibility Online documentation} */ force_visibility?: ForceCondition } /** * Abstract entity that has an animation. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SmokePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SmokePrototype.html Online documentation} */ export interface SmokePrototype extends EntityPrototype { type: "smoke-with-trigger" @@ -13836,77 +13850,77 @@ declare module "factorio:prototype" { * **Default:** `false` * * If this is false then the smoke expires when the animation has played once. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SmokePrototype.html#cyclic Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SmokePrototype.html#cyclic Online documentation} */ cyclic?: boolean /** * **Default:** `0` * * May not be 0 if `cyclic` is true. If `cyclic` is false then the smoke will be expire when the animation has played once, even if there would still be duration left. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SmokePrototype.html#duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SmokePrototype.html#duration Online documentation} */ duration?: uint32 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SmokePrototype.html#spread_duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SmokePrototype.html#spread_duration Online documentation} */ spread_duration?: uint32 /** * **Default:** `0` * * `fade_in_duration` + `fade_away_duration` must be <= `duration`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SmokePrototype.html#fade_away_duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SmokePrototype.html#fade_away_duration Online documentation} */ fade_away_duration?: uint32 /** * **Default:** `0` * * `fade_in_duration` + `fade_away_duration` must be <= `duration`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SmokePrototype.html#fade_in_duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SmokePrototype.html#fade_in_duration Online documentation} */ fade_in_duration?: uint32 /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SmokePrototype.html#start_scale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SmokePrototype.html#start_scale Online documentation} */ start_scale?: double /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SmokePrototype.html#end_scale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SmokePrototype.html#end_scale Online documentation} */ end_scale?: double /** * **Default:** ``{r=0.375, g=0.375, b=0.375, a=0.375}`` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SmokePrototype.html#color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SmokePrototype.html#color Online documentation} */ color?: Color /** * **Default:** `true` * * Smoke always moves randomly unless `movement_slow_down_factor` is 0. If `affected_by_wind` is true, the smoke will also be moved by wind. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SmokePrototype.html#affected_by_wind Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SmokePrototype.html#affected_by_wind Online documentation} */ affected_by_wind?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SmokePrototype.html#show_when_smoke_off Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SmokePrototype.html#show_when_smoke_off Online documentation} */ show_when_smoke_off?: boolean /** * **Default:** `"smoke"` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SmokePrototype.html#render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SmokePrototype.html#render_layer Online documentation} */ render_layer?: RenderLayer /** * **Default:** `0.995` * * Value between 0 and 1, with 0 being no movement. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SmokePrototype.html#movement_slow_down_factor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SmokePrototype.html#movement_slow_down_factor Online documentation} */ movement_slow_down_factor?: double /** * **Default:** `The value of `fade_away_duration`` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SmokePrototype.html#glow_fade_away_duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SmokePrototype.html#glow_fade_away_duration Online documentation} */ glow_fade_away_duration?: uint32 glow_animation?: Animation @@ -13916,7 +13930,7 @@ declare module "factorio:prototype" { * Must have a collision box size of zero. * @example * collision_box = {{0, 0}, {0, 0}} - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SmokePrototype.html#collision_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SmokePrototype.html#collision_box Online documentation} */ collision_box?: BoundingBox /** @@ -13925,13 +13939,13 @@ declare module "factorio:prototype" { * The entity with the higher number is selectable before the entity with the lower number. * * The value `0` will be treated the same as `nil`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SmokePrototype.html#selection_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SmokePrototype.html#selection_priority Online documentation} */ selection_priority?: uint8 } /** * An entity with animation and a trigger. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SmokeWithTriggerPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SmokeWithTriggerPrototype.html Online documentation} */ export interface SmokeWithTriggerPrototype extends SmokePrototype { type: "smoke-with-trigger" @@ -13940,27 +13954,27 @@ declare module "factorio:prototype" { * **Default:** `0` * * 0 means never apply. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SmokeWithTriggerPrototype.html#action_cooldown Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SmokeWithTriggerPrototype.html#action_cooldown Online documentation} */ action_cooldown?: uint32 /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SmokeWithTriggerPrototype.html#particle_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SmokeWithTriggerPrototype.html#particle_count Online documentation} */ particle_count?: uint8 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SmokeWithTriggerPrototype.html#particle_distance_scale_factor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SmokeWithTriggerPrototype.html#particle_distance_scale_factor Online documentation} */ particle_distance_scale_factor?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SmokeWithTriggerPrototype.html#spread_duration_variation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SmokeWithTriggerPrototype.html#spread_duration_variation Online documentation} */ spread_duration_variation?: uint32 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SmokeWithTriggerPrototype.html#particle_duration_variation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SmokeWithTriggerPrototype.html#particle_duration_variation Online documentation} */ particle_duration_variation?: uint32 particle_spread?: Vector @@ -13971,36 +13985,36 @@ declare module "factorio:prototype" { * **Default:** `false` * * If true, causes the smoke to move with the target entity if one is specified. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SmokeWithTriggerPrototype.html#attach_to_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SmokeWithTriggerPrototype.html#attach_to_target Online documentation} */ attach_to_target?: boolean /** * **Default:** `false` * * If true, the smoke will immediately start fading away when the entity it is attached to is destroyed. If it was never attached to an entity in the first place, then the smoke will fade away immediately after being created. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SmokeWithTriggerPrototype.html#fade_when_attachment_is_destroyed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SmokeWithTriggerPrototype.html#fade_when_attachment_is_destroyed Online documentation} */ fade_when_attachment_is_destroyed?: boolean } /** * A {@linkplain https://wiki.factorio.com/Portable_solar_panel portable solar panel}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SolarPanelEquipmentPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SolarPanelEquipmentPrototype.html Online documentation} */ export interface SolarPanelEquipmentPrototype extends EquipmentPrototype { type: "solar-panel-equipment" /** * How much power should be provided. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SolarPanelEquipmentPrototype.html#power Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SolarPanelEquipmentPrototype.html#power Online documentation} */ power: Energy /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SolarPanelEquipmentPrototype.html#performance_at_day Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SolarPanelEquipmentPrototype.html#performance_at_day Online documentation} */ performance_at_day?: double /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SolarPanelEquipmentPrototype.html#performance_at_night Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SolarPanelEquipmentPrototype.html#performance_at_night Online documentation} */ performance_at_night?: double /** @@ -14009,68 +14023,68 @@ declare module "factorio:prototype" { * Surface property must have a positive {@link SurfacePropertyPrototype#default_value default value}. When {@link SolarPanelEquipmentPrototype#solar_coefficient_property SolarPanelEquipmentPrototype::solar_coefficient_property} is set to point at a different surface property than "solar-power", then {@link import("factorio:runtime").LuaSurface#solar_power_multiplier LuaSurface::solar_power_multiplier} and {@link SpaceLocationPrototype#solar_power_in_space SpaceLocationPrototype::solar_power_in_space} will be ignored as the solar panel power output will be only affected by value of this surface property set on the surface using {@link PlanetPrototype#surface_properties PlanetPrototype::surface_properties} or {@link import("factorio:runtime").LuaSurface#set_property LuaSurface::set_property}. * * Due to equipment grid overall description, when solar_coefficient_property is not solar-power, a different locale will be used to show total energy production of solar panels: `description.solar-panel-power-X` where X is the surface property name. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SolarPanelEquipmentPrototype.html#solar_coefficient_property Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SolarPanelEquipmentPrototype.html#solar_coefficient_property Online documentation} */ solar_coefficient_property?: SurfacePropertyID } /** * A {@linkplain https://wiki.factorio.com/Solar_panel solar panel}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SolarPanelPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SolarPanelPrototype.html Online documentation} */ export interface SolarPanelPrototype extends EntityWithOwnerPrototype { type: "solar-panel" /** * Sets how this solar panel connects to the energy network. The most relevant property seems to be the output_priority. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SolarPanelPrototype.html#energy_source Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SolarPanelPrototype.html#energy_source Online documentation} */ energy_source: ElectricEnergySource /** * The picture displayed for this solar panel. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SolarPanelPrototype.html#picture Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SolarPanelPrototype.html#picture Online documentation} */ picture?: SpriteVariations /** * The maximum amount of power this solar panel can produce. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SolarPanelPrototype.html#production Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SolarPanelPrototype.html#production Online documentation} */ production: Energy /** * Overlay has to be empty or have same number of variations as `picture`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SolarPanelPrototype.html#overlay Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SolarPanelPrototype.html#overlay Online documentation} */ overlay?: SpriteVariations /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SolarPanelPrototype.html#performance_at_day Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SolarPanelPrototype.html#performance_at_day Online documentation} */ performance_at_day?: double /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SolarPanelPrototype.html#performance_at_night Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SolarPanelPrototype.html#performance_at_night Online documentation} */ performance_at_night?: double /** * **Default:** `"solar-power"` * * Surface property must have a positive {@link SurfacePropertyPrototype#default_value default value}. When {@link SolarPanelPrototype#solar_coefficient_property SolarPanelPrototype::solar_coefficient_property} is set to point at a different surface property than "solar-power", then {@link import("factorio:runtime").LuaSurface#solar_power_multiplier LuaSurface::solar_power_multiplier} and {@link SpaceLocationPrototype#solar_power_in_space SpaceLocationPrototype::solar_power_in_space} will be ignored as the solar panel power output will be only affected by value of this surface property set on the surface using {@link PlanetPrototype#surface_properties PlanetPrototype::surface_properties} or {@link import("factorio:runtime").LuaSurface#set_property LuaSurface::set_property}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SolarPanelPrototype.html#solar_coefficient_property Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SolarPanelPrototype.html#solar_coefficient_property Online documentation} */ solar_coefficient_property?: SurfacePropertyID } /** * Specifies a sound that can be used with {@link import("factorio:runtime").SoundPath SoundPath} at runtime. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SoundPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SoundPrototype.html Online documentation} */ export interface SoundPrototype { readonly type: "sound" /** * Name of the sound. Can be used as a {@link import("factorio:runtime").SoundPath SoundPath} at runtime. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SoundPrototype.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SoundPrototype.html#name Online documentation} */ name: string /** * **Default:** `"game-effect"` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SoundPrototype.html#category Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SoundPrototype.html#category Online documentation} */ category?: SoundType /** @@ -14079,27 +14093,27 @@ declare module "factorio:prototype" { * Sounds with higher priority will replace a sound with lower priority if the maximum sounds limit is reached. * * 0 is the highest priority, 255 is the lowest priority. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SoundPrototype.html#priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SoundPrototype.html#priority Online documentation} */ priority?: uint8 aggregation?: AggregationSpecification /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SoundPrototype.html#allow_random_repeat Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SoundPrototype.html#allow_random_repeat Online documentation} */ allow_random_repeat?: boolean /** * **Default:** `1` * * Modifies how far a sound can be heard. Must be between `0` and `1` inclusive. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SoundPrototype.html#audible_distance_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SoundPrototype.html#audible_distance_modifier Online documentation} */ audible_distance_modifier?: double game_controller_vibration_data?: GameControllerVibrationData advanced_volume_control?: AdvancedVolumeControl /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SoundPrototype.html#speed_smoothing_window_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SoundPrototype.html#speed_smoothing_window_size Online documentation} */ speed_smoothing_window_size?: uint32 variations?: SoundDefinition | readonly SoundDefinition[] @@ -14107,7 +14121,7 @@ declare module "factorio:prototype" { * Supported sound file formats are `.ogg` (Vorbis and Opus) and `.wav`. * * Only loaded, and mandatory if `variations` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SoundPrototype.html#filename Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SoundPrototype.html#filename Online documentation} */ filename?: FileName /** @@ -14118,7 +14132,7 @@ declare module "factorio:prototype" { * This sets both min and max volumes. * * Must be `>= 0`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SoundPrototype.html#volume Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SoundPrototype.html#volume Online documentation} */ volume?: float /** @@ -14127,7 +14141,7 @@ declare module "factorio:prototype" { * Only loaded if `variations` and `volume` are not defined. * * Must be `>= 0`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SoundPrototype.html#min_volume Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SoundPrototype.html#min_volume Online documentation} */ min_volume?: float /** @@ -14138,12 +14152,12 @@ declare module "factorio:prototype" { * Only loaded if `min_volume` is defined. * * Must be `>= min_volume`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SoundPrototype.html#max_volume Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SoundPrototype.html#max_volume Online documentation} */ max_volume?: float /** * Only loaded if `variations` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SoundPrototype.html#preload Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SoundPrototype.html#preload Online documentation} */ preload?: boolean /** @@ -14152,7 +14166,7 @@ declare module "factorio:prototype" { * Speed must be `>= 1 / 64`. This sets both min and max speeds. * * Only loaded if `variations` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SoundPrototype.html#speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SoundPrototype.html#speed Online documentation} */ speed?: float /** @@ -14161,7 +14175,7 @@ declare module "factorio:prototype" { * Must be `>= 1 / 64`. * * Only loaded if both `variations` and `speed` are not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SoundPrototype.html#min_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SoundPrototype.html#min_speed Online documentation} */ min_speed?: float /** @@ -14170,12 +14184,12 @@ declare module "factorio:prototype" { * Must be `>= min_speed`. * * Only loaded if `variations` is not defined. Only loaded, and mandatory if `min_speed` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SoundPrototype.html#max_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SoundPrototype.html#max_speed Online documentation} */ max_speed?: float /** * Only loaded if `variations` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SoundPrototype.html#modifiers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SoundPrototype.html#modifiers Online documentation} */ modifiers?: SoundModifier | readonly SoundModifier[] } @@ -14184,14 +14198,14 @@ declare module "factorio:prototype" { tracked_connection: SpaceConnectionID /** * How far a platform must travel to gain this achievement. Repeated trips over a shorter distance do not count. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpaceConnectionDistanceTraveledAchievementPrototype.html#distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpaceConnectionDistanceTraveledAchievementPrototype.html#distance Online documentation} */ distance: uint32 /** * The achievement is unidirectional, this property controls the direction (using space connection definition). * * When false, a platform must go through {@link SpaceConnectionPrototype#from from} location and travel in {@link SpaceConnectionPrototype#to to} direction. When true, a platform must go through `to` location and travel in `from` direction. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpaceConnectionDistanceTraveledAchievementPrototype.html#reversed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpaceConnectionDistanceTraveledAchievementPrototype.html#reversed Online documentation} */ reversed: boolean } @@ -14205,30 +14219,30 @@ declare module "factorio:prototype" { * Length of the space connection in km. * * Cannot be 0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpaceConnectionPrototype.html#length Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpaceConnectionPrototype.html#length Online documentation} */ length?: uint32 /** * **Default:** ``{0, 0}`` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpaceConnectionPrototype.html#origin Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpaceConnectionPrototype.html#origin Online documentation} */ origin?: MapPosition /** * **Default:** `"arc"` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpaceConnectionPrototype.html#shape Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpaceConnectionPrototype.html#shape Online documentation} */ shape?: "arc" | "line" asteroid_spawn_definitions?: readonly SpaceConnectionAsteroidSpawnDefinition[] /** * Can't be an empty array. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpaceConnectionPrototype.html#icons Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpaceConnectionPrototype.html#icons Online documentation} */ icons?: readonly IconData[] /** * Path to the icon file. * * Only loaded, and mandatory if `icons` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpaceConnectionPrototype.html#icon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpaceConnectionPrototype.html#icon Online documentation} */ icon?: FileName /** @@ -14237,13 +14251,13 @@ declare module "factorio:prototype" { * The size of the square icon, in pixels. E.g. `32` for a 32px by 32px icon. Must be larger than `0`. * * Only loaded if `icons` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpaceConnectionPrototype.html#icon_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpaceConnectionPrototype.html#icon_size Online documentation} */ icon_size?: SpriteSizeType } /** * A space location, such as a planet or the solar system edge. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpaceLocationPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpaceLocationPrototype.html Online documentation} */ export interface SpaceLocationPrototype extends Prototype { type: "planet" | "space-location" @@ -14251,100 +14265,100 @@ declare module "factorio:prototype" { * **Default:** `0` * * A value which modifies platform speed; is subtracted when traveling from this location and added when traveling to this location. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpaceLocationPrototype.html#gravity_pull Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpaceLocationPrototype.html#gravity_pull Online documentation} */ gravity_pull?: double /** * **Default:** ``{0, 0}`` * * The location that this space location orbits in the space map. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpaceLocationPrototype.html#origin Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpaceLocationPrototype.html#origin Online documentation} */ origin?: MapPosition /** * Distance from the origin in map coordinates. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpaceLocationPrototype.html#distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpaceLocationPrototype.html#distance Online documentation} */ distance: double /** * Angle in relation to the origin. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpaceLocationPrototype.html#orientation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpaceLocationPrototype.html#orientation Online documentation} */ orientation: RealOrientation /** * **Default:** `1` * * The apparent size of the space location in map coordinates. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpaceLocationPrototype.html#magnitude Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpaceLocationPrototype.html#magnitude Online documentation} */ magnitude?: double /** * **Default:** `same as orientation` * * The orientation where parked space platforms will be drawn. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpaceLocationPrototype.html#parked_platforms_orientation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpaceLocationPrototype.html#parked_platforms_orientation Online documentation} */ parked_platforms_orientation?: RealOrientation /** * **Default:** `0.25` * * The orientation where the location's name will be drawn. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpaceLocationPrototype.html#label_orientation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpaceLocationPrototype.html#label_orientation Online documentation} */ label_orientation?: RealOrientation /** * **Default:** `true` * * If `false`, the orbital ring around the origin will not be drawn for this location. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpaceLocationPrototype.html#draw_orbit Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpaceLocationPrototype.html#draw_orbit Online documentation} */ draw_orbit?: boolean /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpaceLocationPrototype.html#solar_power_in_space Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpaceLocationPrototype.html#solar_power_in_space Online documentation} */ solar_power_in_space?: double /** * **Default:** `0.1` * * If greater than 0, `asteroid_spawn_definitions` will be used on space connections of this location, interpolated based on distance. The number specifies the percentage of the route where the location stops spawning its asteroids. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpaceLocationPrototype.html#asteroid_spawn_influence Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpaceLocationPrototype.html#asteroid_spawn_influence Online documentation} */ asteroid_spawn_influence?: double /** * **Default:** `false` * * When set to true, it means that this connection offers fly condition rather than wait condition at the destination - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpaceLocationPrototype.html#fly_condition Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpaceLocationPrototype.html#fly_condition Online documentation} */ fly_condition?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpaceLocationPrototype.html#auto_save_on_first_trip Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpaceLocationPrototype.html#auto_save_on_first_trip Online documentation} */ auto_save_on_first_trip?: boolean procession_graphic_catalogue?: ProcessionGraphicCatalogue procession_audio_catalogue?: ProcessionAudioCatalogue /** * These transitions are used for any platform stopped at this location. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpaceLocationPrototype.html#platform_procession_set Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpaceLocationPrototype.html#platform_procession_set Online documentation} */ platform_procession_set?: ProcessionSet /** * These transitions are used for anything traveling from the surface associated with this location. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpaceLocationPrototype.html#planet_procession_set Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpaceLocationPrototype.html#planet_procession_set Online documentation} */ planet_procession_set?: ProcessionSet /** * Can't be an empty array. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpaceLocationPrototype.html#icons Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpaceLocationPrototype.html#icons Online documentation} */ icons?: readonly IconData[] /** * Path to the icon file. * * Only loaded, and mandatory if `icons` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpaceLocationPrototype.html#icon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpaceLocationPrototype.html#icon Online documentation} */ icon?: FileName /** @@ -14353,14 +14367,14 @@ declare module "factorio:prototype" { * The size of the square icon, in pixels. E.g. `32` for a 32px by 32px icon. Must be larger than `0`. * * Only loaded if `icons` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpaceLocationPrototype.html#icon_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpaceLocationPrototype.html#icon_size Online documentation} */ icon_size?: SpriteSizeType /** * ![Space Age](https://wiki.factorio.com/images/thumb/Space_age_icon.png/16px-Space_age_icon.png) ***Space Age*** required to use. * * Can't be an empty array. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpaceLocationPrototype.html#starmap_icons Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpaceLocationPrototype.html#starmap_icons Online documentation} */ starmap_icons?: readonly IconData[] /** @@ -14369,7 +14383,7 @@ declare module "factorio:prototype" { * Path to the icon file. * * Only loaded if `starmap_icons` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpaceLocationPrototype.html#starmap_icon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpaceLocationPrototype.html#starmap_icon Online documentation} */ starmap_icon?: FileName /** @@ -14380,12 +14394,12 @@ declare module "factorio:prototype" { * The size of the starmap icon, in pixels. E.g. `32` for a 32px by 32px icon. Must be larger than `0`. * * Only loaded if `starmap_icons` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpaceLocationPrototype.html#starmap_icon_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpaceLocationPrototype.html#starmap_icon_size Online documentation} */ starmap_icon_size?: SpriteSizeType /** * Orientation of the starmap icon, defaults to pointing towards the origin. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpaceLocationPrototype.html#starmap_icon_orientation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpaceLocationPrototype.html#starmap_icon_orientation Online documentation} */ starmap_icon_orientation?: RealOrientation asteroid_spawn_definitions?: readonly SpaceLocationAsteroidSpawnDefinition[] @@ -14393,18 +14407,18 @@ declare module "factorio:prototype" { * **Default:** `false` * * Hides the space location from the planet selection lists and the space map. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpaceLocationPrototype.html#hidden Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpaceLocationPrototype.html#hidden Online documentation} */ hidden?: boolean /** * Render parameters that influence platforms orbiting this space location. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpaceLocationPrototype.html#platform_surface_render_parameters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpaceLocationPrototype.html#platform_surface_render_parameters Online documentation} */ platform_surface_render_parameters?: SurfaceRenderParameters } /** * ![Space Age](https://wiki.factorio.com/images/thumb/Space_age_icon.png/16px-Space_age_icon.png) ***Space Age*** required to use. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpacePlatformHubPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpacePlatformHubPrototype.html Online documentation} */ export interface SpacePlatformHubPrototype extends EntityWithOwnerPrototype { type: "space-platform-hub" @@ -14415,17 +14429,17 @@ declare module "factorio:prototype" { * **Default:** `0` * * The maximum circuit wire distance for this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpacePlatformHubPrototype.html#circuit_wire_max_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpacePlatformHubPrototype.html#circuit_wire_max_distance Online documentation} */ circuit_wire_max_distance?: double /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpacePlatformHubPrototype.html#draw_copper_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpacePlatformHubPrototype.html#draw_copper_wires Online documentation} */ draw_copper_wires?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpacePlatformHubPrototype.html#draw_circuit_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpacePlatformHubPrototype.html#draw_circuit_wires Online documentation} */ draw_circuit_wires?: boolean circuit_connector?: CircuitConnectorDefinition @@ -14436,14 +14450,14 @@ declare module "factorio:prototype" { * **Default:** `1` * * Repair speed of entities is multiplied by this value when they are on a space platform with this hub prototype. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpacePlatformHubPrototype.html#platform_repair_speed_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpacePlatformHubPrototype.html#platform_repair_speed_modifier Online documentation} */ platform_repair_speed_modifier?: float /** * **Default:** `0` * * Mass which this entity adds to total space platform mass when placed. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpacePlatformHubPrototype.html#weight Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpacePlatformHubPrototype.html#weight Online documentation} */ weight?: Weight cargo_station_parameters: CargoStationParameters @@ -14451,7 +14465,7 @@ declare module "factorio:prototype" { * **Default:** `256` * * Has to be 256 to make blueprints snap to (0, 0) most of the time. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpacePlatformHubPrototype.html#build_grid_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpacePlatformHubPrototype.html#build_grid_size Online documentation} */ build_grid_size?: 256 } @@ -14461,13 +14475,13 @@ declare module "factorio:prototype" { surface?: SurfaceID /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpacePlatformStarterPackPrototype.html#create_electric_network Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpacePlatformStarterPackPrototype.html#create_electric_network Online documentation} */ create_electric_network?: boolean tiles?: readonly SpacePlatformTileDefinition[] /** * The quality of the items will match the quality of the starter pack. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpacePlatformStarterPackPrototype.html#initial_items Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpacePlatformStarterPackPrototype.html#initial_items Online documentation} */ initial_items?: readonly ItemProductPrototype[] } @@ -14475,47 +14489,47 @@ declare module "factorio:prototype" { * Properties of the spectator controller. * * _Prototype limited to **1** total instances_ - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpectatorControllerPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpectatorControllerPrototype.html Online documentation} */ export interface SpectatorControllerPrototype { readonly type: "spectator-controller" /** * Name of the spectator controller. Base game uses "default". - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpectatorControllerPrototype.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpectatorControllerPrototype.html#name Online documentation} */ name: string /** * Must be >= 0.34375. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpectatorControllerPrototype.html#movement_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpectatorControllerPrototype.html#movement_speed Online documentation} */ movement_speed: double } /** * A speech bubble. It floats in the world and can display text. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpeechBubblePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpeechBubblePrototype.html Online documentation} */ export interface SpeechBubblePrototype extends EntityPrototype { type: "speech-bubble" /** * Needs a style of the type "speech_bubble_style", defined inside the gui styles. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpeechBubblePrototype.html#style Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpeechBubblePrototype.html#style Online documentation} */ style: string /** * **Default:** `"flow_style"` * * Needs a style of the type "flow_style", defined inside the gui styles. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpeechBubblePrototype.html#wrapper_flow_style Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpeechBubblePrototype.html#wrapper_flow_style Online documentation} */ wrapper_flow_style?: string /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpeechBubblePrototype.html#y_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpeechBubblePrototype.html#y_offset Online documentation} */ y_offset?: double /** * **Default:** `60` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpeechBubblePrototype.html#fade_in_out_ticks Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpeechBubblePrototype.html#fade_in_out_ticks Online documentation} */ fade_in_out_ticks?: uint32 /** @@ -14524,13 +14538,13 @@ declare module "factorio:prototype" { * The entity with the higher number is selectable before the entity with the lower number. * * The value `0` will be treated the same as `nil`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpeechBubblePrototype.html#selection_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpeechBubblePrototype.html#selection_priority Online documentation} */ selection_priority?: uint8 } /** * Used by {@link SpiderLegSpecification} for {@link SpiderVehiclePrototype}, also known as {@linkplain https://wiki.factorio.com/Spidertron spidertron}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpiderLegPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpiderLegPrototype.html Online documentation} */ export interface SpiderLegPrototype extends EntityWithOwnerPrototype { type: "spider-leg" @@ -14538,31 +14552,31 @@ declare module "factorio:prototype" { * **Default:** `0.715` * * A scalar that controls the amount of influence this leg has over the position of the torso. Must be greater than 0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpiderLegPrototype.html#stretch_force_scalar Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpiderLegPrototype.html#stretch_force_scalar Online documentation} */ stretch_force_scalar?: double /** * **Default:** `1` * * The flexibility of hip. Must be between 0 and 1 inclusive. 0 means the hip doesn't flex at all, and 1 means the hip can bend the entire range, from straight up to straight down. Values less than one will dampen the hip flexibility and cause the upper and lower leg parts to stretch and squish more to compensate. Does not affect movement, only graphics. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpiderLegPrototype.html#hip_flexibility Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpiderLegPrototype.html#hip_flexibility Online documentation} */ hip_flexibility?: double /** * The resting height of the knee from the ground. Used to derive leg part length and size. If set too low, this could cause the knee to invert, bending inwards underneath the spider. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpiderLegPrototype.html#knee_height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpiderLegPrototype.html#knee_height Online documentation} */ knee_height: double /** * The placement of the knee relative to the torso of the spider and the end of the foot when at rest. Used to calculate the shape of the leg and the length of the individual parts. Values between 0 and 1 place the knee between the torso and the leg. Values closer to 0 will place the knee closer to the torso. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpiderLegPrototype.html#knee_distance_factor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpiderLegPrototype.html#knee_distance_factor Online documentation} */ knee_distance_factor: double /** * **Default:** `0` * * The height of the foot from the ground when at rest. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpiderLegPrototype.html#ankle_height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpiderLegPrototype.html#ankle_height Online documentation} */ ankle_height?: double initial_movement_speed: double @@ -14572,21 +14586,21 @@ declare module "factorio:prototype" { base_position_selection_distance: double movement_based_position_selection_distance: double /** - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpiderLegPrototype.html#graphics_set Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpiderLegPrototype.html#graphics_set Online documentation} */ graphics_set?: SpiderLegGraphicsSet /** * **Default:** `1` * * Cannot be negative. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpiderLegPrototype.html#walking_sound_volume_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpiderLegPrototype.html#walking_sound_volume_modifier Online documentation} */ walking_sound_volume_modifier?: float /** * **Default:** `1` * * Must be larger than 0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpiderLegPrototype.html#walking_sound_speed_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpiderLegPrototype.html#walking_sound_speed_modifier Online documentation} */ walking_sound_speed_modifier?: float upper_leg_dying_trigger_effects?: readonly SpiderLegTriggerEffect[] @@ -14597,7 +14611,7 @@ declare module "factorio:prototype" { * The entity with the higher number is selectable before the entity with the lower number. * * The value `0` will be treated the same as `nil`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpiderLegPrototype.html#selection_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpiderLegPrototype.html#selection_priority Online documentation} */ selection_priority?: uint8 } @@ -14606,42 +14620,42 @@ declare module "factorio:prototype" { spider_engine: SpiderEngineSpecification /** * The height of the spider affects the shooting height and the drawing of the graphics and lights. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpiderUnitPrototype.html#height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpiderUnitPrototype.html#height Online documentation} */ height: float /** * **Default:** `1` * * Cannot be negative. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpiderUnitPrototype.html#torso_bob_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpiderUnitPrototype.html#torso_bob_speed Online documentation} */ torso_bob_speed?: float /** * **Default:** `1` * * The orientation of the torso of the spider affects the shooting direction and the drawing of the graphics and lights. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpiderUnitPrototype.html#torso_rotation_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpiderUnitPrototype.html#torso_rotation_speed Online documentation} */ torso_rotation_speed?: float graphics_set?: SpiderTorsoGraphicsSet absorptions_to_join_attack?: Record /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpiderUnitPrototype.html#spawning_time_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpiderUnitPrototype.html#spawning_time_modifier Online documentation} */ spawning_time_modifier?: double /** * A list of entity prototypes that this spider unit can build when given the build base command. * * If empty or not specified, the spider unit cannot build anything. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpiderUnitPrototype.html#buildable_entities Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpiderUnitPrototype.html#buildable_entities Online documentation} */ buildable_entities?: readonly EntityID[] /** * **Default:** `0` * * In chunks. The radius of how many chunks this spider unit charts around itself. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpiderUnitPrototype.html#radar_range Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpiderUnitPrototype.html#radar_range Online documentation} */ radar_range?: uint32 steering?: SteeringSettings @@ -14649,30 +14663,30 @@ declare module "factorio:prototype" { dying_sound?: Sound /** * A sound the spider unit makes when it sets out to attack. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpiderUnitPrototype.html#warcry Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpiderUnitPrototype.html#warcry Online documentation} */ warcry?: Sound /** * Must be less than or equal to 100. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpiderUnitPrototype.html#vision_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpiderUnitPrototype.html#vision_distance Online documentation} */ vision_distance: double distraction_cooldown: uint32 /** * **Default:** `600` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpiderUnitPrototype.html#min_pursue_time Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpiderUnitPrototype.html#min_pursue_time Online documentation} */ min_pursue_time?: uint32 /** * **Default:** `50` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpiderUnitPrototype.html#max_pursue_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpiderUnitPrototype.html#max_pursue_distance Online documentation} */ max_pursue_distance?: double ai_settings?: UnitAISettings } /** * A {@linkplain https://wiki.factorio.com/Spidertron spidertron}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpiderVehiclePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpiderVehiclePrototype.html Online documentation} */ export interface SpiderVehiclePrototype extends VehiclePrototype { type: "spider-vehicle" @@ -14682,7 +14696,7 @@ declare module "factorio:prototype" { spider_engine: SpiderEngineSpecification /** * The height of the spider affects the shooting height and the drawing of the graphics and lights. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpiderVehiclePrototype.html#height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpiderVehiclePrototype.html#height Online documentation} */ height: float movement_energy_consumption: Energy @@ -14691,98 +14705,98 @@ declare module "factorio:prototype" { * This is applied whenever the spider shoots (manual and automatic targeting), `automatic_weapon_cycling` is true and the next gun in line (which is then selected) has ammo. When all of the above is the case, the chain_shooting_cooldown_modifier is a multiplier on the remaining shooting cooldown: `cooldown = (remaining_cooldown × chain_shooting_cooldown_modifier)`. * * chain_shooting_cooldown_modifier is intended to be in the range of 0 to 1. This means that setting chain_shooting_cooldown_modifier to 0 reduces the remaining shooting cooldown to 0 while a chain_shooting_cooldown_modifier of 1 does not affect the remaining shooting cooldown at all. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpiderVehiclePrototype.html#chain_shooting_cooldown_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpiderVehiclePrototype.html#chain_shooting_cooldown_modifier Online documentation} */ chain_shooting_cooldown_modifier: float /** * **Default:** `1` * * The orientation of the torso of the spider affects the shooting direction and the drawing of the graphics and lights. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpiderVehiclePrototype.html#torso_rotation_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpiderVehiclePrototype.html#torso_rotation_speed Online documentation} */ torso_rotation_speed?: float /** * **Default:** `1` * * Cannot be negative. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpiderVehiclePrototype.html#torso_bob_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpiderVehiclePrototype.html#torso_bob_speed Online documentation} */ torso_bob_speed?: float /** * **Default:** `0` * * If set to 0 then the spider will not have a Logistics tab. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpiderVehiclePrototype.html#trash_inventory_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpiderVehiclePrototype.html#trash_inventory_size Online documentation} */ trash_inventory_size?: ItemStackIndex /** * The guns this spider vehicle uses. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpiderVehiclePrototype.html#guns Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpiderVehiclePrototype.html#guns Online documentation} */ guns?: readonly ItemID[] } /** * The {@linkplain https://wiki.factorio.com/Spidertron_remote spidertron remote}. This remote can only be used for entities of type {@link SpiderVehiclePrototype}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpidertronRemotePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpidertronRemotePrototype.html Online documentation} */ export interface SpidertronRemotePrototype extends SelectionToolPrototype { type: "spidertron-remote" /** * Color mask for the icon. This is used to show the color of the spidertron remote LEDS in the GUI. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpidertronRemotePrototype.html#icon_color_indicator_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpidertronRemotePrototype.html#icon_color_indicator_mask Online documentation} */ icon_color_indicator_mask?: FileName /** * Count of items of the same name that can be stored in one inventory slot. Must be 1 when the `"not-stackable"` flag is set. * @example * stack_size = 1 - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpidertronRemotePrototype.html#stack_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpidertronRemotePrototype.html#stack_size Online documentation} */ stack_size: 1 } /** * A {@linkplain https://wiki.factorio.com/Splitter splitter}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SplitterPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SplitterPrototype.html Online documentation} */ export interface SplitterPrototype extends TransportBeltConnectablePrototype { type: "splitter" structure?: Animation4Way /** * Drawn 1 tile north of `structure` when the splitter is facing east or west. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SplitterPrototype.html#structure_patch Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SplitterPrototype.html#structure_patch Online documentation} */ structure_patch?: Animation4Way frozen_patch?: Sprite4Way /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SplitterPrototype.html#structure_animation_speed_coefficient Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SplitterPrototype.html#structure_animation_speed_coefficient Online documentation} */ structure_animation_speed_coefficient?: double /** * **Default:** `10` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SplitterPrototype.html#structure_animation_movement_cooldown Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SplitterPrototype.html#structure_animation_movement_cooldown Online documentation} */ structure_animation_movement_cooldown?: uint32 /** * The name of the {@link TransportBeltPrototype} which is used for the sound of the underlying belt. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SplitterPrototype.html#related_transport_belt Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SplitterPrototype.html#related_transport_belt Online documentation} */ related_transport_belt?: EntityID /** * **Default:** `0` * * The maximum circuit wire distance for this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SplitterPrototype.html#circuit_wire_max_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SplitterPrototype.html#circuit_wire_max_distance Online documentation} */ circuit_wire_max_distance?: double /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SplitterPrototype.html#draw_copper_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SplitterPrototype.html#draw_copper_wires Online documentation} */ draw_copper_wires?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SplitterPrototype.html#draw_circuit_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SplitterPrototype.html#draw_circuit_wires Online documentation} */ draw_circuit_wires?: boolean circuit_connector?: readonly [ @@ -14808,81 +14822,81 @@ declare module "factorio:prototype" { * height = 103, * shift = {0.7, -0.2} * } - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpritePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpritePrototype.html Online documentation} */ export interface SpritePrototype { readonly type: "sprite" /** * Name of the sprite. Can be used as a {@link import("factorio:runtime").SpritePath SpritePath} at runtime. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpritePrototype.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpritePrototype.html#name Online documentation} */ name: string /** * If this property is present, all Sprite definitions have to be placed as entries in the array, and they will all be loaded from there. `layers` may not be an empty table. Each definition in the array may also have the `layers` property. * * If this property is present, all other properties besides `name` and `type` are ignored. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpritePrototype.html#layers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpritePrototype.html#layers Online documentation} */ layers?: readonly Sprite[] /** * Only loaded, and mandatory if `layers` is not defined. * * The path to the sprite file to use. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpritePrototype.html#filename Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpritePrototype.html#filename Online documentation} */ filename?: FileName /** * Only loaded if `layers` is not defined. * * Number of slices this is sliced into when using the "optimized atlas packing" option. If you are a modder, you can just ignore this property. Example: If this is 4, the sprite will be sliced into a 4x4 grid. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpritePrototype.html#dice Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpritePrototype.html#dice Online documentation} */ dice?: SpriteSizeType /** * Only loaded if `layers` is not defined. * * Same as `dice` above, but this specifies only how many slices there are on the x axis. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpritePrototype.html#dice_x Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpritePrototype.html#dice_x Online documentation} */ dice_x?: SpriteSizeType /** * Only loaded if `layers` is not defined. * * Same as `dice` above, but this specifies only how many slices there are on the y axis. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpritePrototype.html#dice_y Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpritePrototype.html#dice_y Online documentation} */ dice_y?: SpriteSizeType /** * **Default:** `"medium"` * * Only loaded if `layers` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpritePrototype.html#priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpritePrototype.html#priority Online documentation} */ priority?: SpritePriority /** * Only loaded if `layers` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpritePrototype.html#flags Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpritePrototype.html#flags Online documentation} */ flags?: SpriteFlags /** * Only loaded if `layers` is not defined. * * The width and height of the sprite. If this is a tuple, the first member of the tuple is the width and the second is the height. Otherwise the size is both width and height. Width and height may only be in the range of 0-4096. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpritePrototype.html#size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpritePrototype.html#size Online documentation} */ size?: SpriteSizeType | readonly [SpriteSizeType, SpriteSizeType] /** * Only loaded if `layers` is not defined. Mandatory if `size` is not defined. * * Width of the picture in pixels, from 0-4096. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpritePrototype.html#width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpritePrototype.html#width Online documentation} */ width?: SpriteSizeType /** * Only loaded if `layers` is not defined. Mandatory if `size` is not defined. * * Height of the picture in pixels, from 0-4096. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpritePrototype.html#height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpritePrototype.html#height Online documentation} */ height?: SpriteSizeType /** @@ -14891,7 +14905,7 @@ declare module "factorio:prototype" { * Only loaded if `layers` is not defined. * * Horizontal position of the sprite in the source file in pixels. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpritePrototype.html#x Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpritePrototype.html#x Online documentation} */ x?: SpriteSizeType /** @@ -14900,14 +14914,14 @@ declare module "factorio:prototype" { * Only loaded if `layers` is not defined. * * Vertical position of the sprite in the source file in pixels. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpritePrototype.html#y Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpritePrototype.html#y Online documentation} */ y?: SpriteSizeType /** * Only loaded if `layers` is not defined. * * Loaded only when `x` and `y` are both `0`. The first member of the tuple is `x` and the second is `y`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpritePrototype.html#position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpritePrototype.html#position Online documentation} */ position?: readonly [SpriteSizeType, SpriteSizeType] /** @@ -14916,21 +14930,21 @@ declare module "factorio:prototype" { * Only loaded if `layers` is not defined. * * The shift in tiles. `util.by_pixel()` can be used to divide the shift by 32 which is the usual pixel height/width of 1 tile in normal resolution. Note that 32 pixel tile height/width is not enforced anywhere - any other tile height or width is also possible. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpritePrototype.html#shift Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpritePrototype.html#shift Online documentation} */ shift?: Vector /** * **Default:** `false` * * Only loaded if `layers` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpritePrototype.html#rotate_shift Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpritePrototype.html#rotate_shift Online documentation} */ rotate_shift?: boolean /** * **Default:** `false` * * Only loaded if `layers` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpritePrototype.html#apply_special_effect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpritePrototype.html#apply_special_effect Online documentation} */ apply_special_effect?: boolean /** @@ -14939,7 +14953,7 @@ declare module "factorio:prototype" { * Only loaded if `layers` is not defined. * * Values other than `1` specify the scale of the sprite on default zoom. A scale of `2` means that the picture will be two times bigger on screen (and thus more pixelated). - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpritePrototype.html#scale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpritePrototype.html#scale Online documentation} */ scale?: double /** @@ -14948,7 +14962,7 @@ declare module "factorio:prototype" { * Only loaded if `layers` is not defined. * * Only one of `draw_as_shadow`, `draw_as_glow` and `draw_as_light` can be true. This takes precedence over `draw_as_glow` and `draw_as_light`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpritePrototype.html#draw_as_shadow Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpritePrototype.html#draw_as_shadow Online documentation} */ draw_as_shadow?: boolean /** @@ -14959,7 +14973,7 @@ declare module "factorio:prototype" { * Only one of `draw_as_shadow`, `draw_as_glow` and `draw_as_light` can be true. This takes precedence over `draw_as_light`. * * Draws first as a normal sprite, then again as a light layer. See {@linkplain https://forums.factorio.com/91682}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpritePrototype.html#draw_as_glow Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpritePrototype.html#draw_as_glow Online documentation} */ draw_as_glow?: boolean /** @@ -14968,7 +14982,7 @@ declare module "factorio:prototype" { * Only loaded if `layers` is not defined. * * Only one of `draw_as_shadow`, `draw_as_glow` and `draw_as_light` can be true. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpritePrototype.html#draw_as_light Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpritePrototype.html#draw_as_light Online documentation} */ draw_as_light?: boolean /** @@ -14977,42 +14991,42 @@ declare module "factorio:prototype" { * Only loaded if `layers` is not defined. * * Only loaded if this is an icon, that is it has the flag `"group=icon"` or `"group=gui"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpritePrototype.html#mipmap_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpritePrototype.html#mipmap_count Online documentation} */ mipmap_count?: uint8 /** * **Default:** `false` * * Only loaded if `layers` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpritePrototype.html#apply_runtime_tint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpritePrototype.html#apply_runtime_tint Online documentation} */ apply_runtime_tint?: boolean /** * **Default:** `false` * * Only loaded if `layers` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpritePrototype.html#tint_as_overlay Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpritePrototype.html#tint_as_overlay Online documentation} */ tint_as_overlay?: boolean /** * **Default:** `false` * * Only loaded if `layers` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpritePrototype.html#invert_colors Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpritePrototype.html#invert_colors Online documentation} */ invert_colors?: boolean /** * **Default:** ``{r=1, g=1, b=1, a=1}`` * * Only loaded if `layers` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpritePrototype.html#tint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpritePrototype.html#tint Online documentation} */ tint?: Color /** * **Default:** `"normal"` * * Only loaded if `layers` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpritePrototype.html#blend_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpritePrototype.html#blend_mode Online documentation} */ blend_mode?: BlendMode /** @@ -15021,7 +15035,7 @@ declare module "factorio:prototype" { * Only loaded if `layers` is not defined. * * Minimal mode is entered when mod loading fails. You are in it when you see the gray box after (part of) the loading screen that tells you a mod error. Modders can ignore this property. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpritePrototype.html#load_in_minimal_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpritePrototype.html#load_in_minimal_mode Online documentation} */ load_in_minimal_mode?: boolean /** @@ -15030,7 +15044,7 @@ declare module "factorio:prototype" { * Only loaded if `layers` is not defined. * * Whether alpha should be pre-multiplied. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpritePrototype.html#premul_alpha Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpritePrototype.html#premul_alpha Online documentation} */ premul_alpha?: boolean /** @@ -15039,7 +15053,7 @@ declare module "factorio:prototype" { * Only loaded if `layers` is not defined. * * If `true`, the sprite may be downsampled to half its size on load even when 'Sprite quality' graphics setting is set to 'High'. Whether downsampling happens depends on detected hardware and other graphics settings. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpritePrototype.html#allow_forced_downscale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpritePrototype.html#allow_forced_downscale Online documentation} */ allow_forced_downscale?: boolean /** @@ -15048,7 +15062,7 @@ declare module "factorio:prototype" { * Only loaded if `layers` is not defined. * * Unused. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpritePrototype.html#generate_sdf Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpritePrototype.html#generate_sdf Online documentation} */ generate_sdf?: boolean /** @@ -15057,7 +15071,7 @@ declare module "factorio:prototype" { * Only loaded if `layers` is not defined. * * Provides hint to sprite atlas system, so it can try to put sprites that are intended to be used at the same locations to the same sprite atlas. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpritePrototype.html#surface Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpritePrototype.html#surface Online documentation} */ surface?: SpriteUsageSurfaceHint /** @@ -15066,93 +15080,93 @@ declare module "factorio:prototype" { * Only loaded if `layers` is not defined. * * Provides hint to sprite atlas system, so it can pack sprites that are related to each other to the same sprite atlas. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpritePrototype.html#usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpritePrototype.html#usage Online documentation} */ usage?: SpriteUsageHint } /** * Entity that sticks to another entity, and damages/slows it. Stickers can only be attached to {@link UnitPrototype}, {@link CharacterPrototype}, {@link CarPrototype} and {@link SpiderVehiclePrototype}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/StickerPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/StickerPrototype.html Online documentation} */ export interface StickerPrototype extends EntityPrototype { type: "sticker" /** * Must be > 0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/StickerPrototype.html#duration_in_ticks Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/StickerPrototype.html#duration_in_ticks Online documentation} */ duration_in_ticks: uint32 animation?: Animation /** * **Default:** `"object"` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/StickerPrototype.html#render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/StickerPrototype.html#render_layer Online documentation} */ render_layer?: RenderLayer /** * **Default:** `1` * * Interval between application of `damage_per_tick`, in ticks. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/StickerPrototype.html#damage_interval Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/StickerPrototype.html#damage_interval Online documentation} */ damage_interval?: uint32 /** * If this is given, this sticker is considered a "fire sticker" for some functions, such as {@link BaseAttackParameters#fire_penalty BaseAttackParameters::fire_penalty} and {@link EntityPrototypeFlags#not_flammable EntityPrototypeFlags::not-flammable}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/StickerPrototype.html#spread_fire_entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/StickerPrototype.html#spread_fire_entity Online documentation} */ spread_fire_entity?: EntityID /** * **Default:** `30` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/StickerPrototype.html#fire_spread_cooldown Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/StickerPrototype.html#fire_spread_cooldown Online documentation} */ fire_spread_cooldown?: uint8 /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/StickerPrototype.html#fire_spread_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/StickerPrototype.html#fire_spread_radius Online documentation} */ fire_spread_radius?: float /** * **Default:** `15` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/StickerPrototype.html#stickers_per_square_meter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/StickerPrototype.html#stickers_per_square_meter Online documentation} */ stickers_per_square_meter?: float /** * **Default:** `"all"` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/StickerPrototype.html#force_visibility Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/StickerPrototype.html#force_visibility Online documentation} */ force_visibility?: ForceCondition /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/StickerPrototype.html#single_particle Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/StickerPrototype.html#single_particle Online documentation} */ single_particle?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/StickerPrototype.html#use_damage_substitute Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/StickerPrototype.html#use_damage_substitute Online documentation} */ use_damage_substitute?: boolean /** * Applied every `damage_interval` ticks, so may not necessarily be "per tick". - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/StickerPrototype.html#damage_per_tick Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/StickerPrototype.html#damage_per_tick Online documentation} */ damage_per_tick?: DamageParameters /** * **Default:** `1` * * Less than 1 to reduce movement speed, more than 1 to increase it. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/StickerPrototype.html#target_movement_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/StickerPrototype.html#target_movement_modifier Online documentation} */ target_movement_modifier?: float /** * **Default:** `Value of `target_movement_modifier`` * * The modifier value when the sticker is attached. It linearly changes over time to reach `target_movement_modifier_to`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/StickerPrototype.html#target_movement_modifier_from Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/StickerPrototype.html#target_movement_modifier_from Online documentation} */ target_movement_modifier_from?: float /** * **Default:** `Value of `target_movement_modifier`` * * The modifier value when the sticker expires. It linearly changes over time starting from `target_movement_modifier_from`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/StickerPrototype.html#target_movement_modifier_to Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/StickerPrototype.html#target_movement_modifier_to Online documentation} */ target_movement_modifier_to?: float /** @@ -15161,7 +15175,7 @@ declare module "factorio:prototype" { * The maximum movement speed for the target. * * Negative values are ignored. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/StickerPrototype.html#target_movement_max Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/StickerPrototype.html#target_movement_max Online documentation} */ target_movement_max?: float /** @@ -15170,7 +15184,7 @@ declare module "factorio:prototype" { * The maximum movement speed for the target when the sticker is attached. It linearly changes over time to reach `target_movement_max_to`. * * Negative values are ignored. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/StickerPrototype.html#target_movement_max_from Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/StickerPrototype.html#target_movement_max_from Online documentation} */ target_movement_max_from?: float /** @@ -15179,35 +15193,35 @@ declare module "factorio:prototype" { * The maximum movement speed for the target when the sticker expires. It linearly changes over time starting from `target_movement_max_from`. * * Negative values are ignored. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/StickerPrototype.html#target_movement_max_to Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/StickerPrototype.html#target_movement_max_to Online documentation} */ target_movement_max_to?: float /** * **Default:** `false` * * If true, causes the target entity to become "grounded", disabling flight. This only applies to Character entities wearing mech armor. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/StickerPrototype.html#ground_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/StickerPrototype.html#ground_target Online documentation} */ ground_target?: boolean /** * **Default:** `1` * * Less than 1 to reduce vehicle speed, more than 1 to increase it. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/StickerPrototype.html#vehicle_speed_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/StickerPrototype.html#vehicle_speed_modifier Online documentation} */ vehicle_speed_modifier?: float /** * **Default:** `Value of `vehicle_speed_modifier`` * * Works similarly to `target_movement_modifier_from`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/StickerPrototype.html#vehicle_speed_modifier_from Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/StickerPrototype.html#vehicle_speed_modifier_from Online documentation} */ vehicle_speed_modifier_from?: float /** * **Default:** `Value of `vehicle_speed_modifier`` * * Works similarly to `target_movement_modifier_to`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/StickerPrototype.html#vehicle_speed_modifier_to Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/StickerPrototype.html#vehicle_speed_modifier_to Online documentation} */ vehicle_speed_modifier_to?: float /** @@ -15216,7 +15230,7 @@ declare module "factorio:prototype" { * The maximum movement speed for vehicles. * * Negative values are ignored. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/StickerPrototype.html#vehicle_speed_max Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/StickerPrototype.html#vehicle_speed_max Online documentation} */ vehicle_speed_max?: float /** @@ -15225,7 +15239,7 @@ declare module "factorio:prototype" { * The maximum movement speed for vehicles when the sticker is attached. It linearly changes over time to reach `vehicle_speed_max_to`. * * Negative values are ignored. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/StickerPrototype.html#vehicle_speed_max_from Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/StickerPrototype.html#vehicle_speed_max_from Online documentation} */ vehicle_speed_max_from?: float /** @@ -15234,48 +15248,48 @@ declare module "factorio:prototype" { * The maximum movement speed for vehicles when the sticker expires. It linearly changes over time starting from `vehicle_speed_max_from`. * * Negative values are ignored. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/StickerPrototype.html#vehicle_speed_max_to Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/StickerPrototype.html#vehicle_speed_max_to Online documentation} */ vehicle_speed_max_to?: float /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/StickerPrototype.html#vehicle_friction_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/StickerPrototype.html#vehicle_friction_modifier Online documentation} */ vehicle_friction_modifier?: float /** * **Default:** `Value of `vehicle_friction_modifier`` * * Works similarly to `target_movement_modifier_from`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/StickerPrototype.html#vehicle_friction_modifier_from Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/StickerPrototype.html#vehicle_friction_modifier_from Online documentation} */ vehicle_friction_modifier_from?: float /** * **Default:** `Value of `vehicle_friction_modifier`` * * Works similarly to `target_movement_modifier_to`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/StickerPrototype.html#vehicle_friction_modifier_to Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/StickerPrototype.html#vehicle_friction_modifier_to Online documentation} */ vehicle_friction_modifier_to?: float /** * **Default:** `"entity"` * * Using this property marks the sticker as a "selection sticker", meaning that the selection box will be rendered around the entity when the sticker is on it. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/StickerPrototype.html#selection_box_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/StickerPrototype.html#selection_box_type Online documentation} */ selection_box_type?: CursorBoxType /** * Effects (with cooldowns) to trigger every tick. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/StickerPrototype.html#update_effects Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/StickerPrototype.html#update_effects Online documentation} */ update_effects?: readonly TriggerEffectWithCooldown[] /** * The `hidden` property of stickers is hardcoded to `true`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/StickerPrototype.html#hidden Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/StickerPrototype.html#hidden Online documentation} */ hidden: true /** * The `hidden_in_factoriopedia` property of stickers is hardcoded to `true`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/StickerPrototype.html#hidden_in_factoriopedia Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/StickerPrototype.html#hidden_in_factoriopedia Online documentation} */ hidden_in_factoriopedia: true /** @@ -15284,24 +15298,24 @@ declare module "factorio:prototype" { * The entity with the higher number is selectable before the entity with the lower number. * * The value `0` will be treated the same as `nil`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/StickerPrototype.html#selection_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/StickerPrototype.html#selection_priority Online documentation} */ selection_priority?: uint8 } /** * A {@linkplain https://wiki.factorio.com/Storage_tank storage tank}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/StorageTankPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/StorageTankPrototype.html Online documentation} */ export interface StorageTankPrototype extends EntityWithOwnerPrototype { type: "storage-tank" fluid_box: FluidBox /** * The location of the window showing the contents. Note that for `window_background` the width and height are determined by the sprite and window_bounding_box only determines the drawing location. For `fluid_background` the width is determined by the sprite and the height and drawing location are determined by window_bounding_box. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/StorageTankPrototype.html#window_bounding_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/StorageTankPrototype.html#window_bounding_box Online documentation} */ window_bounding_box: BoundingBox /** - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/StorageTankPrototype.html#pictures Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/StorageTankPrototype.html#pictures Online documentation} */ pictures?: StorageTankPictures /** @@ -15310,34 +15324,34 @@ declare module "factorio:prototype" { * Used for determining the x position inside the `flow_sprite` when drawing the storage tank. Does not affect gameplay. * * The x position of the sprite will be `((game.tick % flow_length_in_ticks) ÷ flow_length_in_ticks) × (flow_sprite.width - 32)`. This means, that over `flow_length_in_ticks` ticks, the part of the `flow_sprite` that is drawn in-game is incrementally moved from most-left to most-right inside the actual sprite, that part always has a width of 32px. After `flow_length_in_ticks`, the part of the `flow_sprite` that is drawn will start from the left again. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/StorageTankPrototype.html#flow_length_in_ticks Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/StorageTankPrototype.html#flow_length_in_ticks Online documentation} */ flow_length_in_ticks: uint32 /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/StorageTankPrototype.html#two_direction_only Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/StorageTankPrototype.html#two_direction_only Online documentation} */ two_direction_only?: boolean /** * **Default:** `true` * * Whether the "alt-mode icon" should be drawn at all. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/StorageTankPrototype.html#show_fluid_icon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/StorageTankPrototype.html#show_fluid_icon Online documentation} */ show_fluid_icon?: boolean /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/StorageTankPrototype.html#circuit_wire_max_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/StorageTankPrototype.html#circuit_wire_max_distance Online documentation} */ circuit_wire_max_distance?: double /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/StorageTankPrototype.html#draw_copper_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/StorageTankPrototype.html#draw_copper_wires Online documentation} */ draw_copper_wires?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/StorageTankPrototype.html#draw_circuit_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/StorageTankPrototype.html#draw_circuit_wires Online documentation} */ draw_circuit_wires?: boolean circuit_connector?: readonly [ @@ -15351,13 +15365,13 @@ declare module "factorio:prototype" { * **Default:** `true` * * When this is true, fluid pipelines will be visualized when this entity is held in the cursor. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/StorageTankPrototype.html#show_fluid_visualization_when_in_cursor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/StorageTankPrototype.html#show_fluid_visualization_when_in_cursor Online documentation} */ show_fluid_visualization_when_in_cursor?: boolean } /** * A straight rail. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/StraightRailPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/StraightRailPrototype.html Online documentation} */ export interface StraightRailPrototype extends RailPrototype { type: "elevated-straight-rail" | "straight-rail" @@ -15365,7 +15379,7 @@ declare module "factorio:prototype" { * **Default:** ``{{-0.7, -0.99}, {0.7, 0.99}}`` * * The {@link EntityPrototype#collision_box collision_box} of straight rail is hardcoded to `{{-0.7, -0.99}, {0.7, 0.99}}`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/StraightRailPrototype.html#collision_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/StraightRailPrototype.html#collision_box Online documentation} */ collision_box?: BoundingBox } @@ -15375,13 +15389,13 @@ declare module "factorio:prototype" { * **Default:** `surface-property-unit.[prototype name]` * * The locale key of the unit of the property. In-game, the locale is provided the `__1__` parameter, which is the value of the property. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SurfacePropertyPrototype.html#localised_unit_key Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SurfacePropertyPrototype.html#localised_unit_key Online documentation} */ localised_unit_key?: string default_value: double /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SurfacePropertyPrototype.html#is_time Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SurfacePropertyPrototype.html#is_time Online documentation} */ is_time?: boolean } @@ -15390,14 +15404,14 @@ declare module "factorio:prototype" { surface_properties?: Record /** * Can't be an empty array. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SurfacePrototype.html#icons Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SurfacePrototype.html#icons Online documentation} */ icons?: readonly IconData[] /** * Path to the icon file. * * Only loaded, and mandatory if `icons` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SurfacePrototype.html#icon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SurfacePrototype.html#icon Online documentation} */ icon?: FileName /** @@ -15406,7 +15420,7 @@ declare module "factorio:prototype" { * The size of the square icon, in pixels. E.g. `32` for a 32px by 32px icon. Must be larger than `0`. * * Only loaded if `icons` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SurfacePrototype.html#icon_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SurfacePrototype.html#icon_size Online documentation} */ icon_size?: SpriteSizeType } @@ -15437,7 +15451,7 @@ declare module "factorio:prototype" { * }, * order = "c-a" * } - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TechnologyPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TechnologyPrototype.html Online documentation} */ export interface TechnologyPrototype extends Prototype { type: "technology" @@ -15445,19 +15459,19 @@ declare module "factorio:prototype" { * If this name ends with `-`, that number is ignored for localization purposes. E.g. if the name is `technology-3`, the game looks for the `technology-name.technology` localization. The technology tree will also show the number on the technology icon. * * The number is considered the level of the technology. There can't be technologies with noncontiguous levels, e.g. `technology-1` and `technology-3` without `technology-2` will cause a startup error. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TechnologyPrototype.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TechnologyPrototype.html#name Online documentation} */ name: string /** * Can't be an empty array. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TechnologyPrototype.html#icons Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TechnologyPrototype.html#icons Online documentation} */ icons?: readonly IconData[] /** * Path to the icon file. * * Only loaded, and mandatory if `icons` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TechnologyPrototype.html#icon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TechnologyPrototype.html#icon Online documentation} */ icon?: FileName /** @@ -15468,7 +15482,7 @@ declare module "factorio:prototype" { * The base game uses 256px icons for technologies. * * Only loaded if `icons` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TechnologyPrototype.html#icon_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TechnologyPrototype.html#icon_size Online documentation} */ icon_size?: SpriteSizeType /** @@ -15482,7 +15496,7 @@ declare module "factorio:prototype" { * [...] * upgrade = true * } - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TechnologyPrototype.html#upgrade Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TechnologyPrototype.html#upgrade Online documentation} */ upgrade?: boolean /** @@ -15491,14 +15505,14 @@ declare module "factorio:prototype" { * This can be `false` to disable the technology at the start of the game, or `true` to leave it enabled. * * Changes to this property do not affect existing save files, as the enabled state is saved in the save file and not reloaded from the prototype. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TechnologyPrototype.html#enabled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TechnologyPrototype.html#enabled Online documentation} */ enabled?: boolean /** * **Default:** `false` * * Whether the technology should be shown in the technology tree GUI when "Show only essential technologies" is enabled. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TechnologyPrototype.html#essential Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TechnologyPrototype.html#essential Online documentation} */ essential?: boolean /** @@ -15507,50 +15521,50 @@ declare module "factorio:prototype" { * Controls whether the technology is shown in the tech GUI when it is not `enabled`. * * Changes to this property do not affect existing save files, as the visible_when_disabled state is saved in the save file and not reloaded from the prototype. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TechnologyPrototype.html#visible_when_disabled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TechnologyPrototype.html#visible_when_disabled Online documentation} */ visible_when_disabled?: boolean /** * **Default:** `false` * * Controls whether the technology cost ignores the tech cost multiplier set in the {@link DifficultySettings}. E.g. `4` for the default expensive difficulty. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TechnologyPrototype.html#ignore_tech_cost_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TechnologyPrototype.html#ignore_tech_cost_multiplier Online documentation} */ ignore_tech_cost_multiplier?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TechnologyPrototype.html#allows_productivity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TechnologyPrototype.html#allows_productivity Online documentation} */ allows_productivity?: boolean /** * Mandatory if `unit` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TechnologyPrototype.html#research_trigger Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TechnologyPrototype.html#research_trigger Online documentation} */ research_trigger?: TechnologyTrigger /** * Determines the cost in items and time of the technology. * * Mandatory if `research_trigger` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TechnologyPrototype.html#unit Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TechnologyPrototype.html#unit Online documentation} */ unit?: TechnologyUnit /** * `"infinite"` for infinite technologies, otherwise `uint32`. * * Defaults to the same level as the technology, which is `0` for non-upgrades, and the level of the upgrade for upgrades. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TechnologyPrototype.html#max_level Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TechnologyPrototype.html#max_level Online documentation} */ max_level?: uint32 | "infinite" /** * List of technologies needed to be researched before this one can be researched. * @example * prerequisites = {"explosives", "military-2"} - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TechnologyPrototype.html#prerequisites Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TechnologyPrototype.html#prerequisites Online documentation} */ prerequisites?: readonly TechnologyID[] /** * Can be used to enable or disable showing levels info in technology slot. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TechnologyPrototype.html#show_levels_info Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TechnologyPrototype.html#show_levels_info Online documentation} */ show_levels_info?: boolean /** @@ -15562,20 +15576,20 @@ declare module "factorio:prototype" { * recipe = "land-mine" * } * } - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TechnologyPrototype.html#effects Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TechnologyPrototype.html#effects Online documentation} */ effects?: readonly Modifier[] /** * **Default:** `false` * * Hides the technology from the tech screen. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TechnologyPrototype.html#hidden Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TechnologyPrototype.html#hidden Online documentation} */ hidden?: boolean } /** * A container that can automatically destroy itself when it is emptied or after it has existed for a certain time. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TemporaryContainerPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TemporaryContainerPrototype.html Online documentation} */ export interface TemporaryContainerPrototype extends ContainerPrototype { type: "temporary-container" @@ -15583,21 +15597,21 @@ declare module "factorio:prototype" { * **Default:** `true` * * Whether the container is automatically destroyed when it is emptied. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TemporaryContainerPrototype.html#destroy_on_empty Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TemporaryContainerPrototype.html#destroy_on_empty Online documentation} */ destroy_on_empty?: boolean /** * **Default:** `0` * * Duration after which the container and its contents are automatically destroyed. In ticks, 0 for infinite. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TemporaryContainerPrototype.html#time_to_live Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TemporaryContainerPrototype.html#time_to_live Online documentation} */ time_to_live?: uint32 /** * **Default:** `0` * * If the container has existed for this long, {@link UtilitySprites#unclaimed_cargo_icon an alert} is show on it. In ticks, 0 for no alert. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TemporaryContainerPrototype.html#alert_after_time Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TemporaryContainerPrototype.html#alert_after_time Online documentation} */ alert_after_time?: uint32 } @@ -15605,44 +15619,44 @@ declare module "factorio:prototype" { * ![Space Age](https://wiki.factorio.com/images/thumb/Space_age_icon.png/16px-Space_age_icon.png) ***Space Age*** required to use. * * Consumes two fluids as fuel to produce thrust for a space platform. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ThrusterPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ThrusterPrototype.html Online documentation} */ export interface ThrusterPrototype extends EntityWithOwnerPrototype { type: "thruster" min_performance: ThrusterPerformancePoint /** * `max_performance.fluid_volume` must not be smaller than `min_performance.fluid_volume`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ThrusterPrototype.html#max_performance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ThrusterPrototype.html#max_performance Online documentation} */ max_performance: ThrusterPerformancePoint /** * If a {@link FluidBox#filter filter} is set for this fluidbox it determines what the thruster considers the first fuel. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ThrusterPrototype.html#fuel_fluid_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ThrusterPrototype.html#fuel_fluid_box Online documentation} */ fuel_fluid_box: FluidBox /** * If a {@link FluidBox#filter filter} is set for this fluidbox it determines what the thruster considers the second fuel. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ThrusterPrototype.html#oxidizer_fluid_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ThrusterPrototype.html#oxidizer_fluid_box Online documentation} */ oxidizer_fluid_box: FluidBox /** * If specified, fuel fluid below this temperature will cause the thruster to stop working. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ThrusterPrototype.html#minimum_fuel_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ThrusterPrototype.html#minimum_fuel_temperature Online documentation} */ minimum_fuel_temperature?: float /** * If specified, fuel fluid above this temperature will cause the thruster to stop working. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ThrusterPrototype.html#maximum_fuel_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ThrusterPrototype.html#maximum_fuel_temperature Online documentation} */ maximum_fuel_temperature?: float /** * If specified, oxidizer fluid below this temperature will cause the thruster to stop working. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ThrusterPrototype.html#minimum_oxidizer_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ThrusterPrototype.html#minimum_oxidizer_temperature Online documentation} */ minimum_oxidizer_temperature?: float /** * If specified, oxidizer fluid above this temperature will cause the thruster to stop working. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ThrusterPrototype.html#maximum_oxidizer_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ThrusterPrototype.html#maximum_oxidizer_temperature Online documentation} */ maximum_oxidizer_temperature?: float graphics_set?: ThrusterGraphicsSet @@ -15652,33 +15666,33 @@ declare module "factorio:prototype" { * Used to define the parameters for tile shaders. * * _Prototype limited to **32** total instances_ - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TileEffectDefinition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TileEffectDefinition.html Online documentation} */ export interface TileEffectDefinition { readonly type: "tile-effect" /** * Name of the tile-effect. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TileEffectDefinition.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TileEffectDefinition.html#name Online documentation} */ name: string shader: "water" | "space" | "puddle" /** * Only loaded, and mandatory if `shader` is `"water"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TileEffectDefinition.html#water Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TileEffectDefinition.html#water Online documentation} */ water?: WaterTileEffectParameters /** * ![Space Age](https://wiki.factorio.com/images/thumb/Space_age_icon.png/16px-Space_age_icon.png) ***Space Age*** required to use. * * Only loaded, and mandatory if `shader` is `"space"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TileEffectDefinition.html#space Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TileEffectDefinition.html#space Online documentation} */ space?: SpaceTileEffectParameters /** * ![Space Age](https://wiki.factorio.com/images/thumb/Space_age_icon.png/16px-Space_age_icon.png) ***Space Age*** required to use. * * Only loaded, and mandatory if `shader` is `"puddle"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TileEffectDefinition.html#puddle Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TileEffectDefinition.html#puddle Online documentation} */ puddle?: PuddleTileEffectParameters } @@ -15693,7 +15707,7 @@ declare module "factorio:prototype" { * collision_box = {{-0.5, -0.5}, {0.5, 0.5}}, * selection_priority = 45 * } - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TileGhostPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TileGhostPrototype.html Online documentation} */ export interface TileGhostPrototype extends EntityPrototype { type: "tile-ghost" @@ -15702,26 +15716,26 @@ declare module "factorio:prototype" { * A {@linkplain https://wiki.factorio.com/Tile tile}. * * _Prototype limited to **65535** total instances_ - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TilePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TilePrototype.html Online documentation} */ export interface TilePrototype extends Prototype { type: "tile" collision_mask: TileCollisionMaskConnector /** * Specifies transition drawing priority. This represents the positive offset from this tile's `layer_group`. Internally, the final layer is computed as `layer_group + layer` (a {@link uint16}), wrapping back to `"zero"` after the `"top"` layer. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TilePrototype.html#layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TilePrototype.html#layer Online documentation} */ layer: uint8 /** * **Default:** `"ground-natural"` * * The base group of render layers this tile belongs to. It can be moved up inside this group using the `layer` property. See the {@link TileRenderLayer} page to see the sizes of all layer groups. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TilePrototype.html#layer_group Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TilePrototype.html#layer_group Online documentation} */ layer_group?: TileRenderLayer /** * The build animation used when this tile is built on a space platform. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TilePrototype.html#build_animations Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TilePrototype.html#build_animations Online documentation} */ build_animations?: Animation4Way build_animations_background?: Animation4Way @@ -15729,25 +15743,25 @@ declare module "factorio:prototype" { * When the build_animations frame reaches this point the tile is built. * * Mandatory if `build_animations` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TilePrototype.html#built_animation_frame Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TilePrototype.html#built_animation_frame Online documentation} */ built_animation_frame?: uint32 /** * Graphics for this tile. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TilePrototype.html#variants Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TilePrototype.html#variants Online documentation} */ variants: TileTransitionsVariants map_color: Color /** * Can't be an empty array. If this and `icon` is not set, the `material_background` in `variants` is used as the icon. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TilePrototype.html#icons Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TilePrototype.html#icons Online documentation} */ icons?: readonly IconData[] /** * Path to the icon file. If this and `icons` is not set, the `material_background` in `variants` is used as the icon. * * Only loaded if `icons` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TilePrototype.html#icon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TilePrototype.html#icon Online documentation} */ icon?: FileName /** @@ -15756,35 +15770,35 @@ declare module "factorio:prototype" { * The size of the square icon, in pixels. E.g. `32` for a 32px by 32px icon. Must be larger than `0`. * * Only loaded if `icons` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TilePrototype.html#icon_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TilePrototype.html#icon_size Online documentation} */ icon_size?: SpriteSizeType /** * **Default:** `false` * * For surfaces that use {@link SurfaceRenderParameters#fog fog effect} of type `gleba`, this property determines whether given tile should contribute to fog intensity on a chunk or not. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TilePrototype.html#lowland_fog Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TilePrototype.html#lowland_fog Online documentation} */ lowland_fog?: boolean /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TilePrototype.html#transition_overlay_layer_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TilePrototype.html#transition_overlay_layer_offset Online documentation} */ transition_overlay_layer_offset?: int8 /** * **Default:** `"any"` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TilePrototype.html#sprite_usage_surface Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TilePrototype.html#sprite_usage_surface Online documentation} */ sprite_usage_surface?: SpriteUsageSurfaceHint transition_merges_with_tile?: TileID /** * **Default:** ``{r=1, g=1, b=1, a=1} (white)`` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TilePrototype.html#effect_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TilePrototype.html#effect_color Online documentation} */ effect_color?: Color /** * **Default:** ``{r=1, g=1, b=1, a=1} (white)`` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TilePrototype.html#tint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TilePrototype.html#tint Online documentation} */ tint?: Color particle_tints?: TileBasedParticleTints @@ -15793,90 +15807,90 @@ declare module "factorio:prototype" { driving_sound?: InterruptibleSound /** * If this is loaded as one Sound, it is loaded as the "small" build sound. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TilePrototype.html#build_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TilePrototype.html#build_sound Online documentation} */ build_sound?: Sound | TileBuildSound mined_sound?: Sound /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TilePrototype.html#walking_speed_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TilePrototype.html#walking_speed_modifier Online documentation} */ walking_speed_modifier?: double /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TilePrototype.html#vehicle_friction_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TilePrototype.html#vehicle_friction_modifier Online documentation} */ vehicle_friction_modifier?: double /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TilePrototype.html#decorative_removal_probability Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TilePrototype.html#decorative_removal_probability Online documentation} */ decorative_removal_probability?: float /** * **Default:** `All tiles` * * Array of tile names that are allowed next to this one. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TilePrototype.html#allowed_neighbors Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TilePrototype.html#allowed_neighbors Online documentation} */ allowed_neighbors?: readonly TileID[] /** * **Default:** `false` * * Whether the tile needs tile correction logic applied when it's generated in the world, to prevent graphical artifacts. The tile correction logic disallows 1-wide stripes of the tile, see {@linkplain https://factorio.com/blog/post/fff-346 Friday Facts #346}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TilePrototype.html#needs_correction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TilePrototype.html#needs_correction Online documentation} */ needs_correction?: boolean /** * If you want the tile to not be mineable, don't specify the minable property. Only non-mineable tiles become hidden tiles when placing mineable tiles on top of them. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TilePrototype.html#minable Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TilePrototype.html#minable Online documentation} */ minable?: MinableProperties fluid?: FluidID next_direction?: TileID /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TilePrototype.html#can_be_part_of_blueprint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TilePrototype.html#can_be_part_of_blueprint Online documentation} */ can_be_part_of_blueprint?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TilePrototype.html#is_foundation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TilePrototype.html#is_foundation Online documentation} */ is_foundation?: boolean /** * **Default:** `false` * * If items dropped on this tile are destroyed. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TilePrototype.html#destroys_dropped_items Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TilePrototype.html#destroys_dropped_items Online documentation} */ destroys_dropped_items?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TilePrototype.html#allows_being_covered Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TilePrototype.html#allows_being_covered Online documentation} */ allows_being_covered?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TilePrototype.html#searchable Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TilePrototype.html#searchable Online documentation} */ searchable?: boolean /** * **Default:** `0` * * Must be equal to or greater than 0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TilePrototype.html#max_health Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TilePrototype.html#max_health Online documentation} */ max_health?: float /** * **Default:** `0` * * Mass which this tile adds to total space platform mass when placed. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TilePrototype.html#weight Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TilePrototype.html#weight Online documentation} */ weight?: Weight /** * Triggers when a foundation tile is destroyed by an asteroid. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TilePrototype.html#dying_explosion Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TilePrototype.html#dying_explosion Online documentation} */ dying_explosion?: ExplosionDefinition | readonly ExplosionDefinition[] absorptions_per_second?: Record @@ -15886,7 +15900,7 @@ declare module "factorio:prototype" { effect?: TileEffectDefinitionID /** * Called by {@link InvokeTileEffectTriggerEffectItem}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TilePrototype.html#trigger_effect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TilePrototype.html#trigger_effect Online documentation} */ trigger_effect?: TriggerEffect /** @@ -15895,7 +15909,7 @@ declare module "factorio:prototype" { * If the item defines {@link ItemPrototype#destroyed_by_dropping_trigger its own trigger} it will override this. * * If this is defined, `destroys_dropped_items` must be `true`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TilePrototype.html#default_destroyed_dropped_item_trigger Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TilePrototype.html#default_destroyed_dropped_item_trigger Online documentation} */ default_destroyed_dropped_item_trigger?: Trigger scorch_mark_color?: Color @@ -15903,22 +15917,22 @@ declare module "factorio:prototype" { * **Default:** `true` * * If set to true, the game will check for collisions with entities before building or mining the tile. If entities are in the way it is not possible to mine/build the tile. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TilePrototype.html#check_collision_with_entities Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TilePrototype.html#check_collision_with_entities Online documentation} */ check_collision_with_entities?: boolean /** * Used by the {@linkplain https://wiki.factorio.com/Pollution pollution} shader. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TilePrototype.html#effect_color_secondary Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TilePrototype.html#effect_color_secondary Online documentation} */ effect_color_secondary?: Color /** * **Default:** `true if `effect_color` alpha equals 1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TilePrototype.html#effect_is_opaque Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TilePrototype.html#effect_is_opaque Online documentation} */ effect_is_opaque?: boolean /** * Extra transitions. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TilePrototype.html#transitions Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TilePrototype.html#transitions Online documentation} */ transitions?: readonly TileTransitionsToTiles[] transitions_between_transitions?: readonly TileTransitionsBetweenTransitions[] @@ -15930,13 +15944,13 @@ declare module "factorio:prototype" { } /** * A tips and tricks entry. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TipsAndTricksItem.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TipsAndTricksItem.html Online documentation} */ export interface TipsAndTricksItem extends PrototypeBase { type: "tips-and-tricks-item" /** * **Default:** `""` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TipsAndTricksItem.html#image Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TipsAndTricksItem.html#image Online documentation} */ image?: FileName simulation?: SimulationDefinition @@ -15944,76 +15958,76 @@ declare module "factorio:prototype" { * **Default:** `""` * * String to add in front of the tips and trick entries name. Can be anything, the base game tends to use {@linkplain https://wiki.factorio.com/Rich_text rich text} tags for items, e.g. `[item=wooden-chest]` here. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TipsAndTricksItem.html#tag Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TipsAndTricksItem.html#tag Online documentation} */ tag?: string /** * **Default:** `the `name` of this prototype` * * Name of a {@link TipsAndTricksItemCategory}, used for the sorting of this tips and tricks entry. Tips and trick entries are sorted first by category and then by their `order` within that category. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TipsAndTricksItem.html#category Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TipsAndTricksItem.html#category Online documentation} */ category?: string /** * **Default:** `0` * * The tips and tricks entry is indented by `indent`×6 spaces. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TipsAndTricksItem.html#indent Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TipsAndTricksItem.html#indent Online documentation} */ indent?: uint8 /** * **Default:** `false` * * Whether the tip title on the left in the tips and tricks GUI should use the "title_tip_item" style (semi bold font). - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TipsAndTricksItem.html#is_title Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TipsAndTricksItem.html#is_title Online documentation} */ is_title?: boolean /** * Condition for when the tip notification should be shown to the player. If the condition is fulfilled, the status of the tip is set to "suggested" or "dependencies-not-met". - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TipsAndTricksItem.html#trigger Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TipsAndTricksItem.html#trigger Online documentation} */ trigger?: TipTrigger /** * Condition for never showing the tip notification to the player. If the condition is fulfilled, the tip is considered completed and shown in the tips list. * * If the tip notification is already shown, then fulfilling the skip trigger removes the tip notification icon again. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TipsAndTricksItem.html#skip_trigger Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TipsAndTricksItem.html#skip_trigger Online documentation} */ skip_trigger?: TipTrigger /** * **Default:** `""` * * Name of a {@link TutorialDefinition}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TipsAndTricksItem.html#tutorial Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TipsAndTricksItem.html#tutorial Online documentation} */ tutorial?: string /** * **Default:** `"locked"` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TipsAndTricksItem.html#starting_status Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TipsAndTricksItem.html#starting_status Online documentation} */ starting_status?: TipStatus /** * **Default:** `none` * * An array of names of other tips and tricks items. This tips and tricks entry is only shown to the player once they have marked all dependencies as read. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TipsAndTricksItem.html#dependencies Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TipsAndTricksItem.html#dependencies Online documentation} */ dependencies?: readonly string[] /** * **Default:** `"all"` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TipsAndTricksItem.html#player_input_method_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TipsAndTricksItem.html#player_input_method_filter Online documentation} */ player_input_method_filter?: PlayerInputMethodFilter /** * Can't be an empty array. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TipsAndTricksItem.html#icons Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TipsAndTricksItem.html#icons Online documentation} */ icons?: readonly IconData[] /** * Path to the icon file. * * Only loaded if `icons` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TipsAndTricksItem.html#icon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TipsAndTricksItem.html#icon Online documentation} */ icon?: FileName /** @@ -16022,44 +16036,44 @@ declare module "factorio:prototype" { * The size of the square icon, in pixels. E.g. `32` for a 32px by 32px icon. Must be larger than `0`. * * Only loaded if `icons` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TipsAndTricksItem.html#icon_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TipsAndTricksItem.html#icon_size Online documentation} */ icon_size?: SpriteSizeType /** * **Default:** `Value of `name`` * * Used to order prototypes in inventory, recipes and GUIs. May not exceed a length of 200 characters. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TipsAndTricksItem.html#order Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TipsAndTricksItem.html#order Online documentation} */ order?: Order } /** * A {@link TipsAndTricksItem} category, used for sorting of tips and tricks entries: Tips and trick entries are sorted first by category and then by their order within that category. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TipsAndTricksItemCategory.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TipsAndTricksItemCategory.html Online documentation} */ export interface TipsAndTricksItemCategory { readonly type: "tips-and-tricks-item-category" name: string /** * Tips and trick categories are sorted by `order`, and then the tips and tips entries are sorted by their own order within those categories. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TipsAndTricksItemCategory.html#order Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TipsAndTricksItemCategory.html#order Online documentation} */ order: Order } /** * Items with a "durability". - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ToolPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ToolPrototype.html Online documentation} */ export interface ToolPrototype extends ItemPrototype { type: "armor" | "repair-tool" | "tool" /** * The durability of this tool. Must be positive. Mandatory if `infinite` is false. Ignored if infinite is true. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ToolPrototype.html#durability Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ToolPrototype.html#durability Online documentation} */ durability?: double /** * May not be longer than 200 characters. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ToolPrototype.html#durability_description_key Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ToolPrototype.html#durability_description_key Online documentation} */ durability_description_key?: string /** @@ -16080,20 +16094,20 @@ declare module "factorio:prototype" { * is applied to a tool with 2 remaining durability out of 8 it will be displayed as * * `Remaining durability is 2 out of 8 which is 25 %` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ToolPrototype.html#durability_description_value Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ToolPrototype.html#durability_description_value Online documentation} */ durability_description_value?: string /** * **Default:** `false` * * Whether this tool has infinite durability. If this is false, `durability` must be specified. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ToolPrototype.html#infinite Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ToolPrototype.html#infinite Online documentation} */ infinite?: boolean } /** * This prototype is used for receiving an achievement when the player has a specified train path length. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TrainPathAchievementPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TrainPathAchievementPrototype.html Online documentation} */ export interface TrainPathAchievementPrototype extends AchievementPrototype { type: "train-path-achievement" @@ -16101,13 +16115,13 @@ declare module "factorio:prototype" { * The achievement will trigger if a train path is longer than this. * @example * amount = 1000 - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TrainPathAchievementPrototype.html#minimum_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TrainPathAchievementPrototype.html#minimum_distance Online documentation} */ minimum_distance: double } /** * A {@linkplain https://wiki.factorio.com/Train_stop train stop}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TrainStopPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TrainStopPrototype.html Online documentation} */ export interface TrainStopPrototype extends EntityWithOwnerPrototype { type: "train-stop" @@ -16121,29 +16135,29 @@ declare module "factorio:prototype" { default_priority_signal?: SignalIDConnector /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TrainStopPrototype.html#circuit_wire_max_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TrainStopPrototype.html#circuit_wire_max_distance Online documentation} */ circuit_wire_max_distance?: double /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TrainStopPrototype.html#draw_copper_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TrainStopPrototype.html#draw_copper_wires Online documentation} */ draw_copper_wires?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TrainStopPrototype.html#draw_circuit_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TrainStopPrototype.html#draw_circuit_wires Online documentation} */ draw_circuit_wires?: boolean color?: Color /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TrainStopPrototype.html#chart_name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TrainStopPrototype.html#chart_name Online documentation} */ chart_name?: boolean light1?: TrainStopLight light2?: TrainStopLight /** - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TrainStopPrototype.html#drawing_boxes Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TrainStopPrototype.html#drawing_boxes Online documentation} */ drawing_boxes?: TrainStopDrawingBoxes circuit_connector?: readonly [ @@ -16156,13 +16170,13 @@ declare module "factorio:prototype" { * **Default:** `2` * * Has to be 2 for 2x2 grid. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TrainStopPrototype.html#build_grid_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TrainStopPrototype.html#build_grid_size Online documentation} */ build_grid_size?: 2 } /** * Abstract class that anything that is a belt or can connect to belts uses. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TransportBeltConnectablePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TransportBeltConnectablePrototype.html Online documentation} */ export interface TransportBeltConnectablePrototype extends EntityWithOwnerPrototype { type: "lane-splitter" | "linked-belt" | "loader-1x1" | "loader" | "splitter" | "transport-belt" | "underground-belt" @@ -16173,12 +16187,12 @@ declare module "factorio:prototype" { * The raw value is expressed as the number of tiles traveled by each item on the belt per tick, relative to the belt's maximum density - e.g. `x items/second ÷ (4 items/lane × 2 lanes/belt × 60 ticks/second) = belts/tick` where a "belt" is the size of one tile. See {@linkplain https://wiki.factorio.com/Transport_belts/Physics Transport_belts/Physics} for more details. * * Must be a positive non-infinite number. The number is a fixed point number with 8 bits reserved for decimal precision, meaning the smallest value step is `1/2^8 = 0.00390625`. In the simple case of a non-curved belt, the rate is multiples of `1.875` items/s, even though the entity tooltip may show a different rate. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TransportBeltConnectablePrototype.html#speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TransportBeltConnectablePrototype.html#speed Online documentation} */ speed: double /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TransportBeltConnectablePrototype.html#animation_speed_coefficient Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TransportBeltConnectablePrototype.html#animation_speed_coefficient Online documentation} */ animation_speed_coefficient?: double /** @@ -16187,12 +16201,12 @@ declare module "factorio:prototype" { * Transport belt connectable entities must have {@link EntityPrototype#collision_box collision_box} of an appropriate minimal size, they should occupy more than half of every tile the entity covers. * @example * collision_box = {{-0.4, -0.4}, {0.4, 0.4}} - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TransportBeltConnectablePrototype.html#collision_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TransportBeltConnectablePrototype.html#collision_box Online documentation} */ collision_box?: BoundingBox /** * Transport belt connectable entities cannot have the `"building-direction-8-way"` flag. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TransportBeltConnectablePrototype.html#flags Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TransportBeltConnectablePrototype.html#flags Online documentation} */ flags?: EntityPrototypeFlags /** @@ -16201,13 +16215,13 @@ declare module "factorio:prototype" { * The entity with the higher number is selectable before the entity with the lower number. * * The value `0` will be treated the same as `nil`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TransportBeltConnectablePrototype.html#selection_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TransportBeltConnectablePrototype.html#selection_priority Online documentation} */ selection_priority?: uint8 } /** * A {@linkplain https://wiki.factorio.com/Transport_belt transport belt}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TransportBeltPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TransportBeltPrototype.html Online documentation} */ export interface TransportBeltPrototype extends TransportBeltConnectablePrototype { type: "transport-belt" @@ -16216,56 +16230,56 @@ declare module "factorio:prototype" { * **Default:** `0` * * The maximum circuit wire distance for this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TransportBeltPrototype.html#circuit_wire_max_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TransportBeltPrototype.html#circuit_wire_max_distance Online documentation} */ circuit_wire_max_distance?: double /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TransportBeltPrototype.html#draw_copper_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TransportBeltPrototype.html#draw_copper_wires Online documentation} */ draw_copper_wires?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TransportBeltPrototype.html#draw_circuit_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TransportBeltPrototype.html#draw_circuit_wires Online documentation} */ draw_circuit_wires?: boolean /** * Set of 7 {@link CircuitConnectorDefinition circuit connector definitions} in order: X, H, V, SE, SW, NE and NW. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TransportBeltPrototype.html#circuit_connector Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TransportBeltPrototype.html#circuit_connector Online documentation} */ circuit_connector?: readonly CircuitConnectorDefinition[] belt_animation_set?: TransportBeltAnimationSetWithCorners /** * The name of the {@link UndergroundBeltPrototype} which is used in quick-replace fashion when the smart belt dragging behavior is triggered. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TransportBeltPrototype.html#related_underground_belt Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TransportBeltPrototype.html#related_underground_belt Online documentation} */ related_underground_belt?: EntityID } /** * A {@linkplain https://wiki.factorio.com/Tree tree}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TreePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TreePrototype.html Online documentation} */ export interface TreePrototype extends EntityWithHealthPrototype { type: "plant" | "tree" variation_weights?: readonly float[] /** * **Default:** `0.5` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TreePrototype.html#darkness_of_burnt_tree Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TreePrototype.html#darkness_of_burnt_tree Online documentation} */ darkness_of_burnt_tree?: float /** * Mandatory if `variations` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TreePrototype.html#pictures Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TreePrototype.html#pictures Online documentation} */ pictures?: SpriteVariations /** * If defined, it can't be empty. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TreePrototype.html#variations Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TreePrototype.html#variations Online documentation} */ variations?: readonly TreeVariation[] /** * Mandatory if `variations` is defined. Can't be empty. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TreePrototype.html#colors Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TreePrototype.html#colors Online documentation} */ colors?: readonly Color[] stateless_visualisation_variations?: readonly (StatelessVisualisation | readonly StatelessVisualisation[])[] @@ -16275,7 +16289,7 @@ declare module "factorio:prototype" { * The amount of health automatically regenerated. * @example * healing_per_tick = 0.01 - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TreePrototype.html#healing_per_tick Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TreePrototype.html#healing_per_tick Online documentation} */ healing_per_tick?: float } @@ -16283,7 +16297,7 @@ declare module "factorio:prototype" { * The base game always internally defines a "common" trigger target type. See {@linkplain https://forums.factorio.com/71657 Design discussion: Trigger target type}. * * _Prototype limited to **56** total instances_ - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TriggerTargetType.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TriggerTargetType.html Online documentation} */ export interface TriggerTargetType { readonly type: "trigger-target-type" @@ -16293,156 +16307,156 @@ declare module "factorio:prototype" { * Smoke, but it's not an entity for optimization purposes. * * _Prototype limited to **255** total instances_ - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TrivialSmokePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TrivialSmokePrototype.html Online documentation} */ export interface TrivialSmokePrototype extends Prototype { type: "trivial-smoke" animation: Animation /** * Can't be 0 - the smoke will never render. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TrivialSmokePrototype.html#duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TrivialSmokePrototype.html#duration Online documentation} */ duration: uint32 glow_animation?: Animation /** * **Default:** ``{r=0.375, g=0.375, b=0.375, a=0.375}`` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TrivialSmokePrototype.html#color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TrivialSmokePrototype.html#color Online documentation} */ color?: Color /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TrivialSmokePrototype.html#start_scale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TrivialSmokePrototype.html#start_scale Online documentation} */ start_scale?: float /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TrivialSmokePrototype.html#end_scale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TrivialSmokePrototype.html#end_scale Online documentation} */ end_scale?: float /** * **Default:** `0.995` * * Value between 0 and 1, with 1 being no slowdown and 0 being no movement. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TrivialSmokePrototype.html#movement_slow_down_factor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TrivialSmokePrototype.html#movement_slow_down_factor Online documentation} */ movement_slow_down_factor?: double /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TrivialSmokePrototype.html#spread_duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TrivialSmokePrototype.html#spread_duration Online documentation} */ spread_duration?: uint32 /** * **Default:** `0` * * `fade_in_duration` + `fade_away_duration` must be <= `duration`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TrivialSmokePrototype.html#fade_away_duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TrivialSmokePrototype.html#fade_away_duration Online documentation} */ fade_away_duration?: uint32 /** * **Default:** `0` * * `fade_in_duration` + `fade_away_duration` must be <= `duration`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TrivialSmokePrototype.html#fade_in_duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TrivialSmokePrototype.html#fade_in_duration Online documentation} */ fade_in_duration?: uint32 /** * **Default:** `Value of `fade_away_duration`` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TrivialSmokePrototype.html#glow_fade_away_duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TrivialSmokePrototype.html#glow_fade_away_duration Online documentation} */ glow_fade_away_duration?: uint32 /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TrivialSmokePrototype.html#cyclic Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TrivialSmokePrototype.html#cyclic Online documentation} */ cyclic?: boolean /** * **Default:** `true` * * Smoke always moves randomly unless `movement_slow_down_factor` is 0. If `affected_by_wind` is true, the smoke will also be moved by wind. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TrivialSmokePrototype.html#affected_by_wind Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TrivialSmokePrototype.html#affected_by_wind Online documentation} */ affected_by_wind?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TrivialSmokePrototype.html#show_when_smoke_off Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TrivialSmokePrototype.html#show_when_smoke_off Online documentation} */ show_when_smoke_off?: boolean /** * **Default:** `"smoke"` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TrivialSmokePrototype.html#render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TrivialSmokePrototype.html#render_layer Online documentation} */ render_layer?: RenderLayer } /** * A turret that needs no extra ammunition. See the children for turrets that need some kind of ammunition. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html Online documentation} */ export interface TurretPrototype extends EntityWithOwnerPrototype { type: "ammo-turret" | "electric-turret" | "fluid-turret" | "turret" /** * Requires ammo_type in attack_parameters unless this is a {@link AmmoTurretPrototype}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#attack_parameters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#attack_parameters Online documentation} */ attack_parameters: AttackParameters folded_animation: RotatedAnimation8Way call_for_help_radius: double /** * **Default:** `all masks` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#attack_target_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#attack_target_mask Online documentation} */ attack_target_mask?: TriggerTargetMask /** * **Default:** `no masks` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#ignore_target_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#ignore_target_mask Online documentation} */ ignore_target_mask?: TriggerTargetMask /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#shoot_in_prepare_state Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#shoot_in_prepare_state Online documentation} */ shoot_in_prepare_state?: boolean /** * **Default:** `false` * * When `false` the turret will enter `starting_attack` state without checking its ammo or energy levels. {@link FluidTurretPrototype} forces this to `true`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#start_attacking_only_when_can_shoot Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#start_attacking_only_when_can_shoot Online documentation} */ start_attacking_only_when_can_shoot?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#leave_attacking_if_shoot_fails Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#leave_attacking_if_shoot_fails Online documentation} */ leave_attacking_if_shoot_fails?: boolean /** * **Default:** `false` * * When `true` the turret's collision box will affected by its rotation. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#turret_base_has_direction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#turret_base_has_direction Online documentation} */ turret_base_has_direction?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#random_animation_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#random_animation_offset Online documentation} */ random_animation_offset?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#attack_from_start_frame Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#attack_from_start_frame Online documentation} */ attack_from_start_frame?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#allow_turning_when_starting_attack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#allow_turning_when_starting_attack Online documentation} */ allow_turning_when_starting_attack?: boolean /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#gun_animation_secondary_draw_order Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#gun_animation_secondary_draw_order Online documentation} */ gun_animation_secondary_draw_order?: uint8 /** * **Default:** `"object"` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#gun_animation_render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#gun_animation_render_layer Online documentation} */ gun_animation_render_layer?: RenderLayer graphics_set: TurretGraphicsSet @@ -16461,14 +16475,14 @@ declare module "factorio:prototype" { * **Default:** `0` * * The intensity of light in the form of `energy_glow_animation` drawn on top of `energy_glow_animation`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#glow_light_intensity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#glow_light_intensity Online documentation} */ glow_light_intensity?: float /** * **Default:** `0.2` * * The range of the flickering of the alpha of `energy_glow_animation`. Default is range 0.2, so animation alpha can be anywhere between 0.8 and 1.0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#energy_glow_animation_flicker_strength Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#energy_glow_animation_flicker_strength Online documentation} */ energy_glow_animation_flicker_strength?: float starting_attack_sound?: Sound @@ -16480,64 +16494,64 @@ declare module "factorio:prototype" { rotating_sound?: InterruptibleSound /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#default_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#default_speed Online documentation} */ default_speed?: float /** * **Default:** `Value of `default_speed`` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#default_speed_secondary Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#default_speed_secondary Online documentation} */ default_speed_secondary?: float /** * **Default:** `Value of `default_speed`` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#default_speed_when_killed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#default_speed_when_killed Online documentation} */ default_speed_when_killed?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#default_starting_progress_when_killed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#default_starting_progress_when_killed Online documentation} */ default_starting_progress_when_killed?: float /** * **Default:** `Value of `default_speed`` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#rotation_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#rotation_speed Online documentation} */ rotation_speed?: float /** * **Default:** `Value of `default_speed_secondary`` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#rotation_speed_secondary Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#rotation_speed_secondary Online documentation} */ rotation_speed_secondary?: float /** * **Default:** `Value of `default_speed_when_killed`` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#rotation_speed_when_killed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#rotation_speed_when_killed Online documentation} */ rotation_speed_when_killed?: float /** * **Default:** `Value of `default_starting_progress_when_killed`` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#rotation_starting_progress_when_killed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#rotation_starting_progress_when_killed Online documentation} */ rotation_starting_progress_when_killed?: float /** * **Default:** `Value of `default_speed`` * * Controls the speed of the preparing_animation: `1 ÷ preparing_speed = duration of the preparing_animation` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#preparing_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#preparing_speed Online documentation} */ preparing_speed?: float /** * **Default:** `Value of `default_speed_secondary`` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#preparing_speed_secondary Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#preparing_speed_secondary Online documentation} */ preparing_speed_secondary?: float /** * **Default:** `Value of `default_speed_when_killed`` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#preparing_speed_when_killed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#preparing_speed_when_killed Online documentation} */ preparing_speed_when_killed?: float /** * **Default:** `Value of `default_starting_progress_when_killed`` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#preparing_starting_progress_when_killed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#preparing_starting_progress_when_killed Online documentation} */ preparing_starting_progress_when_killed?: float /** @@ -16546,7 +16560,7 @@ declare module "factorio:prototype" { * It's randomized whether a particular turret uses the primary or the secondary speed for its animations. * * Controls the speed of the folded_animation: `1 ÷ folded_speed = duration of the folded_animation` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#folded_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#folded_speed Online documentation} */ folded_speed?: float /** @@ -16555,17 +16569,17 @@ declare module "factorio:prototype" { * It's randomized whether a particular turret uses the primary or the secondary speed for its animations. * * Controls the speed of the folded_animation: `1 ÷ folded_speed_secondary = duration of the folded_animation` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#folded_speed_secondary Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#folded_speed_secondary Online documentation} */ folded_speed_secondary?: float /** * **Default:** `Value of `default_speed_when_killed`` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#folded_speed_when_killed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#folded_speed_when_killed Online documentation} */ folded_speed_when_killed?: float /** * **Default:** `Value of `default_starting_progress_when_killed`` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#folded_starting_progress_when_killed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#folded_starting_progress_when_killed Online documentation} */ folded_starting_progress_when_killed?: float /** @@ -16574,7 +16588,7 @@ declare module "factorio:prototype" { * It's randomized whether a particular turret uses the primary or the secondary speed for its animations. * * Controls the speed of the prepared_animation: `1 ÷ prepared_speed = duration of the prepared_animation` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#prepared_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#prepared_speed Online documentation} */ prepared_speed?: float /** @@ -16583,17 +16597,17 @@ declare module "factorio:prototype" { * It's randomized whether a particular turret uses the primary or the secondary speed for its animations. * * Controls the speed of the prepared_animation: `1 ÷ prepared_speed_secondary = duration of the prepared_animation` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#prepared_speed_secondary Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#prepared_speed_secondary Online documentation} */ prepared_speed_secondary?: float /** * **Default:** `Value of `default_speed_when_killed`` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#prepared_speed_when_killed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#prepared_speed_when_killed Online documentation} */ prepared_speed_when_killed?: float /** * **Default:** `Value of `default_starting_progress_when_killed`` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#prepared_starting_progress_when_killed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#prepared_starting_progress_when_killed Online documentation} */ prepared_starting_progress_when_killed?: float /** @@ -16602,7 +16616,7 @@ declare module "factorio:prototype" { * It's randomized whether a particular turret uses the primary or the secondary speed for its animations. * * Controls the speed of the prepared_alternative_animation: `1 ÷ prepared_alternative_speed = duration of the prepared_alternative_animation` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#prepared_alternative_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#prepared_alternative_speed Online documentation} */ prepared_alternative_speed?: float /** @@ -16611,195 +16625,195 @@ declare module "factorio:prototype" { * It's randomized whether a particular turret uses the primary or the secondary speed for its animations. * * Controls the speed of the prepared_alternative_animation: `1 ÷ prepared_alternative_speed_secondary = duration of the prepared_alternative_animation` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#prepared_alternative_speed_secondary Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#prepared_alternative_speed_secondary Online documentation} */ prepared_alternative_speed_secondary?: float /** * **Default:** `Value of `default_speed_when_killed`` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#prepared_alternative_speed_when_killed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#prepared_alternative_speed_when_killed Online documentation} */ prepared_alternative_speed_when_killed?: float /** * **Default:** `Value of `default_starting_progress_when_killed`` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#prepared_alternative_starting_progress_when_killed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#prepared_alternative_starting_progress_when_killed Online documentation} */ prepared_alternative_starting_progress_when_killed?: float /** * **Default:** `0` * * The chance for `prepared_alternative_animation` to be used. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#prepared_alternative_chance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#prepared_alternative_chance Online documentation} */ prepared_alternative_chance?: float /** * **Default:** `Value of `default_speed`` * * Controls the speed of the starting_attack_animation: `1 ÷ starting_attack_speed = duration of the starting_attack_animation` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#starting_attack_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#starting_attack_speed Online documentation} */ starting_attack_speed?: float /** * **Default:** `Value of `default_speed_secondary`` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#starting_attack_speed_secondary Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#starting_attack_speed_secondary Online documentation} */ starting_attack_speed_secondary?: float /** * **Default:** `Value of `default_speed_when_killed`` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#starting_attack_speed_when_killed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#starting_attack_speed_when_killed Online documentation} */ starting_attack_speed_when_killed?: float /** * **Default:** `Value of `default_starting_progress_when_killed`` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#starting_attack_starting_progress_when_killed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#starting_attack_starting_progress_when_killed Online documentation} */ starting_attack_starting_progress_when_killed?: float /** * **Default:** `1` * * Controls the speed of the attacking_animation: `1 ÷ attacking_speed = duration of the attacking_animation` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#attacking_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#attacking_speed Online documentation} */ attacking_speed?: float /** * **Default:** `Value of `default_speed`` * * Controls the speed of the ending_attack_animation: `1 ÷ ending_attack_speed = duration of the ending_attack_animation` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#ending_attack_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#ending_attack_speed Online documentation} */ ending_attack_speed?: float /** * **Default:** `Value of `default_speed_secondary`` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#ending_attack_speed_secondary Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#ending_attack_speed_secondary Online documentation} */ ending_attack_speed_secondary?: float /** * **Default:** `Value of `default_speed_when_killed`` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#ending_attack_speed_when_killed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#ending_attack_speed_when_killed Online documentation} */ ending_attack_speed_when_killed?: float /** * **Default:** `Value of `default_starting_progress_when_killed`` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#ending_attack_starting_progress_when_killed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#ending_attack_starting_progress_when_killed Online documentation} */ ending_attack_starting_progress_when_killed?: float /** * **Default:** `Value of `default_speed`` * * Controls the speed of the folding_animation: `1 ÷ folding_speed = duration of the folding_animation` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#folding_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#folding_speed Online documentation} */ folding_speed?: float /** * **Default:** `Value of `default_speed_secondary`` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#folding_speed_secondary Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#folding_speed_secondary Online documentation} */ folding_speed_secondary?: float /** * **Default:** `Value of `default_speed_when_killed`` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#folding_speed_when_killed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#folding_speed_when_killed Online documentation} */ folding_speed_when_killed?: float /** * **Default:** `Value of `default_starting_progress_when_killed`` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#folding_starting_progress_when_killed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#folding_starting_progress_when_killed Online documentation} */ folding_starting_progress_when_killed?: float /** * **Default:** `The range defined in the `attack_parameters`` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#prepare_range Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#prepare_range Online documentation} */ prepare_range?: double /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#alert_when_attacking Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#alert_when_attacking Online documentation} */ alert_when_attacking?: boolean /** * **Default:** `false` * * Whether `spawn_decoration` should be spawned when this turret is created through {@linkplain https://wiki.factorio.com/Enemies#Expansions enemy expansion}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#spawn_decorations_on_expansion Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#spawn_decorations_on_expansion Online documentation} */ spawn_decorations_on_expansion?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#folded_animation_is_stateless Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#folded_animation_is_stateless Online documentation} */ folded_animation_is_stateless?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#unfolds_before_dying Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#unfolds_before_dying Online documentation} */ unfolds_before_dying?: boolean /** * Decoratives to be created when the spawner is created by the {@linkplain https://wiki.factorio.com/Map_generator map generator}. Placed when enemies expand if `spawn_decorations_on_expansion` is set to true. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#spawn_decoration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#spawn_decoration Online documentation} */ spawn_decoration?: readonly CreateDecorativesTriggerEffectItem[] folded_state_corpse?: EntityID | readonly EntityID[] /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#can_retarget_while_starting_attack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#can_retarget_while_starting_attack Online documentation} */ can_retarget_while_starting_attack?: boolean /** * **Default:** `true` * * Whether this prototype should be a high priority target for enemy forces. See {@linkplain https://wiki.factorio.com/Military_units_and_structures Military units and structures}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#is_military_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#is_military_target Online documentation} */ is_military_target?: boolean /** * **Default:** `0` * * The maximum circuit wire distance for this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#circuit_wire_max_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#circuit_wire_max_distance Online documentation} */ circuit_wire_max_distance?: double /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#draw_copper_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#draw_copper_wires Online documentation} */ draw_copper_wires?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#draw_circuit_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#draw_circuit_wires Online documentation} */ draw_circuit_wires?: boolean /** * Set of {@link CircuitConnectorDefinition circuit connector definitions} for all directions used by this turret. Required amount of elements is based on other prototype values: 8 elements if building-direction-8-way flag is set, or 16 elements if building-direction-16-way flag is set, or 4 elements if turret_base_has_direction is set to true, or 1 element. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TurretPrototype.html#circuit_connector Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TurretPrototype.html#circuit_connector Online documentation} */ circuit_connector?: readonly CircuitConnectorDefinition[] } /** * The definition of the tutorial to be used in the tips and tricks, see {@link TipsAndTricksItem}. The actual tutorial scripting code is defined in the tutorial scenario. The scenario must be placed in the `tutorials` folder in the mod. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TutorialDefinition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TutorialDefinition.html Online documentation} */ export interface TutorialDefinition extends PrototypeBase { type: "tutorial" /** - * Name of the folder for this tutorial scenario in the {@linkplain https://lua-api.factorio.com/2.1.22/auxiliary/mod-structure.html `tutorials` folder}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TutorialDefinition.html#scenario Online documentation} + * Name of the folder for this tutorial scenario in the {@linkplain https://lua-api.factorio.com/2.1.24/auxiliary/mod-structure.html `tutorials` folder}. + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TutorialDefinition.html#scenario Online documentation} */ scenario: string /** * **Default:** `Value of `name`` * * Used to order prototypes in inventory, recipes and GUIs. May not exceed a length of 200 characters. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TutorialDefinition.html#order Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TutorialDefinition.html#order Online documentation} */ order?: Order } /** * An {@linkplain https://wiki.factorio.com/Underground_belt underground belt}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UndergroundBeltPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UndergroundBeltPrototype.html Online documentation} */ export interface UndergroundBeltPrototype extends TransportBeltConnectablePrototype { type: "underground-belt" max_distance: uint8 /** - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UndergroundBeltPrototype.html#structure Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UndergroundBeltPrototype.html#structure Online documentation} */ structure?: UndergroundBeltStructure underground_sprite?: Sprite @@ -16807,14 +16821,14 @@ declare module "factorio:prototype" { max_distance_underground_remove_belts_sprite?: Sprite /** * **Default:** `no masks` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UndergroundBeltPrototype.html#underground_collision_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UndergroundBeltPrototype.html#underground_collision_mask Online documentation} */ underground_collision_mask?: CollisionMaskConnector max_distance_tint?: Color } /** * Entity that moves around and attacks players, for example {@linkplain https://wiki.factorio.com/Enemies#Creatures biters and spitters}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UnitPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UnitPrototype.html Online documentation} */ export interface UnitPrototype extends EntityWithOwnerPrototype { type: "unit" @@ -16822,24 +16836,24 @@ declare module "factorio:prototype" { steering?: SteeringSettings /** * Requires `animation` in attack_parameters. Requires `ammo_type` in attack_parameters. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UnitPrototype.html#attack_parameters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UnitPrototype.html#attack_parameters Online documentation} */ attack_parameters: AttackParameters /** * A sound this unit makes when it sets out to attack. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UnitPrototype.html#warcry Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UnitPrototype.html#warcry Online documentation} */ warcry?: Sound /** * Movement speed of this unit in the world, in tiles per tick. Must be equal to or greater than 0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UnitPrototype.html#movement_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UnitPrototype.html#movement_speed Online documentation} */ movement_speed: float /** * How fast the `run_animation` frames are advanced. The animations are advanced animation_speed frames per `distance_per_frame` that the unit moves. * * `frames_advanced = (distance_moved ÷ distance_per_frame) * animation_speed` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UnitPrototype.html#distance_per_frame Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UnitPrototype.html#distance_per_frame Online documentation} */ distance_per_frame: float distraction_cooldown: uint32 @@ -16847,86 +16861,86 @@ declare module "factorio:prototype" { * Max is 100. * * Note: Setting to 50 or above can lead to undocumented behavior of individual units creating groups on their own when attacking or being attacked. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UnitPrototype.html#vision_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UnitPrototype.html#vision_distance Online documentation} */ vision_distance: double /** * **Default:** `0.025` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UnitPrototype.html#rotation_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UnitPrototype.html#rotation_speed Online documentation} */ rotation_speed?: float /** * The sound file to play this unit dies. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UnitPrototype.html#dying_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UnitPrototype.html#dying_sound Online documentation} */ dying_sound?: Sound /** * **Default:** `600` * * In ticks. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UnitPrototype.html#min_pursue_time Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UnitPrototype.html#min_pursue_time Online documentation} */ min_pursue_time?: uint32 /** * **Default:** `false` * * If this unit is immune to movement by belts. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UnitPrototype.html#has_belt_immunity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UnitPrototype.html#has_belt_immunity Online documentation} */ has_belt_immunity?: boolean /** * **Default:** `50` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UnitPrototype.html#max_pursue_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UnitPrototype.html#max_pursue_distance Online documentation} */ max_pursue_distance?: double /** * **Default:** `0` * * In chunks. The radius of how many chunks this unit charts around itself. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UnitPrototype.html#radar_range Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UnitPrototype.html#radar_range Online documentation} */ radar_range?: uint32 ai_settings?: UnitAISettings /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UnitPrototype.html#move_while_shooting Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UnitPrototype.html#move_while_shooting Online documentation} */ move_while_shooting?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UnitPrototype.html#can_open_gates Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UnitPrototype.html#can_open_gates Online documentation} */ can_open_gates?: boolean /** * **Default:** `false` * * Whether this unit is affected by tile {@link TilePrototype#walking_speed_modifier walking speed modifiers}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UnitPrototype.html#affected_by_tiles Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UnitPrototype.html#affected_by_tiles Online documentation} */ affected_by_tiles?: boolean /** * **Default:** `"object"` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UnitPrototype.html#render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UnitPrototype.html#render_layer Online documentation} */ render_layer?: RenderLayer light?: LightDefinition /** * The pollution amount that has to be absorbed by the unit's {@link EnemySpawnerPrototype spawner} before the unit will leave the spawner and attack the source of the pollution. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UnitPrototype.html#absorptions_to_join_attack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UnitPrototype.html#absorptions_to_join_attack Online documentation} */ absorptions_to_join_attack?: Record /** * **Default:** `1` * * Multiplier for the {@link EnemySpawnerPrototype#spawning_cooldown EnemySpawnerPrototype::spawning_cooldown} after it spawns this unit. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UnitPrototype.html#spawning_time_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UnitPrototype.html#spawning_time_modifier Online documentation} */ spawning_time_modifier?: double /** * A list of entity prototypes that this unit can build when given the build base command. * * If empty or not specified, the unit cannot build anything. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UnitPrototype.html#buildable_entities Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UnitPrototype.html#buildable_entities Online documentation} */ buildable_entities?: readonly EntityID[] walking_sound?: Sound @@ -16935,21 +16949,21 @@ declare module "factorio:prototype" { * List of positions in the `run_animation` when the `walking_sound` is played. * * Only loaded if `walking_sound` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UnitPrototype.html#running_sound_animation_positions Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UnitPrototype.html#running_sound_animation_positions Online documentation} */ running_sound_animation_positions?: readonly float[] /** * **Default:** `true` * * Whether this prototype should be a high priority target for enemy forces. See {@linkplain https://wiki.factorio.com/Military_units_and_structures Military units and structures}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UnitPrototype.html#is_military_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UnitPrototype.html#is_military_target Online documentation} */ is_military_target?: true /** * **Default:** `false` * * If this is true, this entities `is_military_target property` can be changed runtime (on the entity, not on the prototype itself). - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UnitPrototype.html#allow_run_time_change_of_is_military_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UnitPrototype.html#allow_run_time_change_of_is_military_target Online documentation} */ allow_run_time_change_of_is_military_target?: false } @@ -16963,7 +16977,7 @@ declare module "factorio:prototype" { * For two entities to be upgrades of each other, the two entities must have the same {@link EntityPrototype#fast_replaceable_group fast replaceable group}, the same {@link EntityPrototype#collision_box collision box} and the same {@link EntityPrototype#collision_mask collision mask}. Additionally, {@link UndergroundBeltPrototype underground belts} cannot be upgraded to {@link TransportBeltPrototype transport belts} and vice versa. * * For an entity to be automatically upgraded to another entity without configuring the upgrade planner, the {@link EntityPrototype#next_upgrade next upgrade} of the upgrade source entity must be set. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UpgradeItemPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UpgradeItemPrototype.html Online documentation} */ export interface UpgradeItemPrototype extends SelectionToolPrototype { type: "upgrade-item" @@ -16971,41 +16985,41 @@ declare module "factorio:prototype" { * Count of items of the same name that can be stored in one inventory slot. Must be 1 when the `"not-stackable"` flag is set. * @example * stack_size = 1 - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UpgradeItemPrototype.html#stack_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UpgradeItemPrototype.html#stack_size Online documentation} */ stack_size: 1 /** * **Default:** `true` * * If the item will draw its label when held in the cursor in place of the item count. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UpgradeItemPrototype.html#draw_label_for_cursor_render Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UpgradeItemPrototype.html#draw_label_for_cursor_render Online documentation} */ draw_label_for_cursor_render?: boolean /** * The {@link SelectionModeData#mode SelectionModeData::mode} is hardcoded to `"upgrade"`. * * The filters are parsed, but then ignored and forced to be empty. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UpgradeItemPrototype.html#select Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UpgradeItemPrototype.html#select Online documentation} */ select: SelectionModeData /** * The {@link SelectionModeData#mode SelectionModeData::mode} is hardcoded to `"cancel-upgrade"`. * * The filters are parsed, but then ignored and forced to be empty. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UpgradeItemPrototype.html#alt_select Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UpgradeItemPrototype.html#alt_select Online documentation} */ alt_select: SelectionModeData /** * **Default:** `false` * * This property is hardcoded to `false`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UpgradeItemPrototype.html#always_include_tiles Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UpgradeItemPrototype.html#always_include_tiles Online documentation} */ always_include_tiles?: boolean } /** * This prototype is used for receiving an achievement when the player produces energy by entity. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UseEntityInEnergyProductionAchievementPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UseEntityInEnergyProductionAchievementPrototype.html Online documentation} */ export interface UseEntityInEnergyProductionAchievementPrototype extends AchievementPrototype { type: "use-entity-in-energy-production-achievement" @@ -17013,32 +17027,32 @@ declare module "factorio:prototype" { * This entity is needed to produce energy, for the player to complete the achievement. * @example * entity = "steam-engine" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UseEntityInEnergyProductionAchievementPrototype.html#entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UseEntityInEnergyProductionAchievementPrototype.html#entity Online documentation} */ entity: EntityID /** * This item need to be consumed before gaining the achievement. * @example * consumed_condition = "uranium-fuel-cell" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UseEntityInEnergyProductionAchievementPrototype.html#consumed_condition Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UseEntityInEnergyProductionAchievementPrototype.html#consumed_condition Online documentation} */ consumed_condition?: ItemIDFilter /** * This item needs to be produced before gaining the achievement. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UseEntityInEnergyProductionAchievementPrototype.html#produced_condition Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UseEntityInEnergyProductionAchievementPrototype.html#produced_condition Online documentation} */ produced_condition?: ItemIDFilter /** * This item need to be built before gaining the achievement. * @example * required_to_build = "nuclear-reactor" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UseEntityInEnergyProductionAchievementPrototype.html#required_to_build Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UseEntityInEnergyProductionAchievementPrototype.html#required_to_build Online documentation} */ required_to_build?: EntityID } /** * This prototype is used for receiving an achievement when the player uses a capsule. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UseItemAchievementPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UseItemAchievementPrototype.html Online documentation} */ export interface UseItemAchievementPrototype extends AchievementPrototype { type: "use-item-achievement" @@ -17046,7 +17060,7 @@ declare module "factorio:prototype" { * This will trigger the achievement, if this capsule is used. * @example * to_use = "raw-fish" - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UseItemAchievementPrototype.html#to_use Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UseItemAchievementPrototype.html#to_use Online documentation} */ to_use: ItemID limit_quality: QualityID @@ -17054,14 +17068,14 @@ declare module "factorio:prototype" { * **Default:** `1` * * How many capsules need to be used. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UseItemAchievementPrototype.html#amount Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UseItemAchievementPrototype.html#amount Online documentation} */ amount?: uint32 /** * **Default:** `false` * * If this is false, the player carries over their statistics from this achievement through all their saves. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UseItemAchievementPrototype.html#limited_to_one_game Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UseItemAchievementPrototype.html#limited_to_one_game Online documentation} */ limited_to_one_game?: boolean } @@ -17069,18 +17083,18 @@ declare module "factorio:prototype" { * Constants used by the game that are not specific to certain prototypes. See {@linkplain https://github.com/wube/factorio-data/blob/master/core/prototypes/utility-constants.lua utility-constants.lua} for the values used by the base game. * * _Prototype limited to **1** total instances_ - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html Online documentation} */ export interface UtilityConstants extends PrototypeBase { type: "utility-constants" /** * Chart means map and minimap. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#chart Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#chart Online documentation} */ chart: ChartUtilityConstants /** * The base game uses more entries here that are applied via the `ammo-category.lua` file. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#bonus_gui_ordering Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#bonus_gui_ordering Online documentation} */ bonus_gui_ordering: BonusUtilityConstants map_editor: EditorUtilityConstants @@ -17089,12 +17103,12 @@ declare module "factorio:prototype" { building_no_tint: Color /** * Tall entities will be tinted with this value when "Hide tall entities" mode is active. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#tall_entity_tint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#tall_entity_tint Online documentation} */ tall_entity_tint: Color /** * All trivial smoke will be tinted with this value when "Hide tall entities" mode is active. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#tall_entity_smoke_tint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#tall_entity_smoke_tint Online documentation} */ tall_entity_smoke_tint: Color underground_belt_max_distance_tint: Color @@ -17130,47 +17144,47 @@ declare module "factorio:prototype" { max_logistic_filter_count: LogisticFilterIndex /** * Will be clamped to the range [1, 100]. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#select_group_row_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#select_group_row_count Online documentation} */ select_group_row_count: uint8 /** * Will be clamped to the range [1, 100]. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#select_slot_row_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#select_slot_row_count Online documentation} */ select_slot_row_count: uint8 /** * Will be clamped to the range [2, 100]. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#logistic_slots_per_row Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#logistic_slots_per_row Online documentation} */ logistic_slots_per_row: uint8 /** * Will be clamped to the range [1, 100]. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#crafting_queue_slots_per_row Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#crafting_queue_slots_per_row Online documentation} */ crafting_queue_slots_per_row: uint8 /** * Will be clamped to the range [2, 100]. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#blueprint_big_slots_per_row Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#blueprint_big_slots_per_row Online documentation} */ blueprint_big_slots_per_row: uint8 /** * Will be clamped to the range [2, 100]. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#blueprint_small_slots_per_row Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#blueprint_small_slots_per_row Online documentation} */ blueprint_small_slots_per_row: uint8 /** * Will be clamped to the range [1, 100]. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#inventory_width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#inventory_width Online documentation} */ inventory_width: uint8 /** * Will be clamped to the range [1, 100]. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#module_inventory_width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#module_inventory_width Online documentation} */ module_inventory_width: uint8 /** * Will be clamped to the range [1, 100]. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#trash_inventory_width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#trash_inventory_width Online documentation} */ trash_inventory_width: uint8 max_terrain_building_size: uint8 @@ -17189,7 +17203,7 @@ declare module "factorio:prototype" { rail_segment_colors: readonly Color[] /** * The table with `name = "default"` must exist and be the first member of the array. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#player_colors Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#player_colors Online documentation} */ player_colors: readonly PlayerColorData[] server_command_console_chat_color: Color @@ -17199,7 +17213,7 @@ declare module "factorio:prototype" { default_alert_icon_scale_by_type?: Record /** * If not set, defaults to `true` when modded and `false` when vanilla. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#merge_bonus_gui_production_bonuses Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#merge_bonus_gui_production_bonuses Online documentation} */ merge_bonus_gui_production_bonuses?: boolean daytime_color_lookup: DaytimeColorLookupTable @@ -17216,7 +17230,7 @@ declare module "factorio:prototype" { spawner_evolution_factor_health_modifier: float /** * There must be one array item with a threshold of `0`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#item_health_bar_colors Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#item_health_bar_colors Online documentation} */ item_health_bar_colors: readonly ItemHealthColorData[] item_ammo_magazine_left_bar_color: Color @@ -17234,7 +17248,7 @@ declare module "factorio:prototype" { train_inactivity_wait_condition_default: uint32 /** * The strings are entity types. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#default_trigger_target_mask_by_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#default_trigger_target_mask_by_type Online documentation} */ default_trigger_target_mask_by_type?: Record unit_group_pathfind_resolution: int8 @@ -17243,12 +17257,12 @@ declare module "factorio:prototype" { minimum_recipe_overload_multiplier: uint32 maximum_recipe_overload_multiplier: uint32 /** - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#entity_renderer_search_box_limits Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#entity_renderer_search_box_limits Online documentation} */ entity_renderer_search_box_limits: EntityRendererSearchBoxLimits /** * Can be set to anything from range 0 to 255, but larger values will be clamped to 160. Setting it to larger values can have performance impact (growing geometrically). - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#light_renderer_search_distance_limit Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#light_renderer_search_distance_limit Online documentation} */ light_renderer_search_distance_limit: uint8 far_away_chunk_generation_radius: uint8 @@ -17264,7 +17278,7 @@ declare module "factorio:prototype" { main_menu_background_image_location: FileName /** * The strings represent the names of the simulations. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#main_menu_simulations Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#main_menu_simulations Online documentation} */ main_menu_simulations?: Record main_menu_background_vignette_intensity: float @@ -17273,7 +17287,7 @@ declare module "factorio:prototype" { feedback_screenshot_file_name: string default_scorch_mark_color: Color /** - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#color_filters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#color_filters Online documentation} */ color_filters?: readonly ColorFilterData[] clear_cursor_volume_modifier: float @@ -17285,12 +17299,12 @@ declare module "factorio:prototype" { asteroid_fading_range: float /** * Asteroid damage will be multiplied by this value when space platform speed is zero and will linearly increase until asteroid_spawning_with_random_orientation_max_speed is reached. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#asteroid_min_damage_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#asteroid_min_damage_modifier Online documentation} */ asteroid_min_damage_modifier: float /** * In km per tick. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#asteroid_spawning_with_random_orientation_max_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#asteroid_spawning_with_random_orientation_max_speed Online documentation} */ asteroid_spawning_with_random_orientation_max_speed: double asteroid_position_offset_to_speed_coefficient: double @@ -17301,7 +17315,7 @@ declare module "factorio:prototype" { asteroid_collector_static_head_swing_segment_count: uint32 /** * Variables: `speed, thrust, weight, width, height` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#space_platform_acceleration_expression Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#space_platform_acceleration_expression Online documentation} */ space_platform_acceleration_expression: MathExpression space_platform_relative_speed_factor: double @@ -17309,54 +17323,54 @@ declare module "factorio:prototype" { space_platform_max_size: SimpleBoundingBox /** * Determines how fast space platforms will send items in drop slots to the surface. Each item type has its own cooldown. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#space_platform_dump_cooldown Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#space_platform_dump_cooldown Online documentation} */ space_platform_dump_cooldown: uint32 /** * Delay after manual transfer until space platform sends items in drop slots to the surface. Overrides remaining space_platform_dump_cooldown in this instance. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#space_platform_manual_dump_cooldown Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#space_platform_manual_dump_cooldown Online documentation} */ space_platform_manual_dump_cooldown: uint32 /** * Space platform remembers relative speed range which asteroids use while it moves. When the range is larger than the specified deviation, the platform will start updating cached trajectories of all asteroid chunks over multiple ticks. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#space_platform_max_relative_speed_deviation_for_asteroid_chunks_update Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#space_platform_max_relative_speed_deviation_for_asteroid_chunks_update Online documentation} */ space_platform_max_relative_speed_deviation_for_asteroid_chunks_update: float /** * How many asteroid chunks should be processed per tick, see {@link UtilityConstants#space_platform_max_relative_speed_deviation_for_asteroid_chunks_update space_platform_max_relative_speed_deviation_for_asteroid_chunks_update}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#space_platform_asteroid_chunk_trajectory_updates_per_tick Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#space_platform_asteroid_chunk_trajectory_updates_per_tick Online documentation} */ space_platform_asteroid_chunk_trajectory_updates_per_tick: uint32 default_item_weight: Weight /** * Used for "Rocket capacity" item tooltip and for comparing rocket silo lift weight in GUI to this value. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#default_rocket_lift_weight Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#default_rocket_lift_weight Online documentation} */ default_rocket_lift_weight: Weight factoriopedia_recycling_recipe_categories: readonly RecipeCategoryID[] /** * The default value of {@link FluidBox#max_pipeline_extent FluidBox::max_pipeline_extent}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#default_pipeline_extent Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#default_pipeline_extent Online documentation} */ default_pipeline_extent: double /** * Must contain arrival and departure with {@link ProcessionPrototype#procession_style procession_style} containing 0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#default_platform_procession_set Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#default_platform_procession_set Online documentation} */ default_platform_procession_set: ProcessionSet /** * Must contain arrival and departure with {@link ProcessionPrototype#procession_style procession_style} containing 0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#default_planet_procession_set Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#default_planet_procession_set Online documentation} */ default_planet_procession_set: ProcessionSet /** * Radius of area where cargo pods won't land. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#landing_area_clear_zone_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#landing_area_clear_zone_radius Online documentation} */ landing_area_clear_zone_radius: float /** * Max radius where cargo pods will land. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#landing_area_max_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#landing_area_max_radius Online documentation} */ landing_area_max_radius: float lightning_attractor_collection_range_color: Color @@ -17364,28 +17378,28 @@ declare module "factorio:prototype" { landing_squash_immunity: MapTick /** * Silently clamped to be between 1 tick and 5 minutes (`5 * 60 * 60` ticks). - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#ejected_item_lifetime Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#ejected_item_lifetime Online documentation} */ ejected_item_lifetime: MapTick /** * Silently clamped to be between 0 and 1/60. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#ejected_item_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#ejected_item_speed Online documentation} */ ejected_item_speed: double /** * Silently clamped to be between 0 and 0.99. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#ejected_item_direction_variation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#ejected_item_direction_variation Online documentation} */ ejected_item_direction_variation: double /** * Silently clamped to be between 0 and 1. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#ejected_item_friction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#ejected_item_friction Online documentation} */ ejected_item_friction: double train_visualization: TrainVisualizationConstants /** * The strings can be entity types or custom strings. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#default_collision_masks Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#default_collision_masks Online documentation} */ default_collision_masks: Record show_chunk_components_collision_mask: CollisionMaskConnector @@ -17397,37 +17411,37 @@ declare module "factorio:prototype" { train_pushed_by_player_ignores_friction: boolean /** * Must be >= 1. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#tooltip_monitor_edge_border Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#tooltip_monitor_edge_border Online documentation} */ tooltip_monitor_edge_border: int32 /** * Must be >= 1. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#flying_text_ttl Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#flying_text_ttl Online documentation} */ flying_text_ttl: int32 /** - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#train_path_finding Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#train_path_finding Online documentation} */ train_path_finding: TrainPathFinderConstants /** * Will be clamped to a positive number, starting at 0. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#freezing_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#freezing_temperature Online documentation} */ freezing_temperature: double train_on_elevated_rail_shadow_shift_multiplier: Vector /** * Must be >= 1. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#max_belt_stack_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#max_belt_stack_size Online documentation} */ max_belt_stack_size: uint8 /** * Must be >= 1. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#inserter_hand_stack_items_per_sprite Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#inserter_hand_stack_items_per_sprite Online documentation} */ inserter_hand_stack_items_per_sprite: ItemCountType /** * Must be >= 1. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#inserter_hand_stack_max_sprites Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#inserter_hand_stack_max_sprites Online documentation} */ inserter_hand_stack_max_sprites: ItemCountType remote_view_LPF_min_cutoff_frequency: float @@ -17436,12 +17450,12 @@ declare module "factorio:prototype" { space_LPF_max_cutoff_frequency: float /** * Silently clamped to be between 0 and 1. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#walking_sound_count_reduction_rate Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#walking_sound_count_reduction_rate Online documentation} */ walking_sound_count_reduction_rate: float /** * Silently clamped to be between 0 and 1. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#moving_sound_count_reduction_rate Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#moving_sound_count_reduction_rate Online documentation} */ moving_sound_count_reduction_rate: float environment_sounds_transition_fade_in_ticks: uint32 @@ -17452,12 +17466,12 @@ declare module "factorio:prototype" { starmap_orbit_disabled_color: Color /** * The number of ticks to show a segmented unit's health bar after fully regenerating. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#time_to_show_full_health_bar Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#time_to_show_full_health_bar Online documentation} */ time_to_show_full_health_bar: MapTick /** * Layer within `ground-natural` {@link TileRenderLayer tile render layer} group, before which terrain lightmap alpha channel is copied into water mask. Decals, which need to be masked by water should have their {@link DecorativePrototype#tile_layer DecorativePrototype::tile_layer} set to only slightly larger value than `capture_water_mask_at_layer`, to avoid risk of undefined behavior caused by rendering tiles into layers between `capture_water_mask_at_layer` and decal's `tile_layer`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#capture_water_mask_at_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#capture_water_mask_at_layer Online documentation} */ capture_water_mask_at_layer: uint8 logistic_robots_use_busy_robots_queue: boolean @@ -17465,7 +17479,7 @@ declare module "factorio:prototype" { quality_selector_dropdown_threshold: uint8 /** * Cap for how many steps of quality the output of something (miner/crafter) may be higher than the input (resource/ingredients). Must be >= 1. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#maximum_quality_jump Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#maximum_quality_jump Online documentation} */ maximum_quality_jump: uint8 } @@ -17473,7 +17487,7 @@ declare module "factorio:prototype" { * Sounds used by the game that are not specific to certain prototypes. * * _Prototype limited to **1** total instances_ - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html Online documentation} */ export interface UtilitySounds extends PrototypeBase { type: "utility-sounds" @@ -17481,452 +17495,452 @@ declare module "factorio:prototype" { * Sound category `"enemy"`. * * Only present when the Space Age mod is loaded. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#segment_dying_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#segment_dying_sound Online documentation} */ segment_dying_sound?: Sound /** * Sound category `"gui-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#gui_click Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#gui_click Online documentation} */ gui_click: Sound /** * Sound category `"gui-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#gui_switch Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#gui_switch Online documentation} */ gui_switch: Sound /** * Sound category `"gui-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#gui_toggle Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#gui_toggle Online documentation} */ gui_toggle: Sound /** * Sound category `"gui-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#gui_tab Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#gui_tab Online documentation} */ gui_tab: Sound /** * Sound category `"gui-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#machine_gui_open Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#machine_gui_open Online documentation} */ machine_gui_open: Sound /** * Sound category `"gui-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#machine_gui_close Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#machine_gui_close Online documentation} */ machine_gui_close: Sound /** * Sound category `"gui-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#list_box_click Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#list_box_click Online documentation} */ list_box_click: Sound /** * Sound category `"game-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#build_small Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#build_small Online documentation} */ build_small: Sound /** * Sound category `"game-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#build_medium Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#build_medium Online documentation} */ build_medium: Sound /** * Sound category `"game-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#build_large Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#build_large Online documentation} */ build_large: Sound /** * Sound category `"game-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#build_huge Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#build_huge Online documentation} */ build_huge: Sound /** * Sound category `"game-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#build_behemoth Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#build_behemoth Online documentation} */ build_behemoth: Sound /** * Sound category `"gui-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#cannot_build Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#cannot_build Online documentation} */ cannot_build: Sound /** * Sound category `"game-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#build_blueprint_small Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#build_blueprint_small Online documentation} */ build_blueprint_small: Sound /** * Sound category `"game-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#build_blueprint_medium Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#build_blueprint_medium Online documentation} */ build_blueprint_medium: Sound /** * Sound category `"game-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#build_blueprint_large Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#build_blueprint_large Online documentation} */ build_blueprint_large: Sound /** * Sound category `"game-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#build_blueprint_huge Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#build_blueprint_huge Online documentation} */ build_blueprint_huge: Sound /** * Sound category `"game-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#build_ghost_upgrade Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#build_ghost_upgrade Online documentation} */ build_ghost_upgrade: Sound /** * Sound category `"game-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#build_ghost_upgrade_cancel Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#build_ghost_upgrade_cancel Online documentation} */ build_ghost_upgrade_cancel: Sound /** * Sound category `"game-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#build_animated_small Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#build_animated_small Online documentation} */ build_animated_small: Sound /** * Sound category `"game-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#build_animated_medium Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#build_animated_medium Online documentation} */ build_animated_medium: Sound /** * Sound category `"game-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#build_animated_large Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#build_animated_large Online documentation} */ build_animated_large: Sound /** * Sound category `"game-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#build_animated_huge Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#build_animated_huge Online documentation} */ build_animated_huge: Sound /** * Sound category `"game-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#deconstruct_small Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#deconstruct_small Online documentation} */ deconstruct_small: Sound /** * Sound category `"game-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#deconstruct_medium Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#deconstruct_medium Online documentation} */ deconstruct_medium: Sound /** * Sound category `"game-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#deconstruct_large Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#deconstruct_large Online documentation} */ deconstruct_large: Sound /** * Sound category `"game-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#deconstruct_huge Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#deconstruct_huge Online documentation} */ deconstruct_huge: Sound /** * Sound category `"game-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#deconstruct_behemoth Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#deconstruct_behemoth Online documentation} */ deconstruct_behemoth: Sound /** * Sound category `"game-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#deconstruct_robot Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#deconstruct_robot Online documentation} */ deconstruct_robot: Sound /** * Sound category `"game-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#rotated_small Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#rotated_small Online documentation} */ rotated_small: Sound /** * Sound category `"game-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#rotated_medium Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#rotated_medium Online documentation} */ rotated_medium: Sound /** * Sound category `"game-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#rotated_large Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#rotated_large Online documentation} */ rotated_large: Sound /** * Sound category `"game-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#rotated_huge Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#rotated_huge Online documentation} */ rotated_huge: Sound /** * Sound category `"game-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#axe_mining_ore Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#axe_mining_ore Online documentation} */ axe_mining_ore: Sound /** * Sound category `"game-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#axe_mining_stone Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#axe_mining_stone Online documentation} */ axe_mining_stone: Sound /** * Sound category `"game-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#mining_wood Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#mining_wood Online documentation} */ mining_wood: Sound /** * Sound category `"game-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#axe_fighting Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#axe_fighting Online documentation} */ axe_fighting: Sound /** * Sound category `"alert"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#alert_destroyed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#alert_destroyed Online documentation} */ alert_destroyed: Sound /** * Sound category `"alert"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#alert_expansion_base_built Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#alert_expansion_base_built Online documentation} */ alert_expansion_base_built: Sound /** * Sound category `"gui-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#console_message Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#console_message Online documentation} */ console_message: Sound /** * Sound category `"gui-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#console_player_joined Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#console_player_joined Online documentation} */ console_player_joined: Sound /** * Sound category `"gui-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#console_player_respawned Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#console_player_respawned Online documentation} */ console_player_respawned: Sound /** * Sound category `"gui-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#console_player_left Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#console_player_left Online documentation} */ console_player_left: Sound /** * Sound category `"gui-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#console_player_paused_game Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#console_player_paused_game Online documentation} */ console_player_paused_game: Sound /** * Sound category `"gui-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#console_player_resumed_game Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#console_player_resumed_game Online documentation} */ console_player_resumed_game: Sound /** * Sound category `"gui-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#console_player_died Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#console_player_died Online documentation} */ console_player_died: Sound /** * Sound category `"gui-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#console_player_research Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#console_player_research Online documentation} */ console_player_research: Sound /** * Sound category `"gui-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#console_platform_created Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#console_platform_created Online documentation} */ console_platform_created: Sound /** * Sound category `"gui-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#console_platform_destroyed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#console_platform_destroyed Online documentation} */ console_platform_destroyed: Sound /** * Sound category `"gui-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#console_player_changed_logistic_group Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#console_player_changed_logistic_group Online documentation} */ console_player_changed_logistic_group: Sound /** * Sound category `"gui-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#scenario_message Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#scenario_message Online documentation} */ scenario_message: Sound /** * Sound category `"gui-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#new_objective Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#new_objective Online documentation} */ new_objective: Sound /** * Sound category `"gui-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#game_lost Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#game_lost Online documentation} */ game_lost: Sound /** * Sound category `"gui-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#game_won Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#game_won Online documentation} */ game_won: Sound /** * Sound category `"walking"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#metal_walking_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#metal_walking_sound Online documentation} */ metal_walking_sound: Sound /** * Sound category `"walking"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#heat_pipe_walking_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#heat_pipe_walking_sound Online documentation} */ heat_pipe_walking_sound: Sound /** * Sound category `"gui-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#research_completed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#research_completed Online documentation} */ research_completed: Sound /** * Sound category `"game-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#default_manual_repair Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#default_manual_repair Online documentation} */ default_manual_repair: Sound /** * Sound category `"gui-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#crafting_finished Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#crafting_finished Online documentation} */ crafting_finished: Sound /** * Sound category `"gui-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#inventory_click Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#inventory_click Online documentation} */ inventory_click: Sound /** * Sound category `"gui-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#inventory_move Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#inventory_move Online documentation} */ inventory_move: Sound /** * Sound category `"gui-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#clear_cursor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#clear_cursor Online documentation} */ clear_cursor: Sound /** * Sound category `"gui-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#armor_insert Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#armor_insert Online documentation} */ armor_insert: Sound /** * Sound category `"gui-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#armor_remove Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#armor_remove Online documentation} */ armor_remove: Sound /** * Sound category `"gui-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#achievement_unlocked Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#achievement_unlocked Online documentation} */ achievement_unlocked: Sound /** * Sound category `"game-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#wire_connect_pole Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#wire_connect_pole Online documentation} */ wire_connect_pole: Sound /** * Sound category `"game-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#wire_disconnect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#wire_disconnect Online documentation} */ wire_disconnect: Sound /** * Sound category `"game-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#wire_pickup Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#wire_pickup Online documentation} */ wire_pickup: Sound /** * Sound category `"gui-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#tutorial_notice Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#tutorial_notice Online documentation} */ tutorial_notice: Sound /** * Sound category `"gui-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#smart_pipette Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#smart_pipette Online documentation} */ smart_pipette: Sound /** * Sound category `"gui-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#switch_gun Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#switch_gun Online documentation} */ switch_gun: Sound /** * Sound category `"game-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#picked_up_item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#picked_up_item Online documentation} */ picked_up_item: Sound /** * Sound category `"gui-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#paste_activated Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#paste_activated Online documentation} */ paste_activated: Sound /** * Sound category `"gui-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#item_deleted Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#item_deleted Online documentation} */ item_deleted: Sound /** * Sound category `"gui-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#entity_settings_pasted Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#entity_settings_pasted Online documentation} */ entity_settings_pasted: Sound /** * Sound category `"gui-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#entity_settings_copied Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#entity_settings_copied Online documentation} */ entity_settings_copied: Sound /** * Sound category `"gui-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#item_spawned Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#item_spawned Online documentation} */ item_spawned: Sound /** * Sound category `"gui-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#confirm Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#confirm Online documentation} */ confirm: Sound /** * Sound category `"gui-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#undo Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#undo Online documentation} */ undo: Sound /** * Sound category `"game-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#drop_item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#drop_item Online documentation} */ drop_item: Sound /** * Sound category `"gui-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#rail_plan_start Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#rail_plan_start Online documentation} */ rail_plan_start: Sound /** * Sound category `"walking"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#default_driving_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#default_driving_sound Online documentation} */ default_driving_sound: InterruptibleSound /** * Sound category `"walking"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#default_landing_steps Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#default_landing_steps Online documentation} */ default_landing_steps: Sound /** * Sound category `"gui-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#toggle_show_entity_info Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#toggle_show_entity_info Online documentation} */ toggle_show_entity_info: Sound /** * Sound category `"gui-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#cycle_blueprint_book Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#cycle_blueprint_book Online documentation} */ cycle_blueprint_book: Sound /** * Sound category `"gui-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#blueprint_preview_build Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#blueprint_preview_build Online documentation} */ blueprint_preview_build: Sound /** * Sound category `"gui-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#blueprint_preview_mine Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#blueprint_preview_mine Online documentation} */ blueprint_preview_mine: Sound /** * Sound category `"gui-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#adjust_blueprint_snapping Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#adjust_blueprint_snapping Online documentation} */ adjust_blueprint_snapping: Sound /** * Sound category `"gui-effect"`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySounds.html#change_quality Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySounds.html#change_quality Online documentation} */ change_quality: Sound } @@ -17934,22 +17948,22 @@ declare module "factorio:prototype" { * Sprites used by the game that are not specific to certain prototypes. * * _Prototype limited to **1** total instances_ - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySprites.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySprites.html Online documentation} */ export interface UtilitySprites extends PrototypeBase { type: "utility-sprites" /** - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySprites.html#cursor_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySprites.html#cursor_box Online documentation} */ cursor_box: CursorBoxSpecification /** * Only present when the Space Age mod is loaded. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySprites.html#platform_entity_build_animations Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySprites.html#platform_entity_build_animations Online documentation} */ platform_entity_build_animations?: EntityBuildAnimations /** * Only present when the space travel flag is enabled. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySprites.html#starmap_star Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySprites.html#starmap_star Online documentation} */ starmap_star?: Sprite bookmark: Sprite @@ -18041,7 +18055,7 @@ declare module "factorio:prototype" { ammo_icon: Sprite /** * The sprite will be drawn on top of {@link FluidTurretPrototype fluid turrets} that are out of fluid ammunition and don't have {@link FluidTurretPrototype#out_of_ammo_alert_icon FluidTurretPrototype::out_of_ammo_alert_icon} set. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySprites.html#fluid_icon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySprites.html#fluid_icon Online documentation} */ fluid_icon: Sprite warning_icon: Sprite @@ -18552,7 +18566,7 @@ declare module "factorio:prototype" { } /** * A passive device that provides limited control of fluid flow between pipelines. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ValvePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ValvePrototype.html Online documentation} */ export interface ValvePrototype extends EntityWithOwnerPrototype { type: "valve" @@ -18561,17 +18575,17 @@ declare module "factorio:prototype" { * **Default:** `0` * * Ignored if {@link ValvePrototype#mode ValvePrototype::mode} is `"one-way"`. Must be between `0` and `1` inclusive. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ValvePrototype.html#threshold Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ValvePrototype.html#threshold Online documentation} */ threshold?: float /** * Must have at least one `"output"` {@link FluidFlowDirection} and at least one `"input-output"` {@link FluidFlowDirection}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ValvePrototype.html#fluid_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ValvePrototype.html#fluid_box Online documentation} */ fluid_box: FluidBox /** * The max flow rate through the valve per tick. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ValvePrototype.html#flow_rate Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ValvePrototype.html#flow_rate Online documentation} */ flow_rate: FluidAmount animations?: Animation4Way @@ -18579,7 +18593,7 @@ declare module "factorio:prototype" { } /** * Abstract base of all vehicles. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/VehiclePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/VehiclePrototype.html Online documentation} */ export interface VehiclePrototype extends EntityWithOwnerPrototype { type: @@ -18592,101 +18606,101 @@ declare module "factorio:prototype" { | "spider-vehicle" /** * Must be positive. Weight of the entity used for physics calculation when car hits something. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/VehiclePrototype.html#weight Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/VehiclePrototype.html#weight Online documentation} */ weight: double /** * Must be positive. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/VehiclePrototype.html#braking_force Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/VehiclePrototype.html#braking_force Online documentation} */ braking_force: double /** * Must be positive. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/VehiclePrototype.html#friction_force Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/VehiclePrototype.html#friction_force Online documentation} */ friction_force: double /** * The (movement) energy used per hit point (1 hit point = 1 health damage) taken and dealt for this vehicle during collisions. The smaller the number, the more damage this vehicle and the rammed entity take during collisions: `damage = energy / energy_per_hit_point`. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/VehiclePrototype.html#energy_per_hit_point Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/VehiclePrototype.html#energy_per_hit_point Online documentation} */ energy_per_hit_point: double /** * **Default:** `1` * * Must be in the [0, 1] interval. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/VehiclePrototype.html#terrain_friction_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/VehiclePrototype.html#terrain_friction_modifier Online documentation} */ terrain_friction_modifier?: float /** * **Default:** `5` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/VehiclePrototype.html#impact_speed_to_volume_ratio Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/VehiclePrototype.html#impact_speed_to_volume_ratio Online documentation} */ impact_speed_to_volume_ratio?: double /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/VehiclePrototype.html#stop_trigger_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/VehiclePrototype.html#stop_trigger_speed Online documentation} */ stop_trigger_speed?: double crash_trigger?: TriggerEffect stop_trigger?: TriggerEffect /** * The name of the {@link EquipmentGridPrototype} this vehicle has. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/VehiclePrototype.html#equipment_grid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/VehiclePrototype.html#equipment_grid Online documentation} */ equipment_grid?: EquipmentGridID /** * The sprite that represents this vehicle on the map/minimap. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/VehiclePrototype.html#minimap_representation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/VehiclePrototype.html#minimap_representation Online documentation} */ minimap_representation?: Sprite /** * The sprite that represents this vehicle on the map/minimap when it is selected. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/VehiclePrototype.html#selected_minimap_representation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/VehiclePrototype.html#selected_minimap_representation Online documentation} */ selected_minimap_representation?: Sprite /** * **Default:** `true` * * Determines whether this vehicle accepts passengers. This includes both drivers and gunners, if applicable. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/VehiclePrototype.html#allow_passengers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/VehiclePrototype.html#allow_passengers Online documentation} */ allow_passengers?: boolean /** * **Default:** `""` * * Name of a {@link DeliverCategory}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/VehiclePrototype.html#deliver_category Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/VehiclePrototype.html#deliver_category Online documentation} */ deliver_category?: string /** * **Default:** `0` * * In chunks. The radius of the radar range of the vehicle, so how many chunks it charts around itself. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/VehiclePrototype.html#chunk_exploration_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/VehiclePrototype.html#chunk_exploration_radius Online documentation} */ chunk_exploration_radius?: uint32 /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/VehiclePrototype.html#allow_remote_driving Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/VehiclePrototype.html#allow_remote_driving Online documentation} */ allow_remote_driving?: boolean } /** * A {@linkplain https://wiki.factorio.com/Circuit_network#Virtual_signals virtual signal}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/VirtualSignalPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/VirtualSignalPrototype.html Online documentation} */ export interface VirtualSignalPrototype extends Prototype { type: "virtual-signal" /** * The icon that is used to represent this virtual signal. Can't be an empty array. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/VirtualSignalPrototype.html#icons Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/VirtualSignalPrototype.html#icons Online documentation} */ icons?: readonly IconData[] /** * Path to the icon file that is used to represent this virtual signal. * * Only loaded, and mandatory if `icons` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/VirtualSignalPrototype.html#icon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/VirtualSignalPrototype.html#icon Online documentation} */ icon?: FileName /** @@ -18695,42 +18709,42 @@ declare module "factorio:prototype" { * The size of the square icon, in pixels. E.g. `32` for a 32px by 32px icon. Must be larger than `0`. * * Only loaded if `icons` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/VirtualSignalPrototype.html#icon_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/VirtualSignalPrototype.html#icon_size Online documentation} */ icon_size?: SpriteSizeType } /** * A {@linkplain https://wiki.factorio.com/Wall wall}. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/WallPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/WallPrototype.html Online documentation} */ export interface WallPrototype extends EntityWithOwnerPrototype { type: "wall" /** - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/WallPrototype.html#pictures Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/WallPrototype.html#pictures Online documentation} */ pictures?: WallPictures /** * **Default:** `0` * * Different walls will visually connect to each other if their merge group is the same. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/WallPrototype.html#visual_merge_group Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/WallPrototype.html#visual_merge_group Online documentation} */ visual_merge_group?: uint32 /** * **Default:** `0` * * The maximum circuit wire distance for this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/WallPrototype.html#circuit_wire_max_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/WallPrototype.html#circuit_wire_max_distance Online documentation} */ circuit_wire_max_distance?: double /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/WallPrototype.html#draw_copper_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/WallPrototype.html#draw_copper_wires Online documentation} */ draw_copper_wires?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/WallPrototype.html#draw_circuit_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/WallPrototype.html#draw_circuit_wires Online documentation} */ draw_circuit_wires?: boolean circuit_connector?: CircuitConnectorDefinition diff --git a/prototype/generated/types.d.ts b/prototype/generated/types.d.ts index 236063d..9d54aae 100644 --- a/prototype/generated/types.d.ts +++ b/prototype/generated/types.d.ts @@ -10,7 +10,7 @@ declare module "factorio:prototype" { readonly type: "equipment-remote" /** * Activation is only implemented for {@link ActiveDefenseEquipmentPrototype}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ActivateEquipmentCapsuleAction.html#equipment Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ActivateEquipmentCapsuleAction.html#equipment Online documentation} */ equipment: EquipmentID } @@ -20,7 +20,7 @@ declare module "factorio:prototype" { * **Default:** `""` * * Name of a {@link DeliverCategory}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ActivateImpactTriggerEffectItem.html#deliver_category Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ActivateImpactTriggerEffectItem.html#deliver_category Online documentation} */ deliver_category?: string } @@ -33,80 +33,80 @@ declare module "factorio:prototype" { * "chain-lightning-chain" * @example * "chain-lightning-turret-chain" - * @see {@link https://lua-api.factorio.com/2.1.22/types/ActiveTriggerID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ActiveTriggerID.html Online documentation} */ export type ActiveTriggerID = string /** * Root style: `"activity_bar"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ActivityBarStyleSpecification.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ActivityBarStyleSpecification.html Online documentation} */ export interface ActivityBarStyleSpecification extends BaseStyleSpecification { readonly type: "activity_bar_style" /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ActivityBarStyleSpecification.html#speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ActivityBarStyleSpecification.html#speed Online documentation} */ speed?: float /** * The thickness of the bar, not the horizontal size. * * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ActivityBarStyleSpecification.html#bar_width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ActivityBarStyleSpecification.html#bar_width Online documentation} */ bar_width?: uint32 /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ActivityBarStyleSpecification.html#color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ActivityBarStyleSpecification.html#color Online documentation} */ color?: Color /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ActivityBarStyleSpecification.html#bar_background Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ActivityBarStyleSpecification.html#bar_background Online documentation} */ bar_background?: ElementImageSet /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ActivityBarStyleSpecification.html#bar Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ActivityBarStyleSpecification.html#bar Online documentation} */ bar?: ElementImageSet /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ActivityBarStyleSpecification.html#bar_size_ratio Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ActivityBarStyleSpecification.html#bar_size_ratio Online documentation} */ bar_size_ratio?: float } export interface ActivityMatchingModifiers { /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ActivityMatchingModifiers.html#multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ActivityMatchingModifiers.html#multiplier Online documentation} */ multiplier?: float /** * **Default:** `0` * * Cannot be larger than `maximum`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ActivityMatchingModifiers.html#minimum Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ActivityMatchingModifiers.html#minimum Online documentation} */ minimum?: float /** * **Default:** `infinity` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ActivityMatchingModifiers.html#maximum Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ActivityMatchingModifiers.html#maximum Online documentation} */ maximum?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ActivityMatchingModifiers.html#offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ActivityMatchingModifiers.html#offset Online documentation} */ offset?: float /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ActivityMatchingModifiers.html#inverted Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ActivityMatchingModifiers.html#inverted Online documentation} */ inverted?: boolean } /** * @see MapGenPreset.advanced_settings - * @see {@link https://lua-api.factorio.com/2.1.22/types/MapGenPreset.html#advanced_settings Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MapGenPreset.html#advanced_settings Online documentation} */ export interface AdvancedMapGenSettings { asteroids?: MapGenPresetAsteroidSettings @@ -118,12 +118,12 @@ declare module "factorio:prototype" { export interface AdvancedVolumeControl { /** * Volume reduction (fade-out) controlled by distance (fraction of audible distance). - * @see {@link https://lua-api.factorio.com/2.1.22/types/AdvancedVolumeControl.html#attenuation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AdvancedVolumeControl.html#attenuation Online documentation} */ attenuation?: Fade /** * Volume reduction (fade-out) or increase (fade-in) controlled by zoom level. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AdvancedVolumeControl.html#fades Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AdvancedVolumeControl.html#fades Online documentation} */ fades?: Fades /** @@ -134,7 +134,7 @@ declare module "factorio:prototype" { * Positive values are used for night sounds, the volume of the sound is 1.0 when darkness = threshold, 0.0 when darkness = 0.0 and linearly interpolated in between. * * Negative values are used for day sounds, the sound of the sound is 0.0 when darkness = -threshold, 1.0 when darkness = 1.0 and linearly interpolated in between. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AdvancedVolumeControl.html#darkness_threshold Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AdvancedVolumeControl.html#darkness_threshold Online documentation} */ darkness_threshold?: float } @@ -144,33 +144,33 @@ declare module "factorio:prototype" { * **Default:** `1` * * If `count_already_playing` is `true`, this will determine maximum progress when instance is counted toward playing sounds. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AggregationSpecification.html#progress_threshold Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AggregationSpecification.html#progress_threshold Online documentation} */ progress_threshold?: float /** * **Default:** `2` * * Has to be greater than or equal to 0.0. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AggregationSpecification.html#volume_reduction_rate Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AggregationSpecification.html#volume_reduction_rate Online documentation} */ volume_reduction_rate?: float /** * If `false`, the volume of sound instances above `max_count` is calculated according to the formula `volume = (x + 1) ^ (-volume_reduction_rate)`, where `x` is the order number of an instance above the threshold. * * If `true`, sound instances above `max_count` are removed. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AggregationSpecification.html#remove Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AggregationSpecification.html#remove Online documentation} */ remove: boolean /** * **Default:** `false` * * If `true`, already playing sounds are taken into account when checking `max_count`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AggregationSpecification.html#count_already_playing Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AggregationSpecification.html#count_already_playing Online documentation} */ count_already_playing?: boolean /** * **Default:** `"closest"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/AggregationSpecification.html#priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AggregationSpecification.html#priority Online documentation} */ priority?: "closest" | "farthest" | "newest" | "oldest" } @@ -178,24 +178,24 @@ declare module "factorio:prototype" { speed: AgriculturalCraneSpeed /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/AgriculturalCraneProperties.html#min_arm_extent Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AgriculturalCraneProperties.html#min_arm_extent Online documentation} */ min_arm_extent?: double /** * **Default:** `0.2` - * @see {@link https://lua-api.factorio.com/2.1.22/types/AgriculturalCraneProperties.html#min_grappler_extent Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AgriculturalCraneProperties.html#min_grappler_extent Online documentation} */ min_grappler_extent?: double /** * **Default:** `45` * * In degrees. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AgriculturalCraneProperties.html#operation_angle Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AgriculturalCraneProperties.html#operation_angle Online documentation} */ operation_angle?: float /** * **Default:** `0.5` - * @see {@link https://lua-api.factorio.com/2.1.22/types/AgriculturalCraneProperties.html#telescope_default_extention Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AgriculturalCraneProperties.html#telescope_default_extention Online documentation} */ telescope_default_extention?: double origin: Vector3D @@ -211,14 +211,14 @@ declare module "factorio:prototype" { * **Default:** `0.01` * * May not be 0. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AgriculturalCraneSpeedArm.html#turn_rate Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AgriculturalCraneSpeedArm.html#turn_rate Online documentation} */ turn_rate?: double /** * **Default:** `0.05` * * Must be positive. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AgriculturalCraneSpeedArm.html#extension_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AgriculturalCraneSpeedArm.html#extension_speed Online documentation} */ extension_speed?: double } @@ -227,26 +227,26 @@ declare module "factorio:prototype" { * **Default:** `0.01` * * May not be 0. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AgriculturalCraneSpeedGrappler.html#vertical_turn_rate Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AgriculturalCraneSpeedGrappler.html#vertical_turn_rate Online documentation} */ vertical_turn_rate?: double /** * **Default:** `0.01` * * May not be 0. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AgriculturalCraneSpeedGrappler.html#horizontal_turn_rate Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AgriculturalCraneSpeedGrappler.html#horizontal_turn_rate Online documentation} */ horizontal_turn_rate?: double /** * **Default:** `0.01` * * Must be positive. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AgriculturalCraneSpeedGrappler.html#extension_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AgriculturalCraneSpeedGrappler.html#extension_speed Online documentation} */ extension_speed?: double /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/AgriculturalCraneSpeedGrappler.html#allow_transpolar_movement Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AgriculturalCraneSpeedGrappler.html#allow_transpolar_movement Online documentation} */ allow_transpolar_movement?: boolean } @@ -256,7 +256,7 @@ declare module "factorio:prototype" { * "pollution" * @example * "spores" - * @see {@link https://lua-api.factorio.com/2.1.22/types/AirbornePollutantID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AirbornePollutantID.html Online documentation} */ export type AirbornePollutantID = string /** @@ -275,7 +275,7 @@ declare module "factorio:prototype" { * - `"middle-right"` * - `"right"`: The same as `"middle-right"` * - `"bottom-right"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/Alignment.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Alignment.html Online documentation} */ export type Alignment = | "top-left" @@ -292,7 +292,7 @@ declare module "factorio:prototype" { | "bottom-right" /** * Triggered when using the "build ghost" hotkey to build something. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AlternativeBuildTipTrigger.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AlternativeBuildTipTrigger.html Online documentation} */ export interface AlternativeBuildTipTrigger extends CountBasedTipTrigger { readonly type: "alternative-build" @@ -306,7 +306,7 @@ declare module "factorio:prototype" { * - `"hero-track"`: This track is played when a character steps on a new surface for the first time. Only one `"hero-track"` per planet or space platform is allowed. * - `"interlude"`: This track is played interleaved (alternating) with `"main-track"` tracks. * - `"script-track"`: This track is only played by script. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AmbientSoundType.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AmbientSoundType.html Online documentation} */ export type AmbientSoundType = "menu-track" | "main-track" | "hero-track" | "interlude" | "script-track" /** @@ -315,7 +315,7 @@ declare module "factorio:prototype" { * "bullet" * @example * "melee" - * @see {@link https://lua-api.factorio.com/2.1.22/types/AmmoCategoryID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AmmoCategoryID.html Online documentation} */ export type AmmoCategoryID = string export interface AmmoDamageModifier extends BaseModifier { @@ -324,24 +324,24 @@ declare module "factorio:prototype" { * **Default:** `true` * * If set to `false`, use the icon from {@link UtilitySprites} for this technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AmmoDamageModifier.html#infer_icon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AmmoDamageModifier.html#infer_icon Online documentation} */ infer_icon?: boolean /** * **Default:** `true` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AmmoDamageModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AmmoDamageModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean /** * Name of the {@link AmmoCategory} that is affected. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AmmoDamageModifier.html#ammo_category Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AmmoDamageModifier.html#ammo_category Online documentation} */ ammo_category: AmmoCategoryID /** * Modification value, which will be added to the current ammo damage modifier upon researching. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AmmoDamageModifier.html#modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AmmoDamageModifier.html#modifier Online documentation} */ modifier: double } @@ -355,36 +355,36 @@ declare module "factorio:prototype" { * - `"player"` * - `"turret"` * - `"vehicle"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/AmmoSourceType.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AmmoSourceType.html Online documentation} */ export type AmmoSourceType = "default" | "player" | "turret" | "vehicle" /** * Definition of actual parameters used in attack. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AmmoType.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AmmoType.html Online documentation} */ export interface AmmoType { /** * Describes actions taken upon attack happening. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AmmoType.html#action Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AmmoType.html#action Online documentation} */ action?: Trigger /** * **Default:** `false` * * When true, the gun will be able to shoot even when the target is out of range. Only applies when `target_type` equals `"position"`. The gun will fire at the maximum range in the direction of the target position. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AmmoType.html#clamp_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AmmoType.html#clamp_position Online documentation} */ clamp_position?: boolean /** * **Default:** `false` * * If true, attacks will always be clamped to max range even if the target is within range. Used for shotguns. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AmmoType.html#force_clamp_to_max_range Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AmmoType.html#force_clamp_to_max_range Online documentation} */ force_clamp_to_max_range?: boolean /** * Energy consumption of a single shot, if applicable. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AmmoType.html#energy_consumption Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AmmoType.html#energy_consumption Online documentation} */ energy_consumption?: Energy /** @@ -393,17 +393,17 @@ declare module "factorio:prototype" { * Affects the `range` value of the shooting gun prototype's {@link BaseAttackParameters} to give a modified maximum range. The `min_range` value of the gun is unaffected. * * This has no effect on artillery turrets and wagons even though the bonus appears in the GUI. {@linkplain https://forums.factorio.com/103658 Forum thread}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AmmoType.html#range_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AmmoType.html#range_modifier Online documentation} */ range_modifier?: double /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/AmmoType.html#cooldown_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AmmoType.html#cooldown_modifier Online documentation} */ cooldown_modifier?: double /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/AmmoType.html#consumption_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AmmoType.html#consumption_modifier Online documentation} */ consumption_modifier?: float /** @@ -412,19 +412,19 @@ declare module "factorio:prototype" { * `"entity"` fires at an entity, `"position"` fires directly at a position, `"direction"` fires in a direction. * * If this is `"entity"`, `clamp_position` is forced to be `false`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AmmoType.html#target_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AmmoType.html#target_type Online documentation} */ target_type?: "entity" | "position" | "direction" /** * Only exists (and is then mandatory) if the {@link AmmoItemPrototype#ammo_type AmmoItemPrototype::ammo_type} this AmmoType is defined on has multiple ammo types. * * Defines for which kind of entity this ammo type applies. Each entity kind can only be used once per array. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AmmoType.html#source_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AmmoType.html#source_type Online documentation} */ source_type?: AmmoSourceType /** * List of entities that can be targeted by this ammo type. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AmmoType.html#target_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AmmoType.html#target_filter Online documentation} */ target_filter?: readonly EntityID[] } @@ -432,22 +432,22 @@ declare module "factorio:prototype" { readonly type: "and" /** * If all of the triggers are fulfilled, this trigger is considered fulfilled. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AndTipTrigger.html#triggers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AndTipTrigger.html#triggers Online documentation} */ triggers: readonly TipTrigger[] } export interface AnimatedVector { /** - * @see {@link https://lua-api.factorio.com/2.1.22/types/AnimatedVector.html#rotations Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AnimatedVector.html#rotations Online documentation} */ rotations: readonly VectorRotation[] /** * Default render layer for the rotations. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AnimatedVector.html#render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AnimatedVector.html#render_layer Online documentation} */ render_layer?: RenderLayer /** - * @see {@link https://lua-api.factorio.com/2.1.22/types/AnimatedVector.html#direction_shift Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AnimatedVector.html#direction_shift Online documentation} */ direction_shift?: DirectionShift } @@ -491,7 +491,7 @@ declare module "factorio:prototype" { * } * } * } - * @see {@link https://lua-api.factorio.com/2.1.22/types/Animation.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Animation.html Online documentation} */ export interface Animation extends Omit { /** @@ -500,43 +500,43 @@ declare module "factorio:prototype" { * `animation_speed` and `max_advance` of the first layer are used for all layers. All layers will run at the same speed. * * If this property is present, all other properties, including those inherited from AnimationParameters, are ignored. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Animation.html#layers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Animation.html#layers Online documentation} */ layers?: readonly Animation[] /** * Only loaded if `layers` is not defined. Mandatory if neither `stripes` nor `filenames` are defined. * * The path to the sprite file to use. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Animation.html#filename Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Animation.html#filename Online documentation} */ filename?: FileName /** * Only loaded if `layers` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Animation.html#stripes Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Animation.html#stripes Online documentation} */ stripes?: readonly Stripe[] /** * Only loaded if neither `layers` nor `stripes` are defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Animation.html#filenames Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Animation.html#filenames Online documentation} */ filenames?: readonly FileName[] /** * **Default:** `Value of `frame_count`` * * Only loaded if `layers` is not defined and if `filenames` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Animation.html#slice Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Animation.html#slice Online documentation} */ slice?: uint32 /** * Only loaded if `layers` is not defined. Mandatory if `filenames` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Animation.html#lines_per_file Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Animation.html#lines_per_file Online documentation} */ lines_per_file?: uint32 } /** * Struct type for {@link Animation4Way} * @see Animation4Way - * @see {@link https://lua-api.factorio.com/2.1.22/types/Animation4Way.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Animation4Way.html Online documentation} */ export interface Animation4WayStruct { north: Animation @@ -550,28 +550,28 @@ declare module "factorio:prototype" { } /** * If this is loaded as a single Animation, it applies to all directions. Any direction that is not defined defaults to the north animation. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Animation4Way.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Animation4Way.html Online documentation} */ export type Animation4Way = Animation4WayStruct | Animation export interface AnimationElement { /** * **Default:** `"object"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/AnimationElement.html#render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AnimationElement.html#render_layer Online documentation} */ render_layer?: RenderLayer /** * Used to determine render order for sprites with the same `render_layer` in the same position. Sprites with a higher `secondary_draw_order` are drawn on top. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AnimationElement.html#secondary_draw_order Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AnimationElement.html#secondary_draw_order Online documentation} */ secondary_draw_order?: int8 /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/AnimationElement.html#apply_tint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AnimationElement.html#apply_tint Online documentation} */ apply_tint?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/AnimationElement.html#always_draw Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AnimationElement.html#always_draw Online documentation} */ always_draw?: boolean animation?: Animation @@ -609,89 +609,89 @@ declare module "factorio:prototype" { * frame_count = #custom_frame_sequence, * }, * } - * @see {@link https://lua-api.factorio.com/2.1.22/types/AnimationFrameSequence.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AnimationFrameSequence.html Online documentation} */ export type AnimationFrameSequence = readonly uint16[] export interface AnimationParameters extends SpriteParameters { /** * The width and height of one frame. If this is a tuple, the first member of the tuple is the width and the second is the height. Otherwise the size is both width and height. Width and height may only be in the range of 0-4096. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AnimationParameters.html#size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AnimationParameters.html#size Online documentation} */ size?: SpriteSizeType | readonly [SpriteSizeType, SpriteSizeType] /** * Mandatory if `size` is not defined. * * Width of one frame in pixels, from 0-4096. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AnimationParameters.html#width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AnimationParameters.html#width Online documentation} */ width?: SpriteSizeType /** * Mandatory if `size` is not defined. * * Height of one frame in pixels, from 0-4096. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AnimationParameters.html#height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AnimationParameters.html#height Online documentation} */ height?: SpriteSizeType /** * **Default:** `"forward"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/AnimationParameters.html#run_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AnimationParameters.html#run_mode Online documentation} */ run_mode?: AnimationRunMode /** * **Default:** `1` * * Can't be `0`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AnimationParameters.html#frame_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AnimationParameters.html#frame_count Online documentation} */ frame_count?: uint32 /** * **Default:** `0` * * Specifies how many pictures are on each horizontal line in the image file. `0` means that all the pictures are in one horizontal line. Once the specified number of pictures are loaded from a line, the pictures from the next line are loaded. This is to allow having longer animations loaded in to Factorio's graphics matrix than the game engine's width limit of 8192px per input file. The restriction on input files is to be compatible with most graphics cards. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AnimationParameters.html#line_length Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AnimationParameters.html#line_length Online documentation} */ line_length?: uint32 /** * **Default:** `1` * * Modifier of the animation playing speed, the default of `1` means one animation frame per tick (60 fps). The speed of playing can often vary depending on the usage (output of steam engine for example). Has to be greater than `0`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AnimationParameters.html#animation_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AnimationParameters.html#animation_speed Online documentation} */ animation_speed?: float /** * **Default:** `MAX_FLOAT` * * Maximum amount of frames the animation can move forward in one update. Useful to cap the animation speed on entities where it is variable, such as car animations. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AnimationParameters.html#max_advance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AnimationParameters.html#max_advance Online documentation} */ max_advance?: float /** * **Default:** `1` * * How many times to repeat the animation to complete an animation cycle. E.g. if one layer is 10 frames, a second layer of 1 frame would need `repeat_count = 10` to match the complete cycle. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AnimationParameters.html#repeat_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AnimationParameters.html#repeat_count Online documentation} */ repeat_count?: uint8 /** * **Default:** `false` * * If `true`, the animation frame count may be cut to half depending on detected hardware and other graphics settings. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AnimationParameters.html#allow_reducing_frames Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AnimationParameters.html#allow_reducing_frames Online documentation} */ allow_reducing_frames?: boolean /** * Number of slices this is sliced into when using the "optimized atlas packing" option. If you are a modder, you can just ignore this property. Example: If this is 4, the sprite will be sliced into a 4×4 grid. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AnimationParameters.html#dice Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AnimationParameters.html#dice Online documentation} */ dice?: uint8 /** * Same as `dice` above, but this specifies only how many slices there are on the x axis. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AnimationParameters.html#dice_x Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AnimationParameters.html#dice_x Online documentation} */ dice_x?: uint8 /** * Same as `dice` above, but this specifies only how many slices there are on the y axis. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AnimationParameters.html#dice_y Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AnimationParameters.html#dice_y Online documentation} */ dice_y?: uint8 frame_sequence?: AnimationFrameSequence @@ -701,14 +701,14 @@ declare module "factorio:prototype" { * Only loaded if this is an icon, that is it has the flag `"group=icon"` or `"group=gui"`. * * Note that `mipmap_count` doesn't make sense in an animation, as it is not possible to layout mipmaps in a way that would load both the animation and the mipmaps correctly (besides animations with just one frame). See {@linkplain https://forums.factorio.com/viewtopic.php?p=549058#p549058 here}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AnimationParameters.html#mipmap_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AnimationParameters.html#mipmap_count Online documentation} */ mipmap_count?: uint8 /** * **Default:** `false` * * Unused. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AnimationParameters.html#generate_sdf Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AnimationParameters.html#generate_sdf Online documentation} */ generate_sdf?: boolean } @@ -717,44 +717,44 @@ declare module "factorio:prototype" { * - `"forward"` * - `"backward"` * - `"forward-then-backward"`: Does not repeat the first and last frame when running backwards. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AnimationRunMode.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AnimationRunMode.html Online documentation} */ export type AnimationRunMode = "forward" | "backward" | "forward-then-backward" export interface AnimationSheet extends Omit { variation_count: uint32 /** * **Default:** `Value of `variation_count`` - * @see {@link https://lua-api.factorio.com/2.1.22/types/AnimationSheet.html#line_length Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AnimationSheet.html#line_length Online documentation} */ line_length?: uint32 /** * Only loaded, and mandatory if `filenames` is not defined. * * The path to the animation file to use. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AnimationSheet.html#filename Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AnimationSheet.html#filename Online documentation} */ filename?: FileName filenames?: readonly FileName[] /** * Mandatory if `filenames` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AnimationSheet.html#lines_per_file Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AnimationSheet.html#lines_per_file Online documentation} */ lines_per_file?: uint32 } /** * Struct type for {@link AnimationVariations} * @see AnimationVariations - * @see {@link https://lua-api.factorio.com/2.1.22/types/AnimationVariations.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AnimationVariations.html Online documentation} */ export interface AnimationVariationsStruct { /** * The variations are arranged vertically in the file, one row for each variation. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AnimationVariations.html#sheet Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AnimationVariations.html#sheet Online documentation} */ sheet?: AnimationSheet /** * Only loaded if `sheet` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AnimationVariations.html#sheets Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AnimationVariations.html#sheets Online documentation} */ sheets?: readonly AnimationSheet[] } @@ -802,18 +802,18 @@ declare module "factorio:prototype" { * variation_count = 8 * } * } - * @see {@link https://lua-api.factorio.com/2.1.22/types/AnimationVariations.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AnimationVariations.html Online documentation} */ export type AnimationVariations = AnimationVariationsStruct | Animation | readonly Animation[] /** * Any basic type (string, number, boolean) or table. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AnyBasic.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AnyBasic.html Online documentation} */ export type AnyBasic = string | boolean | number | table /** * A union of all prototypes. A specific prototype is loaded based on the value of the `type` key. * - * See the {@linkplain https://lua-api.factorio.com/2.1.22/prototypes.html Prototypes page} for more information. + * See the {@linkplain https://lua-api.factorio.com/2.1.24/prototypes.html Prototypes page} for more information. * * ## Union members * - {@link AccumulatorPrototype}: `'accumulator'` @@ -1076,7 +1076,7 @@ declare module "factorio:prototype" { * - {@link ValvePrototype}: `'valve'` * - {@link VirtualSignalPrototype}: `'virtual-signal'` * - {@link WallPrototype}: `'wall'` - * @see {@link https://lua-api.factorio.com/2.1.22/types/AnyPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AnyPrototype.html Online documentation} */ export type AnyPrototype = | AccumulatorPrototype @@ -1341,7 +1341,7 @@ declare module "factorio:prototype" { | WallPrototype /** * Triggered when a {@link SpacePlatformStarterPackPrototype space platform starter pack} is used to create a space platform. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ApplyStarterPackTipTrigger.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ApplyStarterPackTipTrigger.html Online documentation} */ export interface ApplyStarterPackTipTrigger extends CountBasedTipTrigger { readonly type: "apply-starter-pack" @@ -1352,7 +1352,7 @@ declare module "factorio:prototype" { * ## Union members * - `"primary"` * - `"secondary"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ApplyTileTint.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ApplyTileTint.html Online documentation} */ export type ApplyTileTint = "primary" | "secondary" export interface AreaTriggerItem extends TriggerItem { @@ -1360,32 +1360,32 @@ declare module "factorio:prototype" { radius: double /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/AreaTriggerItem.html#trigger_from_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AreaTriggerItem.html#trigger_from_target Online documentation} */ trigger_from_target?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/AreaTriggerItem.html#target_entities Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AreaTriggerItem.html#target_entities Online documentation} */ target_entities?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/AreaTriggerItem.html#target_enemies Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AreaTriggerItem.html#target_enemies Online documentation} */ target_enemies?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/AreaTriggerItem.html#show_in_tooltip Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AreaTriggerItem.html#show_in_tooltip Online documentation} */ show_in_tooltip?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/AreaTriggerItem.html#require_origin_is_valid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AreaTriggerItem.html#require_origin_is_valid Online documentation} */ require_origin_is_valid?: boolean /** * **Default:** `"distance-from-collision-box"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/AreaTriggerItem.html#collision_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AreaTriggerItem.html#collision_mode Online documentation} */ collision_mode?: "distance-from-collision-box" | "distance-from-center" } @@ -1395,14 +1395,14 @@ declare module "factorio:prototype" { * **Default:** `false` * * If set to `false`, use the icon from {@link UtilitySprites} for this technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ArtilleryRangeModifier.html#infer_icon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ArtilleryRangeModifier.html#infer_icon Online documentation} */ infer_icon?: boolean /** * **Default:** `true` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ArtilleryRangeModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ArtilleryRangeModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean } @@ -1410,12 +1410,12 @@ declare module "factorio:prototype" { readonly type: "artillery-remote" /** * Name of an {@link ArtilleryFlarePrototype}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ArtilleryRemoteCapsuleAction.html#flare Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ArtilleryRemoteCapsuleAction.html#flare Online documentation} */ flare: EntityID /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ArtilleryRemoteCapsuleAction.html#play_sound_on_failure Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ArtilleryRemoteCapsuleAction.html#play_sound_on_failure Online documentation} */ play_sound_on_failure?: boolean } @@ -1423,30 +1423,30 @@ declare module "factorio:prototype" { readonly type: "artillery" /** * Name of a {@link ArtilleryProjectilePrototype}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ArtilleryTriggerDelivery.html#projectile Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ArtilleryTriggerDelivery.html#projectile Online documentation} */ projectile: EntityID starting_speed: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ArtilleryTriggerDelivery.html#starting_speed_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ArtilleryTriggerDelivery.html#starting_speed_deviation Online documentation} */ starting_speed_deviation?: float /** * **Default:** `0` * * Maximum deviation of the projectile from source orientation, in +/- (`x radians / 2`). Example: `3.14 radians -> +/- (180° / 2)`, meaning up to 90° deviation in either direction of rotation. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ArtilleryTriggerDelivery.html#direction_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ArtilleryTriggerDelivery.html#direction_deviation Online documentation} */ direction_deviation?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ArtilleryTriggerDelivery.html#range_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ArtilleryTriggerDelivery.html#range_deviation Online documentation} */ range_deviation?: float /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ArtilleryTriggerDelivery.html#trigger_fired_artillery Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ArtilleryTriggerDelivery.html#trigger_fired_artillery Online documentation} */ trigger_fired_artillery?: boolean } @@ -1456,12 +1456,12 @@ declare module "factorio:prototype" { * "metallic-asteroid-chunk" * @example * "oxide-asteroid-chunk" - * @see {@link https://lua-api.factorio.com/2.1.22/types/AsteroidChunkID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AsteroidChunkID.html Online documentation} */ export type AsteroidChunkID = string /** * @see AsteroidCollectorPrototype.graphics_set - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/AsteroidCollectorPrototype.html#graphics_set Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/AsteroidCollectorPrototype.html#graphics_set Online documentation} */ export interface AsteroidCollectorGraphicsSet { animation?: Animation4Way @@ -1475,54 +1475,54 @@ declare module "factorio:prototype" { arm_link?: RotatedSprite /** * Refer to {@link EntityPrototype#water_reflection EntityPrototype::water_reflection}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AsteroidCollectorGraphicsSet.html#water_reflection Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AsteroidCollectorGraphicsSet.html#water_reflection Online documentation} */ water_reflection?: WaterReflectionDefinition } export interface AsteroidGraphicsSet { /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/AsteroidGraphicsSet.html#rotation_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AsteroidGraphicsSet.html#rotation_speed Online documentation} */ rotation_speed?: float /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/AsteroidGraphicsSet.html#normal_strength Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AsteroidGraphicsSet.html#normal_strength Online documentation} */ normal_strength?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/AsteroidGraphicsSet.html#light_width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AsteroidGraphicsSet.html#light_width Online documentation} */ light_width?: float /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/AsteroidGraphicsSet.html#brightness Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AsteroidGraphicsSet.html#brightness Online documentation} */ brightness?: float /** * **Default:** `5` - * @see {@link https://lua-api.factorio.com/2.1.22/types/AsteroidGraphicsSet.html#specular_strength Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AsteroidGraphicsSet.html#specular_strength Online documentation} */ specular_strength?: float /** * **Default:** `6` - * @see {@link https://lua-api.factorio.com/2.1.22/types/AsteroidGraphicsSet.html#specular_power Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AsteroidGraphicsSet.html#specular_power Online documentation} */ specular_power?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/AsteroidGraphicsSet.html#specular_purity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AsteroidGraphicsSet.html#specular_purity Online documentation} */ specular_purity?: float /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/AsteroidGraphicsSet.html#sss_contrast Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AsteroidGraphicsSet.html#sss_contrast Online documentation} */ sss_contrast?: float /** * **Default:** `5` - * @see {@link https://lua-api.factorio.com/2.1.22/types/AsteroidGraphicsSet.html#sss_amount Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AsteroidGraphicsSet.html#sss_amount Online documentation} */ sss_amount?: float sprite?: Sprite @@ -1530,12 +1530,12 @@ declare module "factorio:prototype" { lights?: LightProperties | readonly LightProperties[] /** * **Default:** ``{0.05, 0.05, 0.05, 1.0}`` - * @see {@link https://lua-api.factorio.com/2.1.22/types/AsteroidGraphicsSet.html#ambient_light Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AsteroidGraphicsSet.html#ambient_light Online documentation} */ ambient_light?: Color /** * Refer to {@link EntityPrototype#water_reflection EntityPrototype::water_reflection}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AsteroidGraphicsSet.html#water_reflection Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AsteroidGraphicsSet.html#water_reflection Online documentation} */ water_reflection?: WaterReflectionDefinition } @@ -1546,19 +1546,19 @@ declare module "factorio:prototype" { export interface AsteroidSpawnPoint { /** * Must be >= 0. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AsteroidSpawnPoint.html#probability Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AsteroidSpawnPoint.html#probability Online documentation} */ probability: double /** * Must be > 0. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AsteroidSpawnPoint.html#speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AsteroidSpawnPoint.html#speed Online documentation} */ speed: double /** * **Default:** `1` * * Facing the north. Must be in `[0, 1]` range. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AsteroidSpawnPoint.html#angle_when_stopped Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AsteroidSpawnPoint.html#angle_when_stopped Online documentation} */ angle_when_stopped?: float } @@ -1575,7 +1575,7 @@ declare module "factorio:prototype" { * - {@link ProjectileAttackParameters}: Loaded when the `type` is `"projectile"`. * - {@link BeamAttackParameters}: Loaded when the `type` is `"beam"`. * - {@link StreamAttackParameters}: Loaded when the `type` is `"stream"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AttackParameters.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AttackParameters.html Online documentation} */ export type AttackParameters = ProjectileAttackParameters | BeamAttackParameters | StreamAttackParameters export interface AttackReactionItem { @@ -1583,7 +1583,7 @@ declare module "factorio:prototype" { action?: Trigger /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/AttackReactionItem.html#reaction_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AttackReactionItem.html#reaction_modifier Online documentation} */ reaction_modifier?: float damage_type?: DamageTypeID @@ -1592,7 +1592,7 @@ declare module "factorio:prototype" { curve_type: AttenuationType /** * **Default:** `-1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/Attenuation.html#tuning_parameter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Attenuation.html#tuning_parameter Online documentation} */ tuning_parameter?: float } @@ -1604,7 +1604,7 @@ declare module "factorio:prototype" { * - `"exponential"` * - `"cosine"` * - `"S-curve"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/AttenuationType.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AttenuationType.html Online documentation} */ export type AttenuationType = "none" | "linear" | "logarithmic" | "exponential" | "cosine" | "S-curve" /** @@ -1613,18 +1613,18 @@ declare module "factorio:prototype" { * "copper-ore" * @example * "trees" - * @see {@link https://lua-api.factorio.com/2.1.22/types/AutoplaceControlID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AutoplaceControlID.html Online documentation} */ export type AutoplaceControlID = string export interface AutoplaceSettings { /** * Whether missing autoplace names for this type should be default enabled. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AutoplaceSettings.html#treat_missing_as_default Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AutoplaceSettings.html#treat_missing_as_default Online documentation} */ treat_missing_as_default?: boolean /** * Overrides the FrequencySizeRichness provided to the {@link AutoplaceSpecification} of the entity/tile/decorative. Takes priority over the FrequencySizeRichness set in the {@link AutoplaceSpecification#control autoplace control}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AutoplaceSettings.html#settings Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AutoplaceSettings.html#settings Online documentation} */ settings?: Record } @@ -1632,12 +1632,12 @@ declare module "factorio:prototype" { * Autoplace specification is used to determine which entities are placed when generating map. Currently it is used for enemy bases, tiles, resources and other entities (trees, fishes, etc.). * * Autoplace specification describe conditions for placing tiles, entities, and decoratives during surface generation. Autoplace specification defines probability of placement on any given tile and richness, which has different meaning depending on the thing being placed. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AutoplaceSpecification.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AutoplaceSpecification.html Online documentation} */ export interface AutoplaceSpecification { /** * Name of the {@link AutoplaceControl} (row in the map generator GUI) that applies to this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AutoplaceSpecification.html#control Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AutoplaceSpecification.html#control Online documentation} */ control?: AutoplaceControlID /** @@ -1646,146 +1646,146 @@ declare module "factorio:prototype" { * Indicates whether the thing should be placed even if {@link MapGenSettings} do not provide frequency/size/richness for it. (either for the specific prototype or for the control named by AutoplaceSpecification.control). * * If true, normal frequency/size/richness (`value=1`) are used in that case. Otherwise it is treated as if 'none' were selected. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AutoplaceSpecification.html#default_enabled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AutoplaceSpecification.html#default_enabled Online documentation} */ default_enabled?: boolean /** * **Default:** `"neutral"` * * Force of the placed entity. Can be a custom force name. Only relevant for {@link EntityWithOwnerPrototype}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AutoplaceSpecification.html#force Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AutoplaceSpecification.html#force Online documentation} */ force?: "enemy" | "player" | "neutral" | string /** * **Default:** `""` * * Order for placing the entity (has no effect when placing tiles). Entities whose order compares less are placed earlier (this influences placing multiple entities which collide with itself), from entities with equal order string only one with the highest probability is placed. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AutoplaceSpecification.html#order Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AutoplaceSpecification.html#order Online documentation} */ order?: Order /** * **Default:** `1` * * For entities and decoratives, how many times to attempt to place on each tile. Probability and collisions are taken into account each attempt. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AutoplaceSpecification.html#placement_density Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AutoplaceSpecification.html#placement_density Online documentation} */ placement_density?: uint32 /** * Restricts tiles or tile transitions the entity can appear on. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AutoplaceSpecification.html#tile_restriction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AutoplaceSpecification.html#tile_restriction Online documentation} */ tile_restriction?: readonly TileIDRestriction[] /** * Provides a noise expression that will be evaluated at every point on the map to determine probability. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AutoplaceSpecification.html#probability_expression Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AutoplaceSpecification.html#probability_expression Online documentation} */ probability_expression: NoiseExpression /** * If specified, provides a noise expression that will be evaluated to determine richness. Otherwise, `probability_expression` will be used instead. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AutoplaceSpecification.html#richness_expression Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AutoplaceSpecification.html#richness_expression Online documentation} */ richness_expression?: NoiseExpression /** * A map of expression name to expression. Used by `probability_expression` and `richness_expression`. * * Local expressions are meant to store data locally similar to local variables in Lua. Their purpose is to hold noise expressions used multiple times in the named noise expression, or just to tell the reader that the local expression has a specific purpose. Local expressions can access other local definitions and also function parameters, but recursive definitions aren't supported. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AutoplaceSpecification.html#local_expressions Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AutoplaceSpecification.html#local_expressions Online documentation} */ local_expressions?: Record /** * A map of function name to function. Used by `probability_expression` and `richness_expression`. * * Local functions serve the same purpose as local expressions - they aren't visible outside of the specific prototype and they have access to other local definitions. - * @see {@link https://lua-api.factorio.com/2.1.22/types/AutoplaceSpecification.html#local_functions Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AutoplaceSpecification.html#local_functions Online documentation} */ local_functions?: Record } /** * The abstract base of all {@link AttackParameters}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseAttackParameters.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseAttackParameters.html Online documentation} */ export interface BaseAttackParameters { /** * Before an entity can attack, the distance (in tiles) between the entity and target must be less than or equal to this. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseAttackParameters.html#range Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseAttackParameters.html#range Online documentation} */ range: float /** * Number of ticks in which it will be possible to shoot again. If < 1, multiple shots can be performed in one tick. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseAttackParameters.html#cooldown Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseAttackParameters.html#cooldown Online documentation} */ cooldown: float /** * **Default:** `0` * * The minimum distance (in tiles) between an entity and target. If a unit's target is less than this, the unit will attempt to move away before attacking. A {@linkplain https://wiki.factorio.com/Flamethrower_turret flamethrower turret} does not move, but has a minimum range. Less than this, it is unable to target an enemy. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseAttackParameters.html#min_range Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseAttackParameters.html#min_range Online documentation} */ min_range?: float /** * **Default:** `1` * * If this is <= 0, it is set to 1. Arc from 0 to 1, so for example 0.25 is 90°. Used by the {@linkplain https://wiki.factorio.com/Flamethrower_turret flamethrower turret} in the base game. Arcs greater than 0.5 but less than 1 will be clamped to 0.5 as targeting in arcs larger than half circle is {@linkplain https://forums.factorio.com/94654 not implemented}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseAttackParameters.html#turn_range Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseAttackParameters.html#turn_range Online documentation} */ turn_range?: float /** * **Default:** `0` * * Used when searching for the nearest enemy, when this is > 0, enemies that aren't burning are preferred over burning enemies. Definition of "burning" for this: Entity has sticker attached to it, and the sticker has a {@link StickerPrototype#spread_fire_entity spread_fire_entity} set. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseAttackParameters.html#fire_penalty Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseAttackParameters.html#fire_penalty Online documentation} */ fire_penalty?: float /** * **Default:** `0` * * A higher penalty will discourage turrets from targeting units that would take longer to turn to face. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseAttackParameters.html#rotate_penalty Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseAttackParameters.html#rotate_penalty Online documentation} */ rotate_penalty?: float /** * **Default:** `0` * * A higher penalty will discourage turrets from targeting units with higher health ratio. A negative penalty will encourage turrets to target units with higher health ratio. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseAttackParameters.html#health_penalty Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseAttackParameters.html#health_penalty Online documentation} */ health_penalty?: float /** * **Default:** `0` * * A higher penalty will discourage turrets from targeting asteroids that are threatening. A negative penalty will encourage turrets to target threatening asteroids. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseAttackParameters.html#threatening_asteroid_penalty Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseAttackParameters.html#threatening_asteroid_penalty Online documentation} */ threatening_asteroid_penalty?: float /** * **Default:** `"center-to-center"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseAttackParameters.html#range_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseAttackParameters.html#range_mode Online documentation} */ range_mode?: RangeMode /** * **Default:** `equal to `range` property` * * If less than `range`, the entity will choose a random distance between `range` and `min_attack_distance` and attack from that distance. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseAttackParameters.html#min_attack_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseAttackParameters.html#min_attack_distance Online documentation} */ min_attack_distance?: float /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseAttackParameters.html#damage_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseAttackParameters.html#damage_modifier Online documentation} */ damage_modifier?: float /** * **Default:** `1` * * Must be greater than or equal to `0`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseAttackParameters.html#ammo_consumption_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseAttackParameters.html#ammo_consumption_modifier Online documentation} */ ammo_consumption_modifier?: float /** * **Default:** `0` * * Must be between `0` and `1`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseAttackParameters.html#cooldown_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseAttackParameters.html#cooldown_deviation Online documentation} */ cooldown_deviation?: float /** @@ -1794,7 +1794,7 @@ declare module "factorio:prototype" { * Number of ticks it takes for the weapon to actually shoot after the order for shooting has been made. This also allows to "adjust" the shooting animation to the effect of shooting. * * {@link CapsuleAction CapsuleActions} cannot have attack parameters with non-zero warmup. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseAttackParameters.html#warmup Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseAttackParameters.html#warmup Online documentation} */ warmup?: uint32 /** @@ -1804,29 +1804,29 @@ declare module "factorio:prototype" { * @example * -- this is same as particle horizontal speed of flamethrower fire stream * lead_target_for_projectile_speed = 0.2* 0.75 * 1.5 - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseAttackParameters.html#lead_target_for_projectile_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseAttackParameters.html#lead_target_for_projectile_speed Online documentation} */ lead_target_for_projectile_speed?: float /** * **Default:** `0` * * Setting this to anything but zero causes projectiles to aim for the predicted location based on enemy movement instead of the current enemy location. If set, this property adds a flat number of ticks atop `lead_target_for_projectile_speed` that the shooter must lead. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseAttackParameters.html#lead_target_for_projectile_delay Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseAttackParameters.html#lead_target_for_projectile_delay Online documentation} */ lead_target_for_projectile_delay?: uint32 /** * **Default:** `equal to `cooldown` property` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseAttackParameters.html#movement_slow_down_cooldown Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseAttackParameters.html#movement_slow_down_cooldown Online documentation} */ movement_slow_down_cooldown?: float /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseAttackParameters.html#movement_slow_down_factor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseAttackParameters.html#movement_slow_down_factor Online documentation} */ movement_slow_down_factor?: double /** * Can be mandatory. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseAttackParameters.html#ammo_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseAttackParameters.html#ammo_type Online documentation} */ ammo_type?: AmmoType /** @@ -1835,51 +1835,51 @@ declare module "factorio:prototype" { * Used in tooltips to set the tooltip category. It is also used to get the locale keys for activation instructions and speed of the action for the tooltip. * * For example, an activation_type of "throw" will result in the tooltip category "thrown" and the tooltip locale keys "gui.instruction-to-throw" and "description.throwing-speed". - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseAttackParameters.html#activation_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseAttackParameters.html#activation_type Online documentation} */ activation_type?: "shoot" | "throw" | "consume" | "activate" /** * Played once at the start of the attack if these are {@link ProjectileAttackParameters}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseAttackParameters.html#sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseAttackParameters.html#sound Online documentation} */ sound?: LayeredSound animation?: RotatedAnimation /** * Played during the attack. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseAttackParameters.html#cyclic_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseAttackParameters.html#cyclic_sound Online documentation} */ cyclic_sound?: CyclicSound /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseAttackParameters.html#use_shooter_direction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseAttackParameters.html#use_shooter_direction Online documentation} */ use_shooter_direction?: boolean /** * Mandatory if `ammo_category` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseAttackParameters.html#ammo_categories Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseAttackParameters.html#ammo_categories Online documentation} */ ammo_categories?: readonly AmmoCategoryID[] /** * Mandatory if `ammo_categories` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseAttackParameters.html#ammo_category Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseAttackParameters.html#ammo_category Online documentation} */ ammo_category?: AmmoCategoryID /** * **Default:** `false` * * Projectile will be creation position and orientation will be collinear with shooter and target (unless offset projectile center is specified). Used for railgun turrets to avoid unexpected friendly fire incidents. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseAttackParameters.html#true_collinear_ejection Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseAttackParameters.html#true_collinear_ejection Online documentation} */ true_collinear_ejection?: boolean } /** * The abstract base of all {@link EnergySource EnergySources}. Specifies the way an entity gets its energy. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseEnergySource.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseEnergySource.html Online documentation} */ export interface BaseEnergySource { /** * The pollution an entity emits per minute at full energy consumption. This is exactly the value that is shown in the entity tooltip. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseEnergySource.html#emissions_per_minute Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseEnergySource.html#emissions_per_minute Online documentation} */ emissions_per_minute?: Record /** @@ -1887,8 +1887,8 @@ declare module "factorio:prototype" { * * Whether to render the "no power" icon if the entity is low on power. Also applies to the "no fuel" icon when using burner energy sources. * - * ![](https://lua-api.factorio.com/2.1.22/static/images/no_power_icon.png) - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseEnergySource.html#render_no_power_icon Online documentation} + * ![](https://lua-api.factorio.com/2.1.24/static/images/no_power_icon.png) + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseEnergySource.html#render_no_power_icon Online documentation} */ render_no_power_icon?: boolean /** @@ -1896,26 +1896,26 @@ declare module "factorio:prototype" { * * Whether to render the "no network" icon if the entity is not connected to an electric network. * - * ![](https://lua-api.factorio.com/2.1.22/static/images/no_network_icon.png) - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseEnergySource.html#render_no_network_icon Online documentation} + * ![](https://lua-api.factorio.com/2.1.24/static/images/no_network_icon.png) + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseEnergySource.html#render_no_network_icon Online documentation} */ render_no_network_icon?: boolean } /** * The abstract base of all {@link Modifier Modifiers}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseModifier.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseModifier.html Online documentation} */ export interface BaseModifier { /** * Can't be an empty array. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseModifier.html#icons Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseModifier.html#icons Online documentation} */ icons?: readonly IconData[] /** * Path to the icon file. * * Only loaded if `icons` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseModifier.html#icon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseModifier.html#icon Online documentation} */ icon?: FileName /** @@ -1924,12 +1924,12 @@ declare module "factorio:prototype" { * The size of the square icon, in pixels. E.g. `32` for a 32px by 32px icon. Must be larger than `0`. * * Only loaded if `icons` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseModifier.html#icon_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseModifier.html#icon_size Online documentation} */ icon_size?: SpriteSizeType /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseModifier.html#hidden Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseModifier.html#hidden Online documentation} */ hidden?: boolean } @@ -1954,166 +1954,166 @@ declare module "factorio:prototype" { * use_header_filler = false, * drag_by_title = false * } - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseStyleSpecification.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseStyleSpecification.html Online documentation} */ export interface BaseStyleSpecification { /** * Name of a {@link StyleSpecification}. This style inherits all property values from its parent. * * Styles without a parent property default to the root style for their type. The exception to this are the root styles themselves, as they cannot have a parent set. Due to this, for root styles, some style properties are mandatory and behavior may be unexpected, such as an element not showing up because its size defaults to `0`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseStyleSpecification.html#parent Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseStyleSpecification.html#parent Online documentation} */ parent?: string /** * **Default:** `"left"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseStyleSpecification.html#horizontal_align Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseStyleSpecification.html#horizontal_align Online documentation} */ horizontal_align?: HorizontalAlign /** * **Default:** `"top"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseStyleSpecification.html#vertical_align Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseStyleSpecification.html#vertical_align Online documentation} */ vertical_align?: VerticalAlign /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseStyleSpecification.html#ignored_by_search Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseStyleSpecification.html#ignored_by_search Online documentation} */ ignored_by_search?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseStyleSpecification.html#never_hide_by_search Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseStyleSpecification.html#never_hide_by_search Online documentation} */ never_hide_by_search?: boolean /** * **Default:** `"auto"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseStyleSpecification.html#horizontally_stretchable Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseStyleSpecification.html#horizontally_stretchable Online documentation} */ horizontally_stretchable?: StretchRule /** * **Default:** `"auto"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseStyleSpecification.html#vertically_stretchable Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseStyleSpecification.html#vertically_stretchable Online documentation} */ vertically_stretchable?: StretchRule /** * **Default:** `"auto"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseStyleSpecification.html#horizontally_squashable Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseStyleSpecification.html#horizontally_squashable Online documentation} */ horizontally_squashable?: StretchRule /** * **Default:** `"auto"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseStyleSpecification.html#vertically_squashable Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseStyleSpecification.html#vertically_squashable Online documentation} */ vertically_squashable?: StretchRule /** * If this is a tuple, the first member sets `natural_width` and the second sets `natural_height`. Otherwise, both `natural_width` and `natural_height` are set to the same value. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseStyleSpecification.html#natural_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseStyleSpecification.html#natural_size Online documentation} */ natural_size?: uint32 | readonly [uint32, uint32] /** * If this is a tuple, the first member sets `width`, and the second sets `height`. Otherwise, both `width` and `height` are set to the same value. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseStyleSpecification.html#size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseStyleSpecification.html#size Online documentation} */ size?: uint32 | readonly [uint32, uint32] /** * Sets `minimal_width`, `maximal_width` and `natural_width` to the same value. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseStyleSpecification.html#width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseStyleSpecification.html#width Online documentation} */ width?: uint32 /** * **Default:** `0` * * Minimal width ensures that the widget will never be smaller than than that size. It can't be squashed to be smaller. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseStyleSpecification.html#minimal_width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseStyleSpecification.html#minimal_width Online documentation} */ minimal_width?: uint32 /** * **Default:** `0` * * Maximal width ensures that the widget will never be bigger than than that size. It can't be stretched to be bigger. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseStyleSpecification.html#maximal_width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseStyleSpecification.html#maximal_width Online documentation} */ maximal_width?: uint32 /** * **Default:** `0` * * Natural width specifies the width of the element tries to have, but it can still be squashed/stretched to have a different size. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseStyleSpecification.html#natural_width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseStyleSpecification.html#natural_width Online documentation} */ natural_width?: uint32 /** * Sets `minimal_height`, `maximal_height` and `natural_height` to the same value. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseStyleSpecification.html#height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseStyleSpecification.html#height Online documentation} */ height?: uint32 /** * **Default:** `0` * * Minimal height ensures that the widget will never be smaller than than that size. It can't be squashed to be smaller. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseStyleSpecification.html#minimal_height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseStyleSpecification.html#minimal_height Online documentation} */ minimal_height?: uint32 /** * **Default:** `0` * * Maximal height ensures that the widget will never be bigger than than that size. It can't be stretched to be bigger. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseStyleSpecification.html#maximal_height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseStyleSpecification.html#maximal_height Online documentation} */ maximal_height?: uint32 /** * **Default:** `0` * * Natural height specifies the height of the element tries to have, but it can still be squashed/stretched to have a different size. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseStyleSpecification.html#natural_height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseStyleSpecification.html#natural_height Online documentation} */ natural_height?: uint32 /** * Sets `top_padding`, `right_padding`, `bottom_padding` and `left_padding` to the same value. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseStyleSpecification.html#padding Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseStyleSpecification.html#padding Online documentation} */ padding?: int16 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseStyleSpecification.html#top_padding Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseStyleSpecification.html#top_padding Online documentation} */ top_padding?: int16 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseStyleSpecification.html#right_padding Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseStyleSpecification.html#right_padding Online documentation} */ right_padding?: int16 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseStyleSpecification.html#bottom_padding Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseStyleSpecification.html#bottom_padding Online documentation} */ bottom_padding?: int16 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseStyleSpecification.html#left_padding Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseStyleSpecification.html#left_padding Online documentation} */ left_padding?: int16 /** * Sets `top_margin`, `right_margin`, `bottom_margin` and `left_margin` to the same value. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseStyleSpecification.html#margin Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseStyleSpecification.html#margin Online documentation} */ margin?: int16 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseStyleSpecification.html#top_margin Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseStyleSpecification.html#top_margin Online documentation} */ top_margin?: int16 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseStyleSpecification.html#right_margin Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseStyleSpecification.html#right_margin Online documentation} */ right_margin?: int16 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseStyleSpecification.html#bottom_margin Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseStyleSpecification.html#bottom_margin Online documentation} */ bottom_margin?: int16 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseStyleSpecification.html#left_margin Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseStyleSpecification.html#left_margin Online documentation} */ left_margin?: int16 /** @@ -2121,12 +2121,12 @@ declare module "factorio:prototype" { * * ## Union members * - `"compilatron-hologram"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseStyleSpecification.html#effect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseStyleSpecification.html#effect Online documentation} */ effect?: "compilatron-hologram" /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BaseStyleSpecification.html#effect_opacity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BaseStyleSpecification.html#effect_opacity Online documentation} */ effect_opacity?: float tooltip?: LocalisedString @@ -2137,73 +2137,73 @@ declare module "factorio:prototype" { * **Default:** `true` * * If set to `false`, use the icon from {@link UtilitySprites} for this technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BeaconDistributionModifier.html#infer_icon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BeaconDistributionModifier.html#infer_icon Online documentation} */ infer_icon?: boolean /** * **Default:** `true` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BeaconDistributionModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BeaconDistributionModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean } export interface BeaconGraphicsSet { /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BeaconGraphicsSet.html#draw_animation_when_idle Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BeaconGraphicsSet.html#draw_animation_when_idle Online documentation} */ draw_animation_when_idle?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BeaconGraphicsSet.html#draw_light_when_idle Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BeaconGraphicsSet.html#draw_light_when_idle Online documentation} */ draw_light_when_idle?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BeaconGraphicsSet.html#random_animation_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BeaconGraphicsSet.html#random_animation_offset Online documentation} */ random_animation_offset?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BeaconGraphicsSet.html#module_icons_suppressed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BeaconGraphicsSet.html#module_icons_suppressed Online documentation} */ module_icons_suppressed?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BeaconGraphicsSet.html#reset_animation_when_frozen Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BeaconGraphicsSet.html#reset_animation_when_frozen Online documentation} */ reset_animation_when_frozen?: boolean /** * **Default:** `"object"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BeaconGraphicsSet.html#base_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BeaconGraphicsSet.html#base_layer Online documentation} */ base_layer?: RenderLayer /** * **Default:** `"object"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BeaconGraphicsSet.html#animation_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BeaconGraphicsSet.html#animation_layer Online documentation} */ animation_layer?: RenderLayer /** * **Default:** `"object"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BeaconGraphicsSet.html#top_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BeaconGraphicsSet.html#top_layer Online documentation} */ top_layer?: RenderLayer /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BeaconGraphicsSet.html#animation_progress Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BeaconGraphicsSet.html#animation_progress Online documentation} */ animation_progress?: float /** * **Default:** `"none"` * * Which tint set in {@link ModulePrototype#beacon_tint ModulePrototype::beacon_tint} should be applied to elements of the `animation_list`, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BeaconGraphicsSet.html#apply_module_tint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BeaconGraphicsSet.html#apply_module_tint Online documentation} */ apply_module_tint?: ModuleTint /** * **Default:** `no color` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BeaconGraphicsSet.html#no_modules_tint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BeaconGraphicsSet.html#no_modules_tint Online documentation} */ no_modules_tint?: Color animation_list?: readonly AnimationElement[] @@ -2211,43 +2211,43 @@ declare module "factorio:prototype" { light?: LightDefinition /** * The visualisations available for displaying the modules in the beacon. The visualisation is chosen based on art style, see {@link BeaconModuleVisualizations#art_style BeaconModuleVisualizations::art_style} and {@link ModulePrototype#art_style ModulePrototype::art_style}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BeaconGraphicsSet.html#module_visualisations Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BeaconGraphicsSet.html#module_visualisations Online documentation} */ module_visualisations?: readonly BeaconModuleVisualizations[] /** * **Default:** `"single-module"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BeaconGraphicsSet.html#module_tint_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BeaconGraphicsSet.html#module_tint_mode Online documentation} */ module_tint_mode?: "single-module" | "mix" /** * Refer to {@link EntityPrototype#water_reflection EntityPrototype::water_reflection}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BeaconGraphicsSet.html#water_reflection Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BeaconGraphicsSet.html#water_reflection Online documentation} */ water_reflection?: WaterReflectionDefinition } export interface BeaconModuleVisualization { /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BeaconModuleVisualization.html#has_empty_slot Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BeaconModuleVisualization.html#has_empty_slot Online documentation} */ has_empty_slot?: boolean /** * **Default:** `0` * * Used to determine render order for sprites with the same `render_layer` in the same position. Sprites with a higher `secondary_draw_order` are drawn on top. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BeaconModuleVisualization.html#secondary_draw_order Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BeaconModuleVisualization.html#secondary_draw_order Online documentation} */ secondary_draw_order?: int8 /** * **Default:** `"none"` * * Which tint set in {@link ModulePrototype#beacon_tint ModulePrototype::beacon_tint} should be applied to this, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BeaconModuleVisualization.html#apply_module_tint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BeaconModuleVisualization.html#apply_module_tint Online documentation} */ apply_module_tint?: ModuleTint /** * **Default:** `"object"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BeaconModuleVisualization.html#render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BeaconModuleVisualization.html#render_layer Online documentation} */ render_layer?: RenderLayer pictures?: SpriteVariations @@ -2255,17 +2255,17 @@ declare module "factorio:prototype" { export interface BeaconModuleVisualizations { /** * The visualization is chosen based on the {@link ModulePrototype#art_style ModulePrototype::art_style}, meaning if module art style equals beacon module visualization art style then this visualization is chosen. Vanilla uses `"vanilla"` here. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BeaconModuleVisualizations.html#art_style Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BeaconModuleVisualizations.html#art_style Online documentation} */ art_style: string /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BeaconModuleVisualizations.html#use_for_empty_slots Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BeaconModuleVisualizations.html#use_for_empty_slots Online documentation} */ use_for_empty_slots?: boolean /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BeaconModuleVisualizations.html#tier_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BeaconModuleVisualizations.html#tier_offset Online documentation} */ tier_offset?: int32 /** @@ -2293,65 +2293,65 @@ declare module "factorio:prototype" { * } * } * } - * @see {@link https://lua-api.factorio.com/2.1.22/types/BeaconModuleVisualizations.html#slots Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BeaconModuleVisualizations.html#slots Online documentation} */ slots?: readonly (readonly BeaconModuleVisualization[])[] } /** * @see ModulePrototype.beacon_tint - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ModulePrototype.html#beacon_tint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ModulePrototype.html#beacon_tint Online documentation} */ export interface BeaconVisualizationTints { /** * **Default:** `no color` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BeaconVisualizationTints.html#primary Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BeaconVisualizationTints.html#primary Online documentation} */ primary?: Color /** * **Default:** `no color` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BeaconVisualizationTints.html#secondary Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BeaconVisualizationTints.html#secondary Online documentation} */ secondary?: Color /** * **Default:** `no color` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BeaconVisualizationTints.html#tertiary Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BeaconVisualizationTints.html#tertiary Online documentation} */ tertiary?: Color /** * **Default:** `no color` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BeaconVisualizationTints.html#quaternary Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BeaconVisualizationTints.html#quaternary Online documentation} */ quaternary?: Color } export interface BeamAnimationSet { /** * Start point of the beam. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BeamAnimationSet.html#start Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BeamAnimationSet.html#start Online documentation} */ start?: Animation /** * End point of the beam. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BeamAnimationSet.html#ending Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BeamAnimationSet.html#ending Online documentation} */ ending?: Animation /** * Head segment of the beam. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BeamAnimationSet.html#head Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BeamAnimationSet.html#head Online documentation} */ head?: Animation /** * Tail segment of the beam. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BeamAnimationSet.html#tail Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BeamAnimationSet.html#tail Online documentation} */ tail?: Animation /** * Body segment of the beam. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BeamAnimationSet.html#body Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BeamAnimationSet.html#body Online documentation} */ body?: AnimationVariations /** * **Default:** `"projectile"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BeamAnimationSet.html#render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BeamAnimationSet.html#render_layer Online documentation} */ render_layer?: RenderLayer } @@ -2359,7 +2359,7 @@ declare module "factorio:prototype" { readonly type: "beam" /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BeamAttackParameters.html#source_direction_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BeamAttackParameters.html#source_direction_count Online documentation} */ source_direction_count?: uint32 source_offset?: Vector @@ -2371,27 +2371,27 @@ declare module "factorio:prototype" { * **Default:** `1` * * Must be larger than 0. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BeamGraphicsSet.html#desired_segment_length Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BeamGraphicsSet.html#desired_segment_length Online documentation} */ desired_segment_length?: float /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BeamGraphicsSet.html#random_end_animation_rotation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BeamGraphicsSet.html#random_end_animation_rotation Online documentation} */ random_end_animation_rotation?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BeamGraphicsSet.html#transparent_start_end_animations Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BeamGraphicsSet.html#transparent_start_end_animations Online documentation} */ transparent_start_end_animations?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BeamGraphicsSet.html#randomize_animation_per_segment Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BeamGraphicsSet.html#randomize_animation_per_segment Online documentation} */ randomize_animation_per_segment?: boolean /** * Refer to {@link EntityPrototype#water_reflection EntityPrototype::water_reflection}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BeamGraphicsSet.html#water_reflection Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BeamGraphicsSet.html#water_reflection Online documentation} */ water_reflection?: WaterReflectionDefinition } @@ -2399,40 +2399,40 @@ declare module "factorio:prototype" { readonly type: "beam" /** * Name of a {@link BeamPrototype}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BeamTriggerDelivery.html#beam Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BeamTriggerDelivery.html#beam Online documentation} */ beam: EntityID /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BeamTriggerDelivery.html#add_to_shooter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BeamTriggerDelivery.html#add_to_shooter Online documentation} */ add_to_shooter?: boolean /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BeamTriggerDelivery.html#max_length Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BeamTriggerDelivery.html#max_length Online documentation} */ max_length?: uint32 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BeamTriggerDelivery.html#duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BeamTriggerDelivery.html#duration Online documentation} */ duration?: uint32 source_offset?: Vector /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BeamTriggerDelivery.html#destroy_with_source_or_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BeamTriggerDelivery.html#destroy_with_source_or_target Online documentation} */ destroy_with_source_or_target?: boolean } export interface BeltReaderLayer { /** * **Default:** `"transport-belt-reader"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BeltReaderLayer.html#render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BeltReaderLayer.html#render_layer Online documentation} */ render_layer?: RenderLayer /** * Must have a `frame_count` of `4`, one for each direction. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BeltReaderLayer.html#sprites Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BeltReaderLayer.html#sprites Online documentation} */ sprites: RotatedAnimation } @@ -2442,7 +2442,7 @@ declare module "factorio:prototype" { * **Default:** `true` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BeltStackSizeBonusModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BeltStackSizeBonusModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean } @@ -2461,13 +2461,13 @@ declare module "factorio:prototype" { * - `"multiplicative"`: The result color is determined with the following formula: `Result = Active_RGB * Background_RGB` * - `"multiplicative-with-alpha"`: The result color is determined with the following formula: `Result = Active_RGB * Background_RGB * Active_Alpha + Background_RGB * ( 1 - Active_Alpha )` * - `"overwrite"`: The result color is determined with the following formula: `Result = Active_RGBA or Background_RGBA` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BlendMode.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BlendMode.html Online documentation} */ export type BlendMode = "normal" | "additive" | "additive-soft" | "multiplicative" | "multiplicative-with-alpha" | "overwrite" /** * @see BoilerPrototype.pictures - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/BoilerPrototype.html#pictures Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/BoilerPrototype.html#pictures Online documentation} */ export interface BoilerPictureSet { north: BoilerPictures @@ -2479,21 +2479,21 @@ declare module "factorio:prototype" { structure: Animation /** * Drawn above the `structure`, in the "higher-object-under" {@link RenderLayer}. May be useful to correct problems with neighboring pipes overlapping the structure graphics. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BoilerPictures.html#patch Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BoilerPictures.html#patch Online documentation} */ patch?: Sprite /** * Animation that is drawn on top of the `structure` when `burning_cooldown` is larger than 1. The animation alpha can be controlled by the energy source light intensity, depending on `fire_flicker_enabled`. * * The secondary draw order of this is higher than the secondary draw order of `fire_glow`, so this is drawn above `fire_glow`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BoilerPictures.html#fire Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BoilerPictures.html#fire Online documentation} */ fire?: Animation /** * Animation that is drawn on top of the `structure` when `burning_cooldown` is larger than 1. The animation alpha can be controlled by the energy source light intensity, depending on `fire_glow_flicker_enabled`. * * The secondary draw order of this is lower than the secondary draw order of `fire`, so this is drawn below `fire`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BoilerPictures.html#fire_glow Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BoilerPictures.html#fire_glow Online documentation} */ fire_glow?: Animation } @@ -2514,19 +2514,19 @@ declare module "factorio:prototype" { export interface BoolModifier extends BaseModifier { /** * The state this modifier will be in upon researching. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BoolModifier.html#modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BoolModifier.html#modifier Online documentation} */ modifier: boolean } export interface BorderImageSet { /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BorderImageSet.html#scale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BorderImageSet.html#scale Online documentation} */ scale?: double /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BorderImageSet.html#border_width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BorderImageSet.html#border_width Online documentation} */ border_width?: int32 vertical_line?: Sprite @@ -2548,7 +2548,7 @@ declare module "factorio:prototype" { /** * Struct type for {@link BoundingBox} * @see BoundingBox - * @see {@link https://lua-api.factorio.com/2.1.22/types/BoundingBox.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BoundingBox.html Online documentation} */ export interface BoundingBoxStruct { left_top: MapPosition @@ -2568,13 +2568,13 @@ declare module "factorio:prototype" { * @example * -- long definition * {left_top = {x = -2, y = -3}, right_bottom = {x = 5, y = 8}} - * @see {@link https://lua-api.factorio.com/2.1.22/types/BoundingBox.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BoundingBox.html Online documentation} */ export type BoundingBox = BoundingBoxStruct | readonly [MapPosition, MapPosition] | readonly [MapPosition, MapPosition, RealOrientation] /** * A cursor box, for use in {@link UtilitySprites}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BoxSpecification.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BoxSpecification.html Online documentation} */ export interface BoxSpecification { sprite: Sprite @@ -2582,22 +2582,22 @@ declare module "factorio:prototype" { * **Default:** `false` * * Whether this is a complete box or just the top left corner. If this is true, `side_length` and `side_height` must be present. Otherwise `max_side_length` must be present. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BoxSpecification.html#is_whole_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BoxSpecification.html#is_whole_box Online documentation} */ is_whole_box?: boolean /** * Only loaded, and mandatory if `is_whole_box` is `true`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BoxSpecification.html#side_length Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BoxSpecification.html#side_length Online documentation} */ side_length?: double /** * Only loaded, and mandatory if `is_whole_box` is `true`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BoxSpecification.html#side_height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BoxSpecification.html#side_height Online documentation} */ side_height?: double /** * Only loaded, and mandatory if `is_whole_box` is `false`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BoxSpecification.html#max_side_length Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BoxSpecification.html#max_side_length Online documentation} */ max_side_length?: double } @@ -2613,7 +2613,7 @@ declare module "factorio:prototype" { entity?: EntityID /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BuildEntityTipTrigger.html#match_type_only Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BuildEntityTipTrigger.html#match_type_only Online documentation} */ match_type_only?: boolean build_by_dragging?: boolean @@ -2621,17 +2621,17 @@ declare module "factorio:prototype" { * **Default:** `false` * * Building is considered consecutive when the built entity is the same as the last built entity. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BuildEntityTipTrigger.html#consecutive Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BuildEntityTipTrigger.html#consecutive Online documentation} */ consecutive?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BuildEntityTipTrigger.html#linear_power_pole_line Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BuildEntityTipTrigger.html#linear_power_pole_line Online documentation} */ linear_power_pole_line?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BuildEntityTipTrigger.html#build_in_line Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BuildEntityTipTrigger.html#build_in_line Online documentation} */ build_in_line?: boolean quality?: QualityID @@ -2641,7 +2641,7 @@ declare module "factorio:prototype" { * - `"normal"` * - `"forced"` * - `"superforced"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BuildMode.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BuildMode.html Online documentation} */ export type BuildMode = "normal" | "forced" | "superforced" export interface BuildPreviewTintSet { @@ -2649,7 +2649,7 @@ declare module "factorio:prototype" { * Mandatory in {@link UtilityConstants#build_preview_tints UtilityConstants::build_preview_tints}. * * Defaults to the value from {@link UtilityConstants#build_preview_tints UtilityConstants::build_preview_tints} when used in {@link BlueprintItemPrototype#build_preview_tints BlueprintItemPrototype::build_preview_tints}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BuildPreviewTintSet.html#buildable Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BuildPreviewTintSet.html#buildable Online documentation} */ buildable?: Color /** @@ -2658,41 +2658,41 @@ declare module "factorio:prototype" { * Used when the player is too far away to build manually. * * Defaults to the value from {@link UtilityConstants#build_preview_tints UtilityConstants::build_preview_tints} when used in {@link BlueprintItemPrototype#build_preview_tints BlueprintItemPrototype::build_preview_tints}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BuildPreviewTintSet.html#buildable_too_far Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BuildPreviewTintSet.html#buildable_too_far Online documentation} */ buildable_too_far?: Color /** * Mandatory in {@link UtilityConstants#build_preview_tints UtilityConstants::build_preview_tints}. * * Defaults to the value from {@link UtilityConstants#build_preview_tints UtilityConstants::build_preview_tints} when used in {@link BlueprintItemPrototype#build_preview_tints BlueprintItemPrototype::build_preview_tints}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BuildPreviewTintSet.html#ignorable Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BuildPreviewTintSet.html#ignorable Online documentation} */ ignorable?: Color /** * Mandatory in {@link UtilityConstants#build_preview_tints UtilityConstants::build_preview_tints}. * * Defaults to the value from {@link UtilityConstants#build_preview_tints UtilityConstants::build_preview_tints} when used in {@link BlueprintItemPrototype#build_preview_tints BlueprintItemPrototype::build_preview_tints}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BuildPreviewTintSet.html#not_buildable Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BuildPreviewTintSet.html#not_buildable Online documentation} */ not_buildable?: Color } /** * Tints of the cursor building preview, based on whether the preview can be built. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BuildPreviewTints.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BuildPreviewTints.html Online documentation} */ export interface BuildPreviewTints { /** * Mandatory in {@link UtilityConstants#build_preview_tints UtilityConstants::build_preview_tints}. * * When used in {@link BlueprintItemPrototype#build_preview_tints BlueprintItemPrototype::build_preview_tints}, the properties that are not given default to the value from {@link UtilityConstants#build_preview_tints UtilityConstants::build_preview_tints}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BuildPreviewTints.html#entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BuildPreviewTints.html#entity Online documentation} */ entity?: BuildPreviewTintSet /** * Mandatory in {@link UtilityConstants#build_preview_tints UtilityConstants::build_preview_tints}. * * When used in {@link BlueprintItemPrototype#build_preview_tints BlueprintItemPrototype::build_preview_tints}, the properties that are not given default to the value from {@link UtilityConstants#build_preview_tints UtilityConstants::build_preview_tints}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BuildPreviewTints.html#tile Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BuildPreviewTints.html#tile Online documentation} */ tile?: BuildPreviewTintSet /** @@ -2701,7 +2701,7 @@ declare module "factorio:prototype" { * Mandatory in {@link UtilityConstants#build_preview_tints UtilityConstants::build_preview_tints}. * * When used in {@link BlueprintItemPrototype#build_preview_tints BlueprintItemPrototype::build_preview_tints}, the properties that are not given default to the value from {@link UtilityConstants#build_preview_tints UtilityConstants::build_preview_tints}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BuildPreviewTints.html#entity_chart Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BuildPreviewTints.html#entity_chart Online documentation} */ entity_chart?: BuildPreviewTintSet /** @@ -2710,7 +2710,7 @@ declare module "factorio:prototype" { * Mandatory in {@link UtilityConstants#build_preview_tints UtilityConstants::build_preview_tints}. * * When used in {@link BlueprintItemPrototype#build_preview_tints BlueprintItemPrototype::build_preview_tints}, the properties that are not given default to the value from {@link UtilityConstants#build_preview_tints UtilityConstants::build_preview_tints}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BuildPreviewTints.html#tile_chart Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BuildPreviewTints.html#tile_chart Online documentation} */ tile_chart?: BuildPreviewTintSet } @@ -2720,14 +2720,14 @@ declare module "factorio:prototype" { * **Default:** `false` * * If set to `false`, use the icon from {@link UtilitySprites} for this technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BulkInserterCapacityBonusModifier.html#infer_icon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BulkInserterCapacityBonusModifier.html#infer_icon Online documentation} */ infer_icon?: boolean /** * **Default:** `true` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BulkInserterCapacityBonusModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BulkInserterCapacityBonusModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean } @@ -2736,7 +2736,7 @@ declare module "factorio:prototype" { fuel_inventory_size: ItemStackIndex /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BurnerEnergySource.html#burnt_inventory_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BurnerEnergySource.html#burnt_inventory_size Online documentation} */ burnt_inventory_size?: ItemStackIndex smoke?: readonly SmokeSource[] @@ -2745,43 +2745,43 @@ declare module "factorio:prototype" { * **Default:** `1` * * `1` means 100% effectivity. Must be greater than `0`. Multiplier of the energy output. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BurnerEnergySource.html#effectivity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BurnerEnergySource.html#effectivity Online documentation} */ effectivity?: double /** * **Default:** `"fuel"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BurnerEnergySource.html#burner_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BurnerEnergySource.html#burner_usage Online documentation} */ burner_usage?: BurnerUsageID /** * **Default:** ``{"chemical"}`` * * The energy source can be used with fuel from these {@link FuelCategory fuel categories}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BurnerEnergySource.html#fuel_categories Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BurnerEnergySource.html#fuel_categories Online documentation} */ fuel_categories?: readonly FuelCategoryID[] /** * **Default:** `""` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BurnerEnergySource.html#initial_fuel Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BurnerEnergySource.html#initial_fuel Online documentation} */ initial_fuel?: ItemID /** * **Default:** `0.25` - * @see {@link https://lua-api.factorio.com/2.1.22/types/BurnerEnergySource.html#initial_fuel_percent Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BurnerEnergySource.html#initial_fuel_percent Online documentation} */ initial_fuel_percent?: double /** * **Default:** `true` * * If this burner attempts to auto-refill fuel from the owner character, car, spider vehicle, cargo wagon, or artillery wagon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BurnerEnergySource.html#auto_refuel Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BurnerEnergySource.html#auto_refuel Online documentation} */ auto_refuel?: boolean /** * **Default:** `false` * * When set, items consumed and produced by this burner will not appear in item production statistics. - * @see {@link https://lua-api.factorio.com/2.1.22/types/BurnerEnergySource.html#hide_from_stats Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BurnerEnergySource.html#hide_from_stats Online documentation} */ hide_from_stats?: boolean } @@ -2791,12 +2791,12 @@ declare module "factorio:prototype" { * "fuel" * @example * "food" - * @see {@link https://lua-api.factorio.com/2.1.22/types/BurnerUsageID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/BurnerUsageID.html Online documentation} */ export type BurnerUsageID = string /** * Root style: `"button"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ButtonStyleSpecification.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ButtonStyleSpecification.html Online documentation} */ export interface ButtonStyleSpecification extends StyleWithClickableGraphicalSetSpecification { readonly type: "button_style" @@ -2804,82 +2804,82 @@ declare module "factorio:prototype" { * Name of a {@link FontPrototype}. * * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ButtonStyleSpecification.html#font Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ButtonStyleSpecification.html#font Online documentation} */ font?: string /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ButtonStyleSpecification.html#default_font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ButtonStyleSpecification.html#default_font_color Online documentation} */ default_font_color?: Color /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ButtonStyleSpecification.html#hovered_font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ButtonStyleSpecification.html#hovered_font_color Online documentation} */ hovered_font_color?: Color /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ButtonStyleSpecification.html#clicked_font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ButtonStyleSpecification.html#clicked_font_color Online documentation} */ clicked_font_color?: Color /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ButtonStyleSpecification.html#disabled_font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ButtonStyleSpecification.html#disabled_font_color Online documentation} */ disabled_font_color?: Color /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ButtonStyleSpecification.html#selected_font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ButtonStyleSpecification.html#selected_font_color Online documentation} */ selected_font_color?: Color /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ButtonStyleSpecification.html#selected_hovered_font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ButtonStyleSpecification.html#selected_hovered_font_color Online documentation} */ selected_hovered_font_color?: Color /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ButtonStyleSpecification.html#selected_clicked_font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ButtonStyleSpecification.html#selected_clicked_font_color Online documentation} */ selected_clicked_font_color?: Color /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ButtonStyleSpecification.html#strikethrough_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ButtonStyleSpecification.html#strikethrough_color Online documentation} */ strikethrough_color?: Color /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ButtonStyleSpecification.html#pie_progress_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ButtonStyleSpecification.html#pie_progress_color Online documentation} */ pie_progress_color?: Color /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ButtonStyleSpecification.html#clicked_vertical_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ButtonStyleSpecification.html#clicked_vertical_offset Online documentation} */ clicked_vertical_offset?: uint32 /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ButtonStyleSpecification.html#draw_shadow_under_picture Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ButtonStyleSpecification.html#draw_shadow_under_picture Online documentation} */ draw_shadow_under_picture?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ButtonStyleSpecification.html#draw_grayscale_picture Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ButtonStyleSpecification.html#draw_grayscale_picture Online documentation} */ draw_grayscale_picture?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ButtonStyleSpecification.html#invert_colors_of_picture_when_hovered_or_toggled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ButtonStyleSpecification.html#invert_colors_of_picture_when_hovered_or_toggled Online documentation} */ invert_colors_of_picture_when_hovered_or_toggled?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ButtonStyleSpecification.html#invert_colors_of_picture_when_disabled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ButtonStyleSpecification.html#invert_colors_of_picture_when_disabled Online documentation} */ invert_colors_of_picture_when_disabled?: boolean /** * **Default:** `"left"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ButtonStyleSpecification.html#icon_horizontal_align Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ButtonStyleSpecification.html#icon_horizontal_align Online documentation} */ icon_horizontal_align?: HorizontalAlign } @@ -2888,38 +2888,38 @@ declare module "factorio:prototype" { duration: uint8 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CameraEffectTriggerEffectItem.html#ease_in_duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CameraEffectTriggerEffectItem.html#ease_in_duration Online documentation} */ ease_in_duration?: uint8 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CameraEffectTriggerEffectItem.html#ease_out_duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CameraEffectTriggerEffectItem.html#ease_out_duration Online documentation} */ ease_out_duration?: uint8 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CameraEffectTriggerEffectItem.html#delay Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CameraEffectTriggerEffectItem.html#delay Online documentation} */ delay?: uint8 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CameraEffectTriggerEffectItem.html#full_strength_max_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CameraEffectTriggerEffectItem.html#full_strength_max_distance Online documentation} */ full_strength_max_distance?: uint16 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CameraEffectTriggerEffectItem.html#max_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CameraEffectTriggerEffectItem.html#max_distance Online documentation} */ max_distance?: uint16 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CameraEffectTriggerEffectItem.html#strength Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CameraEffectTriggerEffectItem.html#strength Online documentation} */ strength?: float } /** * Root style: `"camera"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CameraStyleSpecification.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CameraStyleSpecification.html Online documentation} */ export interface CameraStyleSpecification extends Omit { readonly type: "camera_style" @@ -2933,7 +2933,7 @@ declare module "factorio:prototype" { * - {@link UseOnSelfCapsuleAction}: Loaded when the `type` is `"use-on-self"`. * - {@link DestroyCliffsCapsuleAction}: Loaded when the `type` is `"destroy-cliffs"`. * - {@link ArtilleryRemoteCapsuleAction}: Loaded when the `type` is `"artillery-remote"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CapsuleAction.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CapsuleAction.html Online documentation} */ export type CapsuleAction = | ThrowCapsuleAction @@ -2950,13 +2950,13 @@ declare module "factorio:prototype" { animation?: Animation /** * **Default:** `object` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CargoBayConnectableGraphicsSet.html#animation_render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CargoBayConnectableGraphicsSet.html#animation_render_layer Online documentation} */ animation_render_layer?: RenderLayer connections?: CargoBayConnections /** * Only loaded if this graphics set is used in a property called `graphics_set`, refer to {@link EntityPrototype#water_reflection EntityPrototype::water_reflection}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CargoBayConnectableGraphicsSet.html#water_reflection Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CargoBayConnectableGraphicsSet.html#water_reflection Online documentation} */ water_reflection?: WaterReflectionDefinition } @@ -2965,7 +2965,7 @@ declare module "factorio:prototype" { * An array of LayeredSpriteVariations groups. One tile can have a maximum of two groups. A group is selected based on tile position and a random variation is picked from that group. This allows having interleaved variations and makes sure the same variation isn't picked for surrounding tiles. * * Supports at most 255 items. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CargoBayConnections.html#tileset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CargoBayConnections.html#tileset Online documentation} */ tileset?: readonly (readonly LayeredSpriteVariations[])[] /** @@ -2974,7 +2974,7 @@ declare module "factorio:prototype" { * Tile bitmask uses 8 bits. Bits are assigned from the top-left corner and going clockwise (top-left tile has bit 0 and right tile has bit 7). * * Mandatory if `tileset` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CargoBayConnections.html#tileset_mapping Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CargoBayConnections.html#tileset_mapping Online documentation} */ tileset_mapping?: Record bridge_horizontal_narrow?: LayeredSpriteVariations @@ -2989,75 +2989,83 @@ declare module "factorio:prototype" { * **Default:** `"cargo-hatch"` * * render layer for the hatch itself. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CargoHatchDefinition.html#hatch_render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CargoHatchDefinition.html#hatch_render_layer Online documentation} */ hatch_render_layer?: RenderLayer /** * **Default:** `"cargo-hatch"` * * render layer for objects entering the hatch. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CargoHatchDefinition.html#entering_render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CargoHatchDefinition.html#entering_render_layer Online documentation} */ entering_render_layer?: RenderLayer /** * **Default:** ``{0, 0}`` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CargoHatchDefinition.html#offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CargoHatchDefinition.html#offset Online documentation} */ offset?: Vector /** * **Default:** ``{0, 0}`` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CargoHatchDefinition.html#pod_shadow_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CargoHatchDefinition.html#pod_shadow_offset Online documentation} */ pod_shadow_offset?: Vector /** * **Default:** `-1` * * y height relative to hatch position where the pod art gets clipped from sky to regular sorting layer. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CargoHatchDefinition.html#sky_slice_height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CargoHatchDefinition.html#sky_slice_height Online documentation} */ sky_slice_height?: float /** * **Default:** `1` * * y height relative to hatch position where the pod art gets cut off. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CargoHatchDefinition.html#slice_height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CargoHatchDefinition.html#slice_height Online documentation} */ slice_height?: float /** * **Default:** `1` * * y height relative to hatch position where the pod travels to during preparing and parking. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CargoHatchDefinition.html#travel_height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CargoHatchDefinition.html#travel_height Online documentation} */ travel_height?: float /** * **Default:** `120` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CargoHatchDefinition.html#busy_timeout_ticks Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CargoHatchDefinition.html#busy_timeout_ticks Online documentation} */ busy_timeout_ticks?: uint32 /** * **Default:** `80` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CargoHatchDefinition.html#hatch_opening_ticks Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CargoHatchDefinition.html#hatch_opening_ticks Online documentation} */ hatch_opening_ticks?: uint32 /** * Cannot use `fade_ticks`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CargoHatchDefinition.html#opening_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CargoHatchDefinition.html#opening_sound Online documentation} */ opening_sound?: InterruptibleSound /** * Cannot use `fade_ticks`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CargoHatchDefinition.html#closing_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CargoHatchDefinition.html#closing_sound Online documentation} */ closing_sound?: InterruptibleSound + /** + * The {@link CargoPodPrototype cargo pod} that this cargo hatch spawns when sending cargo. + * @see {@link https://lua-api.factorio.com/2.1.24/types/CargoHatchDefinition.html#cargo_unit_entity_to_spawn Online documentation} + */ cargo_unit_entity_to_spawn?: EntityID /** * **Default:** `MAX_UINT32` * * {@link ProcessionGraphic} index pointing to the {@link ProcessionGraphicCatalogue} inside the current {@link SpaceLocationPrototype}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CargoHatchDefinition.html#illumination_graphic_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CargoHatchDefinition.html#illumination_graphic_index Online documentation} */ illumination_graphic_index?: uint32 + /** + * The {@link CargoPodPrototype cargo pods} that this cargo hatch can receive. + * @see {@link https://lua-api.factorio.com/2.1.24/types/CargoHatchDefinition.html#receiving_cargo_units Online documentation} + */ receiving_cargo_units?: readonly EntityID[] } export interface CargoLandingPadLimitModifier extends SimpleModifier { @@ -3066,40 +3074,40 @@ declare module "factorio:prototype" { * **Default:** `true` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CargoLandingPadLimitModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CargoLandingPadLimitModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean } /** * A cargo station is any entity that has the capacity to send cargo units. In Space Age those are {@link RocketSiloPrototype}, {@link SpacePlatformHubPrototype} and {@link CargoLandingPadPrototype}. {@link CargoBayPrototype Cargo bays} may provide additional cargo hatches to cargo stations which are cargo bay connectable. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CargoStationParameters.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CargoStationParameters.html Online documentation} */ export interface CargoStationParameters { /** * **Default:** `false` * * Packed cargo units will wait for the full order to be completed. This is useful to save rockets in rocket silos when items trickle in slowly. The platform hub has immediate access to items so false is better to allow partial fulfillments. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CargoStationParameters.html#prefer_packed_cargo_units Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CargoStationParameters.html#prefer_packed_cargo_units Online documentation} */ prefer_packed_cargo_units?: boolean hatch_definitions?: readonly CargoHatchDefinition[] /** * Big additional hatch that goes over the actual hatches. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CargoStationParameters.html#giga_hatch_definitions Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CargoStationParameters.html#giga_hatch_definitions Online documentation} */ giga_hatch_definitions?: readonly GigaCargoHatchDefinition[] /** * **Default:** `true` * * If set to false, this station will not accept incoming cargo units even if it has hatches that can. (can occur through linked cargo bays) - * @see {@link https://lua-api.factorio.com/2.1.22/types/CargoStationParameters.html#is_input_station Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CargoStationParameters.html#is_input_station Online documentation} */ is_input_station?: boolean /** * **Default:** `true` * * If set to false, this station will not dispatch cargo units even if it has hatches that can. (can occur through linked cargo bays) - * @see {@link https://lua-api.factorio.com/2.1.22/types/CargoStationParameters.html#is_output_station Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CargoStationParameters.html#is_output_station Online documentation} */ is_output_station?: boolean } @@ -3113,7 +3121,7 @@ declare module "factorio:prototype" { * **Default:** `true` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ChangeRecipeProductivityModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ChangeRecipeProductivityModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean recipe: RecipeID @@ -3125,7 +3133,7 @@ declare module "factorio:prototype" { } /** * The data for one variation of {@link CharacterPrototype#animations character animations}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CharacterArmorAnimation.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CharacterArmorAnimation.html Online documentation} */ export interface CharacterArmorAnimation { idle?: RotatedAnimation @@ -3133,13 +3141,13 @@ declare module "factorio:prototype" { running?: RotatedAnimation /** * Must contain exactly 18 or 40 directions, so all of the combination of gun direction and moving direction can be covered. Some of these variations are used in reverse to save space. You can use the character animation in the base game for reference. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CharacterArmorAnimation.html#running_with_gun Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CharacterArmorAnimation.html#running_with_gun Online documentation} */ running_with_gun: RotatedAnimation mining_with_tool: RotatedAnimation /** * flipped_shadow_running_with_gun must be nil or contain exactly 18 directions, so all of the combination of gun direction and moving direction can be covered. Some of these variations are used in reverse to save space. You can use the character animation in the base game for reference. `flipped_shadow_running_with_gun` has to have same frame count as `running_with_gun`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CharacterArmorAnimation.html#flipped_shadow_running_with_gun Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CharacterArmorAnimation.html#flipped_shadow_running_with_gun Online documentation} */ flipped_shadow_running_with_gun?: RotatedAnimation idle_in_air?: RotatedAnimation @@ -3147,40 +3155,40 @@ declare module "factorio:prototype" { flying?: RotatedAnimation /** * Must contain exactly 18 or 40 directions, so all of the combination of gun direction and moving direction can be covered. Some of these variations are used in reverse to save space. You can use the character animation in the base game for reference. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CharacterArmorAnimation.html#flying_with_gun Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CharacterArmorAnimation.html#flying_with_gun Online documentation} */ flying_with_gun?: RotatedAnimation take_off?: RotatedAnimation landing?: RotatedAnimation /** * The names of the armors this animation data is used for. Don't define this if you want the animations to be used for the player without armor. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CharacterArmorAnimation.html#armors Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CharacterArmorAnimation.html#armors Online documentation} */ armors?: readonly ItemID[] /** * Smoke generator for when in air. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CharacterArmorAnimation.html#smoke_in_air Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CharacterArmorAnimation.html#smoke_in_air Online documentation} */ smoke_in_air?: readonly SmokeSource[] /** * **Default:** `1` * * Will be clamped to range {@link SmokeSource 0, 1000]. When the character is flying, each [SmokeSource} in `smoke_in_air` will generate `smoke_cycles_per_tick` * {@link SmokeSource#frequency SmokeSource::frequency} smokes per tick on average. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CharacterArmorAnimation.html#smoke_cycles_per_tick Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CharacterArmorAnimation.html#smoke_cycles_per_tick Online documentation} */ smoke_cycles_per_tick?: float /** * **Default:** `0` * * Will be clamped to range {@link SmokeSource 0, 1000]. When the character is flying, each [SmokeSource} in `smoke_in_air` will generate `extra_smoke_cycles_per_tile` * {@link SmokeSource#frequency SmokeSource::frequency} additional smokes per tile moved. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CharacterArmorAnimation.html#extra_smoke_cycles_per_tile Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CharacterArmorAnimation.html#extra_smoke_cycles_per_tile Online documentation} */ extra_smoke_cycles_per_tile?: float /** * List of positions in the mining with tool animation when the mining sound and mining particles are created. * * Overrides {@link CharacterPrototype#mining_with_tool_particles_animation_positions CharacterPrototype::mining_with_tool_particles_animation_positions} if defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CharacterArmorAnimation.html#mining_with_tool_particles_animation_positions Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CharacterArmorAnimation.html#mining_with_tool_particles_animation_positions Online documentation} */ mining_with_tool_particles_animation_positions?: readonly float[] } @@ -3190,7 +3198,7 @@ declare module "factorio:prototype" { * **Default:** `true` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CharacterBuildDistanceModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CharacterBuildDistanceModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean } @@ -3200,7 +3208,7 @@ declare module "factorio:prototype" { * **Default:** `true` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CharacterCraftingSpeedModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CharacterCraftingSpeedModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean } @@ -3210,7 +3218,7 @@ declare module "factorio:prototype" { * **Default:** `true` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CharacterHealthBonusModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CharacterHealthBonusModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean } @@ -3220,7 +3228,7 @@ declare module "factorio:prototype" { * **Default:** `true` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CharacterInventorySlotsBonusModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CharacterInventorySlotsBonusModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean } @@ -3230,7 +3238,7 @@ declare module "factorio:prototype" { * **Default:** `true` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CharacterItemDropDistanceModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CharacterItemDropDistanceModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean } @@ -3240,7 +3248,7 @@ declare module "factorio:prototype" { * **Default:** `true` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CharacterItemPickupDistanceModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CharacterItemPickupDistanceModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean } @@ -3250,7 +3258,7 @@ declare module "factorio:prototype" { * **Default:** `false` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CharacterLogisticRequestsModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CharacterLogisticRequestsModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean } @@ -3260,7 +3268,7 @@ declare module "factorio:prototype" { * **Default:** `true` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CharacterLogisticTrashSlotsModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CharacterLogisticTrashSlotsModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean } @@ -3270,7 +3278,7 @@ declare module "factorio:prototype" { * **Default:** `true` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CharacterLootPickupDistanceModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CharacterLootPickupDistanceModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean } @@ -3280,7 +3288,7 @@ declare module "factorio:prototype" { * **Default:** `true` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CharacterMiningSpeedModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CharacterMiningSpeedModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean } @@ -3290,7 +3298,7 @@ declare module "factorio:prototype" { * **Default:** `true` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CharacterReachDistanceModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CharacterReachDistanceModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean } @@ -3300,7 +3308,7 @@ declare module "factorio:prototype" { * **Default:** `true` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CharacterResourceReachDistanceModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CharacterResourceReachDistanceModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean } @@ -3310,7 +3318,7 @@ declare module "factorio:prototype" { * **Default:** `true` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CharacterRunningSpeedModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CharacterRunningSpeedModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean } @@ -3319,20 +3327,20 @@ declare module "factorio:prototype" { charge_animation?: Animation /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ChargableGraphics.html#charge_animation_is_looped Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ChargableGraphics.html#charge_animation_is_looped Online documentation} */ charge_animation_is_looped?: boolean charge_light?: LightDefinition /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ChargableGraphics.html#charge_cooldown Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ChargableGraphics.html#charge_cooldown Online documentation} */ charge_cooldown?: uint16 discharge_animation?: Animation discharge_light?: LightDefinition /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ChargableGraphics.html#discharge_cooldown Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ChargableGraphics.html#discharge_cooldown Online documentation} */ discharge_cooldown?: uint16 } @@ -3372,12 +3380,12 @@ declare module "factorio:prototype" { chart_deconstruct_active_color: Color /** * The strings are entity types. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ChartUtilityConstants.html#default_friendly_color_by_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ChartUtilityConstants.html#default_friendly_color_by_type Online documentation} */ default_friendly_color_by_type?: Record /** * The strings are entity types. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ChartUtilityConstants.html#default_color_by_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ChartUtilityConstants.html#default_color_by_type Online documentation} */ default_color_by_type?: Record explosion_visualization_duration: MapTick @@ -3393,24 +3401,24 @@ declare module "factorio:prototype" { chart_player_circle_size: float /** * Defaults to `1.0`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ChartUtilityConstants.html#custom_tag_scale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ChartUtilityConstants.html#custom_tag_scale Online documentation} */ custom_tag_scale?: float /** * Defaults to `1.0`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ChartUtilityConstants.html#custom_tag_max_scale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ChartUtilityConstants.html#custom_tag_max_scale Online documentation} */ custom_tag_max_scale?: float custom_tag_selected_overlay_tint?: Color /** * Must be larger than 0. This number is multiplied by the crafting machine's {@link import("factorio:runtime").LuaEntityPrototype#radius radius} to get the final recipe icon scale for the chart. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ChartUtilityConstants.html#recipe_icon_scale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ChartUtilityConstants.html#recipe_icon_scale Online documentation} */ recipe_icon_scale: float } /** * Root style: `"checkbox"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CheckBoxStyleSpecification.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CheckBoxStyleSpecification.html Online documentation} */ export interface CheckBoxStyleSpecification extends StyleWithClickableGraphicalSetSpecification { readonly type: "checkbox_style" @@ -3418,37 +3426,37 @@ declare module "factorio:prototype" { * Name of a {@link FontPrototype}. * * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CheckBoxStyleSpecification.html#font Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CheckBoxStyleSpecification.html#font Online documentation} */ font?: string /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CheckBoxStyleSpecification.html#font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CheckBoxStyleSpecification.html#font_color Online documentation} */ font_color?: Color /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CheckBoxStyleSpecification.html#disabled_font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CheckBoxStyleSpecification.html#disabled_font_color Online documentation} */ disabled_font_color?: Color /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CheckBoxStyleSpecification.html#checkmark Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CheckBoxStyleSpecification.html#checkmark Online documentation} */ checkmark?: Sprite /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CheckBoxStyleSpecification.html#disabled_checkmark Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CheckBoxStyleSpecification.html#disabled_checkmark Online documentation} */ disabled_checkmark?: Sprite /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CheckBoxStyleSpecification.html#intermediate_mark Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CheckBoxStyleSpecification.html#intermediate_mark Online documentation} */ intermediate_mark?: Sprite /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CheckBoxStyleSpecification.html#text_padding Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CheckBoxStyleSpecification.html#text_padding Online documentation} */ text_padding?: uint32 } @@ -3456,24 +3464,24 @@ declare module "factorio:prototype" { first?: SignalIDConnector /** * **Default:** `"<"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CircuitConditionConnector.html#comparator Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CircuitConditionConnector.html#comparator Online documentation} */ comparator?: ComparatorString second?: SignalIDConnector | int32 } /** * Definition of a circuit connector. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CircuitConnectorDefinition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CircuitConnectorDefinition.html Online documentation} */ export interface CircuitConnectorDefinition { /** * The pictures displayed for circuit connector. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CircuitConnectorDefinition.html#sprites Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CircuitConnectorDefinition.html#sprites Online documentation} */ sprites?: CircuitConnectorSprites /** * Defines how wires visually connect to this circuit connector. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CircuitConnectorDefinition.html#points Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CircuitConnectorDefinition.html#points Online documentation} */ points?: WireConnectionPoint } @@ -3484,22 +3492,22 @@ declare module "factorio:prototype" { led_light: LightDefinition /** * Drawn when the entity is connected to a circuit network or a logistic network. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CircuitConnectorSprites.html#connector_main Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CircuitConnectorSprites.html#connector_main Online documentation} */ connector_main?: Sprite /** * Drawn when the entity is connected to a circuit network or a logistic network. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CircuitConnectorSprites.html#connector_shadow Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CircuitConnectorSprites.html#connector_shadow Online documentation} */ connector_shadow?: Sprite /** * Drawn when the entity is connected to a circuit network. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CircuitConnectorSprites.html#wire_pins Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CircuitConnectorSprites.html#wire_pins Online documentation} */ wire_pins?: Sprite /** * Drawn when the entity is connected to a circuit network. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CircuitConnectorSprites.html#wire_pins_shadow Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CircuitConnectorSprites.html#wire_pins_shadow Online documentation} */ wire_pins_shadow?: Sprite led_blue_off?: Sprite @@ -3507,12 +3515,12 @@ declare module "factorio:prototype" { red_green_led_light_offset?: Vector /** * **Default:** `"object"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CircuitConnectorSprites.html#render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CircuitConnectorSprites.html#render_layer Online documentation} */ render_layer?: RenderLayer /** * **Default:** `10` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CircuitConnectorSprites.html#secondary_draw_order Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CircuitConnectorSprites.html#secondary_draw_order Online documentation} */ secondary_draw_order?: int8 } @@ -3522,7 +3530,7 @@ declare module "factorio:prototype" { * **Default:** `false` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CircuitNetworkModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CircuitNetworkModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean } @@ -3531,67 +3539,67 @@ declare module "factorio:prototype" { starting_frame_speed: float /** * **Default:** `0.25` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CircularParticleCreationSpecification.html#direction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CircularParticleCreationSpecification.html#direction Online documentation} */ direction?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CircularParticleCreationSpecification.html#direction_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CircularParticleCreationSpecification.html#direction_deviation Online documentation} */ direction_deviation?: float /** * **Default:** `0.1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CircularParticleCreationSpecification.html#speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CircularParticleCreationSpecification.html#speed Online documentation} */ speed?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CircularParticleCreationSpecification.html#speed_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CircularParticleCreationSpecification.html#speed_deviation Online documentation} */ speed_deviation?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CircularParticleCreationSpecification.html#starting_frame_speed_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CircularParticleCreationSpecification.html#starting_frame_speed_deviation Online documentation} */ starting_frame_speed_deviation?: float /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CircularParticleCreationSpecification.html#height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CircularParticleCreationSpecification.html#height Online documentation} */ height?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CircularParticleCreationSpecification.html#height_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CircularParticleCreationSpecification.html#height_deviation Online documentation} */ height_deviation?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CircularParticleCreationSpecification.html#vertical_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CircularParticleCreationSpecification.html#vertical_speed Online documentation} */ vertical_speed?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CircularParticleCreationSpecification.html#vertical_speed_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CircularParticleCreationSpecification.html#vertical_speed_deviation Online documentation} */ vertical_speed_deviation?: float /** * **Default:** ``{0, 0}`` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CircularParticleCreationSpecification.html#center Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CircularParticleCreationSpecification.html#center Online documentation} */ center?: Vector /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CircularParticleCreationSpecification.html#creation_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CircularParticleCreationSpecification.html#creation_distance Online documentation} */ creation_distance?: double /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CircularParticleCreationSpecification.html#creation_distance_orientation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CircularParticleCreationSpecification.html#creation_distance_orientation Online documentation} */ creation_distance_orientation?: double /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CircularParticleCreationSpecification.html#use_source_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CircularParticleCreationSpecification.html#use_source_position Online documentation} */ use_source_position?: boolean } @@ -3605,45 +3613,45 @@ declare module "factorio:prototype" { * **Default:** `false` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CliffDeconstructionEnabledModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CliffDeconstructionEnabledModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean } export interface CliffPlacementSettings { /** * Name of the {@link CliffPrototype}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CliffPlacementSettings.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CliffPlacementSettings.html#name Online documentation} */ name?: EntityID /** * Name of the {@link AutoplaceControl}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CliffPlacementSettings.html#control Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CliffPlacementSettings.html#control Online documentation} */ control?: AutoplaceControlID /** * **Default:** `10` * * Elevation at which the first row of cliffs is placed. Can not be set from the map generation GUI. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CliffPlacementSettings.html#cliff_elevation_0 Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CliffPlacementSettings.html#cliff_elevation_0 Online documentation} */ cliff_elevation_0?: float /** * **Default:** `40` * * Elevation difference between successive rows of cliffs. This is inversely proportional to 'frequency' in the map generation GUI. Specifically, when set from the GUI the value is `40 / frequency`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CliffPlacementSettings.html#cliff_elevation_interval Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CliffPlacementSettings.html#cliff_elevation_interval Online documentation} */ cliff_elevation_interval?: float /** * **Default:** `1` * * Smoothing makes cliffs straighter on rough elevation but makes placement inaccurate. 0 is no smoothing, 1 is full smoothing. Values outside of 0-1 are possible for specific effects but not recommended. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CliffPlacementSettings.html#cliff_smoothing Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CliffPlacementSettings.html#cliff_smoothing Online documentation} */ cliff_smoothing?: float /** * Corresponds to 'continuity' in the GUI. This value is not used directly, but is used by the 'cliffiness' noise expression, which in combination with elevation and the two cliff elevation properties drives cliff placement (cliffs are placed when elevation crosses the elevation contours defined by `cliff_elevation_0` and `cliff_elevation_interval` when 'cliffiness' is greater than `0.5`). The default 'cliffiness' expression interprets this value such that larger values result in longer unbroken walls of cliffs, and smaller values (between `0` and `1`) result in larger gaps in cliff walls. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CliffPlacementSettings.html#richness Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CliffPlacementSettings.html#richness Online documentation} */ richness?: float } @@ -3659,7 +3667,7 @@ declare module "factorio:prototype" { * - `"horizontal-stripe"`: Manhattan, but only along y axis. Useful when you want a layer to occlude screen regardless of width. * - `"texture"`: Only show area covered by the 'effect_mask' texture. * - `"texture-outside"`: Show area covered by the 'effect_mask' texture and fill the rest of the screen. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CloudEffectStyle.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CloudEffectStyle.html Online documentation} */ export type CloudEffectStyle = | "none" @@ -3681,69 +3689,69 @@ declare module "factorio:prototype" { detail_sample_2: CloudsTextureCoordinateTransformation /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CloudsEffectProperties.html#scale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CloudsEffectProperties.html#scale Online documentation} */ scale?: float /** * **Default:** `0.75` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CloudsEffectProperties.html#movement_speed_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CloudsEffectProperties.html#movement_speed_multiplier Online documentation} */ movement_speed_multiplier?: float /** * **Default:** `0.06` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CloudsEffectProperties.html#shape_warp_strength Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CloudsEffectProperties.html#shape_warp_strength Online documentation} */ shape_warp_strength?: float /** * **Default:** `0.4` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CloudsEffectProperties.html#shape_warp_weight Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CloudsEffectProperties.html#shape_warp_weight Online documentation} */ shape_warp_weight?: float /** * **Default:** `0.25` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CloudsEffectProperties.html#opacity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CloudsEffectProperties.html#opacity Online documentation} */ opacity?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CloudsEffectProperties.html#opacity_at_night Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CloudsEffectProperties.html#opacity_at_night Online documentation} */ opacity_at_night?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CloudsEffectProperties.html#density Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CloudsEffectProperties.html#density Online documentation} */ density?: float /** * **Default:** `Value of `density`` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CloudsEffectProperties.html#density_at_night Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CloudsEffectProperties.html#density_at_night Online documentation} */ density_at_night?: float /** * **Default:** `1.5` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CloudsEffectProperties.html#detail_factor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CloudsEffectProperties.html#detail_factor Online documentation} */ detail_factor?: float /** * **Default:** `Value of `detail_factor`` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CloudsEffectProperties.html#detail_factor_at_night Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CloudsEffectProperties.html#detail_factor_at_night Online documentation} */ detail_factor_at_night?: float /** * **Default:** `-1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CloudsEffectProperties.html#shape_factor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CloudsEffectProperties.html#shape_factor Online documentation} */ shape_factor?: float /** * **Default:** `0.1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CloudsEffectProperties.html#detail_exponent Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CloudsEffectProperties.html#detail_exponent Online documentation} */ detail_exponent?: float /** * **Default:** `256` * * When set to 0, detail textures are not being "morphed" to each other, but lerped with ratio 0.5 instead. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CloudsEffectProperties.html#detail_sample_morph_duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CloudsEffectProperties.html#detail_sample_morph_duration Online documentation} */ detail_sample_morph_duration?: uint32 } @@ -3751,7 +3759,7 @@ declare module "factorio:prototype" { scale: float /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CloudsTextureCoordinateTransformation.html#wind_speed_factor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CloudsTextureCoordinateTransformation.html#wind_speed_factor Online documentation} */ wind_speed_factor?: float } @@ -3759,13 +3767,13 @@ declare module "factorio:prototype" { readonly type: "cluster" /** * Must be at least `2`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ClusterTriggerItem.html#cluster_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ClusterTriggerItem.html#cluster_count Online documentation} */ cluster_count: uint32 distance: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ClusterTriggerItem.html#distance_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ClusterTriggerItem.html#distance_deviation Online documentation} */ distance_deviation?: float } @@ -3775,7 +3783,7 @@ declare module "factorio:prototype" { * "meltable" * @example * "floor" - * @see {@link https://lua-api.factorio.com/2.1.22/types/CollisionLayerID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CollisionLayerID.html Online documentation} */ export type CollisionLayerID = string /** @@ -3783,68 +3791,68 @@ declare module "factorio:prototype" { * @example * -- Most common collision mask of buildings: * collision_mask = {layers = {item = true, meltable = true, object = true, player = true, water_tile = true, is_object = true, is_lower_object = true}} - * @see {@link https://lua-api.factorio.com/2.1.22/types/CollisionMaskConnector.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CollisionMaskConnector.html Online documentation} */ export interface CollisionMaskConnector { /** * Every key in the dictionary is the name of one {@link CollisionLayerPrototype layer} the object collides with. The value is meaningless and always `true`. An empty table means that no layers are set. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CollisionMaskConnector.html#layers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CollisionMaskConnector.html#layers Online documentation} */ layers: Record /** * **Default:** `false` * * Any two entities that both have this option enabled on their prototype and have an identical collision mask layers list will not collide. Other collision mask options are not included in the identical layer list check. This does mean that two different prototypes with the same collision mask layers and this option enabled will not collide. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CollisionMaskConnector.html#not_colliding_with_itself Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CollisionMaskConnector.html#not_colliding_with_itself Online documentation} */ not_colliding_with_itself?: boolean /** * **Default:** `false` * * Uses the prototypes position rather than its collision box when doing collision checks with tile prototypes. Allows the prototype to overlap colliding tiles up until its center point. This is only respected for character movement and cars driven by players. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CollisionMaskConnector.html#consider_tile_transitions Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CollisionMaskConnector.html#consider_tile_transitions Online documentation} */ consider_tile_transitions?: boolean /** * **Default:** `false` * * Any prototype with this collision option will only be checked for collision with other prototype's collision masks if they are a tile. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CollisionMaskConnector.html#colliding_with_tiles_only Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CollisionMaskConnector.html#colliding_with_tiles_only Online documentation} */ colliding_with_tiles_only?: boolean } /** * Struct type for {@link Color} * @see Color - * @see {@link https://lua-api.factorio.com/2.1.22/types/Color.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Color.html Online documentation} */ export interface ColorStruct { /** * **Default:** `0` * * red value - * @see {@link https://lua-api.factorio.com/2.1.22/types/Color.html#r Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Color.html#r Online documentation} */ r?: float /** * **Default:** `0` * * green value - * @see {@link https://lua-api.factorio.com/2.1.22/types/Color.html#g Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Color.html#g Online documentation} */ g?: float /** * **Default:** `0` * * blue value - * @see {@link https://lua-api.factorio.com/2.1.22/types/Color.html#b Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Color.html#b Online documentation} */ b?: float /** * **Default:** `1` * * alpha value (opacity) - * @see {@link https://lua-api.factorio.com/2.1.22/types/Color.html#a Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Color.html#a Online documentation} */ a?: float } @@ -3861,26 +3869,26 @@ declare module "factorio:prototype" { * color = {0, 0, 1} -- blue * color = {r=0, g=0.5, b=0, a=0.5} -- half transparency green * color = {} -- full opacity black - * @see {@link https://lua-api.factorio.com/2.1.22/types/Color.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Color.html Online documentation} */ export type Color = ColorStruct | readonly [float, float, float] | readonly [float, float, float, float] /** * @see UtilityConstants.color_filters - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#color_filters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#color_filters Online documentation} */ export interface ColorFilterData { name: string localised_name: LocalisedString /** * 4 arrays of 4-length float arrays, essentially a 4x4 matrix. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ColorFilterData.html#matrix Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ColorFilterData.html#matrix Online documentation} */ matrix: readonly (readonly float[])[] } export interface ColorHintSpecification { /** * **Default:** `""` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ColorHintSpecification.html#text Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ColorHintSpecification.html#text Online documentation} */ text?: string text_color?: Color @@ -3891,13 +3899,13 @@ declare module "factorio:prototype" { * "identity" * @example * "__core__/graphics/color_luts/frozen.png" - * @see {@link https://lua-api.factorio.com/2.1.22/types/ColorLookupTable.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ColorLookupTable.html Online documentation} */ export type ColorLookupTable = FileName | "identity" export interface ColumnAlignment { /** * Column index. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ColumnAlignment.html#column Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ColumnAlignment.html#column Online documentation} */ column: uint32 alignment: Alignment @@ -3905,26 +3913,26 @@ declare module "factorio:prototype" { export interface ColumnWidth extends ColumnWidthItem { /** * Column index. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ColumnWidth.html#column Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ColumnWidth.html#column Online documentation} */ column: uint32 } export interface ColumnWidthItem { /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ColumnWidthItem.html#minimal_width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ColumnWidthItem.html#minimal_width Online documentation} */ minimal_width?: int32 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ColumnWidthItem.html#maximal_width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ColumnWidthItem.html#maximal_width Online documentation} */ maximal_width?: int32 /** * **Default:** `0` * * Sets `minimal_width` and `maximal_width` to the same value. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ColumnWidthItem.html#width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ColumnWidthItem.html#width Online documentation} */ width?: int32 } @@ -3941,12 +3949,12 @@ declare module "factorio:prototype" { * - `"<="`: "lesser than or equal to" * - `"≠"`: "not equal to" * - `"!="`: "not equal to" - * @see {@link https://lua-api.factorio.com/2.1.22/types/ComparatorString.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ComparatorString.html Online documentation} */ export type ComparatorString = "=" | ">" | "<" | "≥" | ">=" | "≤" | "<=" | "≠" | "!=" /** * Graphics for the heat pipe. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ConnectableEntityGraphics.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ConnectableEntityGraphics.html Online documentation} */ export interface ConnectableEntityGraphics { single: SpriteVariations @@ -3974,19 +3982,19 @@ declare module "factorio:prototype" { * - `"game-only"`: The associated script event will fire when satisfied and block game events that conflict with the key sequence. Actions that are processed regardless of game paused state cannot be blocked. * @example * consuming = "none" - * @see {@link https://lua-api.factorio.com/2.1.22/types/ConsumingType.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ConsumingType.html Online documentation} */ export type ConsumingType = "none" | "game-only" /** * Struct type for {@link ControlPoint} * @see ControlPoint - * @see {@link https://lua-api.factorio.com/2.1.22/types/ControlPoint.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ControlPoint.html Online documentation} */ export interface ControlPointStruct { control: float /** * Has to be in range (0.0, 100.0). - * @see {@link https://lua-api.factorio.com/2.1.22/types/ControlPoint.html#volume_percentage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ControlPoint.html#volume_percentage Online documentation} */ volume_percentage: float } @@ -3994,39 +4002,39 @@ declare module "factorio:prototype" { export interface CountBasedTipTrigger { /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CountBasedTipTrigger.html#count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CountBasedTipTrigger.html#count Online documentation} */ count?: uint32 } /** * Clips the CoverGraphicProcessionLayer. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CoverGraphicEffectData.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CoverGraphicEffectData.html Online documentation} */ export interface CoverGraphicEffectData { /** * **Default:** `"none"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CoverGraphicEffectData.html#style Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CoverGraphicEffectData.html#style Online documentation} */ style?: CloudEffectStyle /** * **Default:** `"pod"` * * Where the effect mask is centered. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CoverGraphicEffectData.html#relative_to Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CoverGraphicEffectData.html#relative_to Online documentation} */ relative_to?: EffectRelativeTo /** * **Default:** `{0,0}` * * How much the pod's distance traveled moves the effect - * @see {@link https://lua-api.factorio.com/2.1.22/types/CoverGraphicEffectData.html#distance_traveled_strength Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CoverGraphicEffectData.html#distance_traveled_strength Online documentation} */ distance_traveled_strength?: Vector /** * **Default:** `{0,0}` * * How much the pod's position moves the effect - * @see {@link https://lua-api.factorio.com/2.1.22/types/CoverGraphicEffectData.html#pod_movement_strength Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CoverGraphicEffectData.html#pod_movement_strength Online documentation} */ pod_movement_strength?: Vector } @@ -4040,102 +4048,102 @@ declare module "factorio:prototype" { * - `effect` in this context refers to clipping out portion of the cover graphic. It can use an effect_graphic. `is_cloud_effect_advanced` makes the `effect` modify opacity threshold of the `mask` rather than multiplying alpha. * * Additionally an area can be masked out by range or effect mask. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CoverGraphicProcessionLayer.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CoverGraphicProcessionLayer.html Online documentation} */ export interface CoverGraphicProcessionLayer { readonly type: "cover-graphic" /** * The group this layer belongs to, for inheritance. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CoverGraphicProcessionLayer.html#reference_group Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CoverGraphicProcessionLayer.html#reference_group Online documentation} */ reference_group?: ProcessionLayerInheritanceGroupID /** * Adds the final position value from given layer to this one. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CoverGraphicProcessionLayer.html#inherit_from Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CoverGraphicProcessionLayer.html#inherit_from Online documentation} */ inherit_from?: ProcessionLayerInheritanceGroupID /** * Main texture of the layer. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CoverGraphicProcessionLayer.html#graphic Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CoverGraphicProcessionLayer.html#graphic Online documentation} */ graphic?: ProcessionGraphic /** * Opacity gradient of the layer. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CoverGraphicProcessionLayer.html#mask_graphic Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CoverGraphicProcessionLayer.html#mask_graphic Online documentation} */ mask_graphic?: ProcessionGraphic /** * Used by certain effects. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CoverGraphicProcessionLayer.html#effect_graphic Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CoverGraphicProcessionLayer.html#effect_graphic Online documentation} */ effect_graphic?: ProcessionGraphic /** * **Default:** `"object"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CoverGraphicProcessionLayer.html#render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CoverGraphicProcessionLayer.html#render_layer Online documentation} */ render_layer?: RenderLayer /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CoverGraphicProcessionLayer.html#secondary_draw_order Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CoverGraphicProcessionLayer.html#secondary_draw_order Online documentation} */ secondary_draw_order?: int8 /** * **Default:** `false` * * Advanced cloud effect mask modifies the regular mask thresholds instead of being a flat multiplication of the resulting opacity. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CoverGraphicProcessionLayer.html#is_cloud_effect_advanced Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CoverGraphicProcessionLayer.html#is_cloud_effect_advanced Online documentation} */ is_cloud_effect_advanced?: boolean /** * **Default:** `false` * * The texture and mask are interpreted as four smaller textures that are randomly tiled. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CoverGraphicProcessionLayer.html#is_quad_texture Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CoverGraphicProcessionLayer.html#is_quad_texture Online documentation} */ is_quad_texture?: boolean /** * **Default:** `false` * * Add rotation of the pod to the cloud rotation. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CoverGraphicProcessionLayer.html#rotate_with_pod Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CoverGraphicProcessionLayer.html#rotate_with_pod Online documentation} */ rotate_with_pod?: boolean /** * **Default:** `"ground-origin"` * * Where the tiled texture is centered and rotated. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CoverGraphicProcessionLayer.html#texture_relative_to Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CoverGraphicProcessionLayer.html#texture_relative_to Online documentation} */ texture_relative_to?: EffectRelativeTo /** * **Default:** `{0,0}` * * How much the pod's distance traveled moves the cloud coordinates - * @see {@link https://lua-api.factorio.com/2.1.22/types/CoverGraphicProcessionLayer.html#distance_traveled_strength Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CoverGraphicProcessionLayer.html#distance_traveled_strength Online documentation} */ distance_traveled_strength?: Vector /** * **Default:** `{1,1}` * * How much the pod's position moves the cloud coordinates - * @see {@link https://lua-api.factorio.com/2.1.22/types/CoverGraphicProcessionLayer.html#pod_movement_strength Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CoverGraphicProcessionLayer.html#pod_movement_strength Online documentation} */ pod_movement_strength?: Vector /** * **Default:** `{512, 512}` * * Size the textures are scaled to in the world. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CoverGraphicProcessionLayer.html#world_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CoverGraphicProcessionLayer.html#world_size Online documentation} */ world_size?: Vector /** * Clips the graphic. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CoverGraphicProcessionLayer.html#effect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CoverGraphicProcessionLayer.html#effect Online documentation} */ effect?: CoverGraphicEffectData /** * Clips the graphic. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CoverGraphicProcessionLayer.html#alt_effect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CoverGraphicProcessionLayer.html#alt_effect Online documentation} */ alt_effect?: CoverGraphicEffectData /** @@ -4158,145 +4166,145 @@ declare module "factorio:prototype" { * - alt_effect_shift : {0, 0} * * - offset : {0, 0} - * @see {@link https://lua-api.factorio.com/2.1.22/types/CoverGraphicProcessionLayer.html#frames Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CoverGraphicProcessionLayer.html#frames Online documentation} */ frames: readonly CoverGraphicProcessionLayerBezierControlPoint[] } /** * One frame in time for a Bezier interpolation. * @see CoverGraphicProcessionLayer.frames - * @see {@link https://lua-api.factorio.com/2.1.22/types/CoverGraphicProcessionLayer.html#frames Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CoverGraphicProcessionLayer.html#frames Online documentation} */ export interface CoverGraphicProcessionLayerBezierControlPoint { /** * Mandatory if `opacity` or `rotation` or `effect_scale_min` or `effect_scale_max` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CoverGraphicProcessionLayerBezierControlPoint.html#timestamp Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CoverGraphicProcessionLayerBezierControlPoint.html#timestamp Online documentation} */ timestamp?: MapTick /** * `opacity` and `opacity_t` interpolate a double smoothly over time. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CoverGraphicProcessionLayerBezierControlPoint.html#opacity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CoverGraphicProcessionLayerBezierControlPoint.html#opacity Online documentation} */ opacity?: double /** * Bidirectional tangent at the given timestamp. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CoverGraphicProcessionLayerBezierControlPoint.html#opacity_t Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CoverGraphicProcessionLayerBezierControlPoint.html#opacity_t Online documentation} */ opacity_t?: double /** * `rotation` and `rotation_t` interpolate a double smoothly over time. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CoverGraphicProcessionLayerBezierControlPoint.html#rotation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CoverGraphicProcessionLayerBezierControlPoint.html#rotation Online documentation} */ rotation?: double /** * Bidirectional tangent at the given timestamp. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CoverGraphicProcessionLayerBezierControlPoint.html#rotation_t Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CoverGraphicProcessionLayerBezierControlPoint.html#rotation_t Online documentation} */ rotation_t?: double /** * `effect_scale_min` and `effect_scale_min_t` interpolate a double smoothly over time. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CoverGraphicProcessionLayerBezierControlPoint.html#effect_scale_min Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CoverGraphicProcessionLayerBezierControlPoint.html#effect_scale_min Online documentation} */ effect_scale_min?: double /** * Bidirectional tangent at the given timestamp. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CoverGraphicProcessionLayerBezierControlPoint.html#effect_scale_min_t Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CoverGraphicProcessionLayerBezierControlPoint.html#effect_scale_min_t Online documentation} */ effect_scale_min_t?: double /** * `effect_scale_max` and `effect_scale_max_t` interpolate a double smoothly over time. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CoverGraphicProcessionLayerBezierControlPoint.html#effect_scale_max Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CoverGraphicProcessionLayerBezierControlPoint.html#effect_scale_max Online documentation} */ effect_scale_max?: double /** * Bidirectional tangent at the given timestamp. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CoverGraphicProcessionLayerBezierControlPoint.html#effect_scale_max_t Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CoverGraphicProcessionLayerBezierControlPoint.html#effect_scale_max_t Online documentation} */ effect_scale_max_t?: double /** * `alt_effect_scale_min` and `alt_effect_scale_min_t` interpolate a double smoothly over time. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CoverGraphicProcessionLayerBezierControlPoint.html#alt_effect_scale_min Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CoverGraphicProcessionLayerBezierControlPoint.html#alt_effect_scale_min Online documentation} */ alt_effect_scale_min?: double /** * Bidirectional tangent at the given timestamp. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CoverGraphicProcessionLayerBezierControlPoint.html#alt_effect_scale_min_t Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CoverGraphicProcessionLayerBezierControlPoint.html#alt_effect_scale_min_t Online documentation} */ alt_effect_scale_min_t?: double /** * `alt_effect_scale_max` and `alt_effect_scale_max_t` interpolate a double smoothly over time. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CoverGraphicProcessionLayerBezierControlPoint.html#alt_effect_scale_max Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CoverGraphicProcessionLayerBezierControlPoint.html#alt_effect_scale_max Online documentation} */ alt_effect_scale_max?: double /** * Bidirectional tangent at the given timestamp. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CoverGraphicProcessionLayerBezierControlPoint.html#alt_effect_scale_max_t Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CoverGraphicProcessionLayerBezierControlPoint.html#alt_effect_scale_max_t Online documentation} */ alt_effect_scale_max_t?: double /** * `effect_shift` and `effect_shift_t` interpolate a vector smoothly over time using `effect_shift_rate` and `effect_shift_rate_t` for a 0-1 rate curve. * * Vector value. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CoverGraphicProcessionLayerBezierControlPoint.html#effect_shift Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CoverGraphicProcessionLayerBezierControlPoint.html#effect_shift Online documentation} */ effect_shift?: Vector /** * Vector tangent. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CoverGraphicProcessionLayerBezierControlPoint.html#effect_shift_t Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CoverGraphicProcessionLayerBezierControlPoint.html#effect_shift_t Online documentation} */ effect_shift_t?: Vector /** * Rate 0-1 value. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CoverGraphicProcessionLayerBezierControlPoint.html#effect_shift_rate Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CoverGraphicProcessionLayerBezierControlPoint.html#effect_shift_rate Online documentation} */ effect_shift_rate?: double /** * Rate tangent. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CoverGraphicProcessionLayerBezierControlPoint.html#effect_shift_rate_t Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CoverGraphicProcessionLayerBezierControlPoint.html#effect_shift_rate_t Online documentation} */ effect_shift_rate_t?: double /** * `alt_effect_shift` and `alt_effect_shift_t` interpolate a vector smoothly over time using `alt_effect_shift_rate` and `alt_effect_shift_rate_t` for a 0-1 rate curve. * * Vector value. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CoverGraphicProcessionLayerBezierControlPoint.html#alt_effect_shift Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CoverGraphicProcessionLayerBezierControlPoint.html#alt_effect_shift Online documentation} */ alt_effect_shift?: Vector /** * Vector tangent. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CoverGraphicProcessionLayerBezierControlPoint.html#alt_effect_shift_t Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CoverGraphicProcessionLayerBezierControlPoint.html#alt_effect_shift_t Online documentation} */ alt_effect_shift_t?: Vector /** * Rate 0-1 value. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CoverGraphicProcessionLayerBezierControlPoint.html#alt_effect_shift_rate Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CoverGraphicProcessionLayerBezierControlPoint.html#alt_effect_shift_rate Online documentation} */ alt_effect_shift_rate?: double /** * Rate tangent. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CoverGraphicProcessionLayerBezierControlPoint.html#alt_effect_shift_rate_t Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CoverGraphicProcessionLayerBezierControlPoint.html#alt_effect_shift_rate_t Online documentation} */ alt_effect_shift_rate_t?: double /** * `offset` and `offset_t` interpolate a vector smoothly over time using `offset_rate` and `offset_rate_t` for a 0-1 rate curve. * * Vector value. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CoverGraphicProcessionLayerBezierControlPoint.html#offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CoverGraphicProcessionLayerBezierControlPoint.html#offset Online documentation} */ offset?: Vector /** * Vector tangent. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CoverGraphicProcessionLayerBezierControlPoint.html#offset_t Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CoverGraphicProcessionLayerBezierControlPoint.html#offset_t Online documentation} */ offset_t?: Vector /** * Rate 0-1 value. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CoverGraphicProcessionLayerBezierControlPoint.html#offset_rate Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CoverGraphicProcessionLayerBezierControlPoint.html#offset_rate Online documentation} */ offset_rate?: double /** * Rate tangent. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CoverGraphicProcessionLayerBezierControlPoint.html#offset_rate_t Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CoverGraphicProcessionLayerBezierControlPoint.html#offset_rate_t Online documentation} */ offset_rate_t?: double } @@ -4305,7 +4313,7 @@ declare module "factorio:prototype" { fluid: FluidID /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CraftFluidTechnologyTrigger.html#amount Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CraftFluidTechnologyTrigger.html#amount Online documentation} */ amount?: double } @@ -4314,7 +4322,7 @@ declare module "factorio:prototype" { item: ItemIDFilter /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CraftItemTechnologyTrigger.html#count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CraftItemTechnologyTrigger.html#count Online documentation} */ count?: ItemCountType } @@ -4326,14 +4334,14 @@ declare module "factorio:prototype" { * - `"crafting-of-single-item-ordered"` * - `"crafting-of-multiple-items-ordered"` * - `"crafting-finished"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CraftItemTipTrigger.html#event_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CraftItemTipTrigger.html#event_type Online documentation} */ event_type: "crafting-of-single-item-ordered" | "crafting-of-multiple-items-ordered" | "crafting-finished" /** * **Default:** `false` * * Can only be used when `event_type` is `"crafting-finished"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CraftItemTipTrigger.html#consecutive Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CraftItemTipTrigger.html#consecutive Online documentation} */ consecutive?: boolean } @@ -4341,17 +4349,17 @@ declare module "factorio:prototype" { frozen_patch?: Sprite4Way /** * **Default:** `0.5` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CraftingMachineGraphicsSet.html#animation_progress Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CraftingMachineGraphicsSet.html#animation_progress Online documentation} */ animation_progress?: float /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CraftingMachineGraphicsSet.html#reset_animation_when_frozen Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CraftingMachineGraphicsSet.html#reset_animation_when_frozen Online documentation} */ reset_animation_when_frozen?: boolean /** * Only loaded if this graphics set is used in a property called `graphics_set`, refer to {@link EntityPrototype#water_reflection EntityPrototype::water_reflection}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CraftingMachineGraphicsSet.html#water_reflection Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CraftingMachineGraphicsSet.html#water_reflection Online documentation} */ water_reflection?: WaterReflectionDefinition } @@ -4360,47 +4368,47 @@ declare module "factorio:prototype" { * **Default:** `0` * * Angle in radian, which is internally converted to a {@link RealOrientation}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CranePart.html#orientation_shift Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CranePart.html#orientation_shift Online documentation} */ orientation_shift?: float /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CranePart.html#is_contractible_by_cropping Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CranePart.html#is_contractible_by_cropping Online documentation} */ is_contractible_by_cropping?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CranePart.html#should_scale_for_perspective Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CranePart.html#should_scale_for_perspective Online documentation} */ should_scale_for_perspective?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CranePart.html#scale_to_fit_model Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CranePart.html#scale_to_fit_model Online documentation} */ scale_to_fit_model?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CranePart.html#allow_sprite_rotation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CranePart.html#allow_sprite_rotation Online documentation} */ allow_sprite_rotation?: boolean /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CranePart.html#snap_start Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CranePart.html#snap_start Online documentation} */ snap_start?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CranePart.html#snap_end Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CranePart.html#snap_end Online documentation} */ snap_end?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CranePart.html#snap_end_arm_extent_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CranePart.html#snap_end_arm_extent_multiplier Online documentation} */ snap_end_arm_extent_multiplier?: float /** * **Default:** `""` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CranePart.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CranePart.html#name Online documentation} */ name?: string dying_effect?: CranePartDyingEffect @@ -4413,36 +4421,36 @@ declare module "factorio:prototype" { sprite?: Sprite /** * Only loaded if `sprite` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CranePart.html#rotated_sprite Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CranePart.html#rotated_sprite Online documentation} */ rotated_sprite?: RotatedSprite sprite_shadow?: Sprite /** * Only loaded if `sprite_shadow` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CranePart.html#rotated_sprite_shadow Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CranePart.html#rotated_sprite_shadow Online documentation} */ rotated_sprite_shadow?: RotatedSprite sprite_reflection?: Sprite /** * Only loaded if `sprite_reflection` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CranePart.html#rotated_sprite_reflection Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CranePart.html#rotated_sprite_reflection Online documentation} */ rotated_sprite_reflection?: RotatedSprite /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CranePart.html#layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CranePart.html#layer Online documentation} */ layer?: int8 } export interface CranePartDyingEffect { /** * **Default:** `0.25` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CranePartDyingEffect.html#particle_effect_linear_distance_step Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CranePartDyingEffect.html#particle_effect_linear_distance_step Online documentation} */ particle_effect_linear_distance_step?: float /** * **Default:** `0.5` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CranePartDyingEffect.html#explosion_linear_distance_step Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CranePartDyingEffect.html#explosion_linear_distance_step Online documentation} */ explosion_linear_distance_step?: float particle_effects?: CreateParticleTriggerEffectItem | readonly CreateParticleTriggerEffectItem[] @@ -4451,22 +4459,22 @@ declare module "factorio:prototype" { export interface CraterPlacementDefinition { /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CraterPlacementDefinition.html#minimum_segments_to_place Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CraterPlacementDefinition.html#minimum_segments_to_place Online documentation} */ minimum_segments_to_place?: uint32 /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CraterPlacementDefinition.html#segment_probability Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CraterPlacementDefinition.html#segment_probability Online documentation} */ segment_probability?: float /** - * @see {@link https://lua-api.factorio.com/2.1.22/types/CraterPlacementDefinition.html#segments Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CraterPlacementDefinition.html#segments Online documentation} */ segments: readonly CraterSegment[] } /** * @see CraterPlacementDefinition.segments - * @see {@link https://lua-api.factorio.com/2.1.22/types/CraterPlacementDefinition.html#segments Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CraterPlacementDefinition.html#segments Online documentation} */ export interface CraterSegment { orientation: float @@ -4485,27 +4493,27 @@ declare module "factorio:prototype" { spawn_min_radius: float /** * Must be less than 24. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateDecorativesTriggerEffectItem.html#spawn_max_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateDecorativesTriggerEffectItem.html#spawn_max_radius Online documentation} */ spawn_max_radius: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateDecorativesTriggerEffectItem.html#spawn_min Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateDecorativesTriggerEffectItem.html#spawn_min Online documentation} */ spawn_min?: uint16 /** * **Default:** `0.5` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateDecorativesTriggerEffectItem.html#radius_curve Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateDecorativesTriggerEffectItem.html#radius_curve Online documentation} */ radius_curve?: float /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateDecorativesTriggerEffectItem.html#apply_projection Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateDecorativesTriggerEffectItem.html#apply_projection Online documentation} */ apply_projection?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateDecorativesTriggerEffectItem.html#spread_evenly Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateDecorativesTriggerEffectItem.html#spread_evenly Online documentation} */ spread_evenly?: boolean } @@ -4513,7 +4521,7 @@ declare module "factorio:prototype" { readonly type: "create-entity" /** * The name of the entity that should be created. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateEntityTriggerEffectItem.html#entity_name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateEntityTriggerEffectItem.html#entity_name Online documentation} */ entity_name: EntityID offset_deviation?: BoundingBox @@ -4521,92 +4529,92 @@ declare module "factorio:prototype" { * **Default:** `false` * * If `true`, the {@link import("factorio:runtime").on_trigger_created_entity on_trigger_created_entity} event will be raised. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateEntityTriggerEffectItem.html#trigger_created_entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateEntityTriggerEffectItem.html#trigger_created_entity Online documentation} */ trigger_created_entity?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateEntityTriggerEffectItem.html#check_buildability Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateEntityTriggerEffectItem.html#check_buildability Online documentation} */ check_buildability?: boolean /** * **Default:** `false` * * If `true`, colliding ghosts and corpses will not be removed by the creation of some entity types. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateEntityTriggerEffectItem.html#preserve_ghosts_and_corpses Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateEntityTriggerEffectItem.html#preserve_ghosts_and_corpses Online documentation} */ preserve_ghosts_and_corpses?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateEntityTriggerEffectItem.html#show_in_tooltip Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateEntityTriggerEffectItem.html#show_in_tooltip Online documentation} */ show_in_tooltip?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateEntityTriggerEffectItem.html#show_details_in_tooltip Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateEntityTriggerEffectItem.html#show_details_in_tooltip Online documentation} */ show_details_in_tooltip?: boolean /** * **Default:** `false` * * Create the entity only when they are within a 200 tile range of any connected player. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateEntityTriggerEffectItem.html#only_when_visible Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateEntityTriggerEffectItem.html#only_when_visible Online documentation} */ only_when_visible?: boolean /** * Entity creation will not occur if any tile matches the collision condition. Defaults to no collisions. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateEntityTriggerEffectItem.html#tile_collision_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateEntityTriggerEffectItem.html#tile_collision_mask Online documentation} */ tile_collision_mask?: TileCollisionMaskConnector /** * If multiple offsets are specified, multiple entities are created. The projectile of the {@linkplain https://wiki.factorio.com/Distractor_capsule Distractor capsule} uses this property to spawn three Distractors. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateEntityTriggerEffectItem.html#offsets Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateEntityTriggerEffectItem.html#offsets Online documentation} */ offsets?: readonly Vector[] /** * **Default:** `false` * * If true, creates the entity as a member of the enemy force. If the surface.no_enemies_mode is true, the entity will not be created. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateEntityTriggerEffectItem.html#as_enemy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateEntityTriggerEffectItem.html#as_enemy Online documentation} */ as_enemy?: boolean /** * **Default:** `false` * * If true and `as_enemy` is true, allows the entity to be created even if the current surface.no_enemies_mode is true. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateEntityTriggerEffectItem.html#ignore_no_enemies_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateEntityTriggerEffectItem.html#ignore_no_enemies_mode Online documentation} */ ignore_no_enemies_mode?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateEntityTriggerEffectItem.html#find_non_colliding_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateEntityTriggerEffectItem.html#find_non_colliding_position Online documentation} */ find_non_colliding_position?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateEntityTriggerEffectItem.html#abort_if_over_space Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateEntityTriggerEffectItem.html#abort_if_over_space Online documentation} */ abort_if_over_space?: boolean /** * **Default:** `5` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateEntityTriggerEffectItem.html#non_colliding_search_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateEntityTriggerEffectItem.html#non_colliding_search_radius Online documentation} */ non_colliding_search_radius?: double /** * **Default:** `0.2` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateEntityTriggerEffectItem.html#non_colliding_search_precision Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateEntityTriggerEffectItem.html#non_colliding_search_precision Online documentation} */ non_colliding_search_precision?: double /** * Only loaded if `find_non_colliding_position` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateEntityTriggerEffectItem.html#non_colliding_fail_result Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateEntityTriggerEffectItem.html#non_colliding_fail_result Online documentation} */ non_colliding_fail_result?: Trigger /** * **Default:** `false` * * The result entity will be protected from automated attacks of enemies. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateEntityTriggerEffectItem.html#protected Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateEntityTriggerEffectItem.html#protected Online documentation} */ protected?: boolean } @@ -4614,22 +4622,22 @@ declare module "factorio:prototype" { readonly type: "create-explosion" /** * **Default:** `-1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateExplosionTriggerEffectItem.html#max_movement_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateExplosionTriggerEffectItem.html#max_movement_distance Online documentation} */ max_movement_distance?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateExplosionTriggerEffectItem.html#max_movement_distance_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateExplosionTriggerEffectItem.html#max_movement_distance_deviation Online documentation} */ max_movement_distance_deviation?: float /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateExplosionTriggerEffectItem.html#inherit_movement_distance_from_projectile Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateExplosionTriggerEffectItem.html#inherit_movement_distance_from_projectile Online documentation} */ inherit_movement_distance_from_projectile?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateExplosionTriggerEffectItem.html#cycle_while_moving Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateExplosionTriggerEffectItem.html#cycle_while_moving Online documentation} */ cycle_while_moving?: boolean } @@ -4637,7 +4645,7 @@ declare module "factorio:prototype" { readonly type: "create-fire" /** * **Default:** `MAX_UINT8` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateFireTriggerEffectItem.html#initial_ground_flame_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateFireTriggerEffectItem.html#initial_ground_flame_count Online documentation} */ initial_ground_flame_count?: uint8 } @@ -4647,7 +4655,7 @@ declare module "factorio:prototype" { * **Default:** `false` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateGhostOnEntityDeathModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateGhostOnEntityDeathModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean } @@ -4658,80 +4666,80 @@ declare module "factorio:prototype" { offset_deviation?: SimpleBoundingBox /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateParticleTriggerEffectItem.html#show_in_tooltip Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateParticleTriggerEffectItem.html#show_in_tooltip Online documentation} */ show_in_tooltip?: boolean tile_collision_mask?: CollisionMaskConnector offsets?: readonly Vector[] /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateParticleTriggerEffectItem.html#initial_height_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateParticleTriggerEffectItem.html#initial_height_deviation Online documentation} */ initial_height_deviation?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateParticleTriggerEffectItem.html#initial_vertical_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateParticleTriggerEffectItem.html#initial_vertical_speed Online documentation} */ initial_vertical_speed?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateParticleTriggerEffectItem.html#initial_vertical_speed_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateParticleTriggerEffectItem.html#initial_vertical_speed_deviation Online documentation} */ initial_vertical_speed_deviation?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateParticleTriggerEffectItem.html#speed_from_center Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateParticleTriggerEffectItem.html#speed_from_center Online documentation} */ speed_from_center?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateParticleTriggerEffectItem.html#speed_from_center_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateParticleTriggerEffectItem.html#speed_from_center_deviation Online documentation} */ speed_from_center_deviation?: float /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateParticleTriggerEffectItem.html#frame_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateParticleTriggerEffectItem.html#frame_speed Online documentation} */ frame_speed?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateParticleTriggerEffectItem.html#frame_speed_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateParticleTriggerEffectItem.html#frame_speed_deviation Online documentation} */ frame_speed_deviation?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateParticleTriggerEffectItem.html#movement_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateParticleTriggerEffectItem.html#movement_multiplier Online documentation} */ movement_multiplier?: float /** * **Default:** `0` * * Silently capped to a maximum of 100. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateParticleTriggerEffectItem.html#tail_length Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateParticleTriggerEffectItem.html#tail_length Online documentation} */ tail_length?: uint8 /** * **Default:** `0` * * Silently capped to a maximum of 100. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateParticleTriggerEffectItem.html#tail_length_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateParticleTriggerEffectItem.html#tail_length_deviation Online documentation} */ tail_length_deviation?: uint8 /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateParticleTriggerEffectItem.html#tail_width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateParticleTriggerEffectItem.html#tail_width Online documentation} */ tail_width?: float /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateParticleTriggerEffectItem.html#rotate_offsets Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateParticleTriggerEffectItem.html#rotate_offsets Online documentation} */ rotate_offsets?: boolean /** * **Default:** `false` * * Create the particle only when they are within a 200 tile range of any connected player. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateParticleTriggerEffectItem.html#only_when_visible Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateParticleTriggerEffectItem.html#only_when_visible Online documentation} */ only_when_visible?: boolean apply_tile_tint?: ApplyTileTint @@ -4739,7 +4747,7 @@ declare module "factorio:prototype" { * **Default:** ``{1, 1, 1, 1} (white)`` * * Only loaded if `apply_tile_tint` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateParticleTriggerEffectItem.html#tint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateParticleTriggerEffectItem.html#tint Online documentation} */ tint?: Color } @@ -4747,19 +4755,19 @@ declare module "factorio:prototype" { readonly type: "create-pollution" /** * This may be negative which will reduce pollution when run. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreatePollutionTriggerEffectItem.html#amount Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreatePollutionTriggerEffectItem.html#amount Online documentation} */ amount: double /** * If not defined, and use_entity_from_trigger is false, the pollution does not show in statistics. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreatePollutionTriggerEffectItem.html#entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreatePollutionTriggerEffectItem.html#entity Online documentation} */ entity?: EntityID /** * **Default:** `true` * * If not set, and entity is not set, the pollution does not show in statistics. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreatePollutionTriggerEffectItem.html#use_entity_from_trigger Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreatePollutionTriggerEffectItem.html#use_entity_from_trigger Online documentation} */ use_entity_from_trigger?: boolean } @@ -4767,38 +4775,38 @@ declare module "factorio:prototype" { readonly type: "create-smoke" /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateSmokeTriggerEffectItem.html#initial_height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateSmokeTriggerEffectItem.html#initial_height Online documentation} */ initial_height?: float speed?: Vector /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateSmokeTriggerEffectItem.html#speed_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateSmokeTriggerEffectItem.html#speed_multiplier Online documentation} */ speed_multiplier?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateSmokeTriggerEffectItem.html#speed_multiplier_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateSmokeTriggerEffectItem.html#speed_multiplier_deviation Online documentation} */ speed_multiplier_deviation?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateSmokeTriggerEffectItem.html#starting_frame Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateSmokeTriggerEffectItem.html#starting_frame Online documentation} */ starting_frame?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateSmokeTriggerEffectItem.html#starting_frame_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateSmokeTriggerEffectItem.html#starting_frame_deviation Online documentation} */ starting_frame_deviation?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateSmokeTriggerEffectItem.html#speed_from_center Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateSmokeTriggerEffectItem.html#speed_from_center Online documentation} */ speed_from_center?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateSmokeTriggerEffectItem.html#speed_from_center_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateSmokeTriggerEffectItem.html#speed_from_center_deviation Online documentation} */ speed_from_center_deviation?: float } @@ -4809,19 +4817,19 @@ declare module "factorio:prototype" { readonly type: "create-sticker" /** * Name of a {@link StickerPrototype} that should be created. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateStickerTriggerEffectItem.html#sticker Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateStickerTriggerEffectItem.html#sticker Online documentation} */ sticker: EntityID /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateStickerTriggerEffectItem.html#show_in_tooltip Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateStickerTriggerEffectItem.html#show_in_tooltip Online documentation} */ show_in_tooltip?: boolean /** * **Default:** `false` * * If `true`, {@link import("factorio:runtime").on_trigger_created_entity on_trigger_created_entity} will be triggered when the sticker is created. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateStickerTriggerEffectItem.html#trigger_created_entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateStickerTriggerEffectItem.html#trigger_created_entity Online documentation} */ trigger_created_entity?: boolean } @@ -4832,54 +4840,54 @@ declare module "factorio:prototype" { offsets?: readonly Vector[] /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateTrivialSmokeEffectItem.html#initial_height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateTrivialSmokeEffectItem.html#initial_height Online documentation} */ initial_height?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateTrivialSmokeEffectItem.html#max_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateTrivialSmokeEffectItem.html#max_radius Online documentation} */ max_radius?: float speed?: Vector /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateTrivialSmokeEffectItem.html#speed_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateTrivialSmokeEffectItem.html#speed_multiplier Online documentation} */ speed_multiplier?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateTrivialSmokeEffectItem.html#speed_multiplier_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateTrivialSmokeEffectItem.html#speed_multiplier_deviation Online documentation} */ speed_multiplier_deviation?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateTrivialSmokeEffectItem.html#starting_frame Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateTrivialSmokeEffectItem.html#starting_frame Online documentation} */ starting_frame?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateTrivialSmokeEffectItem.html#starting_frame_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateTrivialSmokeEffectItem.html#starting_frame_deviation Online documentation} */ starting_frame_deviation?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateTrivialSmokeEffectItem.html#speed_from_center Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateTrivialSmokeEffectItem.html#speed_from_center Online documentation} */ speed_from_center?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateTrivialSmokeEffectItem.html#speed_from_center_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateTrivialSmokeEffectItem.html#speed_from_center_deviation Online documentation} */ speed_from_center_deviation?: float /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CreateTrivialSmokeEffectItem.html#only_when_visible Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CreateTrivialSmokeEffectItem.html#only_when_visible Online documentation} */ only_when_visible?: boolean } /** * @see UtilitySprites.cursor_box - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySprites.html#cursor_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySprites.html#cursor_box Online documentation} */ export interface CursorBoxSpecification { regular: readonly BoxSpecification[] @@ -4909,7 +4917,7 @@ declare module "factorio:prototype" { * - `"blueprint-snap-rectangle"`: Green by default. * - `"spidertron-remote-selected"` * - `"spidertron-remote-to-be-selected"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CursorBoxType.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CursorBoxType.html Online documentation} */ export type CursorBoxType = | "entity" @@ -4925,62 +4933,62 @@ declare module "factorio:prototype" { | "spidertron-remote-to-be-selected" /** * The name of an {@link CustomEventPrototype}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CustomEventID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CustomEventID.html Online documentation} */ export type CustomEventID = string /** * Allows to add extra description items to the tooltip. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CustomTooltipField.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CustomTooltipField.html Online documentation} */ export interface CustomTooltipField { name: LocalisedString value: LocalisedString /** * **Default:** `"quality-tooltip.increases"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CustomTooltipField.html#quality_header Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CustomTooltipField.html#quality_header Online documentation} */ quality_header?: string /** * Custom values per quality level. If a value is not provided for a specific quality, {@link CustomTooltipField#value CustomTooltipField::value} will be used instead. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CustomTooltipField.html#quality_values Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CustomTooltipField.html#quality_values Online documentation} */ quality_values?: Record /** * **Default:** `100` * * Ordering within all description items (modded and un-modded). Items with smaller order values are shown above items with larger values. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CustomTooltipField.html#order Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CustomTooltipField.html#order Online documentation} */ order?: uint8 /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CustomTooltipField.html#show_in_factoriopedia Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CustomTooltipField.html#show_in_factoriopedia Online documentation} */ show_in_factoriopedia?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/CustomTooltipField.html#show_in_tooltip Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CustomTooltipField.html#show_in_tooltip Online documentation} */ show_in_tooltip?: boolean } /** * Used by {@link BaseAttackParameters} to play a sound during the attack. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CyclicSound.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CyclicSound.html Online documentation} */ export interface CyclicSound { /** * Played once at the beginning of the overall cyclic sound. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CyclicSound.html#begin_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CyclicSound.html#begin_sound Online documentation} */ begin_sound?: Sound /** * Played repeatedly after the begin_sound was played. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CyclicSound.html#middle_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CyclicSound.html#middle_sound Online documentation} */ middle_sound?: Sound /** * Played once when the overall cyclic sound is requested to end. - * @see {@link https://lua-api.factorio.com/2.1.22/types/CyclicSound.html#end_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/CyclicSound.html#end_sound Online documentation} */ end_sound?: Sound } @@ -4989,51 +4997,51 @@ declare module "factorio:prototype" { damage: DamageParameters /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/DamageEntityTriggerEffectItem.html#apply_damage_to_trees Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/DamageEntityTriggerEffectItem.html#apply_damage_to_trees Online documentation} */ apply_damage_to_trees?: boolean /** * **Default:** `false` * * If `true`, no corpse for killed entities will be created. - * @see {@link https://lua-api.factorio.com/2.1.22/types/DamageEntityTriggerEffectItem.html#vaporize Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/DamageEntityTriggerEffectItem.html#vaporize Online documentation} */ vaporize?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/DamageEntityTriggerEffectItem.html#use_substitute Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/DamageEntityTriggerEffectItem.html#use_substitute Online documentation} */ use_substitute?: boolean /** * **Default:** `MAX_UINT16` - * @see {@link https://lua-api.factorio.com/2.1.22/types/DamageEntityTriggerEffectItem.html#lower_distance_threshold Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/DamageEntityTriggerEffectItem.html#lower_distance_threshold Online documentation} */ lower_distance_threshold?: uint16 /** * **Default:** `MAX_UINT16` - * @see {@link https://lua-api.factorio.com/2.1.22/types/DamageEntityTriggerEffectItem.html#upper_distance_threshold Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/DamageEntityTriggerEffectItem.html#upper_distance_threshold Online documentation} */ upper_distance_threshold?: uint16 /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/DamageEntityTriggerEffectItem.html#lower_damage_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/DamageEntityTriggerEffectItem.html#lower_damage_modifier Online documentation} */ lower_damage_modifier?: float /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/DamageEntityTriggerEffectItem.html#upper_damage_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/DamageEntityTriggerEffectItem.html#upper_damage_modifier Online documentation} */ upper_damage_modifier?: float } /** * Used to specify what type of damage and how much damage something deals. - * @see {@link https://lua-api.factorio.com/2.1.22/types/DamageParameters.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/DamageParameters.html Online documentation} */ export interface DamageParameters { amount: float /** * The type of damage. See {@linkplain https://wiki.factorio.com/Data.raw#damage-type here} for a list of built-in types, and {@link DamageType} for creating custom types. - * @see {@link https://lua-api.factorio.com/2.1.22/types/DamageParameters.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/DamageParameters.html#type Online documentation} */ readonly type: DamageTypeID } @@ -5045,19 +5053,19 @@ declare module "factorio:prototype" { /** * Struct type for {@link DamageTypeFilters} * @see DamageTypeFilters - * @see {@link https://lua-api.factorio.com/2.1.22/types/DamageTypeFilters.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/DamageTypeFilters.html Online documentation} */ export interface DamageTypeFiltersStruct { /** * The damage types to filter for. - * @see {@link https://lua-api.factorio.com/2.1.22/types/DamageTypeFilters.html#types Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/DamageTypeFilters.html#types Online documentation} */ types: DamageTypeID | readonly DamageTypeID[] /** * **Default:** `false` * * Whether this is a whitelist or a blacklist of damage types. Defaults to being a blacklist. - * @see {@link https://lua-api.factorio.com/2.1.22/types/DamageTypeFilters.html#whitelist Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/DamageTypeFilters.html#whitelist Online documentation} */ whitelist?: boolean } @@ -5078,7 +5086,7 @@ declare module "factorio:prototype" { * whitelist = false, -- optional * types = { "fire" } -- more damage types could be specified here * } - * @see {@link https://lua-api.factorio.com/2.1.22/types/DamageTypeFilters.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/DamageTypeFilters.html Online documentation} */ export type DamageTypeFilters = DamageTypeFiltersStruct | DamageTypeID | readonly DamageTypeID[] /** @@ -5087,16 +5095,16 @@ declare module "factorio:prototype" { * "impact" * @example * "poison" - * @see {@link https://lua-api.factorio.com/2.1.22/types/DamageTypeID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/DamageTypeID.html Online documentation} */ export type DamageTypeID = string /** * The data table is read by the game to load all prototypes. * - * At the end of the prototype stage, the data table is loaded by the game engine and the format of the prototypes is validated. Any extra properties are ignored. See {@linkplain https://lua-api.factorio.com/2.1.22/auxiliary/data-lifecycle.html Data Lifecycle} for more information. + * At the end of the prototype stage, the data table is loaded by the game engine and the format of the prototypes is validated. Any extra properties are ignored. See {@linkplain https://lua-api.factorio.com/2.1.24/auxiliary/data-lifecycle.html Data Lifecycle} for more information. * * The data table and its properties are defined in Lua, so their source code can be viewed in {@linkplain https://github.com/wube/factorio-data/blob/master/core/lualib/dataloader.lua dataloader.lua}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Data.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Data.html Online documentation} */ export interface Data { /** @@ -5109,7 +5117,7 @@ declare module "factorio:prototype" { * @example * -- get the max health of the wooden chest * local health = data.raw["container"]["wooden-chest"].max_health - * @see {@link https://lua-api.factorio.com/2.1.22/types/Data.html#raw Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Data.html#raw Online documentation} */ readonly raw: { [Type in keyof M]: { @@ -5133,12 +5141,12 @@ declare module "factorio:prototype" { * name = "best-fuel" * } * data:extend({not_coal, proto2}) - * @see {@link https://lua-api.factorio.com/2.1.22/types/Data.html#extend Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Data.html#extend Online documentation} */ extend

>(prototypes: readonly P[]): void /** * Set by the game based on whether the demo or retail version is running. Should not be used by mods. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Data.html#is_demo Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Data.html#is_demo Online documentation} */ is_demo: boolean } @@ -5160,7 +5168,7 @@ declare module "factorio:prototype" { * {0.55, "__core__/graphics/color_luts/night.png"}, * {0.75, "identity"}, * } - * @see {@link https://lua-api.factorio.com/2.1.22/types/DaytimeColorLookupTable.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/DaytimeColorLookupTable.html Online documentation} */ export type DaytimeColorLookupTable = readonly (readonly [double, ColorLookupTable])[] export interface DeconstructionTimeToLiveModifier extends SimpleModifier { @@ -5169,7 +5177,7 @@ declare module "factorio:prototype" { * **Default:** `true` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/DeconstructionTimeToLiveModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/DeconstructionTimeToLiveModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean } @@ -5179,7 +5187,7 @@ declare module "factorio:prototype" { * "dark-mud-decal" * @example * "red-pita" - * @see {@link https://lua-api.factorio.com/2.1.22/types/DecorativeID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/DecorativeID.html Online documentation} */ export type DecorativeID = string export interface DelayedTriggerDelivery extends TriggerDeliveryItem { @@ -5188,7 +5196,7 @@ declare module "factorio:prototype" { } /** * This trigger is considered fulfilled when the {@link TipsAndTricksItem#dependencies TipsAndTricksItem::dependencies} are fulfilled. - * @see {@link https://lua-api.factorio.com/2.1.22/types/DependenciesMetTipTrigger.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/DependenciesMetTipTrigger.html Online documentation} */ export interface DependenciesMetTipTrigger { readonly type: "dependencies-met" @@ -5199,19 +5207,19 @@ declare module "factorio:prototype" { radius: float /** * **Default:** `3600` - * @see {@link https://lua-api.factorio.com/2.1.22/types/DestroyCliffsCapsuleAction.html#timeout Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/DestroyCliffsCapsuleAction.html#timeout Online documentation} */ timeout?: uint32 /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/DestroyCliffsCapsuleAction.html#play_sound_on_failure Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/DestroyCliffsCapsuleAction.html#play_sound_on_failure Online documentation} */ play_sound_on_failure?: boolean /** * **Default:** `true` * * Whether using the capsule consumes an item from the stack. - * @see {@link https://lua-api.factorio.com/2.1.22/types/DestroyCliffsCapsuleAction.html#uses_stack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/DestroyCliffsCapsuleAction.html#uses_stack Online documentation} */ uses_stack?: boolean } @@ -5220,12 +5228,12 @@ declare module "factorio:prototype" { radius: float /** * Entity created at trigger location every time trigger executes. - * @see {@link https://lua-api.factorio.com/2.1.22/types/DestroyCliffsTriggerEffectItem.html#explosion_at_trigger Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/DestroyCliffsTriggerEffectItem.html#explosion_at_trigger Online documentation} */ explosion_at_trigger?: EntityID /** * Entity created at cliff location when a cliff is destroyed. - * @see {@link https://lua-api.factorio.com/2.1.22/types/DestroyCliffsTriggerEffectItem.html#explosion_at_cliff Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/DestroyCliffsTriggerEffectItem.html#explosion_at_cliff Online documentation} */ explosion_at_cliff?: EntityID } @@ -5234,36 +5242,36 @@ declare module "factorio:prototype" { radius: float /** * **Default:** `first layer` - * @see {@link https://lua-api.factorio.com/2.1.22/types/DestroyDecorativesTriggerEffectItem.html#from_render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/DestroyDecorativesTriggerEffectItem.html#from_render_layer Online documentation} */ from_render_layer?: RenderLayer /** * **Default:** `last layer` - * @see {@link https://lua-api.factorio.com/2.1.22/types/DestroyDecorativesTriggerEffectItem.html#to_render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/DestroyDecorativesTriggerEffectItem.html#to_render_layer Online documentation} */ to_render_layer?: RenderLayer /** * **Default:** `false` * * Soft decoratives are those where {@link DecorativePrototype#grows_through_rail_path DecorativePrototype::grows_through_rail_path} is `true`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/DestroyDecorativesTriggerEffectItem.html#include_soft_decoratives Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/DestroyDecorativesTriggerEffectItem.html#include_soft_decoratives Online documentation} */ include_soft_decoratives?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/DestroyDecorativesTriggerEffectItem.html#include_decals Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/DestroyDecorativesTriggerEffectItem.html#include_decals Online documentation} */ include_decals?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/DestroyDecorativesTriggerEffectItem.html#invoke_decorative_trigger Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/DestroyDecorativesTriggerEffectItem.html#invoke_decorative_trigger Online documentation} */ invoke_decorative_trigger?: boolean /** * **Default:** `false` * * If `true`, only decoratives with a {@link DecorativePrototype#trigger_effect DecorativePrototype::trigger_effect} will be destroyed. - * @see {@link https://lua-api.factorio.com/2.1.22/types/DestroyDecorativesTriggerEffectItem.html#decoratives_with_trigger_only Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/DestroyDecorativesTriggerEffectItem.html#decoratives_with_trigger_only Online documentation} */ decoratives_with_trigger_only?: boolean } @@ -5272,14 +5280,14 @@ declare module "factorio:prototype" { * **Default:** `1` * * Must be >= 0.001 and <= 100000. - * @see {@link https://lua-api.factorio.com/2.1.22/types/DifficultySettings.html#technology_price_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/DifficultySettings.html#technology_price_multiplier Online documentation} */ technology_price_multiplier?: double /** * **Default:** `1` * * Must be >= 0.01 and <= 100. - * @see {@link https://lua-api.factorio.com/2.1.22/types/DifficultySettings.html#spoil_time_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/DifficultySettings.html#spoil_time_modifier Online documentation} */ spoil_time_modifier?: double } @@ -5287,13 +5295,13 @@ declare module "factorio:prototype" { readonly type: "direct" /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/DirectTriggerItem.html#filter_enabled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/DirectTriggerItem.html#filter_enabled Online documentation} */ filter_enabled?: boolean } /** * @see AnimatedVector.direction_shift - * @see {@link https://lua-api.factorio.com/2.1.22/types/AnimatedVector.html#direction_shift Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AnimatedVector.html#direction_shift Online documentation} */ export interface DirectionShift { north?: Vector @@ -5321,7 +5329,7 @@ declare module "factorio:prototype" { * - `"west_north_west"` * - `"north_west"` * - `"north_north_west"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/DirectionString.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/DirectionString.html Online documentation} */ export type DirectionString = | "north" @@ -5342,40 +5350,40 @@ declare module "factorio:prototype" { | "north_north_west" /** * Root style: `"double_slider"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/DoubleSliderStyleSpecification.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/DoubleSliderStyleSpecification.html Online documentation} */ export interface DoubleSliderStyleSpecification extends Omit { readonly type: "double_slider_style" } /** * Root style: `"dropdown"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/DropDownStyleSpecification.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/DropDownStyleSpecification.html Online documentation} */ export interface DropDownStyleSpecification extends BaseStyleSpecification { readonly type: "dropdown_style" /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/DropDownStyleSpecification.html#button_style Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/DropDownStyleSpecification.html#button_style Online documentation} */ button_style?: ButtonStyleSpecification /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/DropDownStyleSpecification.html#icon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/DropDownStyleSpecification.html#icon Online documentation} */ icon?: Sprite /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/DropDownStyleSpecification.html#list_box_style Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/DropDownStyleSpecification.html#list_box_style Online documentation} */ list_box_style?: ListBoxStyleSpecification /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/DropDownStyleSpecification.html#selector_and_title_spacing Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/DropDownStyleSpecification.html#selector_and_title_spacing Online documentation} */ selector_and_title_spacing?: int16 /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/DropDownStyleSpecification.html#opened_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/DropDownStyleSpecification.html#opened_sound Online documentation} */ opened_sound?: Sound } @@ -5383,7 +5391,7 @@ declare module "factorio:prototype" { readonly type: "drop-item" /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/DropItemTipTrigger.html#drop_into_entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/DropItemTipTrigger.html#drop_into_entity Online documentation} */ drop_into_entity?: boolean } @@ -5410,39 +5418,39 @@ declare module "factorio:prototype" { * @example * -- These are the effects of the vanilla Speed Module 3 * {speed = 0.5, consumption = 0.7, quality = -0.025} - * @see {@link https://lua-api.factorio.com/2.1.22/types/Effect.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Effect.html Online documentation} */ export interface Effect { /** * Multiplier to energy used during operation (not idle/drain use). The minimum possible sum defaults to -80% and can be changed through {@link EffectReceiver#consumption_limits EffectReceiver::consumption_limits} on the machine. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Effect.html#consumption Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Effect.html#consumption Online documentation} */ consumption?: EffectValue /** * Modifier to crafting speed, research speed, etc. The minimum possible sum defaults to -80% and can be changed through {@link EffectReceiver#speed_limits EffectReceiver::speed_limits} on the machine. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Effect.html#speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Effect.html#speed Online documentation} */ speed?: EffectValue /** * Multiplied against work completed, adds to the bonus results of operating. E.g. an extra crafted recipe or immediate research bonus. The minimum possible sum defaults to -80% and can be changed through {@link EffectReceiver#productivity_limits EffectReceiver::productivity_limits} on the machine. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Effect.html#productivity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Effect.html#productivity Online documentation} */ productivity?: EffectValue /** * Multiplier to the pollution factor of an entity's pollution during use. The minimum possible sum defaults to -80% and can be changed through {@link EffectReceiver#pollution_limits EffectReceiver::pollution_limits} on the machine. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Effect.html#pollution Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Effect.html#pollution Online documentation} */ pollution?: EffectValue /** * Adds a bonus chance to increase a product's quality. The minimum possible sum defaults to 0% and can be changed through {@link EffectReceiver#quality_limits EffectReceiver::quality_limits} on the machine. If negative values are allowed on the effect receiver, the product's quality can be {@link QualityPrototype#previous_probability decreased}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Effect.html#quality Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Effect.html#quality Online documentation} */ quality?: EffectValue } export interface EffectArrayTexture { /** * The path to the sprite file to use. - * @see {@link https://lua-api.factorio.com/2.1.22/types/EffectArrayTexture.html#filename Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EffectArrayTexture.html#filename Online documentation} */ filename: FileName } @@ -5450,26 +5458,26 @@ declare module "factorio:prototype" { base_effect?: Effect /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/EffectReceiver.html#uses_module_effects Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EffectReceiver.html#uses_module_effects Online documentation} */ uses_module_effects?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/EffectReceiver.html#uses_beacon_effects Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EffectReceiver.html#uses_beacon_effects Online documentation} */ uses_beacon_effects?: boolean /** * **Default:** `true` * * Controls whether {@link import("factorio:runtime").LuaSurface#global_effect LuaSurface::global_effect} affects this receiver. - * @see {@link https://lua-api.factorio.com/2.1.22/types/EffectReceiver.html#uses_surface_effects Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EffectReceiver.html#uses_surface_effects Online documentation} */ uses_surface_effects?: boolean /** * **Default:** `true` * * Controls whether {@link import("factorio:runtime").LuaEntity#local_effect LuaEntity::local_effect} affects this receiver. - * @see {@link https://lua-api.factorio.com/2.1.22/types/EffectReceiver.html#uses_local_effects Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EffectReceiver.html#uses_local_effects Online documentation} */ uses_local_effects?: boolean /** @@ -5478,7 +5486,7 @@ declare module "factorio:prototype" { * Limits total consumption effect value. * * Low limit cannot be less than `-0.9999`. High limit cannot be greater than `1000`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/EffectReceiver.html#consumption_limits Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EffectReceiver.html#consumption_limits Online documentation} */ consumption_limits?: EffectValueRange /** @@ -5487,7 +5495,7 @@ declare module "factorio:prototype" { * Limits total speed effect value. * * Low limit cannot be less than `-0.9999`. High limit cannot be greater than `1000`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/EffectReceiver.html#speed_limits Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EffectReceiver.html#speed_limits Online documentation} */ speed_limits?: EffectValueRange /** @@ -5496,7 +5504,7 @@ declare module "factorio:prototype" { * Limits total productivity effect value. This limit is applied before any productivity gained from research is added. Afterwards, productivity is clamped again to be non-negative. For crafting machines, it is also clamped to {@link RecipePrototype#maximum_productivity RecipePrototype::maximum_productivity}. * * Low limit cannot be less than `-0.9999`. High limit cannot be greater than `1000`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/EffectReceiver.html#productivity_limits Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EffectReceiver.html#productivity_limits Online documentation} */ productivity_limits?: EffectValueRange /** @@ -5505,7 +5513,7 @@ declare module "factorio:prototype" { * Limits total pollution effect value. * * Low limit cannot be less than `-0.9999`. High limit cannot be greater than `1000`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/EffectReceiver.html#pollution_limits Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EffectReceiver.html#pollution_limits Online documentation} */ pollution_limits?: EffectValueRange /** @@ -5514,7 +5522,7 @@ declare module "factorio:prototype" { * Limits total quality effect value. * * Low limit cannot be less than `-1000`. High limit cannot be greater than `1000`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/EffectReceiver.html#quality_limits Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EffectReceiver.html#quality_limits Online documentation} */ quality_limits?: EffectValueRange } @@ -5525,7 +5533,7 @@ declare module "factorio:prototype" { * - `"ground-origin"`: Refers to the ground position the pod entity is relative to. * - `"pod"`: Refers to the current position of pod playing the transition. * - `"spawn-origin"`: Refers to the position where this transition started on tick 0. Useful as a blank slate to apply inherited offsets via {@link ProcessionLayerInheritanceGroup}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/EffectRelativeTo.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EffectRelativeTo.html Online documentation} */ export type EffectRelativeTo = "ground-origin" | "pod" | "spawn-origin" export interface EffectTexture extends SpriteSource {} @@ -5544,14 +5552,14 @@ declare module "factorio:prototype" { * @example * -- Allow only modules that affect speed * allowed_effects = "speed" - * @see {@link https://lua-api.factorio.com/2.1.22/types/EffectTypeLimitation.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EffectTypeLimitation.html Online documentation} */ export type EffectTypeLimitation = | ("speed" | "productivity" | "consumption" | "pollution" | "quality") | readonly ("speed" | "productivity" | "consumption" | "pollution" | "quality")[] /** * Precision is ignored beyond four decimals - `0.56789` results in `0.5678` and means 56.78% etc. Values can range from `-1000.0000` to `1000.0000`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/EffectValue.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EffectValue.html Online documentation} */ export type EffectValue = float export interface EffectValueRange { @@ -5564,7 +5572,7 @@ declare module "factorio:prototype" { * - `"wetland-water"`: Valid only when {@link FeatureFlags#expansion_shaders expansion_shaders} feature flag is enabled. * - `"oil"`: Valid only when {@link FeatureFlags#expansion_shaders expansion_shaders} feature flag is enabled. * - `"water"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/EffectVariation.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EffectVariation.html Online documentation} */ export type EffectVariation = "lava" | "wetland-water" | "oil" | "water" /** @@ -5590,7 +5598,7 @@ declare module "factorio:prototype" { * type = "electric", * usage_priority = "secondary-output" * } - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElectricEnergySource.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElectricEnergySource.html Online documentation} */ export interface ElectricEnergySource extends BaseEnergySource { readonly type: "electric" @@ -5598,13 +5606,13 @@ declare module "factorio:prototype" { * How much energy this entity can hold. * @example * buffer_capacity = "5MJ" - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElectricEnergySource.html#buffer_capacity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElectricEnergySource.html#buffer_capacity Online documentation} */ buffer_capacity?: Energy /** * @example * usage_priority = "secondary-input" - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElectricEnergySource.html#usage_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElectricEnergySource.html#usage_priority Online documentation} */ usage_priority: ElectricUsagePriority /** @@ -5613,7 +5621,7 @@ declare module "factorio:prototype" { * The rate at which energy can be taken, from the network, to refill the energy buffer. `0` means no transfer. * @example * input_flow_limit = "300kW" - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElectricEnergySource.html#input_flow_limit Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElectricEnergySource.html#input_flow_limit Online documentation} */ input_flow_limit?: Energy /** @@ -5622,14 +5630,14 @@ declare module "factorio:prototype" { * The rate at which energy can be provided, to the network, from the energy buffer. `0` means no transfer. * @example * output_flow_limit = "300kW" - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElectricEnergySource.html#output_flow_limit Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElectricEnergySource.html#output_flow_limit Online documentation} */ output_flow_limit?: Energy /** * How much energy (per second) will be continuously removed from the energy buffer. In-game, this is shown in the tooltip as "Min. {@link import("factorio:runtime").LuaEntity#active Minimum] Consumption". Applied as a constant consumption-per-tick, even when the entity is not [active}. * @example * drain = "1kW" - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElectricEnergySource.html#drain Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElectricEnergySource.html#drain Online documentation} */ drain?: Energy } @@ -5647,7 +5655,7 @@ declare module "factorio:prototype" { * - `"dynamic"`: Can only be used by {@link ElectricEnergyInterfacePrototype}, will be ignored otherwise. * @example * usage_priority = "primary-input" - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElectricUsagePriority.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElectricUsagePriority.html Online documentation} */ export type ElectricUsagePriority = | "primary-input" @@ -5661,7 +5669,7 @@ declare module "factorio:prototype" { /** * Struct type for {@link ElementImageSet} * @see ElementImageSet - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSet.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSet.html Online documentation} */ export interface ElementImageSetStruct { base?: ElementImageSetLayer @@ -5670,77 +5678,77 @@ declare module "factorio:prototype" { } /** * If this is loaded as a single ElementImageSetLayer, it gets used as `base`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSet.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSet.html Online documentation} */ export type ElementImageSet = ElementImageSetStruct | ElementImageSetLayer /** * Struct type for {@link ElementImageSetLayer} * @see ElementImageSetLayer - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html Online documentation} */ export interface ElementImageSetLayerStruct { /** * **Default:** `"inner"` * * Defines whether the border should be drawn inside the widget, which affects the padding and content size of the widget, or outside of the widget which doesn't affect size. The outer draw type is most commonly used for shadows, glows and insets. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html#draw_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html#draw_type Online documentation} */ draw_type?: "inner" | "outer" /** * **Default:** ``"none"` if this has no other properties, otherwise `"composition"`` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html#type Online documentation} */ readonly type?: "none" | "composition" /** * **Default:** ``{r=1, g=1, b=1, a=1}`` * * Only loaded if `type` is `"composition"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html#tint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html#tint Online documentation} */ tint?: Color /** * Only loaded if `type` is `"composition"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html#center Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html#center Online documentation} */ center?: Sprite /** * Only loaded if `type` is `"composition"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html#left Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html#left Online documentation} */ left?: Sprite /** * Only loaded if `type` is `"composition"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html#left_top Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html#left_top Online documentation} */ left_top?: Sprite /** * Only loaded if `type` is `"composition"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html#left_bottom Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html#left_bottom Online documentation} */ left_bottom?: Sprite /** * Only loaded if `type` is `"composition"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html#right Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html#right Online documentation} */ right?: Sprite /** * Only loaded if `type` is `"composition"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html#right_top Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html#right_top Online documentation} */ right_top?: Sprite /** * Only loaded if `type` is `"composition"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html#right_bottom Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html#right_bottom Online documentation} */ right_bottom?: Sprite /** * Only loaded if `type` is `"composition"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html#top Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html#top Online documentation} */ top?: Sprite /** * Only loaded if `type` is `"composition"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html#bottom Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html#bottom Online documentation} */ bottom?: Sprite /** @@ -5748,236 +5756,236 @@ declare module "factorio:prototype" { * * Only loaded if `type` is `"composition"`. * - * ![In base game, the corner size is 8 and the sides are 1px long and 8px wide.](https://lua-api.factorio.com/2.1.22/static/images/ElementImageSetLayer_base_sizes.png) + * ![In base game, the corner size is 8 and the sides are 1px long and 8px wide.](https://lua-api.factorio.com/2.1.24/static/images/ElementImageSetLayer_base_sizes.png) * @example * { * -- How an ElementImageSet is loaded which has only one layer, which uses the corner_size shown in the diagram * base = {position = {0, 17}, corner_size = 8} * } - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html#corner_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html#corner_size Online documentation} */ corner_size?: uint16 | readonly [uint16, uint16] /** * **Default:** `The `default_tileset` set in GuiStyle` * * Only loaded if `corner_size` is defined. Only loaded if `type` is `"composition"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html#filename Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html#filename Online documentation} */ filename?: FileName /** * Mandatory if `corner_size` is defined. Only loaded if `type` is `"composition"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html#position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html#position Online documentation} */ position?: MapPosition /** * **Default:** `true` * * Only loaded if `corner_size` is defined. Only loaded if `type` is `"composition"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html#load_in_minimal_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html#load_in_minimal_mode Online documentation} */ load_in_minimal_mode?: boolean /** * **Default:** `1` * * Only loaded if `corner_size` is defined. Only loaded if `type` is `"composition"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html#top_width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html#top_width Online documentation} */ top_width?: SpriteSizeType /** * **Default:** `1` * * Only loaded if `corner_size` is defined. Only loaded if `type` is `"composition"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html#bottom_width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html#bottom_width Online documentation} */ bottom_width?: SpriteSizeType /** * **Default:** `1` * * Only loaded if `corner_size` is defined. Only loaded if `type` is `"composition"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html#left_height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html#left_height Online documentation} */ left_height?: SpriteSizeType /** * **Default:** `1` * * Only loaded if `corner_size` is defined. Only loaded if `type` is `"composition"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html#right_height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html#right_height Online documentation} */ right_height?: SpriteSizeType /** * **Default:** `1` * * Only loaded if `corner_size` is defined. Only loaded if `type` is `"composition"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html#center_width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html#center_width Online documentation} */ center_width?: SpriteSizeType /** * **Default:** `1` * * Only loaded if `corner_size` is defined. Only loaded if `type` is `"composition"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html#center_height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html#center_height Online documentation} */ center_height?: SpriteSizeType /** * **Default:** `1` * * Only loaded if `corner_size` is defined. Only loaded if `type` is `"composition"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html#scale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html#scale Online documentation} */ scale?: double /** * Only loaded if `type` is `"composition"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html#top_border Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html#top_border Online documentation} */ top_border?: int32 /** * Only loaded if `type` is `"composition"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html#right_border Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html#right_border Online documentation} */ right_border?: int32 /** * Only loaded if `type` is `"composition"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html#bottom_border Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html#bottom_border Online documentation} */ bottom_border?: int32 /** * Only loaded if `type` is `"composition"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html#left_border Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html#left_border Online documentation} */ left_border?: int32 /** * Sets `top_border`, `right_border`, `bottom_border` and `left_border`. * * Only loaded if `corner_size` is not defined. Only loaded if `type` is `"composition"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html#border Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html#border Online documentation} */ border?: int32 /** * **Default:** `true` * * Only loaded if `type` is `"composition"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html#stretch_monolith_image_to_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html#stretch_monolith_image_to_size Online documentation} */ stretch_monolith_image_to_size?: boolean /** * **Default:** `false` * * Tiling is used to make a side (not corner) texture repeat instead of being stretched. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html#left_tiling Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html#left_tiling Online documentation} */ left_tiling?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html#right_tiling Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html#right_tiling Online documentation} */ right_tiling?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html#top_tiling Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html#top_tiling Online documentation} */ top_tiling?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html#bottom_tiling Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html#bottom_tiling Online documentation} */ bottom_tiling?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html#center_tiling_vertical Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html#center_tiling_vertical Online documentation} */ center_tiling_vertical?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html#center_tiling_horizontal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html#center_tiling_horizontal Online documentation} */ center_tiling_horizontal?: boolean /** * **Default:** `0` * * Overall tiling is used to make the overall texture repeat instead of being stretched. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html#overall_tiling_horizontal_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html#overall_tiling_horizontal_size Online documentation} */ overall_tiling_horizontal_size?: uint16 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html#overall_tiling_horizontal_spacing Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html#overall_tiling_horizontal_spacing Online documentation} */ overall_tiling_horizontal_spacing?: uint16 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html#overall_tiling_horizontal_padding Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html#overall_tiling_horizontal_padding Online documentation} */ overall_tiling_horizontal_padding?: uint16 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html#overall_tiling_vertical_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html#overall_tiling_vertical_size Online documentation} */ overall_tiling_vertical_size?: uint16 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html#overall_tiling_vertical_spacing Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html#overall_tiling_vertical_spacing Online documentation} */ overall_tiling_vertical_spacing?: uint16 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html#overall_tiling_vertical_padding Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html#overall_tiling_vertical_padding Online documentation} */ overall_tiling_vertical_padding?: uint16 custom_horizontal_tiling_sizes?: readonly uint32[] /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html#opacity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html#opacity Online documentation} */ opacity?: double /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html#background_blur Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html#background_blur Online documentation} */ background_blur?: boolean /** * **Default:** ``4` if `background_blur` is `true`` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html#background_blur_sigma Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html#background_blur_sigma Online documentation} */ background_blur_sigma?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html#top_outer_border_shift Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html#top_outer_border_shift Online documentation} */ top_outer_border_shift?: int32 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html#bottom_outer_border_shift Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html#bottom_outer_border_shift Online documentation} */ bottom_outer_border_shift?: int32 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html#right_outer_border_shift Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html#right_outer_border_shift Online documentation} */ right_outer_border_shift?: int32 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html#left_outer_border_shift Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html#left_outer_border_shift Online documentation} */ left_outer_border_shift?: int32 } /** * If this is loaded as a Sprite, it gets used as `center`. * - * ![How the sprites are laid out graphically when using a composition type element image set layer.](https://lua-api.factorio.com/2.1.22/static/images/ElementImageSetLayer_properties.png) + * ![How the sprites are laid out graphically when using a composition type element image set layer.](https://lua-api.factorio.com/2.1.24/static/images/ElementImageSetLayer_properties.png) * - * ![How the sprites are stretched when using a composition type element image set layer.](https://lua-api.factorio.com/2.1.22/static/images/ElementImageSetLayer_stretching.png) - * @see {@link https://lua-api.factorio.com/2.1.22/types/ElementImageSetLayer.html Online documentation} + * ![How the sprites are stretched when using a composition type element image set layer.](https://lua-api.factorio.com/2.1.24/static/images/ElementImageSetLayer_stretching.png) + * @see {@link https://lua-api.factorio.com/2.1.24/types/ElementImageSetLayer.html Online documentation} */ export type ElementImageSetLayer = ElementImageSetLayerStruct | Sprite /** * Root style: `"empty_widget"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/EmptyWidgetStyleSpecification.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EmptyWidgetStyleSpecification.html Online documentation} */ export interface EmptyWidgetStyleSpecification extends BaseStyleSpecification { readonly type: "empty_widget_style" /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/EmptyWidgetStyleSpecification.html#graphical_set Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EmptyWidgetStyleSpecification.html#graphical_set Online documentation} */ graphical_set?: ElementImageSet } @@ -5985,17 +5993,17 @@ declare module "factorio:prototype" { enabled: boolean /** * Percentual increase in the evolution factor for every second (60 ticks) - * @see {@link https://lua-api.factorio.com/2.1.22/types/EnemyEvolutionSettings.html#time_factor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EnemyEvolutionSettings.html#time_factor Online documentation} */ time_factor: double /** * Percentual increase in the evolution factor for every destroyed spawner - * @see {@link https://lua-api.factorio.com/2.1.22/types/EnemyEvolutionSettings.html#destroy_factor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EnemyEvolutionSettings.html#destroy_factor Online documentation} */ destroy_factor: double /** * Percentual increase in the evolution factor for 1 pollution unit - * @see {@link https://lua-api.factorio.com/2.1.22/types/EnemyEvolutionSettings.html#pollution_factor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EnemyEvolutionSettings.html#pollution_factor Online documentation} */ pollution_factor: double } @@ -6003,12 +6011,12 @@ declare module "factorio:prototype" { enabled: boolean /** * Distance in chunks from the furthest base around. This prevents expansions from reaching too far into the player's territory. - * @see {@link https://lua-api.factorio.com/2.1.22/types/EnemyExpansionSettings.html#max_expansion_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EnemyExpansionSettings.html#max_expansion_distance Online documentation} */ max_expansion_distance: uint32 /** * Distance in chunks from the furthest base around to prevent expansions from being too close to existing bases. - * @see {@link https://lua-api.factorio.com/2.1.22/types/EnemyExpansionSettings.html#min_expansion_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EnemyExpansionSettings.html#min_expansion_distance Online documentation} */ min_expansion_distance: uint32 friendly_base_influence_radius: uint32 @@ -6019,33 +6027,33 @@ declare module "factorio:prototype" { neighbouring_base_chunk_coefficient: double /** * A chunk has to have at most this much percent unbuildable tiles for it to be considered a candidate. This is to avoid chunks full of water to be marked as candidates. - * @see {@link https://lua-api.factorio.com/2.1.22/types/EnemyExpansionSettings.html#max_colliding_tiles_coefficient Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EnemyExpansionSettings.html#max_colliding_tiles_coefficient Online documentation} */ max_colliding_tiles_coefficient: double /** * Size of the group that goes to build new base. - * @see {@link https://lua-api.factorio.com/2.1.22/types/EnemyExpansionSettings.html#settler_group_min_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EnemyExpansionSettings.html#settler_group_min_size Online documentation} */ settler_group_min_size: uint32 settler_group_max_size: uint32 /** * Exponential factor used to determine the size of the settler group based on the evolution factor. The size is calculated as: `size = random(min_size, max_size) * (evolution_group_size_factor ^ evolution_factor)` - * @see {@link https://lua-api.factorio.com/2.1.22/types/EnemyExpansionSettings.html#evolution_group_size_factor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EnemyExpansionSettings.html#evolution_group_size_factor Online documentation} */ evolution_group_size_factor: double /** * Ticks to expand to a single position for a base is used. Cooldown is calculated as follows: `cooldown = lerp(max_expansion_cooldown, min_expansion_cooldown, -e^2 + 2 * e)` where `lerp` is the linear interpolation function, and e is the current evolution factor. - * @see {@link https://lua-api.factorio.com/2.1.22/types/EnemyExpansionSettings.html#min_expansion_cooldown Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EnemyExpansionSettings.html#min_expansion_cooldown Online documentation} */ min_expansion_cooldown: uint32 /** * In ticks. - * @see {@link https://lua-api.factorio.com/2.1.22/types/EnemyExpansionSettings.html#max_expansion_cooldown Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EnemyExpansionSettings.html#max_expansion_cooldown Online documentation} */ max_expansion_cooldown: uint32 /** * Cooldown in ticks for dispatching units when building bases. - * @see {@link https://lua-api.factorio.com/2.1.22/types/EnemyExpansionSettings.html#build_base_unit_dispatch_cooldown Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EnemyExpansionSettings.html#build_base_unit_dispatch_cooldown Online documentation} */ build_base_unit_dispatch_cooldown: uint32 } @@ -6058,19 +6066,19 @@ declare module "factorio:prototype" { underwater_animations?: AnimationVariations /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/EnemySpawnerGraphicsSet.html#underwater_layer_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EnemySpawnerGraphicsSet.html#underwater_layer_offset Online documentation} */ underwater_layer_offset?: int8 water_effect_map_animations?: AnimationVariations integration?: SpriteVariations /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/EnemySpawnerGraphicsSet.html#random_animation_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EnemySpawnerGraphicsSet.html#random_animation_offset Online documentation} */ random_animation_offset?: boolean /** * Refer to {@link EntityPrototype#water_reflection EntityPrototype::water_reflection}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/EnemySpawnerGraphicsSet.html#water_reflection Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EnemySpawnerGraphicsSet.html#water_reflection Online documentation} */ water_reflection?: WaterReflectionDefinition } @@ -6106,7 +6114,7 @@ declare module "factorio:prototype" { * -- the following two lines result in the same power consumption: * energy_usage = "60W" * energy_usage = "1J" -- not recommended, Watt is convention for power - * @see {@link https://lua-api.factorio.com/2.1.22/types/Energy.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Energy.html Online documentation} */ export type Energy = string /** @@ -6118,7 +6126,7 @@ declare module "factorio:prototype" { * - {@link HeatEnergySource}: Loaded when the `type` is `"heat"`. * - {@link FluidEnergySource}: Loaded when the `type` is `"fluid"`. * - {@link VoidEnergySource}: Loaded when the `type` is `"void"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/EnergySource.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EnergySource.html Online documentation} */ export type EnergySource = ElectricEnergySource | BurnerEnergySource | HeatEnergySource | FluidEnergySource | VoidEnergySource @@ -6127,30 +6135,30 @@ declare module "factorio:prototype" { vehicle?: EntityID /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/EnterVehicleTipTrigger.html#match_type_only Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EnterVehicleTipTrigger.html#match_type_only Online documentation} */ match_type_only?: boolean } /** * A single tiles worth of animations used when building entities. - * @see {@link https://lua-api.factorio.com/2.1.22/types/EntityBuildAnimationPiece.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EntityBuildAnimationPiece.html Online documentation} */ export interface EntityBuildAnimationPiece { /** * The animation must have a total of 32 frames. - * @see {@link https://lua-api.factorio.com/2.1.22/types/EntityBuildAnimationPiece.html#top Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EntityBuildAnimationPiece.html#top Online documentation} */ top: Animation /** * The animation must have a total of 32 frames. - * @see {@link https://lua-api.factorio.com/2.1.22/types/EntityBuildAnimationPiece.html#body Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EntityBuildAnimationPiece.html#body Online documentation} */ body: Animation } /** * A set of animations used when building entities on space platforms. All EntityBuildAnimationPieces must have the same animation speed. * @see UtilitySprites.platform_entity_build_animations - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilitySprites.html#platform_entity_build_animations Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilitySprites.html#platform_entity_build_animations Online documentation} */ export interface EntityBuildAnimations { back_left: EntityBuildAnimationPiece @@ -6164,20 +6172,20 @@ declare module "factorio:prototype" { * "stone-furnace" * @example * "bulk-inserter" - * @see {@link https://lua-api.factorio.com/2.1.22/types/EntityID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EntityID.html Online documentation} */ export type EntityID = string /** * Struct type for {@link EntityIDFilter} * @see EntityIDFilter - * @see {@link https://lua-api.factorio.com/2.1.22/types/EntityIDFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EntityIDFilter.html Online documentation} */ export interface EntityIDFilterStruct { name: EntityID quality?: QualityID /** * Only loaded if `quality` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/EntityIDFilter.html#comparator Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EntityIDFilter.html#comparator Online documentation} */ comparator?: ComparatorString } @@ -6223,7 +6231,7 @@ declare module "factorio:prototype" { * - `"not-in-mined-by"`: The entity is not shown in the mined-by tooltip for resources. * @example * flags = {"placeable-neutral", "player-creation"} - * @see {@link https://lua-api.factorio.com/2.1.22/types/EntityPrototypeFlags.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EntityPrototypeFlags.html Online documentation} */ export type EntityPrototypeFlags = readonly ( | "not-rotatable" @@ -6259,27 +6267,27 @@ declare module "factorio:prototype" { /** * How far (in tiles) entities should be rendered outside the visible area of the screen. * @see UtilityConstants.entity_renderer_search_box_limits - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#entity_renderer_search_box_limits Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#entity_renderer_search_box_limits Online documentation} */ export interface EntityRendererSearchBoxLimits { /** * Min value 6, max value 15. Min value 6 to compensate for shadows. - * @see {@link https://lua-api.factorio.com/2.1.22/types/EntityRendererSearchBoxLimits.html#left Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EntityRendererSearchBoxLimits.html#left Online documentation} */ left: uint8 /** * Min value 3, max value 15. - * @see {@link https://lua-api.factorio.com/2.1.22/types/EntityRendererSearchBoxLimits.html#top Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EntityRendererSearchBoxLimits.html#top Online documentation} */ top: uint8 /** * Min value 3, max value 15. - * @see {@link https://lua-api.factorio.com/2.1.22/types/EntityRendererSearchBoxLimits.html#right Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EntityRendererSearchBoxLimits.html#right Online documentation} */ right: uint8 /** * Min value 4, max value 15. Min value 4 to compensate for tall entities like electric poles. - * @see {@link https://lua-api.factorio.com/2.1.22/types/EntityRendererSearchBoxLimits.html#bottom Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EntityRendererSearchBoxLimits.html#bottom Online documentation} */ bottom: uint8 } @@ -6358,7 +6366,7 @@ declare module "factorio:prototype" { * - `"waiting-for-plants-to-grow"` * - `"recipe-not-researched"` * - `"armed"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/EntityStatus.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EntityStatus.html Online documentation} */ export type EntityStatus = | "working" @@ -6436,7 +6444,7 @@ declare module "factorio:prototype" { | "armed" /** * Triggered when a player fast-transfers something to or from an entity, similar to the {@link import("factorio:runtime").on_player_fast_transferred on_player_fast_transferred} event. - * @see {@link https://lua-api.factorio.com/2.1.22/types/EntityTransferTipTrigger.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EntityTransferTipTrigger.html Online documentation} */ export interface EntityTransferTipTrigger extends CountBasedTipTrigger { readonly type: "entity-transfer" @@ -6444,7 +6452,7 @@ declare module "factorio:prototype" { * **Default:** `any transfer` * * Whether the transfer should be into or out of the player. - * @see {@link https://lua-api.factorio.com/2.1.22/types/EntityTransferTipTrigger.html#transfer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EntityTransferTipTrigger.html#transfer Online documentation} */ transfer?: "in" | "out" } @@ -6452,7 +6460,7 @@ declare module "factorio:prototype" { * The name of an {@link EquipmentCategory}. * @example * "armor" - * @see {@link https://lua-api.factorio.com/2.1.22/types/EquipmentCategoryID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EquipmentCategoryID.html Online documentation} */ export type EquipmentCategoryID = string /** @@ -6461,7 +6469,7 @@ declare module "factorio:prototype" { * "small-equipment-grid" * @example * "spidertron-equipment-grid" - * @see {@link https://lua-api.factorio.com/2.1.22/types/EquipmentGridID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EquipmentGridID.html Online documentation} */ export type EquipmentGridID = string /** @@ -6470,19 +6478,19 @@ declare module "factorio:prototype" { * "fusion-reactor-equipment" * @example * "exoskeleton-equipment" - * @see {@link https://lua-api.factorio.com/2.1.22/types/EquipmentID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EquipmentID.html Online documentation} */ export type EquipmentID = string /** * The shape and dimensions of an equipment module. - * @see {@link https://lua-api.factorio.com/2.1.22/types/EquipmentShape.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EquipmentShape.html Online documentation} */ export interface EquipmentShape { width: uint32 height: uint32 /** * The shape. When using "manual", `points` must be defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/EquipmentShape.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EquipmentShape.html#type Online documentation} */ readonly type: "full" | "manual" /** @@ -6496,14 +6504,14 @@ declare module "factorio:prototype" { * {0, 2}, {3, 2}, * {0, 3}, {1, 3}, {2, 3}, {3, 3} * } - * @see {@link https://lua-api.factorio.com/2.1.22/types/EquipmentShape.html#points Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/EquipmentShape.html#points Online documentation} */ points?: readonly (readonly uint32[])[] } /** * Struct type for {@link ExplosionDefinition} * @see ExplosionDefinition - * @see {@link https://lua-api.factorio.com/2.1.22/types/ExplosionDefinition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ExplosionDefinition.html Online documentation} */ export interface ExplosionDefinitionStruct { name: EntityID @@ -6513,7 +6521,7 @@ declare module "factorio:prototype" { /** * Struct type for {@link Fade} * @see Fade - * @see {@link https://lua-api.factorio.com/2.1.22/types/Fade.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Fade.html Online documentation} */ export interface FadeStruct extends Attenuation { from?: ControlPoint @@ -6523,12 +6531,12 @@ declare module "factorio:prototype" { export interface Fades { /** * At least one of `fade_in`and `fade_out` needs to be defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Fades.html#fade_in Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Fades.html#fade_in Online documentation} */ fade_in?: Fade /** * At least one of `fade_in`and `fade_out` needs to be defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Fades.html#fade_out Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Fades.html#fade_out Online documentation} */ fade_out?: Fade } @@ -6541,20 +6549,20 @@ declare module "factorio:prototype" { target?: EntityID /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/FastReplaceTipTrigger.html#match_type_only Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FastReplaceTipTrigger.html#match_type_only Online documentation} */ match_type_only?: boolean } /** * A dictionary of feature flags and their status. It can be used to adjust prototypes based on whether the feature flags are enabled. It is accessible through the global object named `feature_flags`. * - * See the {@linkplain https://lua-api.factorio.com/2.1.22/auxiliary/mod-structure.html mod structure} documentation for more information on what each feature flag affects. + * See the {@linkplain https://lua-api.factorio.com/2.1.24/auxiliary/mod-structure.html mod structure} documentation for more information on what each feature flag affects. * @example * -- sets coal to spoil only when the spoiling feature flag is enabled * if feature_flags["spoiling"] then * data.raw.item.coal.spoil_ticks = 600 * end - * @see {@link https://lua-api.factorio.com/2.1.22/types/FeatureFlags.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FeatureFlags.html Online documentation} */ export interface FeatureFlags { expansion: boolean @@ -6580,7 +6588,7 @@ declare module "factorio:prototype" { * filename = "__base__/graphics/entity/accumulator/accumulator.png" * @example * filename = "__a-mod__/animations/assembler.png" - * @see {@link https://lua-api.factorio.com/2.1.22/types/FileName.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FileName.html Online documentation} */ export type FileName = string export interface FlipEntityTipTrigger extends CountBasedTipTrigger { @@ -6588,29 +6596,29 @@ declare module "factorio:prototype" { } /** * Root style: `"flow"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/FlowStyleSpecification.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FlowStyleSpecification.html Online documentation} */ export interface FlowStyleSpecification extends BaseStyleSpecification { readonly type: "flow_style" /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FlowStyleSpecification.html#max_on_row Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FlowStyleSpecification.html#max_on_row Online documentation} */ max_on_row?: int32 /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FlowStyleSpecification.html#horizontal_spacing Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FlowStyleSpecification.html#horizontal_spacing Online documentation} */ horizontal_spacing?: int32 /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FlowStyleSpecification.html#vertical_spacing Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FlowStyleSpecification.html#vertical_spacing Online documentation} */ vertical_spacing?: int32 } /** * A fluid amount. The amount is stored as a fixed-size signed 64 bit integer, with 24 bits reserved for decimal precision, meaning the smallest value step is `1/2^24`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidAmount.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidAmount.html Online documentation} */ export type FluidAmount = double /** @@ -6630,12 +6638,12 @@ declare module "factorio:prototype" { * production_type = "input-output", * filter = "water" * } - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidBox.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidBox.html Online documentation} */ export interface FluidBox { /** * Must be greater than 0. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidBox.html#volume Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidBox.html#volume Online documentation} */ volume: FluidAmount /** @@ -6644,34 +6652,34 @@ declare module "factorio:prototype" { * Connection points may depend on the direction the entity is facing. These connection points cannot share positions with one another or the connection points of another fluid box belonging to the same entity. * * Can't have more than 255 connections. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidBox.html#pipe_connections Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidBox.html#pipe_connections Online documentation} */ pipe_connections: readonly PipeConnectionDefinition[] /** * Can be used to specify which fluid is allowed to enter this fluid box. See {@linkplain https://forums.factorio.com/viewtopic.php?f=28&t=46302 here}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidBox.html#filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidBox.html#filter Online documentation} */ filter?: FluidID /** * **Default:** `"object"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidBox.html#render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidBox.html#render_layer Online documentation} */ render_layer?: RenderLayer /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidBox.html#draw_only_when_connected Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidBox.html#draw_only_when_connected Online documentation} */ draw_only_when_connected?: boolean /** * **Default:** `0` * * A fraction of the volume that will be "reserved" and cannot be removed by flow operations. This does nothing if the fluidbox is part of a fluid segment. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidBox.html#volume_reservation_fraction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidBox.html#volume_reservation_fraction Online documentation} */ volume_reservation_fraction?: float /** * The pictures to show when no fluid box is connected to this one. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidBox.html#pipe_covers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidBox.html#pipe_covers Online documentation} */ pipe_covers?: Sprite4Way pipe_covers_frozen?: Sprite4Way @@ -6679,57 +6687,57 @@ declare module "factorio:prototype" { pipe_picture_frozen?: Sprite4Way /** * Pipe picture variation used when owner machine is flipped. If no picture is loaded, pipe_picture is used instead. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidBox.html#mirrored_pipe_picture Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidBox.html#mirrored_pipe_picture Online documentation} */ mirrored_pipe_picture?: Sprite4Way /** * Frozen pipe picture variation used when owner machine is flipped. If no picture is loaded, pipe_picture_frozen is used instead. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidBox.html#mirrored_pipe_picture_frozen Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidBox.html#mirrored_pipe_picture_frozen Online documentation} */ mirrored_pipe_picture_frozen?: Sprite4Way /** * **Default:** `Value of `UtilityConstants::default_pipeline_extent`` * * The max extent that a pipeline with this fluidbox can span. A given pipeline's extent is calculated as the min extent of all the fluidboxes that comprise it. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidBox.html#max_pipeline_extent Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidBox.html#max_pipeline_extent Online documentation} */ max_pipeline_extent?: uint32 /** * **Default:** `"none"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidBox.html#production_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidBox.html#production_type Online documentation} */ production_type?: ProductionType /** * **Default:** `1` * * Set the secondary draw order for all orientations. Used to determine render order for sprites with the same `render_layer` in the same position. Sprites with a higher `secondary_draw_order` are drawn on top. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidBox.html#secondary_draw_order Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidBox.html#secondary_draw_order Online documentation} */ secondary_draw_order?: int8 /** * Set the secondary draw order for each orientation. Used to determine render order for sprites with the same `render_layer` in the same position. Sprites with a higher `secondary_draw_order` are drawn on top. * * The individual directions default to the value of `secondary_draw_order`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidBox.html#secondary_draw_orders Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidBox.html#secondary_draw_orders Online documentation} */ secondary_draw_orders?: FluidBoxSecondaryDrawOrders /** * Defaults to true if `pipe_picture` is not defined, otherwise defaults to false. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidBox.html#always_draw_covers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidBox.html#always_draw_covers Online documentation} */ always_draw_covers?: boolean /** * Array of the {@link WorkingVisualisation#name WorkingVisualisation::name} of working visualisations to enable when this fluidbox is present. * * If `draw_only_when_connected` is `true`, then the working visualisation are only enabled when this is *connected*. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidBox.html#enable_working_visualisations Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidBox.html#enable_working_visualisations Online documentation} */ enable_working_visualisations?: readonly string[] } export type FluidBoxLinkedConnectionID = uint32 /** * @see FluidBox.secondary_draw_orders - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidBox.html#secondary_draw_orders Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidBox.html#secondary_draw_orders Online documentation} */ export interface FluidBoxSecondaryDrawOrders { north?: int8 @@ -6741,7 +6749,7 @@ declare module "factorio:prototype" { readonly type: "fluid" /** * All standard fluid box configurations are acceptable, but the type must be `"input"` or `"input-output"` to function correctly. `scale_fluid_usage = true`, `fluid_usage_per_tick`, or a filter on the fluidbox must be set to be able to calculate the fluid usage of the energy source. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidEnergySource.html#fluid_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidEnergySource.html#fluid_box Online documentation} */ fluid_box: FluidBox output_fluid_box?: FluidBox @@ -6750,22 +6758,26 @@ declare module "factorio:prototype" { /** * **Default:** `1` * - * `1` means 100% effectivity. Must be greater than `0`. Multiplier of the energy output. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidEnergySource.html#effectivity Online documentation} + * `1` means 100% effectivity. Must be greater than `0`. + * + * How much energy the fluid energy source produces compared to how much energy it consumes. For example, an effectivity of 0.5 + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidEnergySource.html#effectivity Online documentation} */ effectivity?: double /** * **Default:** `false` * * If set to `true`, the available power output is based on the {@link FluidPrototype#fuel_value FluidPrototype::fuel_value}. Otherwise, the available power output will be based on the fluid temperature and {@link FluidPrototype#heat_capacity FluidPrototype::heat_capacity}: `energy = fluid_amount * (fluid_temperature - fluid_default_temperature) * fluid_heat_capacity * effectivity` - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidEnergySource.html#burns_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidEnergySource.html#burns_fluid Online documentation} */ burns_fluid?: boolean /** * **Default:** `false` * - * If set to `true`, the energy source will consume as much fluid as required to produce the desired power, otherwise it will consume as much as it is allowed to, wasting any excess. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidEnergySource.html#scale_fluid_usage Online documentation} + * Scales the energy source's fluid usage to its maximum power output. + * + * If this is `false` the energy source will overconsume fluid. For example when higher than `maximum_temperature` fluid is fed to the energy source, it will consume the full `fluid_usage_per_tick` and any of the extra energy in the fluid (in the form of higher temperature) is wasted. Setting scale_fluid_usage to `true` prevents this behavior. + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidEnergySource.html#scale_fluid_usage Online documentation} */ scale_fluid_usage?: boolean /** @@ -6774,43 +6786,43 @@ declare module "factorio:prototype" { * Property is only used when `burns_fluid` is `true` and the fluid has a {@link FluidPrototype#fuel_value fuel_value} of `0`, or when `burns_fluid` is `false` and the fluid is at its `default_temperature`. * * In those cases, this property determines whether the fluid should be destroyed, meaning that the fluid is consumed at the rate of `fluid_usage_per_tick`, without producing any power. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidEnergySource.html#destroy_non_fuel_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidEnergySource.html#destroy_non_fuel_fluid Online documentation} */ destroy_non_fuel_fluid?: boolean /** * **Default:** `false` * * When set, fluids consumed and produced by this energy source will not appear in fluid production statistics. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidEnergySource.html#hide_from_stats Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidEnergySource.html#hide_from_stats Online documentation} */ hide_from_stats?: boolean /** * **Default:** `0` * * The number of fluid units the energy source uses per tick. If used with `scale_fluid_usage`, this specifies the maximum. If this value is not set, `scale_energy_usage` is `false` and a fluid box filter is set, the game will attempt to calculate this value from the fluid box filter's fluid's `fuel_value` or `heat_capacity` and the entity's `energy_usage`. If `burns_fluid` is `false`, `maximum_temperature` will also be used. If the attempt of the game to calculate this value fails (`scale_energy_usage` is `false` and a fluid box filter is set), then `scale_energy_usage` will be forced to `true`, to prevent the energy source from being an infinite fluid sink. More context {@linkplain https://forums.factorio.com/90613 on the forums}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidEnergySource.html#fluid_usage_per_tick Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidEnergySource.html#fluid_usage_per_tick Online documentation} */ fluid_usage_per_tick?: FluidAmount /** * If this is specified while `scale_fluid_usage` is `false` and `fluid_usage_per_tick` is not specified, the game will use this value to calculate `fluid_usage_per_tick`. To do that, the filter on the `fluid_box` must be set. * * Only loaded if `burns_fluid` is `false`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidEnergySource.html#maximum_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidEnergySource.html#maximum_temperature Online documentation} */ maximum_temperature?: float /** * If specified, an input fluid below this temperature will cause the fluid energy source to stop working. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidEnergySource.html#minimum_input_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidEnergySource.html#minimum_input_temperature Online documentation} */ minimum_input_temperature?: float /** * If specified, an input fluid above this temperature will cause the fluid energy source to stop working. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidEnergySource.html#maximum_input_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidEnergySource.html#maximum_input_temperature Online documentation} */ maximum_input_temperature?: float /** * Fluid and amount produced per 1 unit of fluid consumed. Only used when `output_fluid_box` is defined. If this value is not provided, {@link FluidPrototype#spent_fluid FluidPrototype::spent_fluid} will be used based on the input fluid being consumed. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidEnergySource.html#spent_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidEnergySource.html#spent_fluid Online documentation} */ spent_fluid?: SpentFluidSpecification } @@ -6819,7 +6831,7 @@ declare module "factorio:prototype" { * - `"input-output"` * - `"input"` * - `"output"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidFlowDirection.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidFlowDirection.html Online documentation} */ export type FluidFlowDirection = "input-output" | "input" | "output" /** @@ -6828,99 +6840,99 @@ declare module "factorio:prototype" { * "water" * @example * "lubricant" - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidID.html Online documentation} */ export type FluidID = string /** * A fluid ingredient definition. * @example * {type="fluid", name="water", amount=50} - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidIngredientPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidIngredientPrototype.html Online documentation} */ export interface FluidIngredientPrototype { readonly type: "fluid" /** * The name of a {@link FluidPrototype}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidIngredientPrototype.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidIngredientPrototype.html#name Online documentation} */ name: FluidID /** * Can not be `<= 0`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidIngredientPrototype.html#amount Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidIngredientPrototype.html#amount Online documentation} */ amount: FluidAmount /** * Sets the expected temperature of the fluid ingredient. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidIngredientPrototype.html#temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidIngredientPrototype.html#temperature Online documentation} */ temperature?: float /** * If `temperature` is not set, this sets the expected minimum temperature of the fluid ingredient. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidIngredientPrototype.html#minimum_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidIngredientPrototype.html#minimum_temperature Online documentation} */ minimum_temperature?: float /** * If `temperature` is not set, this sets the expected maximum temperature of the fluid ingredient. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidIngredientPrototype.html#maximum_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidIngredientPrototype.html#maximum_temperature Online documentation} */ maximum_temperature?: float /** * **Default:** `0` * * Amount that should not be included in the consumption statistics, typically with a matching product having the same amount set as {@link FluidProductPrototype#ignored_by_stats ignored_by_stats}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidIngredientPrototype.html#ignored_by_stats Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidIngredientPrototype.html#ignored_by_stats Online documentation} */ ignored_by_stats?: FluidAmount /** * **Default:** `0` * * Used to specify which {@link CraftingMachinePrototype#fluid_boxes CraftingMachinePrototype::fluid_boxes} this ingredient should use. It will use this one fluidbox. The index is 1-based and separate for input and output fluidboxes. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidIngredientPrototype.html#fluidbox_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidIngredientPrototype.html#fluidbox_index Online documentation} */ fluidbox_index?: uint32 /** * Additional fluid boxes that will be also used by this fluid ingredient. If a machine does not have a fluid box with that index, then this index will be silently skipped without making recipe uncraftable. * * Only loaded if `fluidbox_index` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidIngredientPrototype.html#optional_fluidbox_indexes Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidIngredientPrototype.html#optional_fluidbox_indexes Online documentation} */ optional_fluidbox_indexes?: readonly uint32[] /** * **Default:** `3` * * Used to set crafting machine fluidbox volumes. Must be at least 1. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidIngredientPrototype.html#fluidbox_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidIngredientPrototype.html#fluidbox_multiplier Online documentation} */ fluidbox_multiplier?: uint8 } /** * A fluid product definition. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidProductPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidProductPrototype.html Online documentation} */ export interface FluidProductPrototype extends ProductPrototypeBase { readonly type: "fluid" /** * The name of a {@link FluidPrototype}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidProductPrototype.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidProductPrototype.html#name Online documentation} */ name: FluidID /** * Can not be `< 0`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidProductPrototype.html#amount Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidProductPrototype.html#amount Online documentation} */ amount?: FluidAmount /** * Only loaded, and mandatory if `amount` is not defined. * * Can not be `< 0`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidProductPrototype.html#amount_min Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidProductPrototype.html#amount_min Online documentation} */ amount_min?: FluidAmount /** * Only loaded, and mandatory if `amount` is not defined. * * If set to a number that is less than `amount_min`, the game will use `amount_min` instead. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidProductPrototype.html#amount_max Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidProductPrototype.html#amount_max Online documentation} */ amount_max?: FluidAmount /** @@ -6931,7 +6943,7 @@ declare module "factorio:prototype" { * If `ignored_by_stats` is larger than the amount crafted (for instance due to probability) it will instead show as consumed. * * Products with `ignored_by_stats` defined will not be set as recipe through the circuit network when using the product's fluid-signal. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidProductPrototype.html#ignored_by_stats Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidProductPrototype.html#ignored_by_stats Online documentation} */ ignored_by_stats?: FluidAmount /** @@ -6942,33 +6954,33 @@ declare module "factorio:prototype" { * This value can safely be set larger than the maximum expected craft amount, any excess is ignored. * * This value is ignored when {@link RecipePrototype#allow_productivity allow_productivity} is `false`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidProductPrototype.html#ignored_by_productivity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidProductPrototype.html#ignored_by_productivity Online documentation} */ ignored_by_productivity?: FluidAmount /** * The temperature of the fluid product. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidProductPrototype.html#temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidProductPrototype.html#temperature Online documentation} */ temperature?: float /** * **Default:** `0` * * Used to specify which {@link CraftingMachinePrototype#fluid_boxes CraftingMachinePrototype::fluid_boxes} this product should use. It will use this one fluidbox. The index is 1-based and separate for input and output fluidboxes. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidProductPrototype.html#fluidbox_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidProductPrototype.html#fluidbox_index Online documentation} */ fluidbox_index?: uint32 /** * **Default:** `3` * * Used to set crafting machine fluidbox volumes. Must be at least 1. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidProductPrototype.html#fluidbox_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidProductPrototype.html#fluidbox_multiplier Online documentation} */ fluidbox_multiplier?: uint8 /** * Additional fluid boxes that will be also used by this fluid product. If a machine does not have a fluid box with that index, then this index will be silently skipped without making recipe uncraftable. * * Only loaded if `fluidbox_index` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidProductPrototype.html#optional_fluidbox_indexes Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidProductPrototype.html#optional_fluidbox_indexes Online documentation} */ optional_fluidbox_indexes?: readonly uint32[] } @@ -6977,24 +6989,24 @@ declare module "factorio:prototype" { * **Default:** `"vulcanus"` * * `gleba` type is rendered per chunk and opacity of fog depends on count of tiles with {@link TilePrototype#lowland_fog lowland_fog} set to `true` on the chunk. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FogEffectProperties.html#fog_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FogEffectProperties.html#fog_type Online documentation} */ fog_type?: "vulcanus" | "gleba" shape_noise_texture: EffectTexture detail_noise_texture: EffectTexture /** * **Default:** `{1, 1, 1, 1}` - * @see {@link https://lua-api.factorio.com/2.1.22/types/FogEffectProperties.html#color1 Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FogEffectProperties.html#color1 Online documentation} */ color1?: Color /** * **Default:** `{1, 1, 1, 1}` - * @see {@link https://lua-api.factorio.com/2.1.22/types/FogEffectProperties.html#color2 Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FogEffectProperties.html#color2 Online documentation} */ color2?: Color /** * **Default:** `0.000005` - * @see {@link https://lua-api.factorio.com/2.1.22/types/FogEffectProperties.html#tick_factor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FogEffectProperties.html#tick_factor Online documentation} */ tick_factor?: float } @@ -7002,7 +7014,7 @@ declare module "factorio:prototype" { rect: SimpleBoundingBox /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/FogMaskShapeDefinition.html#falloff Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FogMaskShapeDefinition.html#falloff Online documentation} */ falloff?: float } @@ -7012,33 +7024,33 @@ declare module "factorio:prototype" { * **Default:** `true` * * If set to `false`, use the icon from {@link UtilitySprites} for this technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FollowerRobotLifetimeModifier.html#infer_icon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FollowerRobotLifetimeModifier.html#infer_icon Online documentation} */ infer_icon?: boolean /** * **Default:** `true` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FollowerRobotLifetimeModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FollowerRobotLifetimeModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean } export interface FootprintParticle { /** * The tiles this footprint particle is shown on when the player walks over them. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FootprintParticle.html#tiles Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FootprintParticle.html#tiles Online documentation} */ tiles: readonly TileID[] /** * The name of the particle that should be created when the character walks on the defined tiles. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FootprintParticle.html#particle_name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FootprintParticle.html#particle_name Online documentation} */ particle_name?: ParticleID /** * **Default:** `false` * * Whether this footprint particle should be the default particle that is used for `tiles` that don't have an associated footprint particle. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FootprintParticle.html#use_as_default Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FootprintParticle.html#use_as_default Online documentation} */ use_as_default?: boolean } @@ -7046,14 +7058,14 @@ declare module "factorio:prototype" { tiles: readonly TileID[] /** * Can be used to specify multiple CreateParticleTriggerEffectItems. If this property is defined, all properties inherited from CreateParticleTriggerEffectItem are ignored. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FootstepTriggerEffectItem.html#actions Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FootstepTriggerEffectItem.html#actions Online documentation} */ actions?: readonly CreateParticleTriggerEffectItem[] /** * **Default:** `false` * * When `true`, the trigger(s) defined in `actions` are the default triggers for tiles that don't have an associated footstep particle trigger. (ie. don't show up in one of the "tiles" lists). - * @see {@link https://lua-api.factorio.com/2.1.22/types/FootstepTriggerEffectItem.html#use_as_default Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FootstepTriggerEffectItem.html#use_as_default Online documentation} */ use_as_default?: boolean } @@ -7113,7 +7125,7 @@ declare module "factorio:prototype" { * } * } * } - * @see {@link https://lua-api.factorio.com/2.1.22/types/FootstepTriggerEffectList.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FootstepTriggerEffectList.html Online documentation} */ export type FootstepTriggerEffectList = readonly FootstepTriggerEffectItem[] /** @@ -7125,68 +7137,68 @@ declare module "factorio:prototype" { * - `"not-friend"`: Forces which are not friends pass. * - `"same"`: The same force pass. * - `"not-same"`: The non-same forces pass. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ForceCondition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ForceCondition.html Online documentation} */ export type ForceCondition = "all" | "enemy" | "ally" | "friend" | "not-friend" | "same" | "not-same" /** * Root style: `"frame"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/FrameStyleSpecification.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FrameStyleSpecification.html Online documentation} */ export interface FrameStyleSpecification extends BaseStyleSpecification { readonly type: "frame_style" /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FrameStyleSpecification.html#graphical_set Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FrameStyleSpecification.html#graphical_set Online documentation} */ graphical_set?: ElementImageSet /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FrameStyleSpecification.html#horizontal_flow_style Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FrameStyleSpecification.html#horizontal_flow_style Online documentation} */ horizontal_flow_style?: HorizontalFlowStyleSpecification /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FrameStyleSpecification.html#vertical_flow_style Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FrameStyleSpecification.html#vertical_flow_style Online documentation} */ vertical_flow_style?: VerticalFlowStyleSpecification /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FrameStyleSpecification.html#header_flow_style Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FrameStyleSpecification.html#header_flow_style Online documentation} */ header_flow_style?: HorizontalFlowStyleSpecification /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FrameStyleSpecification.html#header_filler_style Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FrameStyleSpecification.html#header_filler_style Online documentation} */ header_filler_style?: EmptyWidgetStyleSpecification /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FrameStyleSpecification.html#title_style Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FrameStyleSpecification.html#title_style Online documentation} */ title_style?: LabelStyleSpecification /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FrameStyleSpecification.html#use_header_filler Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FrameStyleSpecification.html#use_header_filler Online documentation} */ use_header_filler?: boolean /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FrameStyleSpecification.html#drag_by_title Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FrameStyleSpecification.html#drag_by_title Online documentation} */ drag_by_title?: boolean /** * **Default:** `not drawn` - * @see {@link https://lua-api.factorio.com/2.1.22/types/FrameStyleSpecification.html#header_background Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FrameStyleSpecification.html#header_background Online documentation} */ header_background?: ElementImageSet /** * **Default:** `not drawn` - * @see {@link https://lua-api.factorio.com/2.1.22/types/FrameStyleSpecification.html#background_graphical_set Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FrameStyleSpecification.html#background_graphical_set Online documentation} */ background_graphical_set?: ElementImageSet /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FrameStyleSpecification.html#border Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FrameStyleSpecification.html#border Online documentation} */ border?: BorderImageSet } @@ -7201,7 +7213,7 @@ declare module "factorio:prototype" { * "chemical" * @example * "nuclear" - * @see {@link https://lua-api.factorio.com/2.1.22/types/FuelCategoryID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FuelCategoryID.html Online documentation} */ export type FuelCategoryID = string export interface FusionGeneratorDirectionGraphicsSet { @@ -7210,7 +7222,7 @@ declare module "factorio:prototype" { fusion_effect_uv_map?: Sprite /** * The amount of items in this array has to match the amount of {@link FusionGeneratorPrototype#input_fluid_box input fluid connections}. Empty tables can be used as items to fulfill this requirement without defining graphics. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FusionGeneratorDirectionGraphicsSet.html#fluid_input_graphics Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FusionGeneratorDirectionGraphicsSet.html#fluid_input_graphics Online documentation} */ fluid_input_graphics?: readonly FusionGeneratorFluidInputGraphics[] } @@ -7226,18 +7238,18 @@ declare module "factorio:prototype" { west_graphics_set: FusionGeneratorDirectionGraphicsSet /** * **Default:** `"object"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/FusionGeneratorGraphicsSet.html#render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FusionGeneratorGraphicsSet.html#render_layer Online documentation} */ render_layer?: RenderLayer light?: LightDefinition /** * **Default:** ``{1, 1, 1}`` - * @see {@link https://lua-api.factorio.com/2.1.22/types/FusionGeneratorGraphicsSet.html#glow_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FusionGeneratorGraphicsSet.html#glow_color Online documentation} */ glow_color?: Color /** * Refer to {@link EntityPrototype#water_reflection EntityPrototype::water_reflection}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FusionGeneratorGraphicsSet.html#water_reflection Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FusionGeneratorGraphicsSet.html#water_reflection Online documentation} */ water_reflection?: WaterReflectionDefinition } @@ -7250,19 +7262,19 @@ declare module "factorio:prototype" { structure?: Sprite4Way /** * **Default:** `"object"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/FusionReactorGraphicsSet.html#render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FusionReactorGraphicsSet.html#render_layer Online documentation} */ render_layer?: RenderLayer /** * **Default:** ``{1, 1, 1}`` - * @see {@link https://lua-api.factorio.com/2.1.22/types/FusionReactorGraphicsSet.html#default_fuel_glow_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FusionReactorGraphicsSet.html#default_fuel_glow_color Online documentation} */ default_fuel_glow_color?: Color light?: LightDefinition working_light_pictures?: Sprite4Way /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/FusionReactorGraphicsSet.html#use_fuel_glow_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FusionReactorGraphicsSet.html#use_fuel_glow_color Online documentation} */ use_fuel_glow_color?: boolean fusion_effect_uv_map?: Sprite @@ -7270,12 +7282,12 @@ declare module "factorio:prototype" { direction_to_connections_graphics?: Record /** * Cannot be an empty string. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FusionReactorGraphicsSet.html#plasma_category Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FusionReactorGraphicsSet.html#plasma_category Online documentation} */ plasma_category: NeighbourConnectableConnectionCategory /** * Refer to {@link EntityPrototype#water_reflection EntityPrototype::water_reflection}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/FusionReactorGraphicsSet.html#water_reflection Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FusionReactorGraphicsSet.html#water_reflection Online documentation} */ water_reflection?: WaterReflectionDefinition } @@ -7284,123 +7296,123 @@ declare module "factorio:prototype" { * **Default:** `0` * * Vibration intensity must be between 0 and 1. - * @see {@link https://lua-api.factorio.com/2.1.22/types/GameControllerVibrationData.html#low_frequency_vibration_intensity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GameControllerVibrationData.html#low_frequency_vibration_intensity Online documentation} */ low_frequency_vibration_intensity?: float /** * **Default:** `0` * * Vibration intensity must be between 0 and 1. - * @see {@link https://lua-api.factorio.com/2.1.22/types/GameControllerVibrationData.html#high_frequency_vibration_intensity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GameControllerVibrationData.html#high_frequency_vibration_intensity Online documentation} */ high_frequency_vibration_intensity?: float /** * **Default:** `0` * * Duration in milliseconds. - * @see {@link https://lua-api.factorio.com/2.1.22/types/GameControllerVibrationData.html#duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GameControllerVibrationData.html#duration Online documentation} */ duration?: uint32 /** * **Default:** `"character_actions"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/GameControllerVibrationData.html#play_for Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GameControllerVibrationData.html#play_for Online documentation} */ play_for?: PlayFor } export interface GameViewSettings { /** * If this is defined then it sets the default value for all other properties. - * @see {@link https://lua-api.factorio.com/2.1.22/types/GameViewSettings.html#default_show_value Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GameViewSettings.html#default_show_value Online documentation} */ default_show_value?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/GameViewSettings.html#show_controller_gui Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GameViewSettings.html#show_controller_gui Online documentation} */ show_controller_gui?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/GameViewSettings.html#show_minimap Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GameViewSettings.html#show_minimap Online documentation} */ show_minimap?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/GameViewSettings.html#show_research_info Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GameViewSettings.html#show_research_info Online documentation} */ show_research_info?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/GameViewSettings.html#show_entity_info Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GameViewSettings.html#show_entity_info Online documentation} */ show_entity_info?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/GameViewSettings.html#show_alert_gui Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GameViewSettings.html#show_alert_gui Online documentation} */ show_alert_gui?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/GameViewSettings.html#update_entity_selection Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GameViewSettings.html#update_entity_selection Online documentation} */ update_entity_selection?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/GameViewSettings.html#show_rail_block_visualisation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GameViewSettings.html#show_rail_block_visualisation Online documentation} */ show_rail_block_visualisation?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/GameViewSettings.html#show_side_menu Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GameViewSettings.html#show_side_menu Online documentation} */ show_side_menu?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/GameViewSettings.html#show_pins_gui Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GameViewSettings.html#show_pins_gui Online documentation} */ show_pins_gui?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/GameViewSettings.html#show_map_view_options Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GameViewSettings.html#show_map_view_options Online documentation} */ show_map_view_options?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/GameViewSettings.html#show_entity_tooltip Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GameViewSettings.html#show_entity_tooltip Online documentation} */ show_entity_tooltip?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/GameViewSettings.html#show_quickbar Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GameViewSettings.html#show_quickbar Online documentation} */ show_quickbar?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/GameViewSettings.html#show_shortcut_bar Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GameViewSettings.html#show_shortcut_bar Online documentation} */ show_shortcut_bar?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/GameViewSettings.html#show_crafting_queue Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GameViewSettings.html#show_crafting_queue Online documentation} */ show_crafting_queue?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/GameViewSettings.html#show_tool_bar Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GameViewSettings.html#show_tool_bar Online documentation} */ show_tool_bar?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/GameViewSettings.html#show_hotkey_suggestions Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GameViewSettings.html#show_hotkey_suggestions Online documentation} */ show_hotkey_suggestions?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/GameViewSettings.html#show_surface_list Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GameViewSettings.html#show_surface_list Online documentation} */ show_surface_list?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/GameViewSettings.html#hide_tall_entities Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GameViewSettings.html#hide_tall_entities Online documentation} */ hide_tall_entities?: boolean } @@ -7412,7 +7424,7 @@ declare module "factorio:prototype" { } /** * @see GeneratorPrototype.pictures - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/GeneratorPrototype.html#pictures Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/GeneratorPrototype.html#pictures Online documentation} */ export interface GeneratorPictureSet { north?: GeneratorPictures @@ -7433,12 +7445,12 @@ declare module "factorio:prototype" { world_uv_modulo: int32 /** * The array must have at least 6 elements. - * @see {@link https://lua-api.factorio.com/2.1.22/types/GhostShimmerConfig.html#overlay_layers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GhostShimmerConfig.html#overlay_layers Online documentation} */ overlay_layers: readonly GhostShimmerOverlayData[] /** * The array must have at least 6 elements. - * @see {@link https://lua-api.factorio.com/2.1.22/types/GhostShimmerConfig.html#distortion_layers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GhostShimmerConfig.html#distortion_layers Online documentation} */ distortion_layers: readonly GhostShimmerDistortionData[] } @@ -7463,7 +7475,7 @@ declare module "factorio:prototype" { tile_ghost_delivery_tint: Color /** * Wires are hard to read when the ghost_tint is very saturated, so they use a separate tint color for better fine tuning. - * @see {@link https://lua-api.factorio.com/2.1.22/types/GhostTintSet.html#wire_tint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GhostTintSet.html#wire_tint Online documentation} */ wire_tint: Color } @@ -7472,29 +7484,29 @@ declare module "factorio:prototype" { hatch_graphics_front?: Animation /** * **Default:** `"higher-object-under"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/GigaCargoHatchDefinition.html#hatch_render_layer_back Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GigaCargoHatchDefinition.html#hatch_render_layer_back Online documentation} */ hatch_render_layer_back?: RenderLayer /** * **Default:** `"higher-object-above"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/GigaCargoHatchDefinition.html#hatch_render_layer_front Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GigaCargoHatchDefinition.html#hatch_render_layer_front Online documentation} */ hatch_render_layer_front?: RenderLayer covered_hatches: readonly uint32[] /** * Cannot use `fade_ticks`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/GigaCargoHatchDefinition.html#opening_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GigaCargoHatchDefinition.html#opening_sound Online documentation} */ opening_sound?: InterruptibleSound /** * Cannot use `fade_ticks`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/GigaCargoHatchDefinition.html#closing_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GigaCargoHatchDefinition.html#closing_sound Online documentation} */ closing_sound?: InterruptibleSound } /** * Note that when any technology prototype changes (regardless of which mod it belongs to), the game re-applies all researched technology effects, including `"give-item"` modifiers. This means that players will receive the item again, even if they already received it previously. This can be undesirable. - * @see {@link https://lua-api.factorio.com/2.1.22/types/GiveItemModifier.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GiveItemModifier.html Online documentation} */ export interface GiveItemModifier extends BaseModifier { readonly type: "give-item" @@ -7502,42 +7514,42 @@ declare module "factorio:prototype" { * **Default:** `false` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/GiveItemModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GiveItemModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean item: ItemID /** * **Default:** `"normal"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/GiveItemModifier.html#quality Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GiveItemModifier.html#quality Online documentation} */ quality?: QualityID /** * **Default:** `1` * * Must be >= `1`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/GiveItemModifier.html#count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GiveItemModifier.html#count Online documentation} */ count?: ItemCountType } export interface GlobalRecipeTints { /** * **Default:** ``{1, 1, 1, 1}`` - * @see {@link https://lua-api.factorio.com/2.1.22/types/GlobalRecipeTints.html#primary Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GlobalRecipeTints.html#primary Online documentation} */ primary?: Color /** * **Default:** ``{1, 1, 1, 1}`` - * @see {@link https://lua-api.factorio.com/2.1.22/types/GlobalRecipeTints.html#secondary Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GlobalRecipeTints.html#secondary Online documentation} */ secondary?: Color /** * **Default:** ``{1, 1, 1, 1}`` - * @see {@link https://lua-api.factorio.com/2.1.22/types/GlobalRecipeTints.html#tertiary Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GlobalRecipeTints.html#tertiary Online documentation} */ tertiary?: Color /** * **Default:** ``{1, 1, 1, 1}`` - * @see {@link https://lua-api.factorio.com/2.1.22/types/GlobalRecipeTints.html#quaternary Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GlobalRecipeTints.html#quaternary Online documentation} */ quaternary?: Color } @@ -7554,97 +7566,97 @@ declare module "factorio:prototype" { } /** * Root style: `"glow"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/GlowStyleSpecification.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GlowStyleSpecification.html Online documentation} */ export interface GlowStyleSpecification extends BaseStyleSpecification { readonly type: "glow_style" /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/GlowStyleSpecification.html#image_set Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GlowStyleSpecification.html#image_set Online documentation} */ image_set?: ElementImageSet } /** * Root style: `"graph"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/GraphStyleSpecification.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GraphStyleSpecification.html Online documentation} */ export interface GraphStyleSpecification extends BaseStyleSpecification { readonly type: "graph_style" /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/GraphStyleSpecification.html#background_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GraphStyleSpecification.html#background_color Online documentation} */ background_color?: Color /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/GraphStyleSpecification.html#line_colors Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GraphStyleSpecification.html#line_colors Online documentation} */ line_colors?: readonly Color[] /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/GraphStyleSpecification.html#horizontal_label_style Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GraphStyleSpecification.html#horizontal_label_style Online documentation} */ horizontal_label_style?: LabelStyleSpecification /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/GraphStyleSpecification.html#vertical_label_style Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GraphStyleSpecification.html#vertical_label_style Online documentation} */ vertical_label_style?: LabelStyleSpecification /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/GraphStyleSpecification.html#minimal_horizontal_label_spacing Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GraphStyleSpecification.html#minimal_horizontal_label_spacing Online documentation} */ minimal_horizontal_label_spacing?: uint32 /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/GraphStyleSpecification.html#minimal_vertical_label_spacing Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GraphStyleSpecification.html#minimal_vertical_label_spacing Online documentation} */ minimal_vertical_label_spacing?: uint32 /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/GraphStyleSpecification.html#horizontal_labels_margin Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GraphStyleSpecification.html#horizontal_labels_margin Online documentation} */ horizontal_labels_margin?: uint32 /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/GraphStyleSpecification.html#vertical_labels_margin Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GraphStyleSpecification.html#vertical_labels_margin Online documentation} */ vertical_labels_margin?: uint32 /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/GraphStyleSpecification.html#graph_top_margin Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GraphStyleSpecification.html#graph_top_margin Online documentation} */ graph_top_margin?: uint32 /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/GraphStyleSpecification.html#graph_right_margin Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GraphStyleSpecification.html#graph_right_margin Online documentation} */ graph_right_margin?: uint32 /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/GraphStyleSpecification.html#data_line_highlight_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GraphStyleSpecification.html#data_line_highlight_distance Online documentation} */ data_line_highlight_distance?: uint32 /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/GraphStyleSpecification.html#selection_dot_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GraphStyleSpecification.html#selection_dot_radius Online documentation} */ selection_dot_radius?: uint32 /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/GraphStyleSpecification.html#grid_lines_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GraphStyleSpecification.html#grid_lines_color Online documentation} */ grid_lines_color?: Color /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/GraphStyleSpecification.html#guide_lines_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GraphStyleSpecification.html#guide_lines_color Online documentation} */ guide_lines_color?: Color /** * Name of a {@link FontPrototype}. * * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/GraphStyleSpecification.html#font Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GraphStyleSpecification.html#font Online documentation} */ font?: string } @@ -7653,7 +7665,7 @@ declare module "factorio:prototype" { } /** * @see StreamAttackParameters.gun_center_shift - * @see {@link https://lua-api.factorio.com/2.1.22/types/StreamAttackParameters.html#gun_center_shift Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/StreamAttackParameters.html#gun_center_shift Online documentation} */ export interface GunShift4Way { north: Vector @@ -7667,59 +7679,59 @@ declare module "factorio:prototype" { * **Default:** `true` * * If set to `false`, use the icon from {@link UtilitySprites} for this technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/GunSpeedModifier.html#infer_icon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GunSpeedModifier.html#infer_icon Online documentation} */ infer_icon?: boolean /** * **Default:** `true` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/GunSpeedModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GunSpeedModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean /** * Name of the {@link AmmoCategory} that is affected. - * @see {@link https://lua-api.factorio.com/2.1.22/types/GunSpeedModifier.html#ammo_category Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GunSpeedModifier.html#ammo_category Online documentation} */ ammo_category: AmmoCategoryID /** * Modification value, which will be added to the current gun speed modifier upon researching. - * @see {@link https://lua-api.factorio.com/2.1.22/types/GunSpeedModifier.html#modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GunSpeedModifier.html#modifier Online documentation} */ modifier: double } /** * Used to specify heat capacity properties without a {@link HeatEnergySource heat energy source}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/HeatBuffer.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/HeatBuffer.html Online documentation} */ export interface HeatBuffer { /** * Must be >= `default_temperature`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/HeatBuffer.html#max_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/HeatBuffer.html#max_temperature Online documentation} */ max_temperature: double specific_heat: Energy max_transfer: Energy /** * **Default:** `15` - * @see {@link https://lua-api.factorio.com/2.1.22/types/HeatBuffer.html#default_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/HeatBuffer.html#default_temperature Online documentation} */ default_temperature?: double /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/HeatBuffer.html#min_temperature_gradient Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/HeatBuffer.html#min_temperature_gradient Online documentation} */ min_temperature_gradient?: double /** * **Default:** `15` * * Must be >= `default_temperature` and <= `max_temperature`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/HeatBuffer.html#min_working_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/HeatBuffer.html#min_working_temperature Online documentation} */ min_working_temperature?: double /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/HeatBuffer.html#minimum_glow_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/HeatBuffer.html#minimum_glow_temperature Online documentation} */ minimum_glow_temperature?: float pipe_covers?: Sprite4Way @@ -7728,23 +7740,23 @@ declare module "factorio:prototype" { heat_glow?: Sprite4Way /** * May contain up to 32 connections. - * @see {@link https://lua-api.factorio.com/2.1.22/types/HeatBuffer.html#connections Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/HeatBuffer.html#connections Online documentation} */ connections?: readonly HeatConnectionDefinition[] } /** * Defines the connections for {@link HeatEnergySource} and {@link HeatBuffer}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/HeatConnectionDefinition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/HeatConnectionDefinition.html Online documentation} */ export interface HeatConnectionDefinition { /** * The location of the heat pipe connection, relative to the center of the entity in the north-facing direction. - * @see {@link https://lua-api.factorio.com/2.1.22/types/HeatConnectionDefinition.html#position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/HeatConnectionDefinition.html#position Online documentation} */ position: MapPosition /** * The "outward" direction of this heat connection. For a connection to succeed, the other heat connection must face the opposite direction (a south-facing connection needs a north-facing connection to succeed). A connection rotates with the entity. - * @see {@link https://lua-api.factorio.com/2.1.22/types/HeatConnectionDefinition.html#direction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/HeatConnectionDefinition.html#direction Online documentation} */ direction: defines.direction } @@ -7752,31 +7764,31 @@ declare module "factorio:prototype" { readonly type: "heat" /** * Must be >= `default_temperature`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/HeatEnergySource.html#max_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/HeatEnergySource.html#max_temperature Online documentation} */ max_temperature: double specific_heat: Energy max_transfer: Energy /** * **Default:** `15` - * @see {@link https://lua-api.factorio.com/2.1.22/types/HeatEnergySource.html#default_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/HeatEnergySource.html#default_temperature Online documentation} */ default_temperature?: double /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/HeatEnergySource.html#min_temperature_gradient Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/HeatEnergySource.html#min_temperature_gradient Online documentation} */ min_temperature_gradient?: double /** * **Default:** `15` * * Must be >= `default_temperature` and <= `max_temperature`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/HeatEnergySource.html#min_working_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/HeatEnergySource.html#min_working_temperature Online documentation} */ min_working_temperature?: double /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/HeatEnergySource.html#minimum_glow_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/HeatEnergySource.html#minimum_glow_temperature Online documentation} */ minimum_glow_temperature?: float pipe_covers?: Sprite4Way @@ -7785,7 +7797,7 @@ declare module "factorio:prototype" { heat_glow?: Sprite4Way /** * May contain up to 32 connections. - * @see {@link https://lua-api.factorio.com/2.1.22/types/HeatEnergySource.html#connections Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/HeatEnergySource.html#connections Online documentation} */ connections?: readonly HeatConnectionDefinition[] emissions_per_minute?: Record @@ -7795,24 +7807,24 @@ declare module "factorio:prototype" { * - `"left"` * - `"center"` * - `"right"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/HorizontalAlign.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/HorizontalAlign.html Online documentation} */ export type HorizontalAlign = "left" | "center" | "right" /** * Root style: `"horizontal_flow"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/HorizontalFlowStyleSpecification.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/HorizontalFlowStyleSpecification.html Online documentation} */ export interface HorizontalFlowStyleSpecification extends BaseStyleSpecification { readonly type: "horizontal_flow_style" /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/HorizontalFlowStyleSpecification.html#horizontal_spacing Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/HorizontalFlowStyleSpecification.html#horizontal_spacing Online documentation} */ horizontal_spacing?: int32 } /** * Root style: `"horizontal_scrollbar"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/HorizontalScrollBarStyleSpecification.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/HorizontalScrollBarStyleSpecification.html Online documentation} */ export interface HorizontalScrollBarStyleSpecification extends ScrollBarStyleSpecification { readonly type: "horizontal_scrollbar_style" @@ -7866,33 +7878,33 @@ declare module "factorio:prototype" { * shift = {7, 8} * } * } - * @see {@link https://lua-api.factorio.com/2.1.22/types/IconData.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/IconData.html Online documentation} */ export interface IconData { /** * Path to the icon file. - * @see {@link https://lua-api.factorio.com/2.1.22/types/IconData.html#icon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/IconData.html#icon Online documentation} */ icon: FileName /** * **Default:** `64` * * The size of the square icon, in pixels. E.g. `32` for a 32px by 32px icon. Must be larger than `0`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/IconData.html#icon_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/IconData.html#icon_size Online documentation} */ icon_size?: SpriteSizeType /** * **Default:** ``{r=1, g=1, b=1, a=1}`` * * The tint to apply to the icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/IconData.html#tint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/IconData.html#tint Online documentation} */ tint?: Color /** * **Default:** ``{0, 0}`` * * Used to offset the icon "layer" from the overall icon. The shift is applied from the center (so negative shifts are left and up, respectively). Shift values are "in pixels" where the overall icon is assumed to be `expected_icon_size / 2` pixels in width and height, meaning shift `{0, expected_icon_size/2}` will shift it by entire icon height down. - * @see {@link https://lua-api.factorio.com/2.1.22/types/IconData.html#shift Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/IconData.html#shift Online documentation} */ shift?: Vector /** @@ -7911,88 +7923,88 @@ declare module "factorio:prototype" { * - `32` for {@link ShortcutPrototype#icons ShortcutPrototype::icons} and `24` for {@link ShortcutPrototype#small_icons ShortcutPrototype::small_icons}. * * - `64` for the rest of the prototypes that use icons. - * @see {@link https://lua-api.factorio.com/2.1.22/types/IconData.html#scale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/IconData.html#scale Online documentation} */ scale?: double /** * **Default:** ``true` for the first layer, `false` otherwise` * * Outline is drawn using signed distance field generated on load. One icon image will have only one SDF generated. That means if the image is used in multiple icons with different scales, the outline width won't match the desired width in all the scales except the largest one. - * @see {@link https://lua-api.factorio.com/2.1.22/types/IconData.html#draw_background Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/IconData.html#draw_background Online documentation} */ draw_background?: boolean /** * **Default:** `false` * * When `true` the layer is not considered for calculating bounds of the icon, so it can go out of bounds of rectangle into which the icon is drawn in GUI. - * @see {@link https://lua-api.factorio.com/2.1.22/types/IconData.html#floating Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/IconData.html#floating Online documentation} */ floating?: boolean } /** * Specification of where and how the alt-mode icons of entities should be drawn. - * @see {@link https://lua-api.factorio.com/2.1.22/types/IconDrawSpecification.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/IconDrawSpecification.html Online documentation} */ export interface IconDrawSpecification { /** * **Default:** ``{0, 0}`` - * @see {@link https://lua-api.factorio.com/2.1.22/types/IconDrawSpecification.html#shift Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/IconDrawSpecification.html#shift Online documentation} */ shift?: Vector /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/IconDrawSpecification.html#scale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/IconDrawSpecification.html#scale Online documentation} */ scale?: float /** * **Default:** `1` * * Scale of the icon when there are many items. - * @see {@link https://lua-api.factorio.com/2.1.22/types/IconDrawSpecification.html#scale_for_many Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/IconDrawSpecification.html#scale_for_many Online documentation} */ scale_for_many?: float /** * **Default:** `"entity-info-icon"` * * Render layer of the icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/IconDrawSpecification.html#render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/IconDrawSpecification.html#render_layer Online documentation} */ render_layer?: "entity-info-icon" | "entity-info-icon-above" | "air-entity-info-icon" } /** * Specification of where and how should be the icons of individual inventories be drawn. - * @see {@link https://lua-api.factorio.com/2.1.22/types/IconSequencePositioning.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/IconSequencePositioning.html Online documentation} */ export interface IconSequencePositioning { inventory_index: defines.inventory /** * **Default:** `width of entity selection box / 0.75` - * @see {@link https://lua-api.factorio.com/2.1.22/types/IconSequencePositioning.html#max_icons_per_row Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/IconSequencePositioning.html#max_icons_per_row Online documentation} */ max_icons_per_row?: uint8 /** * **Default:** `width of entity selection box / 1.5` - * @see {@link https://lua-api.factorio.com/2.1.22/types/IconSequencePositioning.html#max_icon_rows Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/IconSequencePositioning.html#max_icon_rows Online documentation} */ max_icon_rows?: uint8 /** * **Default:** `{0, 0.7}` - * @see {@link https://lua-api.factorio.com/2.1.22/types/IconSequencePositioning.html#shift Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/IconSequencePositioning.html#shift Online documentation} */ shift?: Vector /** * **Default:** `0.5` - * @see {@link https://lua-api.factorio.com/2.1.22/types/IconSequencePositioning.html#scale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/IconSequencePositioning.html#scale Online documentation} */ scale?: float /** * **Default:** `1.1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/IconSequencePositioning.html#separation_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/IconSequencePositioning.html#separation_multiplier Online documentation} */ separation_multiplier?: float /** * **Default:** `-0.1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/IconSequencePositioning.html#multi_row_initial_height_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/IconSequencePositioning.html#multi_row_initial_height_modifier Online documentation} */ multi_row_initial_height_modifier?: float } @@ -8006,23 +8018,23 @@ declare module "factorio:prototype" { * horizontally_stretchable = "on", * stretch_image_to_widget_size = true, * } - * @see {@link https://lua-api.factorio.com/2.1.22/types/ImageStyleSpecification.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ImageStyleSpecification.html Online documentation} */ export interface ImageStyleSpecification extends BaseStyleSpecification { readonly type: "image_style" /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ImageStyleSpecification.html#graphical_set Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ImageStyleSpecification.html#graphical_set Online documentation} */ graphical_set?: ElementImageSet /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ImageStyleSpecification.html#stretch_image_to_widget_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ImageStyleSpecification.html#stretch_image_to_widget_size Online documentation} */ stretch_image_to_widget_size?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ImageStyleSpecification.html#invert_colors_of_picture_when_hovered_or_toggled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ImageStyleSpecification.html#invert_colors_of_picture_when_hovered_or_toggled Online documentation} */ invert_colors_of_picture_when_hovered_or_toggled?: boolean } @@ -8036,24 +8048,24 @@ declare module "factorio:prototype" { * {type="item", name="steel-plate", amount=8} -- item ingredient * @example * {type="fluid", name="water", amount=50} -- fluid ingredient - * @see {@link https://lua-api.factorio.com/2.1.22/types/IngredientPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/IngredientPrototype.html Online documentation} */ export type IngredientPrototype = ItemIngredientPrototype | FluidIngredientPrototype export interface InsertItemTriggerEffectItem extends TriggerEffectItem { readonly type: "insert-item" /** * Name of the {@link ItemPrototype} that should be created. - * @see {@link https://lua-api.factorio.com/2.1.22/types/InsertItemTriggerEffectItem.html#item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/InsertItemTriggerEffectItem.html#item Online documentation} */ item: ItemID /** * **Default:** `"normal"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/InsertItemTriggerEffectItem.html#quality Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/InsertItemTriggerEffectItem.html#quality Online documentation} */ quality?: QualityID /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/InsertItemTriggerEffectItem.html#count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/InsertItemTriggerEffectItem.html#count Online documentation} */ count?: ItemCountType } @@ -8063,14 +8075,14 @@ declare module "factorio:prototype" { * **Default:** `false` * * If set to `false`, use the icon from {@link UtilitySprites} for this technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/InserterStackSizeBonusModifier.html#infer_icon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/InserterStackSizeBonusModifier.html#infer_icon Online documentation} */ infer_icon?: boolean /** * **Default:** `true` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/InserterStackSizeBonusModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/InserterStackSizeBonusModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean } @@ -8080,29 +8092,29 @@ declare module "factorio:prototype" { export interface InterruptibleSound { /** * At least one of sound and stopped_sound has to be defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/InterruptibleSound.html#sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/InterruptibleSound.html#sound Online documentation} */ sound?: Sound /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/InterruptibleSound.html#minimal_change_per_tick Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/InterruptibleSound.html#minimal_change_per_tick Online documentation} */ minimal_change_per_tick?: float /** * At least one of sound and stopped_sound has to be defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/InterruptibleSound.html#stopped_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/InterruptibleSound.html#stopped_sound Online documentation} */ stopped_sound?: Sound /** * **Default:** `1` * * Has to be greater or equal to `1`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/InterruptibleSound.html#minimal_sound_duration_for_stopped_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/InterruptibleSound.html#minimal_sound_duration_for_stopped_sound Online documentation} */ minimal_sound_duration_for_stopped_sound?: uint16 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/InterruptibleSound.html#fade_ticks Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/InterruptibleSound.html#fade_ticks Online documentation} */ fade_ticks?: uint32 } @@ -8111,31 +8123,31 @@ declare module "factorio:prototype" { * **Default:** `1` * * Must be >= 0. - * @see {@link https://lua-api.factorio.com/2.1.22/types/InventoryWithCustomStackSizeSpecification.html#stack_size_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/InventoryWithCustomStackSizeSpecification.html#stack_size_multiplier Online documentation} */ stack_size_multiplier?: double /** * **Default:** `1` * * Must be >= 1. - * @see {@link https://lua-api.factorio.com/2.1.22/types/InventoryWithCustomStackSizeSpecification.html#stack_size_min Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/InventoryWithCustomStackSizeSpecification.html#stack_size_min Online documentation} */ stack_size_min?: ItemCountType /** * **Default:** `1000000000` * * Must be >= stack_size_min and <= 1000000000. - * @see {@link https://lua-api.factorio.com/2.1.22/types/InventoryWithCustomStackSizeSpecification.html#stack_size_max Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/InventoryWithCustomStackSizeSpecification.html#stack_size_max Online documentation} */ stack_size_max?: ItemCountType /** * Each record value must be >= 1. For non-stackable items this value will be ignored. - * @see {@link https://lua-api.factorio.com/2.1.22/types/InventoryWithCustomStackSizeSpecification.html#stack_size_override Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/InventoryWithCustomStackSizeSpecification.html#stack_size_override Online documentation} */ stack_size_override?: Record /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/InventoryWithCustomStackSizeSpecification.html#with_bar Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/InventoryWithCustomStackSizeSpecification.html#with_bar Online documentation} */ with_bar?: boolean } @@ -8150,17 +8162,17 @@ declare module "factorio:prototype" { * "logistics" * @example * "production" - * @see {@link https://lua-api.factorio.com/2.1.22/types/ItemGroupID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ItemGroupID.html Online documentation} */ export type ItemGroupID = string /** * @see UtilityConstants.item_health_bar_colors - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#item_health_bar_colors Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#item_health_bar_colors Online documentation} */ export interface ItemHealthColorData { /** * Cannot be negative. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ItemHealthColorData.html#threshold Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ItemHealthColorData.html#threshold Online documentation} */ threshold: float color: Color @@ -8171,20 +8183,20 @@ declare module "factorio:prototype" { * "iron-plate" * @example * "blueprint-book" - * @see {@link https://lua-api.factorio.com/2.1.22/types/ItemID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ItemID.html Online documentation} */ export type ItemID = string /** * Struct type for {@link ItemIDFilter} * @see ItemIDFilter - * @see {@link https://lua-api.factorio.com/2.1.22/types/ItemIDFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ItemIDFilter.html Online documentation} */ export interface ItemIDFilterStruct { name: ItemID quality?: QualityID /** * Only loaded if `quality` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ItemIDFilter.html#comparator Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ItemIDFilter.html#comparator Online documentation} */ comparator?: ComparatorString } @@ -8195,31 +8207,31 @@ declare module "factorio:prototype" { * {type="item", name="steel-plate", amount=8} * @example * {type="item", name="iron-plate", amount=12} - * @see {@link https://lua-api.factorio.com/2.1.22/types/ItemIngredientPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ItemIngredientPrototype.html Online documentation} */ export interface ItemIngredientPrototype { readonly type: "item" name: ItemID /** * Cannot be `0`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ItemIngredientPrototype.html#amount Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ItemIngredientPrototype.html#amount Online documentation} */ amount: uint16 /** * **Default:** `0` * * Amount that should not be included in the consumption statistics, typically with a matching product having the same amount set as {@link ItemProductPrototype#ignored_by_stats ignored_by_stats}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ItemIngredientPrototype.html#ignored_by_stats Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ItemIngredientPrototype.html#ignored_by_stats Online documentation} */ ignored_by_stats?: uint16 /** * Lowest possible quality of ingredient that will be accepted. If not provided but `quality_max` is given, it will be set to the lowest quality from a quality chain to which `quality_max` belongs. When set, if the recipe would require ingredient from a different quality chain (due to quality of the recipe or quality roll), `quality_min` will be used for the quality instead. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ItemIngredientPrototype.html#quality_min Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ItemIngredientPrototype.html#quality_min Online documentation} */ quality_min?: QualityID /** * Highest possible quality of ingredient that will be accepted. If not provided but `quality_min` is given, it will be set to the highest quality from a quality chain to which `quality_min` belongs. Must belong to the same quality chain as `quality_min` and be equal or better, meaning later in the chain when following {@link QualityPrototype#next QualityPrototype::next}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ItemIngredientPrototype.html#quality_max Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ItemIngredientPrototype.html#quality_max Online documentation} */ quality_max?: QualityID /** @@ -8230,7 +8242,7 @@ declare module "factorio:prototype" { * This is the difference between the quality of the recipe and the quality of the ingredient. For a vanilla example, when legendary is selected for recipe quality, an ingredient with quality change `-1` would need to be epic quality, not legendary. * * If `quality_min` is equal to `quality_max`, this is silently set to `0` as it does not make sense to define a quality jump when ingredient quality is fixed to one value for all qualities of recipe. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ItemIngredientPrototype.html#quality_change Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ItemIngredientPrototype.html#quality_change Online documentation} */ quality_change?: int8 /** @@ -8239,32 +8251,32 @@ declare module "factorio:prototype" { * Controls how much spoil percent of this ingredient should influence spoil percent of spoilable products. * * Must be in range `[0, 1]`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ItemIngredientPrototype.html#spoil_weight Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ItemIngredientPrototype.html#spoil_weight Online documentation} */ spoil_weight?: float } /** * An item product definition. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ItemProductPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ItemProductPrototype.html Online documentation} */ export interface ItemProductPrototype extends ProductPrototypeBase { readonly type: "item" /** * The name of an {@link ItemPrototype}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ItemProductPrototype.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ItemProductPrototype.html#name Online documentation} */ name: ItemID amount?: uint16 /** * Only loaded, and mandatory if `amount` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ItemProductPrototype.html#amount_min Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ItemProductPrototype.html#amount_min Online documentation} */ amount_min?: uint16 /** * Only loaded, and mandatory if `amount` is not defined. * * If set to a number that is less than `amount_min`, the game will use `amount_min` instead. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ItemProductPrototype.html#amount_max Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ItemProductPrototype.html#amount_max Online documentation} */ amount_max?: uint16 /** @@ -8275,7 +8287,7 @@ declare module "factorio:prototype" { * If `ignored_by_stats` is larger than the amount crafted (for instance due to probability) it will instead show as consumed. * * Products with `ignored_by_stats` defined will not be set as recipe through the circuit network when using the product's item-signal. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ItemProductPrototype.html#ignored_by_stats Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ItemProductPrototype.html#ignored_by_stats Online documentation} */ ignored_by_stats?: uint16 /** @@ -8286,21 +8298,21 @@ declare module "factorio:prototype" { * This value can safely be set larger than the maximum expected craft amount, any excess is ignored. * * This value is ignored when {@link RecipePrototype#allow_productivity allow_productivity} is `false`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ItemProductPrototype.html#ignored_by_productivity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ItemProductPrototype.html#ignored_by_productivity Online documentation} */ ignored_by_productivity?: uint16 /** * **Default:** `0` * * Probability that a craft will yield one additional product. Also applies to bonus crafts caused by productivity. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ItemProductPrototype.html#extra_count_fraction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ItemProductPrototype.html#extra_count_fraction Online documentation} */ extra_count_fraction?: float /** * **Default:** `0` * * Must be >= `0` and < `1`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ItemProductPrototype.html#percent_spoiled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ItemProductPrototype.html#percent_spoiled Online documentation} */ percent_spoiled?: float /** @@ -8309,7 +8321,7 @@ declare module "factorio:prototype" { * When set to true, the item produced will be produced fresh (using percent_spoiled) even when ingredients were spoiled. * * Note: This may not work as expected outside of recipes (e.g. in mining drills). - * @see {@link https://lua-api.factorio.com/2.1.22/types/ItemProductPrototype.html#always_fresh Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ItemProductPrototype.html#always_fresh Online documentation} */ always_fresh?: boolean /** @@ -8318,21 +8330,21 @@ declare module "factorio:prototype" { * When set to true, if the recipe successfully finishes crafting without spoiling, the result is produced fresh (non-spoiled). * * Note: This may not work as expected outside of recipes (e.g. in mining drills). - * @see {@link https://lua-api.factorio.com/2.1.22/types/ItemProductPrototype.html#reset_freshness_on_craft Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ItemProductPrototype.html#reset_freshness_on_craft Online documentation} */ reset_freshness_on_craft?: boolean /** * Lowest possible quality of item that will be given. If not provided but `quality_max` is given, it will be set to the lowest quality from a quality chain to which `quality_max` belongs. When set, if the recipe would produce items from a different quality chain (due to quality of the recipe or quality roll), `quality_min` will be used for the quality instead. * * Note: If this is used outside of recipes (e.g. by mining drills), setting this to a custom quality chain will discard the quality roll. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ItemProductPrototype.html#quality_min Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ItemProductPrototype.html#quality_min Online documentation} */ quality_min?: QualityID /** * Highest possible quality of item that will be given. If not provided but `quality_min` is given, it will be set to the highest quality from a quality chain to which `quality_min` belongs. Must belong to the same quality chain as `quality_min` and be equal or better, meaning later in the chain when following {@link QualityPrototype#next QualityPrototype::next}. * * Note: If this is used outside of recipes (e.g. by mining drills), setting this to a custom quality chain will discard the quality roll. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ItemProductPrototype.html#quality_max Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ItemProductPrototype.html#quality_max Online documentation} */ quality_max?: QualityID /** @@ -8343,7 +8355,7 @@ declare module "factorio:prototype" { * This is the difference between the quality of the recipe and the quality of the product. For a vanilla example, when epic is selected for recipe quality, a product with quality change `1` would be legendary quality, not epic. * * Note: This may not work as expected outside of recipes (e.g. in mining drills). - * @see {@link https://lua-api.factorio.com/2.1.22/types/ItemProductPrototype.html#quality_change Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ItemProductPrototype.html#quality_change Online documentation} */ quality_change?: int8 /** @@ -8352,7 +8364,7 @@ declare module "factorio:prototype" { * Whether quality roll affects quality of products given. If set to `false`, result of a quality roll will be ignored and an item of quality based on quality of selected recipe will be given. * * Note: This may not work as expected outside of recipes (e.g. in mining drills). - * @see {@link https://lua-api.factorio.com/2.1.22/types/ItemProductPrototype.html#affected_by_quality Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ItemProductPrototype.html#affected_by_quality Online documentation} */ affected_by_quality?: boolean } @@ -8360,7 +8372,8 @@ declare module "factorio:prototype" { * An array containing the following values. * * ## Union members - * - `"draw-logistic-overlay"`: Whether the logistics areas of roboports should be drawn when holding this item. Used for example by the {@linkplain https://wiki.factorio.com/Deconstruction_planner deconstruction planner}. + * - `"draw-logistic-overlay"`: Whether the logistics areas of roboports should be drawn when holding this item. Used for example by the {@linkplain https://wiki.factorio.com/Deconstruction_planner deconstruction planner}. The overlay will also be drawn in some instances without this flag enabled. + * - `"disable-logistic-overlay"`: The logistics areas of roboports are never drawn when holding this item. Can't be used together with `"draw-logistic-overlay"`. * - `"excluded-from-trash-unrequested"`: Whether the trash-unrequested feature skips this item. * - `"excluded-from-character-lift-weight"`: Whether the rocket passenger feature skips this item when checking lift weight. * - `"always-show"`: Always show the item in selection lists (item filter, logistic request etc.) even when locked recipe for that item is present. @@ -8376,10 +8389,11 @@ declare module "factorio:prototype" { * - `"hide-health-bar-in-world"` * - `"hide-spoilage-bar-in-world"` * - `"no-item-on-ground-merging"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ItemPrototypeFlags.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ItemPrototypeFlags.html Online documentation} */ export type ItemPrototypeFlags = readonly ( | "draw-logistic-overlay" + | "disable-logistic-overlay" | "excluded-from-trash-unrequested" | "excluded-from-character-lift-weight" | "always-show" @@ -8403,24 +8417,24 @@ declare module "factorio:prototype" { * "capsule" * @example * "military-equipment" - * @see {@link https://lua-api.factorio.com/2.1.22/types/ItemSubGroupID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ItemSubGroupID.html Online documentation} */ export type ItemSubGroupID = string /** * Item that when placed creates this entity/tile. * @example * {item = "iron-chest", count = 1} - * @see {@link https://lua-api.factorio.com/2.1.22/types/ItemToPlace.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ItemToPlace.html Online documentation} */ export interface ItemToPlace { /** * The item used to place this entity/tile. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ItemToPlace.html#item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ItemToPlace.html#item Online documentation} */ item: ItemID /** * How many items are used to place one of this entity/tile. Can't be larger than the stack size of the item. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ItemToPlace.html#count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ItemToPlace.html#count Online documentation} */ count: ItemCountType } @@ -8429,18 +8443,18 @@ declare module "factorio:prototype" { entity?: EntityID /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/KillTipTrigger.html#match_type_only Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/KillTipTrigger.html#match_type_only Online documentation} */ match_type_only?: boolean /** * If this is not set, any damage type will fulfill the trigger condition. - * @see {@link https://lua-api.factorio.com/2.1.22/types/KillTipTrigger.html#damage_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/KillTipTrigger.html#damage_type Online documentation} */ damage_type?: DamageTypeID } /** * Root style: `"label"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/LabelStyleSpecification.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LabelStyleSpecification.html Online documentation} */ export interface LabelStyleSpecification extends BaseStyleSpecification { readonly type: "label_style" @@ -8448,67 +8462,67 @@ declare module "factorio:prototype" { * Name of a {@link FontPrototype}. * * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/LabelStyleSpecification.html#font Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LabelStyleSpecification.html#font Online documentation} */ font?: string /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/LabelStyleSpecification.html#font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LabelStyleSpecification.html#font_color Online documentation} */ font_color?: Color /** * **Default:** `Value of `font_color`` - * @see {@link https://lua-api.factorio.com/2.1.22/types/LabelStyleSpecification.html#hovered_font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LabelStyleSpecification.html#hovered_font_color Online documentation} */ hovered_font_color?: Color /** * **Default:** `Value of `font_color`` - * @see {@link https://lua-api.factorio.com/2.1.22/types/LabelStyleSpecification.html#game_controller_hovered_font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LabelStyleSpecification.html#game_controller_hovered_font_color Online documentation} */ game_controller_hovered_font_color?: Color /** * **Default:** `Value of `font_color`` - * @see {@link https://lua-api.factorio.com/2.1.22/types/LabelStyleSpecification.html#clicked_font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LabelStyleSpecification.html#clicked_font_color Online documentation} */ clicked_font_color?: Color /** * **Default:** `Value of `font_color`` - * @see {@link https://lua-api.factorio.com/2.1.22/types/LabelStyleSpecification.html#disabled_font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LabelStyleSpecification.html#disabled_font_color Online documentation} */ disabled_font_color?: Color /** * **Default:** `Value of `font_color`` - * @see {@link https://lua-api.factorio.com/2.1.22/types/LabelStyleSpecification.html#parent_hovered_font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LabelStyleSpecification.html#parent_hovered_font_color Online documentation} */ parent_hovered_font_color?: Color /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/LabelStyleSpecification.html#rich_text_setting Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LabelStyleSpecification.html#rich_text_setting Online documentation} */ rich_text_setting?: RichTextSetting /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/LabelStyleSpecification.html#single_line Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LabelStyleSpecification.html#single_line Online documentation} */ single_line?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/LabelStyleSpecification.html#underlined Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LabelStyleSpecification.html#underlined Online documentation} */ underlined?: boolean /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/LabelStyleSpecification.html#rich_text_highlight_error_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LabelStyleSpecification.html#rich_text_highlight_error_color Online documentation} */ rich_text_highlight_error_color?: Color /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/LabelStyleSpecification.html#rich_text_highlight_warning_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LabelStyleSpecification.html#rich_text_highlight_warning_color Online documentation} */ rich_text_highlight_warning_color?: Color /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/LabelStyleSpecification.html#rich_text_highlight_ok_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LabelStyleSpecification.html#rich_text_highlight_ok_color Online documentation} */ rich_text_highlight_ok_color?: Color } @@ -8518,14 +8532,14 @@ declare module "factorio:prototype" { * **Default:** `true` * * If set to `false`, use the icon from {@link UtilitySprites} for this technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/LaboratoryProductivityModifier.html#infer_icon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LaboratoryProductivityModifier.html#infer_icon Online documentation} */ infer_icon?: boolean /** * **Default:** `true` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/LaboratoryProductivityModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LaboratoryProductivityModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean } @@ -8535,21 +8549,21 @@ declare module "factorio:prototype" { * **Default:** `true` * * If set to `false`, use the icon from {@link UtilitySprites} for this technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/LaboratorySpeedModifier.html#infer_icon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LaboratorySpeedModifier.html#infer_icon Online documentation} */ infer_icon?: boolean /** * **Default:** `true` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/LaboratorySpeedModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LaboratorySpeedModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean } /** * Struct type for {@link LayeredSound} * @see LayeredSound - * @see {@link https://lua-api.factorio.com/2.1.22/types/LayeredSound.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LayeredSound.html Online documentation} */ export interface LayeredSoundStruct { layers: readonly Sound[] @@ -8558,7 +8572,7 @@ declare module "factorio:prototype" { /** * Struct type for {@link LayeredSprite} * @see LayeredSprite - * @see {@link https://lua-api.factorio.com/2.1.22/types/LayeredSprite.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LayeredSprite.html Online documentation} */ export interface LayeredSpriteStruct extends Sprite { render_layer: RenderLayer @@ -8567,7 +8581,7 @@ declare module "factorio:prototype" { /** * Struct type for {@link LayeredSprite4Way} * @see LayeredSprite4Way - * @see {@link https://lua-api.factorio.com/2.1.22/types/LayeredSprite4Way.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LayeredSprite4Way.html Online documentation} */ export interface LayeredSprite4WayStruct { north: LayeredSprite @@ -8577,73 +8591,73 @@ declare module "factorio:prototype" { } /** * Sprites for the 4 major directions of the entity. If this is loaded as a single LayeredSprite, it applies to all directions. - * @see {@link https://lua-api.factorio.com/2.1.22/types/LayeredSprite4Way.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LayeredSprite4Way.html Online documentation} */ export type LayeredSprite4Way = LayeredSprite4WayStruct | LayeredSprite export type LayeredSpriteVariations = readonly LayeredSprite[] /** * Struct type for {@link LightDefinition} * @see LightDefinition - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightDefinition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightDefinition.html Online documentation} */ export interface LightDefinitionStruct { /** * **Default:** `"basic"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightDefinition.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightDefinition.html#type Online documentation} */ readonly type?: "basic" | "oriented" /** * Only loaded, and mandatory if `type` is `"oriented"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightDefinition.html#picture Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightDefinition.html#picture Online documentation} */ picture?: Sprite /** * **Default:** `0` * * Only loaded if `type` is `"oriented"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightDefinition.html#rotation_shift Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightDefinition.html#rotation_shift Online documentation} */ rotation_shift?: RealOrientation /** * Brightness of the light in the range `[0, 1]`, where `0` is no light and `1` is the maximum light. - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightDefinition.html#intensity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightDefinition.html#intensity Online documentation} */ intensity: float /** * The radius of the light in tiles. Note that the light gets darker near the edges, so the effective size of the light will appear to be smaller. - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightDefinition.html#size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightDefinition.html#size Online documentation} */ size: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightDefinition.html#source_orientation_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightDefinition.html#source_orientation_offset Online documentation} */ source_orientation_offset?: RealOrientation /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightDefinition.html#add_perspective Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightDefinition.html#add_perspective Online documentation} */ add_perspective?: boolean /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightDefinition.html#flicker_interval Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightDefinition.html#flicker_interval Online documentation} */ flicker_interval?: uint8 /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightDefinition.html#flicker_min_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightDefinition.html#flicker_min_modifier Online documentation} */ flicker_min_modifier?: float /** * **Default:** `Value of `flicker_min_modifier`` - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightDefinition.html#flicker_max_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightDefinition.html#flicker_max_modifier Online documentation} */ flicker_max_modifier?: float /** * **Default:** `false` * * Offsets tick used to calculate flicker by position hash. Useful to desynchronize flickering of multiple stationary lights. - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightDefinition.html#offset_flicker Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightDefinition.html#offset_flicker Online documentation} */ offset_flicker?: boolean shift?: Vector @@ -8651,12 +8665,12 @@ declare module "factorio:prototype" { * **Default:** ``{r=1, g=1, b=1}`` * * Color of the light. - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightDefinition.html#color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightDefinition.html#color Online documentation} */ color?: Color /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightDefinition.html#minimum_darkness Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightDefinition.html#minimum_darkness Online documentation} */ minimum_darkness?: float } @@ -8704,68 +8718,68 @@ declare module "factorio:prototype" { * color = {r = 0.92, g = 0.77, b = 0.3} * } * } - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightDefinition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightDefinition.html Online documentation} */ export type LightDefinition = | LightDefinitionStruct | readonly { /** * **Default:** `"basic"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightDefinition.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightDefinition.html#type Online documentation} */ readonly type?: "basic" | "oriented" /** * Only loaded, and mandatory if `type` is `"oriented"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightDefinition.html#picture Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightDefinition.html#picture Online documentation} */ picture?: Sprite /** * **Default:** `0` * * Only loaded if `type` is `"oriented"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightDefinition.html#rotation_shift Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightDefinition.html#rotation_shift Online documentation} */ rotation_shift?: RealOrientation /** * Brightness of the light in the range `[0, 1]`, where `0` is no light and `1` is the maximum light. - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightDefinition.html#intensity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightDefinition.html#intensity Online documentation} */ intensity: float /** * The radius of the light in tiles. Note that the light gets darker near the edges, so the effective size of the light will appear to be smaller. - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightDefinition.html#size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightDefinition.html#size Online documentation} */ size: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightDefinition.html#source_orientation_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightDefinition.html#source_orientation_offset Online documentation} */ source_orientation_offset?: RealOrientation /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightDefinition.html#add_perspective Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightDefinition.html#add_perspective Online documentation} */ add_perspective?: boolean /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightDefinition.html#flicker_interval Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightDefinition.html#flicker_interval Online documentation} */ flicker_interval?: uint8 /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightDefinition.html#flicker_min_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightDefinition.html#flicker_min_modifier Online documentation} */ flicker_min_modifier?: float /** * **Default:** `Value of `flicker_min_modifier`` - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightDefinition.html#flicker_max_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightDefinition.html#flicker_max_modifier Online documentation} */ flicker_max_modifier?: float /** * **Default:** `false` * * Offsets tick used to calculate flicker by position hash. Useful to desynchronize flickering of multiple stationary lights. - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightDefinition.html#offset_flicker Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightDefinition.html#offset_flicker Online documentation} */ offset_flicker?: boolean shift?: Vector @@ -8773,171 +8787,171 @@ declare module "factorio:prototype" { * **Default:** ``{r=1, g=1, b=1}`` * * Color of the light. - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightDefinition.html#color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightDefinition.html#color Online documentation} */ color?: Color /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightDefinition.html#minimum_darkness Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightDefinition.html#minimum_darkness Online documentation} */ minimum_darkness?: float }[] /** * Specifies the light flicker. Note that this defaults to "showing a white light" instead of the usually expected "showing nothing". - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightFlickeringDefinition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightFlickeringDefinition.html Online documentation} */ export interface LightFlickeringDefinition { /** * **Default:** `0.2` * * Brightness of the light in the range `[0, 1]` where `0` is no light and `1` is the maximum light. - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightFlickeringDefinition.html#minimum_intensity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightFlickeringDefinition.html#minimum_intensity Online documentation} */ minimum_intensity?: float /** * **Default:** `0.8` * * Brightness of the light in the range `[0, 1]` where `0` is no light and `1` is the maximum light. - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightFlickeringDefinition.html#maximum_intensity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightFlickeringDefinition.html#maximum_intensity Online documentation} */ maximum_intensity?: float /** * **Default:** `0.3` - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightFlickeringDefinition.html#derivation_change_frequency Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightFlickeringDefinition.html#derivation_change_frequency Online documentation} */ derivation_change_frequency?: float /** * **Default:** `0.06` - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightFlickeringDefinition.html#derivation_change_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightFlickeringDefinition.html#derivation_change_deviation Online documentation} */ derivation_change_deviation?: float /** * **Default:** `0.02` - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightFlickeringDefinition.html#border_fix_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightFlickeringDefinition.html#border_fix_speed Online documentation} */ border_fix_speed?: float /** * **Default:** `0.5` * * The radius of the light in tiles. Note, that the light gets darker near the edges, so the effective size of the light seems to be smaller. - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightFlickeringDefinition.html#minimum_light_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightFlickeringDefinition.html#minimum_light_size Online documentation} */ minimum_light_size?: float /** * **Default:** `0.5` - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightFlickeringDefinition.html#light_intensity_to_size_coefficient Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightFlickeringDefinition.html#light_intensity_to_size_coefficient Online documentation} */ light_intensity_to_size_coefficient?: float /** * **Default:** `{r=1, g=1, b=1} (White)` * * Color of the light. - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightFlickeringDefinition.html#color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightFlickeringDefinition.html#color Online documentation} */ color?: Color } export interface LightProperties { /** * **Default:** `{1, 1, 1, 1}` - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightProperties.html#color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightProperties.html#color Online documentation} */ color?: Color /** * **Default:** `{1, 1, 1}` - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightProperties.html#direction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightProperties.html#direction Online documentation} */ direction?: Vector3D } export interface LightningGraphicsSet { /** * If not empty, enables the lightning shader. - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightningGraphicsSet.html#shader_configuration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightningGraphicsSet.html#shader_configuration Online documentation} */ shader_configuration?: readonly LightningShaderConfiguration[] /** * **Default:** `0.005` - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightningGraphicsSet.html#bolt_half_width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightningGraphicsSet.html#bolt_half_width Online documentation} */ bolt_half_width?: float /** * **Default:** `0.05` - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightningGraphicsSet.html#bolt_midpoint_variance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightningGraphicsSet.html#bolt_midpoint_variance Online documentation} */ bolt_midpoint_variance?: float /** * **Default:** `0.35` - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightningGraphicsSet.html#max_bolt_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightningGraphicsSet.html#max_bolt_offset Online documentation} */ max_bolt_offset?: float /** * **Default:** `0.9` - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightningGraphicsSet.html#max_fork_probability Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightningGraphicsSet.html#max_fork_probability Online documentation} */ max_fork_probability?: float /** * **Default:** `0.5` - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightningGraphicsSet.html#min_relative_fork_length Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightningGraphicsSet.html#min_relative_fork_length Online documentation} */ min_relative_fork_length?: float /** * **Default:** `0.7` - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightningGraphicsSet.html#max_relative_fork_length Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightningGraphicsSet.html#max_relative_fork_length Online documentation} */ max_relative_fork_length?: float /** * **Default:** `0.05` - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightningGraphicsSet.html#fork_orientation_variance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightningGraphicsSet.html#fork_orientation_variance Online documentation} */ fork_orientation_variance?: float /** * **Default:** `0.7` * * Cannot be 1. - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightningGraphicsSet.html#fork_intensity_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightningGraphicsSet.html#fork_intensity_multiplier Online documentation} */ fork_intensity_multiplier?: float /** * **Default:** `0.2` - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightningGraphicsSet.html#relative_cloud_fork_length Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightningGraphicsSet.html#relative_cloud_fork_length Online documentation} */ relative_cloud_fork_length?: float /** * **Default:** `0.015` - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightningGraphicsSet.html#cloud_fork_orientation_variance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightningGraphicsSet.html#cloud_fork_orientation_variance Online documentation} */ cloud_fork_orientation_variance?: float /** * **Default:** `2` - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightningGraphicsSet.html#min_ground_streamer_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightningGraphicsSet.html#min_ground_streamer_distance Online documentation} */ min_ground_streamer_distance?: float /** * **Default:** `4` - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightningGraphicsSet.html#max_ground_streamer_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightningGraphicsSet.html#max_ground_streamer_distance Online documentation} */ max_ground_streamer_distance?: float /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightningGraphicsSet.html#ground_streamer_variance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightningGraphicsSet.html#ground_streamer_variance Online documentation} */ ground_streamer_variance?: float /** * **Default:** `5` * * Cannot be 255. - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightningGraphicsSet.html#cloud_forks Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightningGraphicsSet.html#cloud_forks Online documentation} */ cloud_forks?: uint8 /** * **Default:** `3` * * Must be less than or equal to `bolt_detail_level`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightningGraphicsSet.html#cloud_detail_level Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightningGraphicsSet.html#cloud_detail_level Online documentation} */ cloud_detail_level?: uint8 /** * **Default:** `6` - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightningGraphicsSet.html#bolt_detail_level Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightningGraphicsSet.html#bolt_detail_level Online documentation} */ bolt_detail_level?: uint8 cloud_background?: Animation @@ -8947,7 +8961,7 @@ declare module "factorio:prototype" { light?: LightDefinition /** * Refer to {@link EntityPrototype#water_reflection EntityPrototype::water_reflection}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightningGraphicsSet.html#water_reflection Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightningGraphicsSet.html#water_reflection Online documentation} */ water_reflection?: WaterReflectionDefinition } @@ -8959,7 +8973,7 @@ declare module "factorio:prototype" { search_radius: double /** * Cannot be an empty array. Names of {@link LightningPrototype lightning entities}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightningProperties.html#lightning_types Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightningProperties.html#lightning_types Online documentation} */ lightning_types: readonly EntityID[] priority_rules?: readonly LightningPriorityRule[] @@ -8968,26 +8982,26 @@ declare module "factorio:prototype" { * **Default:** `0` * * Must be in range `[0, 1]`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightningProperties.html#lightning_multiplier_at_day Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightningProperties.html#lightning_multiplier_at_day Online documentation} */ lightning_multiplier_at_day?: double /** * **Default:** `1` * * Must be in range `[0, 1]`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightningProperties.html#lightning_multiplier_at_night Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightningProperties.html#lightning_multiplier_at_night Online documentation} */ lightning_multiplier_at_night?: double /** * When set, value of that surface property will be used as an additional multiplier to the lightning frequency. * * Value of that surface property is divided by {@link SurfacePropertyPrototype#default_value default_value} which means a default value must be positive (cannot be 0). When surface property has value at default, then this additional multiplier has value of 1. - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightningProperties.html#multiplier_surface_property Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightningProperties.html#multiplier_surface_property Online documentation} */ multiplier_surface_property?: SurfacePropertyID /** * Icon to render on top of entities that are endangered by lightning. When not provided, a {@link UtilitySprites#lightning_warning_icon UtilitySprites::lightning_warning_icon} will be used instead. - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightningProperties.html#lightning_warning_icon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightningProperties.html#lightning_warning_icon Online documentation} */ lightning_warning_icon?: Sprite } @@ -8997,7 +9011,7 @@ declare module "factorio:prototype" { } /** * @see LightningGraphicsSet.shader_configuration - * @see {@link https://lua-api.factorio.com/2.1.22/types/LightningGraphicsSet.html#shader_configuration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LightningGraphicsSet.html#shader_configuration Online documentation} */ export interface LightningShaderConfiguration { color: Color @@ -9010,13 +9024,13 @@ declare module "factorio:prototype" { } /** * Root style: `"line"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/LineStyleSpecification.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LineStyleSpecification.html Online documentation} */ export interface LineStyleSpecification extends BaseStyleSpecification { readonly type: "line_style" /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/LineStyleSpecification.html#border Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LineStyleSpecification.html#border Online documentation} */ border?: BorderImageSet } @@ -9044,7 +9058,7 @@ declare module "factorio:prototype" { * } * } * } - * @see {@link https://lua-api.factorio.com/2.1.22/types/LineTriggerItem.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LineTriggerItem.html Online documentation} */ export interface LineTriggerItem extends TriggerItem { readonly type: "line" @@ -9054,7 +9068,7 @@ declare module "factorio:prototype" { } /** * @see LinkedBeltPrototype.structure - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/LinkedBeltPrototype.html#structure Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/LinkedBeltPrototype.html#structure Online documentation} */ export interface LinkedBeltStructure { direction_in?: Sprite4Way @@ -9263,7 +9277,7 @@ declare module "factorio:prototype" { * - `"play-previous-track"` * - `"pause-resume-music"` * - `""`: Indicates no linked game control. - * @see {@link https://lua-api.factorio.com/2.1.22/types/LinkedGameControl.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LinkedGameControl.html Online documentation} */ export type LinkedGameControl = | "move-up" @@ -9463,18 +9477,18 @@ declare module "factorio:prototype" { | "" /** * Root style: `"list_box"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ListBoxStyleSpecification.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ListBoxStyleSpecification.html Online documentation} */ export interface ListBoxStyleSpecification extends BaseStyleSpecification { readonly type: "list_box_style" /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ListBoxStyleSpecification.html#item_style Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ListBoxStyleSpecification.html#item_style Online documentation} */ item_style?: ButtonStyleSpecification /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ListBoxStyleSpecification.html#scroll_pane_style Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ListBoxStyleSpecification.html#scroll_pane_style Online documentation} */ scroll_pane_style?: ScrollPaneStyleSpecification } @@ -9519,7 +9533,7 @@ declare module "factorio:prototype" { * -- If "entity-description.furnace" exists, it is concatenated with "\n" and returned. Otherwise, if * -- "item-description.furnace" exists, it is returned as-is. Otherwise, "optional fallback" is returned. If this * -- value wasn't specified, the translation result would be "Unknown key: 'item-description.furnace'". - * @see {@link https://lua-api.factorio.com/2.1.22/types/LocalisedString.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LocalisedString.html Online documentation} */ export type LocalisedString = string | number | boolean | undefined | readonly [string, ...LocalisedString[]] export type LogisticFilterIndex = uint16 @@ -9530,7 +9544,7 @@ declare module "factorio:prototype" { * - `"requester"` * - `"storage"` * - `"buffer"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/LogisticMode.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/LogisticMode.html Online documentation} */ export type LogisticMode = "active-provider" | "passive-provider" | "requester" | "storage" | "buffer" export interface LowPowerTipTrigger extends CountBasedTipTrigger { @@ -9539,7 +9553,7 @@ declare module "factorio:prototype" { export interface MainSound { /** * Cannot be empty. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MainSound.html#sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MainSound.html#sound Online documentation} */ sound?: Sound /** @@ -9552,21 +9566,21 @@ declare module "factorio:prototype" { * Unused when {@link WorkingSound#persistent WorkingSound::persistent} is `true`. * @example * probability = 1 / (3 * 60) -- average pause between the sound is 3 seconds - * @see {@link https://lua-api.factorio.com/2.1.22/types/MainSound.html#probability Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MainSound.html#probability Online documentation} */ probability?: double /** * **Default:** `8` * * Can't be used when `match_progress_to_activity` is `true`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MainSound.html#fade_in_ticks Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MainSound.html#fade_in_ticks Online documentation} */ fade_in_ticks?: uint32 /** * **Default:** `20` * * Can't be used when `match_progress_to_activity` is `true`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MainSound.html#fade_out_ticks Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MainSound.html#fade_out_ticks Online documentation} */ fade_out_ticks?: uint32 activity_to_volume_modifiers?: ActivityMatchingModifiers @@ -9575,17 +9589,17 @@ declare module "factorio:prototype" { * **Default:** `false` * * Unused when {@link WorkingSound#persistent WorkingSound::persistent} is `true`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MainSound.html#match_progress_to_activity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MainSound.html#match_progress_to_activity Online documentation} */ match_progress_to_activity?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/MainSound.html#match_volume_to_activity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MainSound.html#match_volume_to_activity Online documentation} */ match_volume_to_activity?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/MainSound.html#match_speed_to_activity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MainSound.html#match_speed_to_activity Online documentation} */ match_speed_to_activity?: boolean /** @@ -9594,27 +9608,27 @@ declare module "factorio:prototype" { * The `sound` is played when at least one of the specified working visualisations is drawn. * * Unused when {@link WorkingSound#persistent WorkingSound::persistent} is `true`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MainSound.html#play_for_working_visualisations Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MainSound.html#play_for_working_visualisations Online documentation} */ play_for_working_visualisations?: readonly string[] /** * The `sound` is played when the entity has one the specified direction. * * Unused when {@link WorkingSound#persistent WorkingSound::persistent} is `true`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MainSound.html#play_for_directions Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MainSound.html#play_for_directions Online documentation} */ play_for_directions?: readonly defines.direction[] /** * **Default:** `0` * * Only used if {@link WorkingSound#persistent WorkingSound::persistent} is `true`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MainSound.html#volume_smoothing_window_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MainSound.html#volume_smoothing_window_size Online documentation} */ volume_smoothing_window_size?: uint32 } /** * Triggered when the player manually moves item with the cursor, *without* using shortcuts such as entity transfer or stack split. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ManualTransferTipTrigger.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ManualTransferTipTrigger.html Online documentation} */ export interface ManualTransferTipTrigger extends CountBasedTipTrigger { readonly type: "manual-transfer" @@ -9625,7 +9639,7 @@ declare module "factorio:prototype" { target?: EntityID /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ManualWireDragTipTrigger.html#match_type_only Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ManualWireDragTipTrigger.html#match_type_only Online documentation} */ match_type_only?: boolean wire_type?: "red" | "green" | "copper" @@ -9633,7 +9647,7 @@ declare module "factorio:prototype" { export interface MapGenPreset { /** * Specifies the ordering in the {@linkplain https://wiki.factorio.com/Map_generator map generator GUI}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MapGenPreset.html#order Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MapGenPreset.html#order Online documentation} */ order: Order /** @@ -9642,17 +9656,17 @@ declare module "factorio:prototype" { * Whether this is the default preset. If `true`, this preset may not have any other properties besides this and order. * * If no MapGenPreset has `default = true`, the preset selector will have a blank preset label, with default settings. The "blank" preset goes away when another preset is selected. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MapGenPreset.html#default Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MapGenPreset.html#default Online documentation} */ default?: boolean /** * If any setting is not set, it will use the default values. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MapGenPreset.html#basic_settings Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MapGenPreset.html#basic_settings Online documentation} */ basic_settings?: MapGenSettings /** * If any setting is not set, it will use the default values. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MapGenPreset.html#advanced_settings Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MapGenPreset.html#advanced_settings Online documentation} */ advanced_settings?: AdvancedMapGenSettings } @@ -9667,17 +9681,17 @@ declare module "factorio:prototype" { enabled?: boolean /** * Percentual increase in the evolution factor for every second (60 ticks) - * @see {@link https://lua-api.factorio.com/2.1.22/types/MapGenPresetEnemyEvolutionSettings.html#time_factor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MapGenPresetEnemyEvolutionSettings.html#time_factor Online documentation} */ time_factor?: double /** * Percentual increase in the evolution factor for every destroyed spawner - * @see {@link https://lua-api.factorio.com/2.1.22/types/MapGenPresetEnemyEvolutionSettings.html#destroy_factor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MapGenPresetEnemyEvolutionSettings.html#destroy_factor Online documentation} */ destroy_factor?: double /** * Percentual increase in the evolution factor for 1 pollution unit - * @see {@link https://lua-api.factorio.com/2.1.22/types/MapGenPresetEnemyEvolutionSettings.html#pollution_factor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MapGenPresetEnemyEvolutionSettings.html#pollution_factor Online documentation} */ pollution_factor?: double } @@ -9685,61 +9699,61 @@ declare module "factorio:prototype" { enabled?: boolean /** * Distance in chunks from the furthest base around to prevent expansions from being too close to existing bases. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MapGenPresetEnemyExpansionSettings.html#min_expansion_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MapGenPresetEnemyExpansionSettings.html#min_expansion_distance Online documentation} */ min_expansion_distance?: uint32 /** * Distance in chunks from the furthest base around. This prevents expansions from reaching too far into the player's territory. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MapGenPresetEnemyExpansionSettings.html#max_expansion_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MapGenPresetEnemyExpansionSettings.html#max_expansion_distance Online documentation} */ max_expansion_distance?: uint32 /** * Size of the group that goes to build new base (the game interpolates between min size and max size based on evolution factor). - * @see {@link https://lua-api.factorio.com/2.1.22/types/MapGenPresetEnemyExpansionSettings.html#settler_group_min_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MapGenPresetEnemyExpansionSettings.html#settler_group_min_size Online documentation} */ settler_group_min_size?: uint32 settler_group_max_size?: uint32 /** * Factor by which the evolution factor influences the size of the settler group - * @see {@link https://lua-api.factorio.com/2.1.22/types/MapGenPresetEnemyExpansionSettings.html#evolution_group_size_factor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MapGenPresetEnemyExpansionSettings.html#evolution_group_size_factor Online documentation} */ evolution_group_size_factor?: double /** * Ticks to expand to a single position for a base is used. Cooldown is calculated as follows: `cooldown = lerp(max_expansion_cooldown, min_expansion_cooldown, -e^2 + 2 * e)` where `lerp` is the linear interpolation function, and e is the current evolution factor. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MapGenPresetEnemyExpansionSettings.html#min_expansion_cooldown Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MapGenPresetEnemyExpansionSettings.html#min_expansion_cooldown Online documentation} */ min_expansion_cooldown?: uint32 /** * In ticks. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MapGenPresetEnemyExpansionSettings.html#max_expansion_cooldown Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MapGenPresetEnemyExpansionSettings.html#max_expansion_cooldown Online documentation} */ max_expansion_cooldown?: uint32 /** * Cooldown in ticks for dispatching units when building bases. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MapGenPresetEnemyExpansionSettings.html#build_base_unit_dispatch_cooldown Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MapGenPresetEnemyExpansionSettings.html#build_base_unit_dispatch_cooldown Online documentation} */ build_base_unit_dispatch_cooldown?: uint32 } /** * The pollution settings, the values are for 60 ticks (1 second). - * @see {@link https://lua-api.factorio.com/2.1.22/types/MapGenPresetPollutionSettings.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MapGenPresetPollutionSettings.html Online documentation} */ export interface MapGenPresetPollutionSettings { enabled?: boolean /** * Must be <= 0.25. Amount that is diffused to neighboring chunks. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MapGenPresetPollutionSettings.html#diffusion_ratio Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MapGenPresetPollutionSettings.html#diffusion_ratio Online documentation} */ diffusion_ratio?: double /** * Must be >= 0.1. Also known as absorption modifier. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MapGenPresetPollutionSettings.html#ageing Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MapGenPresetPollutionSettings.html#ageing Online documentation} */ ageing?: double min_pollution_to_damage_trees?: double /** * Must be >= 0.1. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MapGenPresetPollutionSettings.html#enemy_attack_pollution_consumption_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MapGenPresetPollutionSettings.html#enemy_attack_pollution_consumption_modifier Online documentation} */ enemy_attack_pollution_consumption_modifier?: double pollution_restored_per_tree_damage?: double @@ -9749,55 +9763,55 @@ declare module "factorio:prototype" { * **Default:** `true` * * Whether undefined `autoplace_controls` should fall back to the default controls or not. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MapGenSettings.html#default_enable_all_autoplace_controls Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MapGenSettings.html#default_enable_all_autoplace_controls Online documentation} */ default_enable_all_autoplace_controls?: boolean autoplace_controls?: Record /** * Each setting in this table maps the string type to the settings for that type. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MapGenSettings.html#autoplace_settings Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MapGenSettings.html#autoplace_settings Online documentation} */ autoplace_settings?: Record<"entity" | "tile" | "decorative", AutoplaceSettings> /** * Map of property name (`"elevation"`, etc) to name of noise expression that will provide it. Entries may be omitted. A notable usage is changing autoplace behavior of an entity based on the preset, which cannot be read from a noise expression. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MapGenSettings.html#property_expression_names Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MapGenSettings.html#property_expression_names Online documentation} */ property_expression_names?: Record /** * Array of the positions of the starting areas. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MapGenSettings.html#starting_points Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MapGenSettings.html#starting_points Online documentation} */ starting_points?: readonly MapPosition[] /** * Read by the game, but not used or set in the GUI. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MapGenSettings.html#seed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MapGenSettings.html#seed Online documentation} */ seed?: uint32 /** * Width of the map in tiles. Silently limited to 2 000 000, ie. +/- 1 million tiles from the center in both directions. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MapGenSettings.html#width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MapGenSettings.html#width Online documentation} */ width?: uint32 /** * Height of the map in tiles. Silently limited to 2 000 000, ie. +/- 1 million tiles from the center in both directions. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MapGenSettings.html#height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MapGenSettings.html#height Online documentation} */ height?: uint32 /** * **Default:** `1` * * Size of the starting area. The starting area only effects enemy placement, and has no effect on resources. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MapGenSettings.html#starting_area Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MapGenSettings.html#starting_area Online documentation} */ starting_area?: MapGenSize /** * If true, enemy creatures will not attack unless the player first attacks them. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MapGenSettings.html#peaceful_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MapGenSettings.html#peaceful_mode Online documentation} */ peaceful_mode?: boolean /** * If true, enemy creatures will not naturally spawn from spawners, map gen, or trigger effects. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MapGenSettings.html#no_enemies_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MapGenSettings.html#no_enemies_mode Online documentation} */ no_enemies_mode?: boolean cliff_settings?: CliffPlacementSettings @@ -9828,7 +9842,7 @@ declare module "factorio:prototype" { * - `"very-high"`: equivalent to `2`. * - `"very-big"`: equivalent to `2`. * - `"very-good"`: equivalent to `2`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MapGenSize.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MapGenSize.html Online documentation} */ export type MapGenSize = | float @@ -9850,24 +9864,24 @@ declare module "factorio:prototype" { | "very-good" /** * @see NeighbourConnectableConnectionDefinition.location - * @see {@link https://lua-api.factorio.com/2.1.22/types/NeighbourConnectableConnectionDefinition.html#location Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/NeighbourConnectableConnectionDefinition.html#location Online documentation} */ export interface MapLocation { /** * Position relative to entity's position where the connection point will be located at. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MapLocation.html#position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MapLocation.html#position Online documentation} */ position: MapPosition /** * Direction this connection point will be facing to. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MapLocation.html#direction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MapLocation.html#direction Online documentation} */ direction: defines.direction } /** * Struct type for {@link MapPosition} * @see MapPosition - * @see {@link https://lua-api.factorio.com/2.1.22/types/MapPosition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MapPosition.html Online documentation} */ export interface MapPositionStruct { x: double @@ -9884,50 +9898,50 @@ declare module "factorio:prototype" { * @example * -- Shorthand * {1.625, 2.375} - * @see {@link https://lua-api.factorio.com/2.1.22/types/MapPosition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MapPosition.html Online documentation} */ export type MapPosition = MapPositionStruct | readonly [double, double] /** * `math.huge` represents the maximum possible tick. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MapTick.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MapTick.html Online documentation} */ export type MapTick = uint64 export type MaterialAmountType = double /** * Used by {@link TilePrototype}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MaterialTextureParameters.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MaterialTextureParameters.html Online documentation} */ export interface MaterialTextureParameters { /** * Frame count. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MaterialTextureParameters.html#count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MaterialTextureParameters.html#count Online documentation} */ count: uint32 picture: FileName /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/MaterialTextureParameters.html#scale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MaterialTextureParameters.html#scale Online documentation} */ scale?: float /** * **Default:** `0` * * Horizontal position of the sprite in the source file in pixels. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MaterialTextureParameters.html#x Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MaterialTextureParameters.html#x Online documentation} */ x?: SpriteSizeType /** * **Default:** `0` * * Vertical position of the sprite in the source file in pixels. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MaterialTextureParameters.html#y Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MaterialTextureParameters.html#y Online documentation} */ y?: SpriteSizeType /** * **Default:** `0` * * Once the specified number of pictures is loaded, other pictures are loaded on other line. This is to allow having longer animations in matrix, to input files with too high width. The game engine limits the width of any input files to 8192px, so it is compatible with most graphics cards. 0 means that all the pictures are in one horizontal line. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MaterialTextureParameters.html#line_length Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MaterialTextureParameters.html#line_length Online documentation} */ line_length?: uint32 } @@ -9961,7 +9975,7 @@ declare module "factorio:prototype" { * "2500 * (L - 3)" * @example * "(4e5 * (abs(speed) + 10.5)) / weight" - * @see {@link https://lua-api.factorio.com/2.1.22/types/MathExpression.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MathExpression.html Online documentation} */ export type MathExpression = string export interface MaxCargoBayUnloadingDistanceModifier extends SimpleModifier { @@ -9970,7 +9984,7 @@ declare module "factorio:prototype" { * **Default:** `true` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MaxCargoBayUnloadingDistanceModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MaxCargoBayUnloadingDistanceModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean } @@ -9980,7 +9994,7 @@ declare module "factorio:prototype" { * **Default:** `true` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MaxFailedAttemptsPerTickPerConstructionQueueModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MaxFailedAttemptsPerTickPerConstructionQueueModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean } @@ -9990,7 +10004,7 @@ declare module "factorio:prototype" { * **Default:** `true` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MaxSuccessfulAttemptsPerTickPerConstructionQueueModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MaxSuccessfulAttemptsPerTickPerConstructionQueueModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean } @@ -10000,14 +10014,14 @@ declare module "factorio:prototype" { * **Default:** `false` * * If set to `false`, use the icon from {@link UtilitySprites} for this technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MaximumFollowingRobotsCountModifier.html#infer_icon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MaximumFollowingRobotsCountModifier.html#infer_icon Online documentation} */ infer_icon?: boolean /** * **Default:** `true` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MaximumFollowingRobotsCountModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MaximumFollowingRobotsCountModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean } @@ -10028,47 +10042,47 @@ declare module "factorio:prototype" { * } * } * } - * @see {@link https://lua-api.factorio.com/2.1.22/types/MinableProperties.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MinableProperties.html Online documentation} */ export interface MinableProperties { /** * How many seconds are required to mine this object at 1 mining speed. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MinableProperties.html#mining_time Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MinableProperties.html#mining_time Online documentation} */ mining_time: double include_in_show_counts?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/MinableProperties.html#transfer_entity_health_to_products Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MinableProperties.html#transfer_entity_health_to_products Online documentation} */ transfer_entity_health_to_products?: boolean /** * The items or fluids that are returned when this object is mined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MinableProperties.html#results Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MinableProperties.html#results Online documentation} */ results?: readonly ProductPrototype[] /** * Only loaded if `results` is not defined. * * Which item is dropped when this is mined. Cannot be empty. If you want the entity to not be minable, don't specify the minable properties, if you want it to be minable with no result item, don't specify the result at all. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MinableProperties.html#result Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MinableProperties.html#result Online documentation} */ result?: ItemID /** * **Default:** `0` * * The amount of fluid that is used up when this object is mined. If this is > 0, this object cannot be mined by hand. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MinableProperties.html#fluid_amount Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MinableProperties.html#fluid_amount Online documentation} */ fluid_amount?: FluidAmount /** * Name of a {@link ParticlePrototype}. Which set of particles to use. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MinableProperties.html#mining_particle Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MinableProperties.html#mining_particle Online documentation} */ mining_particle?: ParticleID /** * Name of a {@link FluidPrototype}. The fluid that is used up when this object is mined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MinableProperties.html#required_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MinableProperties.html#required_fluid Online documentation} */ required_fluid?: FluidID /** @@ -10077,7 +10091,7 @@ declare module "factorio:prototype" { * Only loaded if `results` is not defined. * * How many of result are dropped. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MinableProperties.html#count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MinableProperties.html#count Online documentation} */ count?: uint16 mining_trigger?: Trigger @@ -10086,7 +10100,7 @@ declare module "factorio:prototype" { readonly type: "mine-entity" /** * Must contain at least 1 element. The trigger is considered fulfilled if at least one of these entities is mined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MineEntityTechnologyTrigger.html#entities Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MineEntityTechnologyTrigger.html#entities Online documentation} */ entities: readonly EntityID[] } @@ -10095,35 +10109,35 @@ declare module "factorio:prototype" { } /** * Root style: `"minimap"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/MinimapStyleSpecification.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MinimapStyleSpecification.html Online documentation} */ export interface MinimapStyleSpecification extends Omit { readonly type: "minimap_style" } /** * Used by {@link MiningDrillPrototype}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MiningDrillGraphicsSet.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MiningDrillGraphicsSet.html Online documentation} */ export interface MiningDrillGraphicsSet extends WorkingVisualisations { frozen_patch?: Sprite4Way /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/MiningDrillGraphicsSet.html#reset_animation_when_frozen Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MiningDrillGraphicsSet.html#reset_animation_when_frozen Online documentation} */ reset_animation_when_frozen?: boolean /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/MiningDrillGraphicsSet.html#drilling_vertical_movement_duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MiningDrillGraphicsSet.html#drilling_vertical_movement_duration Online documentation} */ drilling_vertical_movement_duration?: uint16 /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/MiningDrillGraphicsSet.html#animation_progress Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MiningDrillGraphicsSet.html#animation_progress Online documentation} */ animation_progress?: float /** * Only loaded if this graphics set is used in a property called `graphics_set`, refer to {@link EntityPrototype#water_reflection EntityPrototype::water_reflection}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MiningDrillGraphicsSet.html#water_reflection Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MiningDrillGraphicsSet.html#water_reflection Online documentation} */ water_reflection?: WaterReflectionDefinition } @@ -10133,14 +10147,14 @@ declare module "factorio:prototype" { * **Default:** `false` * * If set to `false`, use the icon from {@link UtilitySprites} for this technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MiningDrillProductivityBonusModifier.html#infer_icon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MiningDrillProductivityBonusModifier.html#infer_icon Online documentation} */ infer_icon?: boolean /** * **Default:** `true` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MiningDrillProductivityBonusModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MiningDrillProductivityBonusModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean } @@ -10150,18 +10164,18 @@ declare module "factorio:prototype" { * **Default:** `false` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/MiningWithFluidModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MiningWithFluidModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean } /** * The user-set value of a startup {@linkplain https://wiki.factorio.com/Tutorial:Mod_settings mod setting}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ModSetting.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ModSetting.html Online documentation} */ export interface ModSetting { /** * The value of the mod setting. The type depends on the kind of setting. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ModSetting.html#value Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ModSetting.html#value Online documentation} */ value: int32 | double | boolean | string | Color } @@ -10222,7 +10236,7 @@ declare module "factorio:prototype" { * - {@link CreateGhostOnEntityDeathModifier}: Loaded when the `type` is `"create-ghost-on-entity-death"`. * - {@link BeltStackSizeBonusModifier}: Loaded when the `type` is `"belt-stack-size-bonus"`. * - {@link UnlockLogisticNetworkModifier}: Loaded when the `type` is `"unlock-logistic-network"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Modifier.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Modifier.html Online documentation} */ export type Modifier = | InserterStackSizeBonusModifier @@ -10294,7 +10308,7 @@ declare module "factorio:prototype" { * if helpers.compare_versions(mods["base"], "2.0.56") >= 0 then * use_new_features() * end - * @see {@link https://lua-api.factorio.com/2.1.22/types/Mods.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Mods.html Online documentation} */ export type Mods = Record /** @@ -10303,7 +10317,7 @@ declare module "factorio:prototype" { * "productivity" * @example * "efficiency" - * @see {@link https://lua-api.factorio.com/2.1.22/types/ModuleCategoryID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ModuleCategoryID.html Online documentation} */ export type ModuleCategoryID = string /** @@ -10313,7 +10327,7 @@ declare module "factorio:prototype" { * - `"tertiary"` * - `"quaternary"` * - `"none"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ModuleTint.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ModuleTint.html Online documentation} */ export type ModuleTint = "primary" | "secondary" | "tertiary" | "quaternary" | "none" export interface ModuleTransferTipTrigger extends CountBasedTipTrigger { @@ -10324,54 +10338,54 @@ declare module "factorio:prototype" { * The name of a {@link MouseCursor}. * @example * "selection-tool-cursor" - * @see {@link https://lua-api.factorio.com/2.1.22/types/MouseCursorID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/MouseCursorID.html Online documentation} */ export type MouseCursorID = string /** * Defines how this entity connects to its neighbours - * @see {@link https://lua-api.factorio.com/2.1.22/types/NeighbourConnectable.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/NeighbourConnectable.html Online documentation} */ export interface NeighbourConnectable { /** * **Default:** `true` * * If the connection positions and directions will be affected by entity's direction. - * @see {@link https://lua-api.factorio.com/2.1.22/types/NeighbourConnectable.html#affected_by_direction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/NeighbourConnectable.html#affected_by_direction Online documentation} */ affected_by_direction?: boolean /** * **Default:** `0.7` * * Distance by which connection point is shifted along its direction to select a position where neighbor will be searched. - * @see {@link https://lua-api.factorio.com/2.1.22/types/NeighbourConnectable.html#neighbour_search_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/NeighbourConnectable.html#neighbour_search_distance Online documentation} */ neighbour_search_distance?: float /** * Definitions of the connection points. - * @see {@link https://lua-api.factorio.com/2.1.22/types/NeighbourConnectable.html#connections Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/NeighbourConnectable.html#connections Online documentation} */ connections: readonly NeighbourConnectableConnectionDefinition[] } export type NeighbourConnectableConnectionCategory = string /** * In order for 2 NeighbourConnectable to connect they need to share a connection point at the same position with opposite direction and both accept neighbor's category. - * @see {@link https://lua-api.factorio.com/2.1.22/types/NeighbourConnectableConnectionDefinition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/NeighbourConnectableConnectionDefinition.html Online documentation} */ export interface NeighbourConnectableConnectionDefinition { /** - * @see {@link https://lua-api.factorio.com/2.1.22/types/NeighbourConnectableConnectionDefinition.html#location Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/NeighbourConnectableConnectionDefinition.html#location Online documentation} */ location: MapLocation /** * Name of a category this connection should belong to. Used when deciding which connections are allowed to connect to this. * * Cannot be an empty string. - * @see {@link https://lua-api.factorio.com/2.1.22/types/NeighbourConnectableConnectionDefinition.html#category Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/NeighbourConnectableConnectionDefinition.html#category Online documentation} */ category: NeighbourConnectableConnectionCategory /** * Table of neighbor categories this connection will connect to. - * @see {@link https://lua-api.factorio.com/2.1.22/types/NeighbourConnectableConnectionDefinition.html#neighbour_category Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/NeighbourConnectableConnectionDefinition.html#neighbour_category Online documentation} */ neighbour_category?: readonly NeighbourConnectableConnectionCategory[] } @@ -10392,7 +10406,7 @@ declare module "factorio:prototype" { * * - **Operator:** See the list below * - * Identifiers are used to name functions and variables. The built-in functions and variables are documented in the {@linkplain https://lua-api.factorio.com/2.1.22/auxiliary/noise-expressions.html auxiliary docs}. Mods can define their own noise expressions which can be used as variables and functions. The entry points for this are {@link NamedNoiseFunction} and {@link NamedNoiseExpression} as well as local functions and expressions. + * Identifiers are used to name functions and variables. The built-in functions and variables are documented in the {@linkplain https://lua-api.factorio.com/2.1.24/auxiliary/noise-expressions.html auxiliary docs}. Mods can define their own noise expressions which can be used as variables and functions. The entry points for this are {@link NamedNoiseFunction} and {@link NamedNoiseExpression} as well as local functions and expressions. * * All functions accept both named and positional arguments. To differentiate between these function calls, positional arguments start/end with `(`/`)` and named arguments with `{`/`}`, e.g. `clamp(x, -1, 1)` and `clamp{min = -1, max = 1, value = x}` are the same function call. Because of this, positional arguments can't be mixed with named arguments. A function can't have more than 255 parameters. * @@ -10429,19 +10443,19 @@ declare module "factorio:prototype" { * "distance_from_nearest_point{x = x, y = y, points = starting_positions}" * @example * "clamp(x, -1, 1)" - * @see {@link https://lua-api.factorio.com/2.1.22/types/NoiseExpression.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/NoiseExpression.html Online documentation} */ export type NoiseExpression = string | boolean | double /** * The advantage of noise functions over {@link NoiseExpression noise expressions} is that they have parameters. - * @see {@link https://lua-api.factorio.com/2.1.22/types/NoiseFunction.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/NoiseFunction.html Online documentation} */ export interface NoiseFunction { /** * The order of the parameters matters because functions can also be called with positional arguments. * * A function can't have more than 255 parameters. - * @see {@link https://lua-api.factorio.com/2.1.22/types/NoiseFunction.html#parameters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/NoiseFunction.html#parameters Online documentation} */ parameters: readonly string[] expression: NoiseExpression @@ -10449,20 +10463,20 @@ declare module "factorio:prototype" { * A map of expression name to expression. * * Local expressions are meant to store data locally similar to local variables in Lua. Their purpose is to hold noise expressions used multiple times in the named noise expression, or just to tell the reader that the local expression has a specific purpose. Local expressions can access other local definitions and also function parameters, but recursive definitions aren't supported. - * @see {@link https://lua-api.factorio.com/2.1.22/types/NoiseFunction.html#local_expressions Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/NoiseFunction.html#local_expressions Online documentation} */ local_expressions?: Record /** * A map of function name to function. * * Local functions serve the same purpose as local expressions - they aren't visible outside of the specific prototype and they have access to other local definitions. - * @see {@link https://lua-api.factorio.com/2.1.22/types/NoiseFunction.html#local_functions Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/NoiseFunction.html#local_functions Online documentation} */ local_functions?: Record } /** * Modifier that does nothing. Can be used to show custom scripted effects in the technology GUI. - * @see {@link https://lua-api.factorio.com/2.1.22/types/NothingModifier.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/NothingModifier.html Online documentation} */ export interface NothingModifier extends BaseModifier { readonly type: "nothing" @@ -10470,7 +10484,7 @@ declare module "factorio:prototype" { * **Default:** `false` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/NothingModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/NothingModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean effect_description?: LocalisedString @@ -10478,42 +10492,42 @@ declare module "factorio:prototype" { export interface OffshorePumpGraphicsSet { /** * Rendered in "object" layer, with secondary draw order 0. - * @see {@link https://lua-api.factorio.com/2.1.22/types/OffshorePumpGraphicsSet.html#animation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/OffshorePumpGraphicsSet.html#animation Online documentation} */ animation?: Animation4Way /** * **Default:** `"ground-patch"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/OffshorePumpGraphicsSet.html#base_render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/OffshorePumpGraphicsSet.html#base_render_layer Online documentation} */ base_render_layer?: RenderLayer /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/OffshorePumpGraphicsSet.html#underwater_layer_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/OffshorePumpGraphicsSet.html#underwater_layer_offset Online documentation} */ underwater_layer_offset?: int8 /** * Rendered in "object" layer, with secondary draw order 20. - * @see {@link https://lua-api.factorio.com/2.1.22/types/OffshorePumpGraphicsSet.html#fluid_animation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/OffshorePumpGraphicsSet.html#fluid_animation Online documentation} */ fluid_animation?: Animation4Way /** * Rendered in "object" layer, with secondary draw order 40. - * @see {@link https://lua-api.factorio.com/2.1.22/types/OffshorePumpGraphicsSet.html#glass_pictures Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/OffshorePumpGraphicsSet.html#glass_pictures Online documentation} */ glass_pictures?: Sprite4Way /** * Rendered in layer specified by `base_render_layer`, with secondary draw order 0. - * @see {@link https://lua-api.factorio.com/2.1.22/types/OffshorePumpGraphicsSet.html#base_pictures Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/OffshorePumpGraphicsSet.html#base_pictures Online documentation} */ base_pictures?: Sprite4Way /** * Drawn by tile renderer when water animation is enabled. - * @see {@link https://lua-api.factorio.com/2.1.22/types/OffshorePumpGraphicsSet.html#underwater_pictures Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/OffshorePumpGraphicsSet.html#underwater_pictures Online documentation} */ underwater_pictures?: Sprite4Way /** * Refer to {@link EntityPrototype#water_reflection EntityPrototype::water_reflection}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/OffshorePumpGraphicsSet.html#water_reflection Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/OffshorePumpGraphicsSet.html#water_reflection Online documentation} */ water_reflection?: WaterReflectionDefinition } @@ -10521,7 +10535,7 @@ declare module "factorio:prototype" { readonly type: "or" /** * If at least one of the triggers is fulfilled, this trigger is considered fulfilled. - * @see {@link https://lua-api.factorio.com/2.1.22/types/OrTipTrigger.html#triggers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/OrTipTrigger.html#triggers Online documentation} */ triggers: readonly TipTrigger[] } @@ -10578,7 +10592,7 @@ declare module "factorio:prototype" { * name = "item-2", * order = "ab", * } - * @see {@link https://lua-api.factorio.com/2.1.22/types/Order.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Order.html Online documentation} */ export type Order = string export interface OrientedCliffPrototype { @@ -10589,7 +10603,7 @@ declare module "factorio:prototype" { } /** * @see CliffPrototype.orientations - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/CliffPrototype.html#orientations Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/CliffPrototype.html#orientations Online documentation} */ export interface OrientedCliffPrototypeSet { west_to_east: OrientedCliffPrototype @@ -10615,7 +10629,7 @@ declare module "factorio:prototype" { } /** * @see ProgressBarStyleSpecification.other_colors - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProgressBarStyleSpecification.html#other_colors Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProgressBarStyleSpecification.html#other_colors Online documentation} */ export interface OtherColors { less_than: double @@ -10628,7 +10642,7 @@ declare module "factorio:prototype" { * "beacon-metal-particle-small" * @example * "wooden-particle" - * @see {@link https://lua-api.factorio.com/2.1.22/types/ParticleID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ParticleID.html Online documentation} */ export type ParticleID = string export interface PasteEntitySettingsTipTrigger extends CountBasedTipTrigger { @@ -10637,147 +10651,147 @@ declare module "factorio:prototype" { target?: EntityID /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/PasteEntitySettingsTipTrigger.html#match_type_only Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PasteEntitySettingsTipTrigger.html#match_type_only Online documentation} */ match_type_only?: boolean } export interface PathFinderSettings { /** * The pathfinder performs a step of the backward search every `fwd2bwd_ratio`'th step. The minimum allowed value is 2, which means symmetric search. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PathFinderSettings.html#fwd2bwd_ratio Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PathFinderSettings.html#fwd2bwd_ratio Online documentation} */ fwd2bwd_ratio: uint32 /** * When comparing nodes in open which one to check next, heuristic value is multiplied by this ratio. The higher the number the more is the search directed directly towards the goal. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PathFinderSettings.html#goal_pressure_ratio Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PathFinderSettings.html#goal_pressure_ratio Online documentation} */ goal_pressure_ratio: double use_path_cache: boolean /** * When this is exhausted no more requests are allowed, at the moment the first path to exhaust this will be finished (even if it is hundreds of steps). - * @see {@link https://lua-api.factorio.com/2.1.22/types/PathFinderSettings.html#max_steps_worked_per_tick Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PathFinderSettings.html#max_steps_worked_per_tick Online documentation} */ max_steps_worked_per_tick: double max_work_done_per_tick: uint32 /** * Number of elements in the cache. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PathFinderSettings.html#short_cache_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PathFinderSettings.html#short_cache_size Online documentation} */ short_cache_size: uint32 long_cache_size: uint32 /** * Minimal distance to goal for path to be searched in short path cache. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PathFinderSettings.html#short_cache_min_cacheable_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PathFinderSettings.html#short_cache_min_cacheable_distance Online documentation} */ short_cache_min_cacheable_distance: double /** * Minimal number of algorithm steps for path to be inserted into the short path cache. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PathFinderSettings.html#short_cache_min_algo_steps_to_cache Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PathFinderSettings.html#short_cache_min_algo_steps_to_cache Online documentation} */ short_cache_min_algo_steps_to_cache: uint32 /** * Minimal distance to goal for path to be searched in long path cache. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PathFinderSettings.html#long_cache_min_cacheable_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PathFinderSettings.html#long_cache_min_cacheable_distance Online documentation} */ long_cache_min_cacheable_distance: double /** * When searching for connection to path cache path, search at most for this number of steps times the initial estimate. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PathFinderSettings.html#cache_max_connect_to_cache_steps_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PathFinderSettings.html#cache_max_connect_to_cache_steps_multiplier Online documentation} */ cache_max_connect_to_cache_steps_multiplier: uint32 /** * When looking for path from cache make sure it doesn't start too far from requested start in relative distance terms. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PathFinderSettings.html#cache_accept_path_start_distance_ratio Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PathFinderSettings.html#cache_accept_path_start_distance_ratio Online documentation} */ cache_accept_path_start_distance_ratio: double /** * When looking for path from cache make sure it doesn't end too far from requested end. This is typically higher than accept value for the start because the end target can be moving. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PathFinderSettings.html#cache_accept_path_end_distance_ratio Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PathFinderSettings.html#cache_accept_path_end_distance_ratio Online documentation} */ cache_accept_path_end_distance_ratio: double /** * Same as cache_accept_path_start_distance_ratio, but used for negative cache queries. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PathFinderSettings.html#negative_cache_accept_path_start_distance_ratio Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PathFinderSettings.html#negative_cache_accept_path_start_distance_ratio Online documentation} */ negative_cache_accept_path_start_distance_ratio: double /** * Same as cache_accept_path_end_distance_ratio, but used for negative cache queries. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PathFinderSettings.html#negative_cache_accept_path_end_distance_ratio Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PathFinderSettings.html#negative_cache_accept_path_end_distance_ratio Online documentation} */ negative_cache_accept_path_end_distance_ratio: double /** * When assigning rating to the best path this * start distances is considered. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PathFinderSettings.html#cache_path_start_distance_rating_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PathFinderSettings.html#cache_path_start_distance_rating_multiplier Online documentation} */ cache_path_start_distance_rating_multiplier: double /** * When assigning rating to the best path this * end distances is considered. This is typically higher than value for the start to achieve better path end quality. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PathFinderSettings.html#cache_path_end_distance_rating_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PathFinderSettings.html#cache_path_end_distance_rating_multiplier Online documentation} */ cache_path_end_distance_rating_multiplier: double /** * Somewhere along the path is stuck enemy we need to avoid. This is mainly to handle situations when units have arrived and are attacking the target then units further in the back will use this and run around the target. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PathFinderSettings.html#stale_enemy_with_same_destination_collision_penalty Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PathFinderSettings.html#stale_enemy_with_same_destination_collision_penalty Online documentation} */ stale_enemy_with_same_destination_collision_penalty: double /** * If there is a moving unit further than this we don't really care. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PathFinderSettings.html#ignore_moving_enemy_collision_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PathFinderSettings.html#ignore_moving_enemy_collision_distance Online documentation} */ ignore_moving_enemy_collision_distance: double /** * Enemy is not moving/or is too close and has different destination. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PathFinderSettings.html#enemy_with_different_destination_collision_penalty Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PathFinderSettings.html#enemy_with_different_destination_collision_penalty Online documentation} */ enemy_with_different_destination_collision_penalty: double /** * Simplification for now; collision with everything else is this. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PathFinderSettings.html#general_entity_collision_penalty Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PathFinderSettings.html#general_entity_collision_penalty Online documentation} */ general_entity_collision_penalty: double /** * Collision penalty for successors of positions that require destroy to reach. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PathFinderSettings.html#general_entity_subsequent_collision_penalty Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PathFinderSettings.html#general_entity_subsequent_collision_penalty Online documentation} */ general_entity_subsequent_collision_penalty: double /** * Collision penalty for collisions in the extended bounding box but outside the entity's actual bounding box. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PathFinderSettings.html#extended_collision_penalty Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PathFinderSettings.html#extended_collision_penalty Online documentation} */ extended_collision_penalty: double /** * Up until this amount any client will be served by the path finder (no estimate on the path length). - * @see {@link https://lua-api.factorio.com/2.1.22/types/PathFinderSettings.html#max_clients_to_accept_any_new_request Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PathFinderSettings.html#max_clients_to_accept_any_new_request Online documentation} */ max_clients_to_accept_any_new_request: uint32 /** * From max_clients_to_accept_any_new_request till this one only those that have a short estimate will be served. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PathFinderSettings.html#max_clients_to_accept_short_new_request Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PathFinderSettings.html#max_clients_to_accept_short_new_request Online documentation} */ max_clients_to_accept_short_new_request: uint32 /** * This is the "threshold" to decide what is short and what is not. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PathFinderSettings.html#direct_distance_to_consider_short_request Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PathFinderSettings.html#direct_distance_to_consider_short_request Online documentation} */ direct_distance_to_consider_short_request: uint32 /** * If a short request takes more than this many steps, it will be rescheduled as a long request. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PathFinderSettings.html#short_request_max_steps Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PathFinderSettings.html#short_request_max_steps Online documentation} */ short_request_max_steps: uint32 /** * How many steps will be allocated to short requests each tick, as a ratio of all available steps per tick. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PathFinderSettings.html#short_request_ratio Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PathFinderSettings.html#short_request_ratio Online documentation} */ short_request_ratio: double /** * Absolute minimum of steps that will be performed for every path find request no matter what. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PathFinderSettings.html#min_steps_to_check_path_find_termination Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PathFinderSettings.html#min_steps_to_check_path_find_termination Online documentation} */ min_steps_to_check_path_find_termination: uint32 /** * If the current actual cost from start is higher than this times estimate of start to goal then path finding is terminated. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PathFinderSettings.html#start_to_goal_cost_multiplier_to_terminate_path_find Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PathFinderSettings.html#start_to_goal_cost_multiplier_to_terminate_path_find Online documentation} */ start_to_goal_cost_multiplier_to_terminate_path_find: double overload_levels: readonly uint32[] @@ -10786,7 +10800,7 @@ declare module "factorio:prototype" { } /** * Not all prototypes that use this type are affected by all properties. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PerceivedPerformance.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PerceivedPerformance.html Online documentation} */ export interface PerceivedPerformance { /** @@ -10795,28 +10809,28 @@ declare module "factorio:prototype" { * Affects animation speed. * * Must be less than or equal to `maximum`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PerceivedPerformance.html#minimum Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PerceivedPerformance.html#minimum Online documentation} */ minimum?: double /** * **Default:** `Max double` * * Affects animation speed. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PerceivedPerformance.html#maximum Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PerceivedPerformance.html#maximum Online documentation} */ maximum?: double /** * **Default:** `1` * * Affects {@link MainSound} if {@link MainSound#match_progress_to_activity MainSound::match_progress_to_activity}, {@link MainSound#match_volume_to_activity MainSound::match_volume_to_activity} or {@link MainSound#match_speed_to_activity MainSound::match_speed_to_activity} is `true`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PerceivedPerformance.html#performance_to_activity_rate Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PerceivedPerformance.html#performance_to_activity_rate Online documentation} */ performance_to_activity_rate?: double } /** * Struct type for {@link PersistentWorldAmbientSoundDefinition} * @see PersistentWorldAmbientSoundDefinition - * @see {@link https://lua-api.factorio.com/2.1.22/types/PersistentWorldAmbientSoundDefinition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PersistentWorldAmbientSoundDefinition.html Online documentation} */ export interface PersistentWorldAmbientSoundDefinitionStruct { sound: Sound @@ -10825,12 +10839,12 @@ declare module "factorio:prototype" { export interface PersistentWorldAmbientSoundsDefinition { /** * Mandatory if `crossfade` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PersistentWorldAmbientSoundsDefinition.html#base_ambience Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PersistentWorldAmbientSoundsDefinition.html#base_ambience Online documentation} */ base_ambience?: PersistentWorldAmbientSoundDefinition | readonly PersistentWorldAmbientSoundDefinition[] /** * Mandatory if `crossfade` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PersistentWorldAmbientSoundsDefinition.html#wind Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PersistentWorldAmbientSoundsDefinition.html#wind Online documentation} */ wind?: PersistentWorldAmbientSoundDefinition | readonly PersistentWorldAmbientSoundDefinition[] crossfade?: PersistentWorldAmbientSoundsDefinitionCrossfade @@ -10844,42 +10858,42 @@ declare module "factorio:prototype" { * **Default:** `"input-output"` * * Allowed direction of fluid flow at this connection. Pipeline entities (`pipe`, `pipe-to-ground`, and `storage-tank`) do not support this property. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PipeConnectionDefinition.html#flow_direction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PipeConnectionDefinition.html#flow_direction Online documentation} */ flow_direction?: FluidFlowDirection /** * **Default:** `"normal"` * * Selects set of rules to follow when looking for other FluidBox this connection should connect to. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PipeConnectionDefinition.html#connection_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PipeConnectionDefinition.html#connection_type Online documentation} */ connection_type?: PipeConnectionType /** * Array of the {@link WorkingVisualisation#name WorkingVisualisation::name} of working visualisations to enable when this pipe connection is present. * * If the owning fluidbox has {@link FluidBox#draw_only_when_connected draw_only_when_connected} set to `true`, then the working visualisation is only enabled if this pipe connection is *connected*. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PipeConnectionDefinition.html#enable_working_visualisations Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PipeConnectionDefinition.html#enable_working_visualisations Online documentation} */ enable_working_visualisations?: readonly string[] /** * **Default:** `false` * * If true, connection arrows and fluid icons will not be drawn for this connection when the entity is selected or in alt-mode. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PipeConnectionDefinition.html#hide_connection_info Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PipeConnectionDefinition.html#hide_connection_info Online documentation} */ hide_connection_info?: boolean /** * Primary direction this connection points to when entity direction is north and the entity is not mirrored. When entity is rotated or mirrored, effective direction will be computed based on this value. * * Only loaded, and mandatory if `connection_type` is `"normal"` or `"underground"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PipeConnectionDefinition.html#direction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PipeConnectionDefinition.html#direction Online documentation} */ direction?: defines.direction /** * Position relative to entity's center where pipes can connect to this fluidbox regardless the directions of entity. * * Only loaded if `connection_type` is `"normal"` or `"underground"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PipeConnectionDefinition.html#position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PipeConnectionDefinition.html#position Online documentation} */ position?: MapPosition /** @@ -10888,7 +10902,7 @@ declare module "factorio:prototype" { * This is used for example by "pumpjack" where connections are consistently near bottom-left corner (2 directions) or near top-right corner (2 directions). * * Only loaded, and mandatory if `position` is not defined and if `connection_type` is `"normal"` or `"underground"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PipeConnectionDefinition.html#positions Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PipeConnectionDefinition.html#positions Online documentation} */ positions?: readonly [MapPosition, MapPosition, MapPosition, MapPosition] /** @@ -10897,7 +10911,7 @@ declare module "factorio:prototype" { * Relative position of the pipe connection when entity direction is north-east. * * Only loaded if `connection_type` is `"normal"` or `"underground"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PipeConnectionDefinition.html#alt_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PipeConnectionDefinition.html#alt_position Online documentation} */ alt_position?: MapPosition /** @@ -10906,7 +10920,7 @@ declare module "factorio:prototype" { * Direction this connection should be facing when entity direction is north-east. When entity is rotated, effective direction will be computed based on this value. * * Only loaded if `connection_type` is `"normal"` or `"underground"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PipeConnectionDefinition.html#alt_direction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PipeConnectionDefinition.html#alt_direction Online documentation} */ alt_direction?: defines.direction /** @@ -10921,19 +10935,19 @@ declare module "factorio:prototype" { * May have at most one category when `connection_type` is `"underground"`. * * Only loaded if `connection_type` is `"normal"` or `"underground"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PipeConnectionDefinition.html#connection_category Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PipeConnectionDefinition.html#connection_category Online documentation} */ connection_category?: string | readonly string[] /** * **Default:** `0` * * Only loaded if `connection_type` is `"underground"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PipeConnectionDefinition.html#max_underground_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PipeConnectionDefinition.html#max_underground_distance Online documentation} */ max_underground_distance?: uint8 /** * Only loaded if `connection_type` is `"underground"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PipeConnectionDefinition.html#max_distance_tint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PipeConnectionDefinition.html#max_distance_tint Online documentation} */ max_distance_tint?: Color /** @@ -10942,14 +10956,14 @@ declare module "factorio:prototype" { * In order to connect, both ends must have the same collision mask specified. * * Only loaded if `connection_type` is `"underground"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PipeConnectionDefinition.html#underground_collision_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PipeConnectionDefinition.html#underground_collision_mask Online documentation} */ underground_collision_mask?: CollisionMaskConnector /** * Expected to be unique inside of a single entity. Used to uniquely identify where a linked connection should connect to. * * Only loaded, and mandatory if `connection_type` is `"linked"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PipeConnectionDefinition.html#linked_connection_id Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PipeConnectionDefinition.html#linked_connection_id Online documentation} */ linked_connection_id?: FluidBoxLinkedConnectionID } @@ -10959,7 +10973,7 @@ declare module "factorio:prototype" { * - `"underground"`: Allows distant connection up to a certain limit. Those connections may be blocked by tiles. * - `"linked"`: For mods, connections between entities have to be explicitly requested by script. * @see PipeConnectionDefinition.connection_type - * @see {@link https://lua-api.factorio.com/2.1.22/types/PipeConnectionDefinition.html#connection_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PipeConnectionDefinition.html#connection_type Online documentation} */ export type PipeConnectionType = "normal" | "underground" | "linked" export interface PipePictures { @@ -11040,35 +11054,35 @@ declare module "factorio:prototype" { fluid_background?: Sprite /** * Visualizes the flow of the fluid in the pipe. Drawn when `(fluid_temp - fluid_min_temp) / (fluid_max_temp - fluid_min_temp)` is less than or equal to `1/3` and the fluid's temperature is below {@link FluidPrototype#gas_temperature FluidPrototype::gas_temperature}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PipePictures.html#low_temperature_flow Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PipePictures.html#low_temperature_flow Online documentation} */ low_temperature_flow?: Sprite /** * Visualizes the flow of the fluid in the pipe. Drawn when `(fluid_temp - fluid_min_temp) / (fluid_max_temp - fluid_min_temp)` is larger than `1/3` and less than or equal to `2/3` and the fluid's temperature is below {@link FluidPrototype#gas_temperature FluidPrototype::gas_temperature}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PipePictures.html#middle_temperature_flow Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PipePictures.html#middle_temperature_flow Online documentation} */ middle_temperature_flow?: Sprite /** * Visualizes the flow of the fluid in the pipe. Drawn when `(fluid_temp - fluid_min_temp) / (fluid_max_temp - fluid_min_temp)` is larger than `2/3` and the fluid's temperature is below {@link FluidPrototype#gas_temperature FluidPrototype::gas_temperature}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PipePictures.html#high_temperature_flow Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PipePictures.html#high_temperature_flow Online documentation} */ high_temperature_flow?: Sprite /** * Visualizes the flow of the fluid in the pipe. Drawn when the fluid's temperature is above {@link FluidPrototype#gas_temperature FluidPrototype::gas_temperature}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PipePictures.html#gas_flow Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PipePictures.html#gas_flow Online documentation} */ gas_flow?: Animation } /** * @see ItemPrototype.place_as_tile - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ItemPrototype.html#place_as_tile Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ItemPrototype.html#place_as_tile Online documentation} */ export interface PlaceAsTile { result: TileID condition: CollisionMaskConnector /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlaceAsTile.html#invert Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlaceAsTile.html#invert Online documentation} */ invert?: boolean condition_size: uint32 @@ -11088,268 +11102,268 @@ declare module "factorio:prototype" { autoplace_controls?: Record /** * Each setting in this table maps the string type to the settings for that type. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlanetPrototypeMapGenSettings.html#autoplace_settings Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlanetPrototypeMapGenSettings.html#autoplace_settings Online documentation} */ autoplace_settings?: Record<"entity" | "tile" | "decorative", AutoplaceSettings> /** * Map of property name (e.g. "elevation") to name of noise expression that will provide it. Entries may be omitted. A notable usage is changing autoplace behavior of an entity based on the preset, which cannot be read from a noise expression. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlanetPrototypeMapGenSettings.html#property_expression_names Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlanetPrototypeMapGenSettings.html#property_expression_names Online documentation} */ property_expression_names?: Record /** * **Default:** `false` * * Used for showing the planet icon in map generator GUI next to moisture climate control. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlanetPrototypeMapGenSettings.html#moisture_climate_control Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlanetPrototypeMapGenSettings.html#moisture_climate_control Online documentation} */ moisture_climate_control?: boolean /** * **Default:** `false` * * Used for showing the planet icon in map generator GUI next to aux climate control. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlanetPrototypeMapGenSettings.html#aux_climate_control Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlanetPrototypeMapGenSettings.html#aux_climate_control Online documentation} */ aux_climate_control?: boolean } export interface PlatformBackdrop { /** * **Default:** ``{-450.0, -50.0}`` - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlatformBackdrop.html#position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlatformBackdrop.html#position Online documentation} */ position?: Vector /** * **Default:** `400` - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlatformBackdrop.html#radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlatformBackdrop.html#radius Online documentation} */ radius?: float /** * Wrapped around the surface of the sphere using equirectangular projection. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlatformBackdrop.html#planet_surface Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlatformBackdrop.html#planet_surface Online documentation} */ planet_surface?: EffectTexture /** * Normal map of the surface deforming local sphere normal. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlatformBackdrop.html#planet_normal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlatformBackdrop.html#planet_normal Online documentation} */ planet_normal?: EffectTexture /** * Glossiness of the surface in red channel. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlatformBackdrop.html#planet_reflectivity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlatformBackdrop.html#planet_reflectivity Online documentation} */ planet_reflectivity?: EffectTexture /** * Emissive light added to the surface. Can be disabled on lit side using the `emission_scales_with_shadow` property. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlatformBackdrop.html#planet_emission Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlatformBackdrop.html#planet_emission Online documentation} */ planet_emission?: EffectTexture /** * Cloud mapped over the planet as the surface texture. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlatformBackdrop.html#global_cloud Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlatformBackdrop.html#global_cloud Online documentation} */ global_cloud?: EffectTexture global_cloud_normal?: EffectTexture /** * Flow map distorting the global cloud. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlatformBackdrop.html#global_cloud_flow Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlatformBackdrop.html#global_cloud_flow Online documentation} */ global_cloud_flow?: EffectTexture /** * Individual Hero Cloud decals over the planet surface. The maximum number is four. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlatformBackdrop.html#hero_clouds Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlatformBackdrop.html#hero_clouds Online documentation} */ hero_clouds?: readonly PlatformBackdropHeroCloud[] /** * Sprite or Animation to be referenced by `hero_clouds` definitions with `sprite_index` 1. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlatformBackdrop.html#hero_cloud_texture_1 Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlatformBackdrop.html#hero_cloud_texture_1 Online documentation} */ hero_cloud_texture_1?: Animation /** * Sprite or Animation to be referenced by `hero_clouds` definitions with `sprite_index` 2. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlatformBackdrop.html#hero_cloud_texture_2 Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlatformBackdrop.html#hero_cloud_texture_2 Online documentation} */ hero_cloud_texture_2?: Animation /** * Sprite or Animation to be referenced by `hero_clouds` definitions with `sprite_index` 3. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlatformBackdrop.html#hero_cloud_texture_3 Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlatformBackdrop.html#hero_cloud_texture_3 Online documentation} */ hero_cloud_texture_3?: Animation /** * **Default:** `340` * * How many seconds it takes for the planet to do one revolution. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlatformBackdrop.html#rotation_seconds Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlatformBackdrop.html#rotation_seconds Online documentation} */ rotation_seconds?: float /** * **Default:** ``{-30.0, 20.0}`` * * Tilt and pitch of the planet axis. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlatformBackdrop.html#planet_axis Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlatformBackdrop.html#planet_axis Online documentation} */ planet_axis?: Vector /** * **Default:** ``{0.0, 0.0}`` * * How much tilt and pitch vary over time. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlatformBackdrop.html#planet_axis_deviation_amplitude Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlatformBackdrop.html#planet_axis_deviation_amplitude Online documentation} */ planet_axis_deviation_amplitude?: Vector /** * **Default:** ``{609.2, 712.7}`` * * Number of seconds it takes for tilt and pitch to complete one cycle of deviation. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlatformBackdrop.html#planet_axis_deviation_seconds Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlatformBackdrop.html#planet_axis_deviation_seconds Online documentation} */ planet_axis_deviation_seconds?: Vector /** * **Default:** ``{1.0, 1.0}`` * * How strongly the planet moves with camera. `{1.0, 1.0}` means it tracks the starfield. `{0.0, 0.0}` means it tracks the foreground tiles. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlatformBackdrop.html#parallax_strength Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlatformBackdrop.html#parallax_strength Online documentation} */ parallax_strength?: Vector /** * **Default:** `1` * * Scales the speed at which the planet appears in view when flown towards. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlatformBackdrop.html#flight_approach_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlatformBackdrop.html#flight_approach_speed Online documentation} */ flight_approach_speed?: float /** * **Default:** `true` * * When true only the dark side will receive emission. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlatformBackdrop.html#emission_scales_with_shadow Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlatformBackdrop.html#emission_scales_with_shadow Online documentation} */ emission_scales_with_shadow?: boolean /** * **Default:** `false` * * When true the hero clouds will add their color to emission as well. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlatformBackdrop.html#hero_clouds_are_emissive Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlatformBackdrop.html#hero_clouds_are_emissive Online documentation} */ hero_clouds_are_emissive?: boolean /** * **Default:** `0.02` * * Width of the atmosphere layer as portion of the total radius. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlatformBackdrop.html#atmosphere_thickness Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlatformBackdrop.html#atmosphere_thickness Online documentation} */ atmosphere_thickness?: float /** * **Default:** ``{0.095, 0.15, 0.19, 1.0}`` * * Color of atmospheric light. Multiplied by 10 in shader. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlatformBackdrop.html#atmosphere_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlatformBackdrop.html#atmosphere_color Online documentation} */ atmosphere_color?: Color /** * **Default:** ``{1.0, 1.0, 1.0, 1.0}`` * * Color of specular light. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlatformBackdrop.html#specular_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlatformBackdrop.html#specular_color Online documentation} */ specular_color?: Color /** * **Default:** ``{0.9804, 1.0, 1.0, 1.0}`` * * Color of light. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlatformBackdrop.html#light_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlatformBackdrop.html#light_color Online documentation} */ light_color?: Color /** * **Default:** ``{-1.0, 0.0, 0.5}`` - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlatformBackdrop.html#light_direction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlatformBackdrop.html#light_direction Online documentation} */ light_direction?: Vector3D /** * **Default:** ``{0.5, 0.26665, 0.0, 1.0}`` * * Color of dawn side of terminator light. Multiplied by 10 in shader. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlatformBackdrop.html#atmosphere_ray_light_color_1 Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlatformBackdrop.html#atmosphere_ray_light_color_1 Online documentation} */ atmosphere_ray_light_color_1?: Color /** * **Default:** ``{0.1, 0.08431, 0.05059, 1.0}`` * * Color of dusk side of terminator light. Multiplied by 10 in shader. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlatformBackdrop.html#atmosphere_ray_light_color_2 Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlatformBackdrop.html#atmosphere_ray_light_color_2 Online documentation} */ atmosphere_ray_light_color_2?: Color /** * **Default:** `0.1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlatformBackdrop.html#surface_normal_intensity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlatformBackdrop.html#surface_normal_intensity Online documentation} */ surface_normal_intensity?: float /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlatformBackdrop.html#cloud_normal_intensity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlatformBackdrop.html#cloud_normal_intensity Online documentation} */ cloud_normal_intensity?: float /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlatformBackdrop.html#specular_intensity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlatformBackdrop.html#specular_intensity Online documentation} */ specular_intensity?: float /** * **Default:** `1` * * Amount of cloud texture to be used based off of the alpha channel of the cloud texture. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlatformBackdrop.html#cloudiness Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlatformBackdrop.html#cloudiness Online documentation} */ cloudiness?: float /** * **Default:** `2` - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlatformBackdrop.html#emission_scalar Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlatformBackdrop.html#emission_scalar Online documentation} */ emission_scalar?: float /** * **Default:** `9.9` * * Perceived size of the light. Also affects size of the specular spot. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlatformBackdrop.html#light_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlatformBackdrop.html#light_radius Online documentation} */ light_radius?: float /** * **Default:** `0.7` * * Harshness of the terminator. Functions like atmosphere thickness. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlatformBackdrop.html#light_intensity_contrast Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlatformBackdrop.html#light_intensity_contrast Online documentation} */ light_intensity_contrast?: float /** * **Default:** `0.1` * * How far below the atmosphere layer should the surface be. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlatformBackdrop.html#surface_vertical_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlatformBackdrop.html#surface_vertical_offset Online documentation} */ surface_vertical_offset?: float /** * **Default:** `0.015` * * How far below the atmosphere layer should the clouds be. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlatformBackdrop.html#cloud_vertical_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlatformBackdrop.html#cloud_vertical_offset Online documentation} */ cloud_vertical_offset?: float /** * **Default:** `0.3` * * Intensity of the flow map effect. Begins to degenerate at high values. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlatformBackdrop.html#cloud_flow_intensity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlatformBackdrop.html#cloud_flow_intensity Online documentation} */ cloud_flow_intensity?: float /** * **Default:** `32` * * How many seconds it takes the flow effect to loop. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlatformBackdrop.html#cloud_flow_seconds Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlatformBackdrop.html#cloud_flow_seconds Online documentation} */ cloud_flow_seconds?: float /** * **Default:** `0` * * Rotational speed of the clouds laterally across the planet relative to `rotation_seconds` of the planet. `-1.0` means it counteracts the rotation rate and makes clouds remain in place. `0.0` means it drifts along with planet surface. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlatformBackdrop.html#cloud_panning_rate Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlatformBackdrop.html#cloud_panning_rate Online documentation} */ cloud_panning_rate?: float } @@ -11358,53 +11372,53 @@ declare module "factorio:prototype" { * **Default:** `0` * * 1, 2, 3 use cloud sprites 1, 2, 3 respectively. 0 will disable this cloud. Anything else is invalid. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlatformBackdropHeroCloud.html#sprite_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlatformBackdropHeroCloud.html#sprite_index Online documentation} */ sprite_index?: uint8 /** * **Default:** ``{0.5, 0.5}`` * * Cloud size as a proportion of the total planet size, meaning `1` spans whole planet. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlatformBackdropHeroCloud.html#size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlatformBackdropHeroCloud.html#size Online documentation} */ size?: Vector /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlatformBackdropHeroCloud.html#rotation_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlatformBackdropHeroCloud.html#rotation_speed Online documentation} */ rotation_speed?: float /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlatformBackdropHeroCloud.html#rotate_with_planet Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlatformBackdropHeroCloud.html#rotate_with_planet Online documentation} */ rotate_with_planet?: boolean /** * **Default:** `0` * * Random frame offset of the cloud animation if the graphic is an animation. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlatformBackdropHeroCloud.html#starting_frame_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlatformBackdropHeroCloud.html#starting_frame_offset Online documentation} */ starting_frame_offset?: uint16 /** * **Default:** ``{0, 0}`` * * Random position offset of the cloud animation. Refreshed every loop. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlatformBackdropHeroCloud.html#position_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlatformBackdropHeroCloud.html#position_deviation Online documentation} */ position_deviation?: Vector /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlatformBackdropHeroCloud.html#rotation_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlatformBackdropHeroCloud.html#rotation_deviation Online documentation} */ rotation_deviation?: float /** * **Default:** `"front-only"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlatformBackdropHeroCloud.html#projection_style Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlatformBackdropHeroCloud.html#projection_style Online documentation} */ projection_style?: "none" | "front-only" | "front-and-back" | "front-and-back-inverted" /** * With each planet revolution, the cloud smoothly travels along this path by approximating the provided points. If only single position is provided, it remains stationary at that point. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlatformBackdropHeroCloud.html#positions Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlatformBackdropHeroCloud.html#positions Online documentation} */ positions?: readonly Vector[] } @@ -11415,7 +11429,7 @@ declare module "factorio:prototype" { * - `"character_actions"`: Play the vibration only if it was caused by the player. For example when shooting a gun, vibration will play when the character shoots but not when a turret shoots. * - `"everything"`: Always play the vibration. Useful for example for explosions. * @see GameControllerVibrationData.play_for - * @see {@link https://lua-api.factorio.com/2.1.22/types/GameControllerVibrationData.html#play_for Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/GameControllerVibrationData.html#play_for Online documentation} */ export type PlayFor = "character_actions" | "everything" export interface PlaySoundTriggerEffectItem extends TriggerEffectItem { @@ -11425,25 +11439,25 @@ declare module "factorio:prototype" { * **Default:** `0` * * Negative values are silently clamped to 0. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlaySoundTriggerEffectItem.html#min_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlaySoundTriggerEffectItem.html#min_distance Online documentation} */ min_distance?: float /** * **Default:** `1e21` * * Negative values are silently clamped to 0. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlaySoundTriggerEffectItem.html#max_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlaySoundTriggerEffectItem.html#max_distance Online documentation} */ max_distance?: float /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlaySoundTriggerEffectItem.html#play_on_target_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlaySoundTriggerEffectItem.html#play_on_target_position Online documentation} */ play_on_target_position?: boolean } /** * @see UtilityConstants.player_colors - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#player_colors Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#player_colors Online documentation} */ export interface PlayerColorData { name: string @@ -11455,60 +11469,60 @@ declare module "factorio:prototype" { * - `"all"` * - `"keyboard_and_mouse"` * - `"game_controller"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlayerInputMethodFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlayerInputMethodFilter.html Online documentation} */ export type PlayerInputMethodFilter = "all" | "keyboard_and_mouse" | "game_controller" export interface PlumeEffect extends StatelessVisualisation { /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlumeEffect.html#age_discrimination Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlumeEffect.html#age_discrimination Online documentation} */ age_discrimination?: int8 } export interface PlumesSpecification { /** * If given, the plumes will only render if this area is on screen (relative to the thruster) - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlumesSpecification.html#render_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlumesSpecification.html#render_box Online documentation} */ render_box?: BoundingBox /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlumesSpecification.html#min_probability Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlumesSpecification.html#min_probability Online documentation} */ min_probability?: float /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlumesSpecification.html#max_probability Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlumesSpecification.html#max_probability Online documentation} */ max_probability?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlumesSpecification.html#min_y_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlumesSpecification.html#min_y_offset Online documentation} */ min_y_offset?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlumesSpecification.html#max_y_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlumesSpecification.html#max_y_offset Online documentation} */ max_y_offset?: float /** * Array may not be empty and may at most have 255 elements. * * Non-zero `period` needs to be provided. May not have `positions` or `particle_tick_offset`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PlumesSpecification.html#stateless_visualisations Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PlumesSpecification.html#stateless_visualisations Online documentation} */ stateless_visualisations?: PlumeEffect | readonly PlumeEffect[] } /** * One frame in time for a Bezier interpolation. * @see PodAnimationProcessionLayer.frames - * @see {@link https://lua-api.factorio.com/2.1.22/types/PodAnimationProcessionLayer.html#frames Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PodAnimationProcessionLayer.html#frames Online documentation} */ export interface PodAnimationProcessionBezierControlPoint { timestamp: MapTick /** * the frame of the pod animation played. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PodAnimationProcessionBezierControlPoint.html#frame Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PodAnimationProcessionBezierControlPoint.html#frame Online documentation} */ frame: float } @@ -11516,29 +11530,29 @@ declare module "factorio:prototype" { readonly type: "pod-animation" graphic?: ProcessionGraphic /** - * @see {@link https://lua-api.factorio.com/2.1.22/types/PodAnimationProcessionLayer.html#frames Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PodAnimationProcessionLayer.html#frames Online documentation} */ frames: readonly PodAnimationProcessionBezierControlPoint[] } /** * One frame in time for a Bezier interpolation. * @see PodDistanceTraveledProcessionLayer.frames - * @see {@link https://lua-api.factorio.com/2.1.22/types/PodDistanceTraveledProcessionLayer.html#frames Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PodDistanceTraveledProcessionLayer.html#frames Online documentation} */ export interface PodDistanceTraveledProcessionBezierControlPoint { /** * Mandatory if `distance` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PodDistanceTraveledProcessionBezierControlPoint.html#timestamp Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PodDistanceTraveledProcessionBezierControlPoint.html#timestamp Online documentation} */ timestamp?: MapTick /** * `distance` and `distance_t` interpolate a double smoothly over time. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PodDistanceTraveledProcessionBezierControlPoint.html#distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PodDistanceTraveledProcessionBezierControlPoint.html#distance Online documentation} */ distance?: double /** * Bidirectional tangent at the given timestamp. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PodDistanceTraveledProcessionBezierControlPoint.html#distance_t Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PodDistanceTraveledProcessionBezierControlPoint.html#distance_t Online documentation} */ distance_t?: double } @@ -11546,65 +11560,65 @@ declare module "factorio:prototype" { readonly type: "pod-distance-traveled" /** * The group this layer belongs to, for inheritance. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PodDistanceTraveledProcessionLayer.html#reference_group Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PodDistanceTraveledProcessionLayer.html#reference_group Online documentation} */ reference_group?: ProcessionLayerInheritanceGroupID /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/PodDistanceTraveledProcessionLayer.html#contribute_to_distance_traveled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PodDistanceTraveledProcessionLayer.html#contribute_to_distance_traveled Online documentation} */ contribute_to_distance_traveled?: boolean /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/PodDistanceTraveledProcessionLayer.html#distance_traveled_contribution Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PodDistanceTraveledProcessionLayer.html#distance_traveled_contribution Online documentation} */ distance_traveled_contribution?: float /** - * @see {@link https://lua-api.factorio.com/2.1.22/types/PodDistanceTraveledProcessionLayer.html#frames Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PodDistanceTraveledProcessionLayer.html#frames Online documentation} */ frames: readonly PodDistanceTraveledProcessionBezierControlPoint[] } /** * One frame in time for a Bezier interpolation. * @see PodMovementProcessionLayer.frames - * @see {@link https://lua-api.factorio.com/2.1.22/types/PodMovementProcessionLayer.html#frames Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PodMovementProcessionLayer.html#frames Online documentation} */ export interface PodMovementProcessionBezierControlPoint { /** * Mandatory if `tilt` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PodMovementProcessionBezierControlPoint.html#timestamp Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PodMovementProcessionBezierControlPoint.html#timestamp Online documentation} */ timestamp?: MapTick /** * `tilt` and `tilt_t` interpolate a double smoothly over time. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PodMovementProcessionBezierControlPoint.html#tilt Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PodMovementProcessionBezierControlPoint.html#tilt Online documentation} */ tilt?: double /** * Bidirectional tangent at the given timestamp. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PodMovementProcessionBezierControlPoint.html#tilt_t Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PodMovementProcessionBezierControlPoint.html#tilt_t Online documentation} */ tilt_t?: double /** * `offset` and `offset_t` interpolate a vector smoothly over time using `offset_rate` and `offset_rate_t` for a 0-1 rate curve. * * Vector value. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PodMovementProcessionBezierControlPoint.html#offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PodMovementProcessionBezierControlPoint.html#offset Online documentation} */ offset?: Vector /** * Vector tangent. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PodMovementProcessionBezierControlPoint.html#offset_t Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PodMovementProcessionBezierControlPoint.html#offset_t Online documentation} */ offset_t?: Vector /** * Rate 0-1 value. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PodMovementProcessionBezierControlPoint.html#offset_rate Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PodMovementProcessionBezierControlPoint.html#offset_rate Online documentation} */ offset_rate?: double /** * Rate tangent. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PodMovementProcessionBezierControlPoint.html#offset_rate_t Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PodMovementProcessionBezierControlPoint.html#offset_rate_t Online documentation} */ offset_rate_t?: double } @@ -11626,76 +11640,76 @@ declare module "factorio:prototype" { * { timestamp = 1050, offset_rate = 1.0 } * } * } - * @see {@link https://lua-api.factorio.com/2.1.22/types/PodMovementProcessionLayer.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PodMovementProcessionLayer.html Online documentation} */ export interface PodMovementProcessionLayer { readonly type: "pod-movement" /** * The group this layer belongs to, for inheritance. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PodMovementProcessionLayer.html#reference_group Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PodMovementProcessionLayer.html#reference_group Online documentation} */ reference_group?: ProcessionLayerInheritanceGroupID /** * Adds the final position value from given layer to this one. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PodMovementProcessionLayer.html#inherit_from Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PodMovementProcessionLayer.html#inherit_from Online documentation} */ inherit_from?: ProcessionLayerInheritanceGroupID /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/PodMovementProcessionLayer.html#contribute_to_distance_traveled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PodMovementProcessionLayer.html#contribute_to_distance_traveled Online documentation} */ contribute_to_distance_traveled?: boolean /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/PodMovementProcessionLayer.html#distance_traveled_contribution Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PodMovementProcessionLayer.html#distance_traveled_contribution Online documentation} */ distance_traveled_contribution?: float /** - * @see {@link https://lua-api.factorio.com/2.1.22/types/PodMovementProcessionLayer.html#frames Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PodMovementProcessionLayer.html#frames Online documentation} */ frames: readonly PodMovementProcessionBezierControlPoint[] } /** * One frame in time for a Bezier interpolation. * @see PodOpacityProcessionLayer.frames - * @see {@link https://lua-api.factorio.com/2.1.22/types/PodOpacityProcessionLayer.html#frames Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PodOpacityProcessionLayer.html#frames Online documentation} */ export interface PodOpacityProcessionBezierControlPoint { /** * Mandatory if `cutscene_opacity` or `outside_opacity` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PodOpacityProcessionBezierControlPoint.html#timestamp Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PodOpacityProcessionBezierControlPoint.html#timestamp Online documentation} */ timestamp?: MapTick /** * `cutscene_opacity` and `cutscene_opacity_t` interpolate a double smoothly over time. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PodOpacityProcessionBezierControlPoint.html#cutscene_opacity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PodOpacityProcessionBezierControlPoint.html#cutscene_opacity Online documentation} */ cutscene_opacity?: double /** * Bidirectional tangent at the given timestamp. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PodOpacityProcessionBezierControlPoint.html#cutscene_opacity_t Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PodOpacityProcessionBezierControlPoint.html#cutscene_opacity_t Online documentation} */ cutscene_opacity_t?: double /** * `outside_opacity` and `outside_opacity_t` interpolate a double smoothly over time. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PodOpacityProcessionBezierControlPoint.html#outside_opacity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PodOpacityProcessionBezierControlPoint.html#outside_opacity Online documentation} */ outside_opacity?: double /** * Bidirectional tangent at the given timestamp. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PodOpacityProcessionBezierControlPoint.html#outside_opacity_t Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PodOpacityProcessionBezierControlPoint.html#outside_opacity_t Online documentation} */ outside_opacity_t?: double /** * `lut_blend` and `lut_blend_t` interpolate a double smoothly over time. * * LUT won't be overridden however, until the pod is drawn above the game via `draw_switch_tick`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PodOpacityProcessionBezierControlPoint.html#lut_blend Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PodOpacityProcessionBezierControlPoint.html#lut_blend Online documentation} */ lut_blend?: double /** * Bidirectional tangent at the given timestamp. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PodOpacityProcessionBezierControlPoint.html#lut_blend_t Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PodOpacityProcessionBezierControlPoint.html#lut_blend_t Online documentation} */ lut_blend_t?: double } @@ -11714,39 +11728,39 @@ declare module "factorio:prototype" { * - environment_volume : 1.0 * * - environment_muffle_intensity : 0.0 - * @see {@link https://lua-api.factorio.com/2.1.22/types/PodOpacityProcessionLayer.html#frames Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PodOpacityProcessionLayer.html#frames Online documentation} */ frames: readonly PodOpacityProcessionBezierControlPoint[] } /** * The pollution settings, the values are for 60 ticks (1 second). - * @see {@link https://lua-api.factorio.com/2.1.22/types/PollutionSettings.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PollutionSettings.html Online documentation} */ export interface PollutionSettings { enabled: boolean /** * Amount that is diffused to neighboring chunks. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PollutionSettings.html#diffusion_ratio Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PollutionSettings.html#diffusion_ratio Online documentation} */ diffusion_ratio: double /** * This much pollution units must be on the chunk to start diffusing. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PollutionSettings.html#min_to_diffuse Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PollutionSettings.html#min_to_diffuse Online documentation} */ min_to_diffuse: double /** * Constant modifier a percentage of 1; the pollution eaten by a chunks tiles. Also known as absorption modifier. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PollutionSettings.html#ageing Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PollutionSettings.html#ageing Online documentation} */ ageing: double /** * Anything bigger than this is visualized as this value. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PollutionSettings.html#expected_max_per_chunk Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PollutionSettings.html#expected_max_per_chunk Online documentation} */ expected_max_per_chunk: double /** * Anything lower than this (but > 0) is visualized as this value. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PollutionSettings.html#min_to_show_per_chunk Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PollutionSettings.html#min_to_show_per_chunk Online documentation} */ min_to_show_per_chunk: double min_pollution_to_damage_trees: double @@ -11757,71 +11771,71 @@ declare module "factorio:prototype" { } /** * Probabilities of all items must add up to 100. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProbabilityTable.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProbabilityTable.html Online documentation} */ export type ProbabilityTable = readonly ProbabilityTableItem[] /** * The first number is the value. * * The second number is the probability in percents. It must be in the `(0, 100]` interval. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProbabilityTableItem.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProbabilityTableItem.html Online documentation} */ export type ProbabilityTableItem = readonly [uint8, uint8] export interface ProcessionAudio { readonly type: ProcessionAudioType /** * Mandatory if `type` is `"sound"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProcessionAudio.html#sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProcessionAudio.html#sound Online documentation} */ sound?: Sound /** * Mandatory if `type` is `"looped-sound"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProcessionAudio.html#looped_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProcessionAudio.html#looped_sound Online documentation} */ looped_sound?: InterruptibleSound /** * Mandatory if `type` is `"pod_catalogue"` or `type` is `"location_catalogue"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProcessionAudio.html#catalogue_id Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProcessionAudio.html#catalogue_id Online documentation} */ catalogue_id?: uint32 } /** * Allows a prototype to load variable amount of sounds which may be referenced by index. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProcessionAudioCatalogue.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProcessionAudioCatalogue.html Online documentation} */ export type ProcessionAudioCatalogue = readonly ProcessionAudioCatalogueItem[] export interface ProcessionAudioCatalogueItem { index: uint32 /** * One or the other. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProcessionAudioCatalogueItem.html#sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProcessionAudioCatalogueItem.html#sound Online documentation} */ sound?: Sound /** * One or the other. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProcessionAudioCatalogueItem.html#looped_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProcessionAudioCatalogueItem.html#looped_sound Online documentation} */ looped_sound?: InterruptibleSound } /** * Controls sounds during procession. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProcessionAudioEvent.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProcessionAudioEvent.html Online documentation} */ export interface ProcessionAudioEvent { readonly type: ProcessionAudioEventType /** * Has to be defined unless the type is "stop-looped-sound". - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProcessionAudioEvent.html#usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProcessionAudioEvent.html#usage Online documentation} */ usage?: ProcessionAudioUsage /** * Has to be defined unless the type is "stop-looped-sound". - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProcessionAudioEvent.html#audio Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProcessionAudioEvent.html#audio Online documentation} */ audio?: ProcessionAudio /** * Has to be defined unless the type is "play-sound". - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProcessionAudioEvent.html#loop_id Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProcessionAudioEvent.html#loop_id Online documentation} */ loop_id?: uint32 } @@ -11832,7 +11846,7 @@ declare module "factorio:prototype" { * - `"play-sound"`: Plays a single sound once. * - `"start-looped-sound"`: Starts a looping sound under a specified index until "stop-looped-sound" is triggered or the procession ends. Starting a second looped sound will stop the first. * - `"stop-looped-sound"`: Ends a looping sound under a specified index. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProcessionAudioEventType.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProcessionAudioEventType.html Online documentation} */ export type ProcessionAudioEventType = "play-sound" | "start-looped-sound" | "stop-looped-sound" /** @@ -11844,7 +11858,7 @@ declare module "factorio:prototype" { * - `"looped-sound"`: {@link Sound}. * - `"pod-catalogue"`: Defined inside {@link CargoPodPrototype}. * - `"location-catalogue"`: Defined inside {@link SpaceLocationPrototype}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProcessionAudioType.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProcessionAudioType.html Online documentation} */ export type ProcessionAudioType = "none" | "sound" | "looped-sound" | "pod-catalogue" | "location-catalogue" /** @@ -11854,35 +11868,35 @@ declare module "factorio:prototype" { * - `"both"`: The player inside a pod and an outside viewer. * - `"passenger"`: Only the player inside a pod. * - `"outside"`: Only an outside viewer. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProcessionAudioUsage.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProcessionAudioUsage.html Online documentation} */ export type ProcessionAudioUsage = "both" | "passenger" | "outside" export interface ProcessionGraphic { readonly type: ProcessionGraphicType /** * Mandatory if `type` is `"sprite"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProcessionGraphic.html#sprite Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProcessionGraphic.html#sprite Online documentation} */ sprite?: Sprite /** * Mandatory if `type` is `"animation"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProcessionGraphic.html#animation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProcessionGraphic.html#animation Online documentation} */ animation?: Animation /** * Mandatory if `type` is `"pod-catalogue"` or `type` is `"location-catalogue"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProcessionGraphic.html#catalogue_id Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProcessionGraphic.html#catalogue_id Online documentation} */ catalogue_id?: uint32 } /** * Allows a prototype to load variable amount of sprites which may be referenced by index. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProcessionGraphicCatalogue.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProcessionGraphicCatalogue.html Online documentation} */ export type ProcessionGraphicCatalogue = readonly ProcessionGraphicCatalogueItem[] /** * Either animation or sprite must be provided. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProcessionGraphicCatalogueItem.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProcessionGraphicCatalogueItem.html Online documentation} */ export interface ProcessionGraphicCatalogueItem { index: uint32 @@ -11899,13 +11913,13 @@ declare module "factorio:prototype" { * - `"pod-catalogue"`: Defined inside {@link CargoPodPrototype}. * - `"location-catalogue"`: Defined inside {@link SpaceLocationPrototype}. * - `"hatch-location-catalogue-index"`: Uses index from {@link CargoHatchDefinition} to address catalogue inside {@link SpaceLocationPrototype}. Only works for graphics drawn in-world such as 'single-graphic'. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProcessionGraphicType.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProcessionGraphicType.html Online documentation} */ export type ProcessionGraphicType = "none" | "sprite" | "animation" | "pod-catalogue" | "location-catalogue" | "hatch-location-catalogue-index" /** * The name of a {@link ProcessionPrototype}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProcessionID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProcessionID.html Online documentation} */ export type ProcessionID = string /** @@ -11938,7 +11952,7 @@ declare module "factorio:prototype" { * { timestamp = 1050, offset_rate = 1.0 } * } * } - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProcessionLayer.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProcessionLayer.html Online documentation} */ export type ProcessionLayer = | PodDistanceTraveledProcessionLayer @@ -11950,12 +11964,12 @@ declare module "factorio:prototype" { | PodAnimationProcessionLayer /** * The name of an {@link ProcessionLayerInheritanceGroup}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProcessionLayerInheritanceGroupID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProcessionLayerInheritanceGroupID.html Online documentation} */ export type ProcessionLayerInheritanceGroupID = string /** * Lists arrivals and departures available for travel to a given surface. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProcessionSet.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProcessionSet.html Online documentation} */ export interface ProcessionSet { arrival: readonly ProcessionID[] @@ -11963,12 +11977,12 @@ declare module "factorio:prototype" { } /** * A wrapper for a collection of {@link ProcessionLayer ProcessionLayers}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProcessionTimeline.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProcessionTimeline.html Online documentation} */ export interface ProcessionTimeline { /** * The time to play this cutscene regardless of individual layer durations. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProcessionTimeline.html#duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProcessionTimeline.html#duration Online documentation} */ duration: MapTick /** @@ -11979,7 +11993,7 @@ declare module "factorio:prototype" { * - Ascending animation will detach from rocket on this tick. * * - Descending animation will request hatch to be opened. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProcessionTimeline.html#special_action_tick Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProcessionTimeline.html#special_action_tick Online documentation} */ special_action_tick?: MapTick /** @@ -11992,21 +12006,21 @@ declare module "factorio:prototype" { * - When descending this tick will go from above to world. * * Notably, LUT override won't be applied until the pod is drawn above the game. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProcessionTimeline.html#draw_switch_tick Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProcessionTimeline.html#draw_switch_tick Online documentation} */ draw_switch_tick?: MapTick /** * **Default:** `0` * * The real duration of the intermezzo playing will be above this value. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProcessionTimeline.html#intermezzo_min_duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProcessionTimeline.html#intermezzo_min_duration Online documentation} */ intermezzo_min_duration?: MapTick /** * **Default:** `0` * * The real duration of the intermezzo playing will be below this value. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProcessionTimeline.html#intermezzo_max_duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProcessionTimeline.html#intermezzo_max_duration Online documentation} */ intermezzo_max_duration?: MapTick layers: readonly ProcessionLayer[] @@ -12016,7 +12030,7 @@ declare module "factorio:prototype" { * ## Union members * - {@link ItemProductPrototype}: Loaded when the `type` is `"item"`. * - {@link FluidProductPrototype}: Loaded when the `type` is `"fluid"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProductPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProductPrototype.html Online documentation} */ export type ProductPrototype = ItemProductPrototype | FluidProductPrototype export interface ProductPrototypeBase { @@ -12024,7 +12038,7 @@ declare module "factorio:prototype" { * **Default:** `1` * * Value between 0 and 1. When a product has probability set, a probability roll is performed when trying to give product: if probability roll fails then product is not given. This value controls threshold of the independent probability roll, which means if there are multiple products to be given, they may use different roll value causing products to all be given, some of them given or none of them given at all. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProductPrototypeBase.html#independent_probability Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProductPrototypeBase.html#independent_probability Online documentation} */ independent_probability?: double /** @@ -12035,31 +12049,31 @@ declare module "factorio:prototype" { * Note: for a product to be given, both independent_probability test and shared_probability tests must pass. That means probability values seen in gui are equal to `independent_probability * (shared_probability.max - shared_probability.min)` * * Note: ranges between different products are independent, that means they are allowed to overlap. This may be used to create set of products that are always given in pairs if ranges are equal or to make products that are given exclusively (one or the other) if the ranges do not overlap. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProductPrototypeBase.html#shared_probability Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProductPrototypeBase.html#shared_probability Online documentation} */ shared_probability?: SharedProbabilityDefinition /** * **Default:** `true` * * When hovering over a recipe in the crafting menu the recipe tooltip will be shown. An additional item tooltip will be shown for every product, as a separate tooltip, if the item tooltip has a description and/or properties to show and if `show_details_in_recipe_tooltip` is `true`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProductPrototypeBase.html#show_details_in_recipe_tooltip Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProductPrototypeBase.html#show_details_in_recipe_tooltip Online documentation} */ show_details_in_recipe_tooltip?: boolean } export interface ProductionHealthEffect { /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProductionHealthEffect.html#producing Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProductionHealthEffect.html#producing Online documentation} */ producing?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProductionHealthEffect.html#not_producing Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProductionHealthEffect.html#not_producing Online documentation} */ not_producing?: float /** * Defaults to "physical" damage. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProductionHealthEffect.html#damage_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProductionHealthEffect.html#damage_type Online documentation} */ damage_type?: DamageTypeID } @@ -12072,18 +12086,18 @@ declare module "factorio:prototype" { * - `"input-output"` * - `"output"` * @see FluidBox.production_type - * @see {@link https://lua-api.factorio.com/2.1.22/types/FluidBox.html#production_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/FluidBox.html#production_type Online documentation} */ export type ProductionType = "none" | "input" | "input-output" | "output" /** * @see ProgrammableSpeakerPrototype.instruments - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/ProgrammableSpeakerPrototype.html#instruments Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/ProgrammableSpeakerPrototype.html#instruments Online documentation} */ export interface ProgrammableSpeakerInstrument { name: string /** * Cannot be an empty array. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProgrammableSpeakerInstrument.html#notes Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProgrammableSpeakerInstrument.html#notes Online documentation} */ notes: readonly ProgrammableSpeakerNote[] } @@ -12093,20 +12107,20 @@ declare module "factorio:prototype" { * Cannot contain aggregation. * * One of `sound` or `cyclic_sound` must be defined. Both cannot be defined together. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProgrammableSpeakerNote.html#sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProgrammableSpeakerNote.html#sound Online documentation} */ sound?: Sound /** * Cannot contain aggregations. * * One of `sound` or `cyclic_sound` must be defined. Both cannot be defined together. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProgrammableSpeakerNote.html#cyclic_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProgrammableSpeakerNote.html#cyclic_sound Online documentation} */ cyclic_sound?: CyclicSound } /** * Root style: `"progressbar"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProgressBarStyleSpecification.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProgressBarStyleSpecification.html Online documentation} */ export interface ProgressBarStyleSpecification extends BaseStyleSpecification { readonly type: "progressbar_style" @@ -12114,54 +12128,54 @@ declare module "factorio:prototype" { * The thickness of the bar, not the horizontal size. * * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProgressBarStyleSpecification.html#bar_width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProgressBarStyleSpecification.html#bar_width Online documentation} */ bar_width?: uint32 /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProgressBarStyleSpecification.html#color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProgressBarStyleSpecification.html#color Online documentation} */ color?: Color /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProgressBarStyleSpecification.html#other_colors Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProgressBarStyleSpecification.html#other_colors Online documentation} */ other_colors?: readonly OtherColors[] /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProgressBarStyleSpecification.html#bar Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProgressBarStyleSpecification.html#bar Online documentation} */ bar?: ElementImageSet /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProgressBarStyleSpecification.html#bar_background Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProgressBarStyleSpecification.html#bar_background Online documentation} */ bar_background?: ElementImageSet /** * Name of a {@link FontPrototype}. * * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProgressBarStyleSpecification.html#font Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProgressBarStyleSpecification.html#font Online documentation} */ font?: string /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProgressBarStyleSpecification.html#font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProgressBarStyleSpecification.html#font_color Online documentation} */ font_color?: Color /** * **Default:** `Uses font_color for all text` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProgressBarStyleSpecification.html#filled_font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProgressBarStyleSpecification.html#filled_font_color Online documentation} */ filled_font_color?: Color /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProgressBarStyleSpecification.html#embed_text_in_bar Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProgressBarStyleSpecification.html#embed_text_in_bar Online documentation} */ embed_text_in_bar?: boolean /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProgressBarStyleSpecification.html#side_text_padding Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProgressBarStyleSpecification.html#side_text_padding Online documentation} */ side_text_padding?: int16 } @@ -12169,7 +12183,7 @@ declare module "factorio:prototype" { readonly type: "projectile" /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProjectileAttackParameters.html#apply_projection_to_projectile_creation_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProjectileAttackParameters.html#apply_projection_to_projectile_creation_position Online documentation} */ apply_projection_to_projectile_creation_position?: boolean /** @@ -12178,34 +12192,34 @@ declare module "factorio:prototype" { * When used with `projectile_creation_parameters`, this offsets what the turret's sprite looks at. Setting to `{0,1}` will cause the turret to aim one tile up from the target but the projectile will still aim for the entity. Can be used to give the illusion of height but can also confuse aim logic when set too high. * * When used without `projectile_creation_parameters`, this sets the turret's rotation axis. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProjectileAttackParameters.html#projectile_center Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProjectileAttackParameters.html#projectile_center Online documentation} */ projectile_center?: Vector /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProjectileAttackParameters.html#projectile_creation_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProjectileAttackParameters.html#projectile_creation_distance Online documentation} */ projectile_creation_distance?: float /** * Used to show bullet shells/casings being ejected from the gun, see {@linkplain https://factorio.com/blog/post/fff-345 artillery shell casings}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProjectileAttackParameters.html#shell_particle Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProjectileAttackParameters.html#shell_particle Online documentation} */ shell_particle?: CircularParticleCreationSpecification /** * Used to shoot projectiles from arbitrary points. Used by worms. If not set then the launch positions are calculated using `projectile_center` and `projectile_creation_distance`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProjectileAttackParameters.html#projectile_creation_parameters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProjectileAttackParameters.html#projectile_creation_parameters Online documentation} */ projectile_creation_parameters?: CircularProjectileCreationSpecification /** * **Default:** `0` * * Used to shoot from different sides of the turret. Setting to `0.25` shoots from the right side, `0.5` shoots from the back, and `0.75` shoots from the left. The turret will look at the enemy as normal but the bullet will spawn from the offset position. Can be used to create right-handed weapons. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProjectileAttackParameters.html#projectile_orientation_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProjectileAttackParameters.html#projectile_orientation_offset Online documentation} */ projectile_orientation_offset?: RealOrientation /** * Used to shoot from multiple points. The turret will look at the enemy as normal but the bullet will spawn from a random offset position. Can be used to create multi-barreled weapons. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProjectileAttackParameters.html#projectile_creation_offsets Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProjectileAttackParameters.html#projectile_creation_offsets Online documentation} */ projectile_creation_offsets?: readonly Vector[] } @@ -12213,108 +12227,108 @@ declare module "factorio:prototype" { readonly type: "projectile" /** * Name of a {@link ProjectilePrototype}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProjectileTriggerDelivery.html#projectile Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProjectileTriggerDelivery.html#projectile Online documentation} */ projectile: EntityID /** * Starting speed in tiles per tick. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProjectileTriggerDelivery.html#starting_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProjectileTriggerDelivery.html#starting_speed Online documentation} */ starting_speed: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProjectileTriggerDelivery.html#starting_speed_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProjectileTriggerDelivery.html#starting_speed_deviation Online documentation} */ starting_speed_deviation?: float /** * **Default:** `0` * * Maximum deviation of the projectile from source orientation, in +/- (`x radians / 2`). Example: `3.14 radians -> +/- (180° / 2)`, meaning up to 90° deviation in either direction of rotation. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProjectileTriggerDelivery.html#direction_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProjectileTriggerDelivery.html#direction_deviation Online documentation} */ direction_deviation?: float /** * **Default:** `0` * * The maximum deviation of the projectile maximum range from `max_range` is `max_range × range_deviation ÷ 2`. This means a deviation of `0.5` will appear as a maximum of `0.25` (25%) deviation of an initial range goal. Post-deviation range may exceed `max_range` or be less than `min_range`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProjectileTriggerDelivery.html#range_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProjectileTriggerDelivery.html#range_deviation Online documentation} */ range_deviation?: float /** * **Default:** `1000` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProjectileTriggerDelivery.html#max_range Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProjectileTriggerDelivery.html#max_range Online documentation} */ max_range?: double /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProjectileTriggerDelivery.html#min_range Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProjectileTriggerDelivery.html#min_range Online documentation} */ min_range?: double /** * **Default:** `false` * * If `true`, the projectile will inherit any positive speed component from the source entity's movement toward the target. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ProjectileTriggerDelivery.html#inherit_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ProjectileTriggerDelivery.html#inherit_speed Online documentation} */ inherit_speed?: boolean } /** * Used by {@link UnitPrototype}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PrototypeStrafeSettings.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PrototypeStrafeSettings.html Online documentation} */ export interface PrototypeStrafeSettings { /** * **Default:** `20` * * Must be >= `0`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PrototypeStrafeSettings.html#max_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PrototypeStrafeSettings.html#max_distance Online documentation} */ max_distance?: double /** * **Default:** `10` * * Must be between 0 and max_distance inclusive. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PrototypeStrafeSettings.html#ideal_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PrototypeStrafeSettings.html#ideal_distance Online documentation} */ ideal_distance?: double /** * **Default:** `0.5` * * Must be >= `0`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PrototypeStrafeSettings.html#ideal_distance_tolerance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PrototypeStrafeSettings.html#ideal_distance_tolerance Online documentation} */ ideal_distance_tolerance?: double /** * **Default:** `1` * * Must be >= `0`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PrototypeStrafeSettings.html#ideal_distance_variance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PrototypeStrafeSettings.html#ideal_distance_variance Online documentation} */ ideal_distance_variance?: double /** * **Default:** `0.5` * * Must be between between 0 and 1 inclusive. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PrototypeStrafeSettings.html#ideal_distance_importance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PrototypeStrafeSettings.html#ideal_distance_importance Online documentation} */ ideal_distance_importance?: float /** * **Default:** `0.1` * * Must be between 0 and ideal_distance_importance inclusive. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PrototypeStrafeSettings.html#ideal_distance_importance_variance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PrototypeStrafeSettings.html#ideal_distance_importance_variance Online documentation} */ ideal_distance_importance_variance?: float /** * **Default:** `0.5` * * Must be between 0 and 1 inclusive. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PrototypeStrafeSettings.html#clockwise_chance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PrototypeStrafeSettings.html#clockwise_chance Online documentation} */ clockwise_chance?: float /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/PrototypeStrafeSettings.html#face_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PrototypeStrafeSettings.html#face_target Online documentation} */ face_target?: boolean } @@ -12323,7 +12337,7 @@ declare module "factorio:prototype" { water_effect_parameters?: WaterTileEffectParameters /** * Only loaded, and mandatory if `water_effect_parameters` is not defined. Must be name of a {@link TileEffectDefinition} which has `shader` set to `"water"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PuddleTileEffectParameters.html#water_effect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PuddleTileEffectParameters.html#water_effect Online documentation} */ water_effect?: TileEffectDefinitionID } @@ -12332,50 +12346,50 @@ declare module "factorio:prototype" { * **Default:** `0.5` * * Value between 0 and 1 (both exclusive). The base animation will play up until the connecting progress reaches the value. Needs to be less than `clamp_animation_starts_at_progress`. The arm (`part_1` and `part_2`) will rotate and extend in the time in between. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PumpWagonConnectionGraphics.html#base_animation_finished_at_progress Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PumpWagonConnectionGraphics.html#base_animation_finished_at_progress Online documentation} */ base_animation_finished_at_progress?: double /** * **Default:** `0.75` * * Value between 0 and 1 (both exclusive). The clamp animation will play up starting when the connecting progress reaches the value. Needs to be larger than `base_animation_finished_at_progress`. The arm (`part_1` and `part_2`) will rotate and extend in the time in between. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PumpWagonConnectionGraphics.html#clamp_animation_starts_at_progress Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PumpWagonConnectionGraphics.html#clamp_animation_starts_at_progress Online documentation} */ clamp_animation_starts_at_progress?: double /** * **Default:** `0.15` - * @see {@link https://lua-api.factorio.com/2.1.22/types/PumpWagonConnectionGraphics.html#height_diff_to_wagon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PumpWagonConnectionGraphics.html#height_diff_to_wagon Online documentation} */ height_diff_to_wagon?: float /** * **Default:** `-0.05` * * Adjusts where the sprites will be cropped - * @see {@link https://lua-api.factorio.com/2.1.22/types/PumpWagonConnectionGraphics.html#part2_crop_adjustment Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PumpWagonConnectionGraphics.html#part2_crop_adjustment Online documentation} */ part2_crop_adjustment?: float /** * **Default:** `-0.05` * * Adjusts where the sprites will be cropped - * @see {@link https://lua-api.factorio.com/2.1.22/types/PumpWagonConnectionGraphics.html#part2_shadow_crop_adjustment Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PumpWagonConnectionGraphics.html#part2_shadow_crop_adjustment Online documentation} */ part2_shadow_crop_adjustment?: float /** * **Default:** `-0.375` - * @see {@link https://lua-api.factorio.com/2.1.22/types/PumpWagonConnectionGraphics.html#clamp_y_shift Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PumpWagonConnectionGraphics.html#clamp_y_shift Online documentation} */ clamp_y_shift?: float base?: BasePumpWagonConnectionAnimations /** * Rotating top part. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PumpWagonConnectionGraphics.html#part_1 Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PumpWagonConnectionGraphics.html#part_1 Online documentation} */ part_1?: RotatedSprite part_1_shadow?: RotatedSprite /** * Rotating arm. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PumpWagonConnectionGraphics.html#part_2 Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PumpWagonConnectionGraphics.html#part_2 Online documentation} */ part_2?: RotatedSprite part_2_shadow?: RotatedSprite @@ -12383,22 +12397,22 @@ declare module "factorio:prototype" { suction_clamp_shadow?: Animation /** * **Default:** ``{0, 0}`` - * @see {@link https://lua-api.factorio.com/2.1.22/types/PumpWagonConnectionGraphics.html#part1_to_2_shift Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PumpWagonConnectionGraphics.html#part1_to_2_shift Online documentation} */ part1_to_2_shift?: Vector /** * Relative projected render position of `part_1` to the parent pump position. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PumpWagonConnectionGraphics.html#top_pivot_shift Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PumpWagonConnectionGraphics.html#top_pivot_shift Online documentation} */ top_pivot_shift?: PumpWagonConnectionShift4Way /** * Projected render rest position of `suction_clamp` relative to the parent pump position. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PumpWagonConnectionGraphics.html#resting_position_shift Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PumpWagonConnectionGraphics.html#resting_position_shift Online documentation} */ resting_position_shift?: PumpWagonConnectionShift4Way /** * **Default:** ``{0.8, 1.55}`` - * @see {@link https://lua-api.factorio.com/2.1.22/types/PumpWagonConnectionGraphics.html#shadow_shift Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PumpWagonConnectionGraphics.html#shadow_shift Online documentation} */ shadow_shift?: Vector } @@ -12412,7 +12426,7 @@ declare module "factorio:prototype" { * The push back effect used by the {@linkplain https://wiki.factorio.com/Discharge_defense discharge defense}. * * Aims to push the target entity away from the source entity by the `distance` from the target entity's current position. Searches within double the `distance` from the pushed to position for the nearest non-colliding position for the target entity to be teleported too. If no valid non-colliding position is found or the target is not teleportable, then no push back occurs. - * @see {@link https://lua-api.factorio.com/2.1.22/types/PushBackTriggerEffectItem.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/PushBackTriggerEffectItem.html Online documentation} */ export interface PushBackTriggerEffectItem extends TriggerEffectItem { readonly type: "push-back" @@ -12424,12 +12438,12 @@ declare module "factorio:prototype" { * "rare" * @example * "legendary" - * @see {@link https://lua-api.factorio.com/2.1.22/types/QualityID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/QualityID.html Online documentation} */ export type QualityID = string /** * Root style: `"radiobutton"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/RadioButtonStyleSpecification.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RadioButtonStyleSpecification.html Online documentation} */ export interface RadioButtonStyleSpecification extends StyleWithClickableGraphicalSetSpecification { readonly type: "radiobutton_style" @@ -12437,22 +12451,22 @@ declare module "factorio:prototype" { * Name of a {@link FontPrototype}. * * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RadioButtonStyleSpecification.html#font Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RadioButtonStyleSpecification.html#font Online documentation} */ font?: string /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RadioButtonStyleSpecification.html#font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RadioButtonStyleSpecification.html#font_color Online documentation} */ font_color?: Color /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RadioButtonStyleSpecification.html#disabled_font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RadioButtonStyleSpecification.html#disabled_font_color Online documentation} */ disabled_font_color?: Color /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RadioButtonStyleSpecification.html#text_padding Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RadioButtonStyleSpecification.html#text_padding Online documentation} */ text_padding?: uint32 } @@ -12469,14 +12483,14 @@ declare module "factorio:prototype" { * distance = 5, * offset = {0, -5} * } - * @see {@link https://lua-api.factorio.com/2.1.22/types/RadiusVisualisationSpecification.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RadiusVisualisationSpecification.html Online documentation} */ export interface RadiusVisualisationSpecification { /** * The sprite to show. * * This sprite is silently overwritten by prototypes with a custom radius picture: {@link AgriculturalTowerPrototype#radius_visualisation_picture AgriculturalTowerPrototype::radius_visualisation_picture}, {@link AsteroidCollectorPrototype#radius_visualisation_picture AsteroidCollectorPrototype::radius_visualisation_picture}, {@link BeaconPrototype#radius_visualisation_picture BeaconPrototype::radius_visualisation_picture}, {@link CargoLandingPadPrototype#radius_visualisation_picture CargoLandingPadPrototype::radius_visualisation_picture}, {@link ElectricPolePrototype#radius_visualisation_picture ElectricPolePrototype::radius_visualisation_picture}, {@link MiningDrillPrototype#radius_visualisation_picture MiningDrillPrototype::radius_visualisation_picture}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RadiusVisualisationSpecification.html#sprite Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RadiusVisualisationSpecification.html#sprite Online documentation} */ sprite?: Sprite /** @@ -12485,24 +12499,24 @@ declare module "factorio:prototype" { * Must be greater than or equal to 0. * * This distance is silently overwritten by prototypes with a custom distance: {@link AgriculturalTowerPrototype#radius AgriculturalTowerPrototype::radius}, {@link AsteroidCollectorPrototype#collection_radius AsteroidCollectorPrototype::collection_radius}, {@link BeaconPrototype#supply_area_distance BeaconPrototype::supply_area_distance}, {@link ElectricPolePrototype#supply_area_distance ElectricPolePrototype::supply_area_distance}, {@link MiningDrillPrototype#resource_searching_radius MiningDrillPrototype::resource_searching_radius}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RadiusVisualisationSpecification.html#distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RadiusVisualisationSpecification.html#distance Online documentation} */ distance?: double /** * Offset of the sprite from the position of the entity. The offset is rotated by the entity's current direction. * * This offset is silently overwritten by prototypes with a custom offset: {@link MiningDrillPrototype#resource_searching_offset MiningDrillPrototype::resource_searching_offset}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RadiusVisualisationSpecification.html#offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RadiusVisualisationSpecification.html#offset Online documentation} */ offset?: Vector /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/RadiusVisualisationSpecification.html#draw_in_cursor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RadiusVisualisationSpecification.html#draw_in_cursor Online documentation} */ draw_in_cursor?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/RadiusVisualisationSpecification.html#draw_on_selection Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RadiusVisualisationSpecification.html#draw_on_selection Online documentation} */ draw_on_selection?: boolean /** @@ -12511,7 +12525,7 @@ declare module "factorio:prototype" { * If value is not provided for a quality, then `1` will be used as a multiplier instead. * * This does not affect the visualisation of prototypes with a custom distance specification because their distance automatically scales based on quality: agricultural tower (no quality scaling), {@link QualityPrototype#asteroid_collector_collection_radius_bonus asteroid collector}, {@link QualityPrototype#beacon_supply_area_distance_bonus beacon}, cargo landing pad (no quality scaling), {@link QualityPrototype#electric_pole_supply_area_distance_bonus electric pole}, and {@link QualityPrototype#mining_drill_mining_radius_bonus mining drill}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RadiusVisualisationSpecification.html#distance_quality_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RadiusVisualisationSpecification.html#distance_quality_multiplier Online documentation} */ distance_quality_multiplier?: Record } @@ -12527,32 +12541,32 @@ declare module "factorio:prototype" { } /** * Used for graphics by {@link RailPrototype}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RailFenceGraphicsSet.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RailFenceGraphicsSet.html Online documentation} */ export interface RailFenceGraphicsSet { /** * Must be 2 or 4. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RailFenceGraphicsSet.html#segment_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RailFenceGraphicsSet.html#segment_count Online documentation} */ segment_count: uint8 /** * **Default:** `"elevated-lower-object"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/RailFenceGraphicsSet.html#back_fence_render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RailFenceGraphicsSet.html#back_fence_render_layer Online documentation} */ back_fence_render_layer?: RenderLayer /** * **Default:** `"elevated-higher-object"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/RailFenceGraphicsSet.html#front_fence_render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RailFenceGraphicsSet.html#front_fence_render_layer Online documentation} */ front_fence_render_layer?: RenderLayer /** * **Default:** `"elevated-lower-object"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/RailFenceGraphicsSet.html#back_fence_render_layer_secondary Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RailFenceGraphicsSet.html#back_fence_render_layer_secondary Online documentation} */ back_fence_render_layer_secondary?: RenderLayer /** * **Default:** `"elevated-higher-object"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/RailFenceGraphicsSet.html#front_fence_render_layer_secondary Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RailFenceGraphicsSet.html#front_fence_render_layer_secondary Online documentation} */ front_fence_render_layer_secondary?: RenderLayer side_A: RailFencePictureSet @@ -12575,69 +12589,69 @@ declare module "factorio:prototype" { northwest: RailPieceLayers /** * **Default:** `Value of `rail_endings`` - * @see {@link https://lua-api.factorio.com/2.1.22/types/RailPictureSet.html#front_rail_endings Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RailPictureSet.html#front_rail_endings Online documentation} */ front_rail_endings?: Sprite16Way /** * **Default:** `Value of `rail_endings`` - * @see {@link https://lua-api.factorio.com/2.1.22/types/RailPictureSet.html#back_rail_endings Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RailPictureSet.html#back_rail_endings Online documentation} */ back_rail_endings?: Sprite16Way /** * Can be used to load rail endings instead of the front and back variants. * * Only loaded if `front_rail_endings` or `back_rail_endings` are not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RailPictureSet.html#rail_endings Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RailPictureSet.html#rail_endings Online documentation} */ rail_endings?: Sprite16Way /** * Must contain exactly 16 directions and 6 frames. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RailPictureSet.html#segment_visualisation_endings Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RailPictureSet.html#segment_visualisation_endings Online documentation} */ segment_visualisation_endings?: RotatedAnimation render_layers: RailRenderLayers /** * **Default:** `Value of `render_layers`` - * @see {@link https://lua-api.factorio.com/2.1.22/types/RailPictureSet.html#secondary_render_layers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RailPictureSet.html#secondary_render_layers Online documentation} */ secondary_render_layers?: RailRenderLayers /** - * @see {@link https://lua-api.factorio.com/2.1.22/types/RailPictureSet.html#slice_origin Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RailPictureSet.html#slice_origin Online documentation} */ slice_origin?: RailsSliceOffsets /** - * @see {@link https://lua-api.factorio.com/2.1.22/types/RailPictureSet.html#fog_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RailPictureSet.html#fog_mask Online documentation} */ fog_mask?: RailsFogMaskDefinitions } /** * Used for graphics by {@link RailPrototype} and {@link RailRemnantsPrototype}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RailPieceLayers.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RailPieceLayers.html Online documentation} */ export interface RailPieceLayers { /** * May not have more than 16 variations. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RailPieceLayers.html#metals Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RailPieceLayers.html#metals Online documentation} */ metals?: SpriteVariations /** * Must have same number of variations as `metals` or be empty. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RailPieceLayers.html#backplates Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RailPieceLayers.html#backplates Online documentation} */ backplates?: SpriteVariations /** * May not have more than 16 variations. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RailPieceLayers.html#ties Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RailPieceLayers.html#ties Online documentation} */ ties?: SpriteVariations /** * May not have more than 16 variations. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RailPieceLayers.html#stone_path Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RailPieceLayers.html#stone_path Online documentation} */ stone_path?: SpriteVariations /** * May not have more than 16 variations. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RailPieceLayers.html#stone_path_background Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RailPieceLayers.html#stone_path_background Online documentation} */ stone_path_background?: SpriteVariations segment_visualisation_middle?: Sprite @@ -12652,76 +12666,76 @@ declare module "factorio:prototype" { * **Default:** `false` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RailPlannerAllowElevatedRailsModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RailPlannerAllowElevatedRailsModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean } export interface RailRenderLayers { /** * **Default:** `"rail-stone-path-lower"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/RailRenderLayers.html#stone_path_lower Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RailRenderLayers.html#stone_path_lower Online documentation} */ stone_path_lower?: RenderLayer /** * **Default:** `"rail-stone-path"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/RailRenderLayers.html#stone_path Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RailRenderLayers.html#stone_path Online documentation} */ stone_path?: RenderLayer /** * **Default:** `"rail-tie"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/RailRenderLayers.html#tie Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RailRenderLayers.html#tie Online documentation} */ tie?: RenderLayer /** * **Default:** `"rail-screw"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/RailRenderLayers.html#screw Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RailRenderLayers.html#screw Online documentation} */ screw?: RenderLayer /** * **Default:** `"rail-metal"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/RailRenderLayers.html#metal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RailRenderLayers.html#metal Online documentation} */ metal?: RenderLayer /** * **Default:** `Value of `screw`` - * @see {@link https://lua-api.factorio.com/2.1.22/types/RailRenderLayers.html#front_end Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RailRenderLayers.html#front_end Online documentation} */ front_end?: RenderLayer /** * **Default:** `Value of `screw`` - * @see {@link https://lua-api.factorio.com/2.1.22/types/RailRenderLayers.html#back_end Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RailRenderLayers.html#back_end Online documentation} */ back_end?: RenderLayer /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/RailRenderLayers.html#underwater_layer_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RailRenderLayers.html#underwater_layer_offset Online documentation} */ underwater_layer_offset?: int8 } export interface RailSignalColorToFrameIndex { /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/RailSignalColorToFrameIndex.html#none Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RailSignalColorToFrameIndex.html#none Online documentation} */ none?: uint8 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/RailSignalColorToFrameIndex.html#red Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RailSignalColorToFrameIndex.html#red Online documentation} */ red?: uint8 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/RailSignalColorToFrameIndex.html#green Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RailSignalColorToFrameIndex.html#green Online documentation} */ green?: uint8 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/RailSignalColorToFrameIndex.html#blue Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RailSignalColorToFrameIndex.html#blue Online documentation} */ blue?: uint8 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/RailSignalColorToFrameIndex.html#yellow Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RailSignalColorToFrameIndex.html#yellow Online documentation} */ yellow?: uint8 } @@ -12739,7 +12753,7 @@ declare module "factorio:prototype" { structure: RotatedAnimation /** * **Default:** `"floor-mechanics"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/RailSignalPictureSet.html#structure_render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RailSignalPictureSet.html#structure_render_layer Online documentation} */ structure_render_layer?: RenderLayer signal_color_to_structure_frame_index: RailSignalColorToFrameIndex @@ -12754,46 +12768,46 @@ declare module "factorio:prototype" { sprites: Animation /** * **Default:** `"rail-chain-signal-metal"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/RailSignalStaticSpriteLayer.html#render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RailSignalStaticSpriteLayer.html#render_layer Online documentation} */ render_layer?: RenderLayer /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/RailSignalStaticSpriteLayer.html#hide_if_simulation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RailSignalStaticSpriteLayer.html#hide_if_simulation Online documentation} */ hide_if_simulation?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/RailSignalStaticSpriteLayer.html#hide_if_not_connected_to_rails Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RailSignalStaticSpriteLayer.html#hide_if_not_connected_to_rails Online documentation} */ hide_if_not_connected_to_rails?: boolean /** * Must be an empty array or contain exactly 16 values. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RailSignalStaticSpriteLayer.html#shifts Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RailSignalStaticSpriteLayer.html#shifts Online documentation} */ shifts?: readonly MapPosition[] align_to_frame_index?: readonly uint8[] } /** * @see RailSupportPrototype.graphics_set - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/RailSupportPrototype.html#graphics_set Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/RailSupportPrototype.html#graphics_set Online documentation} */ export interface RailSupportGraphicsSet { underwater_structure?: RotatedSprite structure: RotatedSprite /** * **Default:** `"object"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/RailSupportGraphicsSet.html#render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RailSupportGraphicsSet.html#render_layer Online documentation} */ render_layer?: RenderLayer /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/RailSupportGraphicsSet.html#underwater_layer_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RailSupportGraphicsSet.html#underwater_layer_offset Online documentation} */ underwater_layer_offset?: int8 /** * Refer to {@link EntityPrototype#water_reflection EntityPrototype::water_reflection}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RailSupportGraphicsSet.html#water_reflection Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RailSupportGraphicsSet.html#water_reflection Online documentation} */ water_reflection?: WaterReflectionDefinition } @@ -12803,13 +12817,13 @@ declare module "factorio:prototype" { * **Default:** `false` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RailSupportOnDeepOilOceanModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RailSupportOnDeepOilOceanModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean } /** * @see RailPictureSet.fog_mask - * @see {@link https://lua-api.factorio.com/2.1.22/types/RailPictureSet.html#fog_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RailPictureSet.html#fog_mask Online documentation} */ export interface RailsFogMaskDefinitions { north?: FogMaskShapeDefinition @@ -12819,7 +12833,7 @@ declare module "factorio:prototype" { } /** * @see RailPictureSet.slice_origin - * @see {@link https://lua-api.factorio.com/2.1.22/types/RailPictureSet.html#slice_origin Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RailPictureSet.html#slice_origin Online documentation} */ export interface RailsSliceOffsets { north?: Vector @@ -12835,7 +12849,7 @@ declare module "factorio:prototype" { * ## Union members * - [{@link uint8}, {@link uint8}]: First number is the minimum, second is the maximum. * - {@link uint8}: The same minimum and maximum. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RandomRange.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RandomRange.html Online documentation} */ export type RandomRange = readonly [uint8, uint8] | uint8 /** @@ -12843,7 +12857,7 @@ declare module "factorio:prototype" { * - `"center-to-center"` * - `"bounding-box-to-bounding-box"` * - `"center-to-bounding-box"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/RangeMode.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RangeMode.html Online documentation} */ export type RangeMode = "center-to-center" | "bounding-box-to-bounding-box" | "center-to-bounding-box" export type RangedValue = readonly [float, float] | float @@ -12851,7 +12865,7 @@ declare module "factorio:prototype" { * The smooth orientation. It is a `float` in the range `[0, 1)` that covers a full circle, starting at the top and going clockwise. * * This means a value of `0` indicates "north", a value of `0.5` indicates "south". For example then, a value of `0.625` would indicate "south-west", and a value of `0.875` would indicate "north-west". - * @see {@link https://lua-api.factorio.com/2.1.22/types/RealOrientation.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RealOrientation.html Online documentation} */ export type RealOrientation = float /** @@ -12860,7 +12874,7 @@ declare module "factorio:prototype" { * "crafting" * @example * "smelting" - * @see {@link https://lua-api.factorio.com/2.1.22/types/RecipeCategoryID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RecipeCategoryID.html Online documentation} */ export type RecipeCategoryID = string /** @@ -12869,32 +12883,32 @@ declare module "factorio:prototype" { * "electronic-circuit" * @example * "kovarex-enrichment-process" - * @see {@link https://lua-api.factorio.com/2.1.22/types/RecipeID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RecipeID.html Online documentation} */ export type RecipeID = string /** * If no tint is specified, the machine falls back to {@link WorkingVisualisations#default_recipe_tint WorkingVisualisations::default_recipe_tint}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RecipeTints.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RecipeTints.html Online documentation} */ export interface RecipeTints { /** * **Default:** `no tint` - * @see {@link https://lua-api.factorio.com/2.1.22/types/RecipeTints.html#primary Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RecipeTints.html#primary Online documentation} */ primary?: Color /** * **Default:** `no tint` - * @see {@link https://lua-api.factorio.com/2.1.22/types/RecipeTints.html#secondary Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RecipeTints.html#secondary Online documentation} */ secondary?: Color /** * **Default:** `no tint` - * @see {@link https://lua-api.factorio.com/2.1.22/types/RecipeTints.html#tertiary Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RecipeTints.html#tertiary Online documentation} */ tertiary?: Color /** * **Default:** `no tint` - * @see {@link https://lua-api.factorio.com/2.1.22/types/RecipeTints.html#quaternary Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RecipeTints.html#quaternary Online documentation} */ quaternary?: Color } @@ -12976,7 +12990,7 @@ declare module "factorio:prototype" { * - `"collision-selection-box"` * - `"arrow"` * - `"cursor"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/RenderLayer.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RenderLayer.html Online documentation} */ export type RenderLayer = | "zero" @@ -13055,7 +13069,7 @@ declare module "factorio:prototype" { * Defines the amount of an item required to research one unit of a {@link TechnologyPrototype technology}. The first member of the tuple is the name of a {@link ItemPrototype} and the second is the amount. Amount must not be 0. * @example * {"automation-science-pack", 1} - * @see {@link https://lua-api.factorio.com/2.1.22/types/ResearchIngredient.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ResearchIngredient.html Online documentation} */ export type ResearchIngredient = readonly [ItemID, uint16] export interface ResearchTechnologyTipTrigger { @@ -13092,7 +13106,7 @@ declare module "factorio:prototype" { * percent = 30 * } * } - * @see {@link https://lua-api.factorio.com/2.1.22/types/Resistance.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Resistance.html Online documentation} */ export interface Resistance { readonly type: DamageTypeID @@ -13100,14 +13114,14 @@ declare module "factorio:prototype" { * **Default:** `0` * * The {@linkplain https://wiki.factorio.com/Damage#Decrease.2C_or_.22flat.22_resistance flat resistance} to the given damage type. (Higher is better) - * @see {@link https://lua-api.factorio.com/2.1.22/types/Resistance.html#decrease Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Resistance.html#decrease Online documentation} */ decrease?: float /** * **Default:** `0` * * The {@linkplain https://wiki.factorio.com/Damage#Percentage_resistance percentage resistance} to the given damage type. Expected range is from 0 to 100, e.g. 50 is 50%. (Higher is better.) - * @see {@link https://lua-api.factorio.com/2.1.22/types/Resistance.html#percent Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Resistance.html#percent Online documentation} */ percent?: float } @@ -13117,7 +13131,7 @@ declare module "factorio:prototype" { * "basic-solid" * @example * "basic-fluid" - * @see {@link https://lua-api.factorio.com/2.1.22/types/ResourceCategoryID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ResourceCategoryID.html Online documentation} */ export type ResourceCategoryID = string /** @@ -13125,28 +13139,28 @@ declare module "factorio:prototype" { * - `"enabled"` * - `"disabled"` * - `"highlight"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/RichTextSetting.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RichTextSetting.html Online documentation} */ export type RichTextSetting = "enabled" | "disabled" | "highlight" export interface RobotDoorSpecification { /** * Drawn when a robot brings/takes items from this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RobotDoorSpecification.html#animation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RobotDoorSpecification.html#animation Online documentation} */ animation?: Animation /** * The offset from the center of this entity where a robot visually brings/takes items. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RobotDoorSpecification.html#location_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RobotDoorSpecification.html#location_offset Online documentation} */ location_offset?: Vector /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/RobotDoorSpecification.html#opened_duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RobotDoorSpecification.html#opened_duration Online documentation} */ opened_duration?: uint8 /** * Played when a robot brings/takes items from this entity. Only loaded if `animation` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RobotDoorSpecification.html#animation_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RobotDoorSpecification.html#animation_sound Online documentation} */ animation_sound?: Sound } @@ -13155,12 +13169,12 @@ declare module "factorio:prototype" { sloped?: RotatedSprite /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/RollingStockRotatedSlopedGraphics.html#slope_back_equals_front Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RollingStockRotatedSlopedGraphics.html#slope_back_equals_front Online documentation} */ slope_back_equals_front?: boolean /** * **Default:** `1.333` - * @see {@link https://lua-api.factorio.com/2.1.22/types/RollingStockRotatedSlopedGraphics.html#slope_angle_between_frames Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RollingStockRotatedSlopedGraphics.html#slope_angle_between_frames Online documentation} */ slope_angle_between_frames?: double } @@ -13172,7 +13186,7 @@ declare module "factorio:prototype" { * If this property is present, all RotatedAnimation definitions have to be placed as entries in the array, and they will all be loaded from there. `layers` may not be an empty table. Each definition in the array may also have the `layers` property. * * If this property is present, all other properties, including those inherited from AnimationParameters, are ignored. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RotatedAnimation.html#layers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RotatedAnimation.html#layers Online documentation} */ layers?: readonly RotatedAnimation[] /** @@ -13191,50 +13205,50 @@ declare module "factorio:prototype" { * - `4`: North (1), East (2), South (3), West (4) * * - `8`: North (1), Northeast (2), East (3), Southeast (4), South (5), Southwest (6), West (7), Northwest (8) - * @see {@link https://lua-api.factorio.com/2.1.22/types/RotatedAnimation.html#direction_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RotatedAnimation.html#direction_count Online documentation} */ direction_count?: uint32 /** * Only loaded, and mandatory if `layers`, `stripes`, and `filenames` are not defined. * * The path to the sprite file to use. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RotatedAnimation.html#filename Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RotatedAnimation.html#filename Online documentation} */ filename?: FileName /** * Only loaded if both `layers` and `stripes` are not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RotatedAnimation.html#filenames Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RotatedAnimation.html#filenames Online documentation} */ filenames?: readonly FileName[] /** * Only loaded if `layers` is not defined. Mandatory if `filenames` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RotatedAnimation.html#lines_per_file Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RotatedAnimation.html#lines_per_file Online documentation} */ lines_per_file?: uint32 /** * Only loaded if `layers` is not defined. Mandatory if `filenames` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RotatedAnimation.html#slice Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RotatedAnimation.html#slice Online documentation} */ slice?: uint32 /** * **Default:** `0` * * Only loaded if `layers` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RotatedAnimation.html#still_frame Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RotatedAnimation.html#still_frame Online documentation} */ still_frame?: uint32 /** * **Default:** `false` * * Only loaded if `layers` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RotatedAnimation.html#counterclockwise Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RotatedAnimation.html#counterclockwise Online documentation} */ counterclockwise?: boolean /** * **Default:** `0.5` * * Only loaded if `layers` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RotatedAnimation.html#middle_orientation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RotatedAnimation.html#middle_orientation Online documentation} */ middle_orientation?: RealOrientation /** @@ -13243,7 +13257,7 @@ declare module "factorio:prototype" { * Only loaded if `layers` is not defined. * * Automatically clamped to be between `0` and `1`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RotatedAnimation.html#orientation_range Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RotatedAnimation.html#orientation_range Online documentation} */ orientation_range?: float /** @@ -13252,19 +13266,19 @@ declare module "factorio:prototype" { * Used to fix the inconsistency of direction of the entity in 3d when rendered and direction on the screen (where the 45 degree angle for projection is used). * * Only loaded if `layers` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RotatedAnimation.html#apply_projection Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RotatedAnimation.html#apply_projection Online documentation} */ apply_projection?: boolean /** * Only loaded if `layers` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RotatedAnimation.html#stripes Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RotatedAnimation.html#stripes Online documentation} */ stripes?: readonly Stripe[] } /** * Struct type for {@link RotatedAnimation8Way} * @see RotatedAnimation8Way - * @see {@link https://lua-api.factorio.com/2.1.22/types/RotatedAnimation8Way.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RotatedAnimation8Way.html Online documentation} */ export interface RotatedAnimation8WayStruct { north: RotatedAnimation @@ -13280,7 +13294,7 @@ declare module "factorio:prototype" { * A map of rotated animations for all 8 directions of the entity. If this is loaded as a single RotatedAnimation, it applies to all directions. * * Any direction that is not defined defaults to the rotated animation of the opposite direction. If that is also not defined, it defaults to the north rotated animation. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RotatedAnimation8Way.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RotatedAnimation8Way.html Online documentation} */ export type RotatedAnimation8Way = RotatedAnimation8WayStruct | RotatedAnimation export type RotatedAnimationVariations = RotatedAnimation | readonly RotatedAnimation[] @@ -13316,61 +13330,61 @@ declare module "factorio:prototype" { * } * } * } - * @see {@link https://lua-api.factorio.com/2.1.22/types/RotatedSprite.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RotatedSprite.html Online documentation} */ export interface RotatedSprite extends Omit { /** * If this property is present, all RotatedSprite definitions have to be placed as entries in the array, and they will all be loaded from there. `layers` may not be an empty table. Each definition in the array may also have the `layers` property. * * If this property is present, all other properties, including those inherited from SpriteParameters, are ignored. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RotatedSprite.html#layers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RotatedSprite.html#layers Online documentation} */ layers?: readonly RotatedSprite[] /** * Only loaded, and mandatory if `layers` is not defined. * * Count of direction (frames) specified. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RotatedSprite.html#direction_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RotatedSprite.html#direction_count Online documentation} */ direction_count?: uint16 /** * Only loaded if `layers` is not defined. * * The path to the sprite file to use. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RotatedSprite.html#filename Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RotatedSprite.html#filename Online documentation} */ filename?: FileName /** * Only loaded, and mandatory if both `layers` and `filename` are not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RotatedSprite.html#filenames Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RotatedSprite.html#filenames Online documentation} */ filenames?: readonly FileName[] /** * **Default:** `0` * * Only loaded if `layers` is not defined. Mandatory if `filenames` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RotatedSprite.html#lines_per_file Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RotatedSprite.html#lines_per_file Online documentation} */ lines_per_file?: uint64 /** * Only loaded if `layers` is not defined. * * Number of slices this is sliced into when using the "optimized atlas packing" option. If you are a modder, you can just ignore this property. Example: If this is 4, the sprite will be sliced into a 4x4 grid. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RotatedSprite.html#dice Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RotatedSprite.html#dice Online documentation} */ dice?: SpriteSizeType /** * Only loaded if `layers` is not defined. * * Same as `dice` above, but this specifies only how many slices there are on the x axis. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RotatedSprite.html#dice_x Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RotatedSprite.html#dice_x Online documentation} */ dice_x?: SpriteSizeType /** * Only loaded if `layers` is not defined. * * Same as `dice` above, but this specifies only how many slices there are on the y axis. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RotatedSprite.html#dice_y Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RotatedSprite.html#dice_y Online documentation} */ dice_y?: SpriteSizeType /** @@ -13379,14 +13393,14 @@ declare module "factorio:prototype" { * Only loaded if `layers` is not defined. * * Unused. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RotatedSprite.html#generate_sdf Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RotatedSprite.html#generate_sdf Online documentation} */ generate_sdf?: boolean /** * **Default:** `false` * * Only loaded if `layers` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RotatedSprite.html#back_equals_front Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RotatedSprite.html#back_equals_front Online documentation} */ back_equals_front?: boolean /** @@ -13395,7 +13409,7 @@ declare module "factorio:prototype" { * Only loaded if `layers` is not defined. * * Used to fix the inconsistency of direction of the entity in 3d when rendered and direction on the screen (where the 45 degree angle for projection is used). - * @see {@link https://lua-api.factorio.com/2.1.22/types/RotatedSprite.html#apply_projection Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RotatedSprite.html#apply_projection Online documentation} */ apply_projection?: boolean /** @@ -13404,7 +13418,7 @@ declare module "factorio:prototype" { * Only loaded if `layers` is not defined. * * Set to `true` to indicate sprites in the spritesheet are in counterclockwise order. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RotatedSprite.html#counterclockwise Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RotatedSprite.html#counterclockwise Online documentation} */ counterclockwise?: boolean /** @@ -13413,60 +13427,60 @@ declare module "factorio:prototype" { * Only loaded if `layers` is not defined. * * Once the specified number of pictures is loaded, other pictures are loaded on other line. This is to allow having more sprites in matrix, to input files with too high width. The game engine limits the width of any input files to 8192px, so it is compatible with most graphics cards. 0 means that all the pictures are in one horizontal line. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RotatedSprite.html#line_length Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RotatedSprite.html#line_length Online documentation} */ line_length?: uint32 /** * **Default:** `false` * * Only loaded if `layers` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RotatedSprite.html#allow_low_quality_rotation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RotatedSprite.html#allow_low_quality_rotation Online documentation} */ allow_low_quality_rotation?: boolean /** * A list of overrides and customizations for each specific frame within the rotated sprite. This can be used to adjust each individual frame's width, height, and other properties. If this property is present, then it must contain at least as many `RotatedSpriteFrame` as there are sprites in this RotatedSprite. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RotatedSprite.html#frames Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RotatedSprite.html#frames Online documentation} */ frames?: readonly RotatedSpriteFrame[] } /** * Specifies frame-specific properties of an individual sprite within a RotatedSprite set. Some properties are absolute values, and some are relative and inherited from the parent RotatedSprite prototype definition. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RotatedSpriteFrame.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RotatedSpriteFrame.html Online documentation} */ export interface RotatedSpriteFrame { /** * **Default:** `inherited width` * * Width of the sprite in pixels, from 0-4096. If not defined, inherits the width of the parent RotatedSprite. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RotatedSpriteFrame.html#width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RotatedSpriteFrame.html#width Online documentation} */ width?: SpriteSizeType /** * **Default:** `inherited height` * * Height of the sprite in pixels, from 0-4096. If not defined, inherits the height of the parent RotatedSprite. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RotatedSpriteFrame.html#height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RotatedSpriteFrame.html#height Online documentation} */ height?: SpriteSizeType /** * **Default:** `0` * * The horizontal offset of the sprite relative to its specific frame within the parent RotatedSprite. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RotatedSpriteFrame.html#x Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RotatedSpriteFrame.html#x Online documentation} */ x?: SpriteSizeType /** * **Default:** `0` * * The vertical offset of the sprite relative to its specific frame within the parent RotatedSprite. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RotatedSpriteFrame.html#y Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RotatedSpriteFrame.html#y Online documentation} */ y?: SpriteSizeType /** * **Default:** ``{0, 0}`` * * The shift in tiles of this specific frame, relative to the shift of the parent RotatedSprite. `util.by_pixel()` can be used to divide the shift by 32 which is the usual pixel height/width of 1 tile in normal resolution. Note that 32 pixel tile height/width is not enforced anywhere - any other tile height or width is also possible. - * @see {@link https://lua-api.factorio.com/2.1.22/types/RotatedSpriteFrame.html#shift Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/RotatedSpriteFrame.html#shift Online documentation} */ shift?: Vector } @@ -13474,32 +13488,32 @@ declare module "factorio:prototype" { readonly type: "script" /** * The effect ID that will be provided in {@link import("factorio:runtime").on_script_trigger_effect on_script_trigger_effect}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ScriptTriggerEffectItem.html#effect_id Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ScriptTriggerEffectItem.html#effect_id Online documentation} */ effect_id: string /** * Event to be raised. When set, that event will be raised instead of {@link import("factorio:runtime").on_script_trigger_effect on_script_trigger_effect}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ScriptTriggerEffectItem.html#custom_event Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ScriptTriggerEffectItem.html#custom_event Online documentation} */ custom_event?: CustomEventID } /** * Triggered only by calling {@link import("factorio:runtime").LuaForce#script_trigger_research LuaForce::script_trigger_research}. Can be used to show custom scripted triggers in the technology GUI. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ScriptedTechnologyTrigger.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ScriptedTechnologyTrigger.html Online documentation} */ export interface ScriptedTechnologyTrigger { readonly type: "scripted" trigger_description?: LocalisedString /** * Can't be an empty array. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ScriptedTechnologyTrigger.html#icons Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ScriptedTechnologyTrigger.html#icons Online documentation} */ icons?: readonly IconData[] /** * Path to the icon file. * * Only loaded if `icons` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ScriptedTechnologyTrigger.html#icon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ScriptedTechnologyTrigger.html#icon Online documentation} */ icon?: FileName /** @@ -13508,7 +13522,7 @@ declare module "factorio:prototype" { * The size of the square icon, in pixels. E.g. `32` for a 32px by 32px icon. Must be larger than `0`. * * Only loaded if `icons` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ScriptedTechnologyTrigger.html#icon_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ScriptedTechnologyTrigger.html#icon_size Online documentation} */ icon_size?: SpriteSizeType } @@ -13518,120 +13532,120 @@ declare module "factorio:prototype" { } /** * Root style: `"scroll_pane"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ScrollPaneStyleSpecification.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ScrollPaneStyleSpecification.html Online documentation} */ export interface ScrollPaneStyleSpecification extends BaseStyleSpecification { readonly type: "scroll_pane_style" /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ScrollPaneStyleSpecification.html#vertical_flow_style Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ScrollPaneStyleSpecification.html#vertical_flow_style Online documentation} */ vertical_flow_style?: VerticalFlowStyleSpecification /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ScrollPaneStyleSpecification.html#horizontal_scrollbar_style Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ScrollPaneStyleSpecification.html#horizontal_scrollbar_style Online documentation} */ horizontal_scrollbar_style?: HorizontalScrollBarStyleSpecification /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ScrollPaneStyleSpecification.html#vertical_scrollbar_style Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ScrollPaneStyleSpecification.html#vertical_scrollbar_style Online documentation} */ vertical_scrollbar_style?: VerticalScrollBarStyleSpecification /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ScrollPaneStyleSpecification.html#graphical_set Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ScrollPaneStyleSpecification.html#graphical_set Online documentation} */ graphical_set?: ElementImageSet /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ScrollPaneStyleSpecification.html#background_graphical_set Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ScrollPaneStyleSpecification.html#background_graphical_set Online documentation} */ background_graphical_set?: ElementImageSet /** * Sets `extra_top_padding_when_activated`, `extra_bottom_padding_when_activated`, `extra_left_padding_when_activated` and `extra_right_padding_when_activated`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ScrollPaneStyleSpecification.html#extra_padding_when_activated Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ScrollPaneStyleSpecification.html#extra_padding_when_activated Online documentation} */ extra_padding_when_activated?: int32 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ScrollPaneStyleSpecification.html#extra_top_padding_when_activated Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ScrollPaneStyleSpecification.html#extra_top_padding_when_activated Online documentation} */ extra_top_padding_when_activated?: int32 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ScrollPaneStyleSpecification.html#extra_bottom_padding_when_activated Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ScrollPaneStyleSpecification.html#extra_bottom_padding_when_activated Online documentation} */ extra_bottom_padding_when_activated?: int32 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ScrollPaneStyleSpecification.html#extra_left_padding_when_activated Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ScrollPaneStyleSpecification.html#extra_left_padding_when_activated Online documentation} */ extra_left_padding_when_activated?: int32 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ScrollPaneStyleSpecification.html#extra_right_padding_when_activated Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ScrollPaneStyleSpecification.html#extra_right_padding_when_activated Online documentation} */ extra_right_padding_when_activated?: int32 /** * Sets `extra_top_margin_when_activated`, `extra_bottom_margin_when_activated`, `extra_left_margin_when_activated` and `extra_right_margin_when_activated`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ScrollPaneStyleSpecification.html#extra_margin_when_activated Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ScrollPaneStyleSpecification.html#extra_margin_when_activated Online documentation} */ extra_margin_when_activated?: int32 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ScrollPaneStyleSpecification.html#extra_top_margin_when_activated Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ScrollPaneStyleSpecification.html#extra_top_margin_when_activated Online documentation} */ extra_top_margin_when_activated?: int32 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ScrollPaneStyleSpecification.html#extra_bottom_margin_when_activated Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ScrollPaneStyleSpecification.html#extra_bottom_margin_when_activated Online documentation} */ extra_bottom_margin_when_activated?: int32 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ScrollPaneStyleSpecification.html#extra_left_margin_when_activated Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ScrollPaneStyleSpecification.html#extra_left_margin_when_activated Online documentation} */ extra_left_margin_when_activated?: int32 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ScrollPaneStyleSpecification.html#extra_right_margin_when_activated Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ScrollPaneStyleSpecification.html#extra_right_margin_when_activated Online documentation} */ extra_right_margin_when_activated?: int32 /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ScrollPaneStyleSpecification.html#dont_force_clipping_rect_for_contents Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ScrollPaneStyleSpecification.html#dont_force_clipping_rect_for_contents Online documentation} */ dont_force_clipping_rect_for_contents?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ScrollPaneStyleSpecification.html#always_draw_borders Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ScrollPaneStyleSpecification.html#always_draw_borders Online documentation} */ always_draw_borders?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ScrollPaneStyleSpecification.html#scrollbars_go_outside Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ScrollPaneStyleSpecification.html#scrollbars_go_outside Online documentation} */ scrollbars_go_outside?: boolean } /** * Used by {@link SegmentedUnitPrototype} to define and manage the segments that make up the body of the entity. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SegmentEngineSpecification.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SegmentEngineSpecification.html Online documentation} */ export interface SegmentEngineSpecification { /** * The segments that compose the entity's body. Must contain no more than 63 entries. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SegmentEngineSpecification.html#segments Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SegmentEngineSpecification.html#segments Online documentation} */ segments: readonly SegmentSpecification[] } /** * A container for a single reference to a {@link SegmentPrototype} within a {@link SegmentEngineSpecification}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SegmentSpecification.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SegmentSpecification.html Online documentation} */ export interface SegmentSpecification { /** * Name of the {@link SegmentPrototype} to use in this position. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SegmentSpecification.html#segment Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SegmentSpecification.html#segment Online documentation} */ segment: EntityID } @@ -13639,12 +13653,12 @@ declare module "factorio:prototype" { border_color: Color /** * **Default:** `Value of border_color` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SelectionModeData.html#count_button_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SelectionModeData.html#count_button_color Online documentation} */ count_button_color?: Color /** * **Default:** `Value of border_color` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SelectionModeData.html#chart_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SelectionModeData.html#chart_color Online documentation} */ chart_color?: Color cursor_box_type: CursorBoxType @@ -13656,17 +13670,17 @@ declare module "factorio:prototype" { ended_sound?: Sound /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SelectionModeData.html#play_ended_sound_when_nothing_selected Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SelectionModeData.html#play_ended_sound_when_nothing_selected Online documentation} */ play_ended_sound_when_nothing_selected?: boolean /** * **Default:** `"whitelist"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SelectionModeData.html#entity_filter_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SelectionModeData.html#entity_filter_mode Online documentation} */ entity_filter_mode?: "whitelist" | "blacklist" /** * **Default:** `"whitelist"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SelectionModeData.html#tile_filter_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SelectionModeData.html#tile_filter_mode Online documentation} */ tile_filter_mode?: "whitelist" | "blacklist" /** @@ -13675,7 +13689,7 @@ declare module "factorio:prototype" { * If this is `false`, using any of the mode flags `"blueprint"`, `"deconstruct"`, `"cancel-deconstruct"`, `"upgrade"`, `"cancel-upgrade"` or `"downgrade"` without also specifying another flag that selects entities will result in an error, because the selection tool cannot select any entities and this is likely undesired behavior. * * Setting this to `true` disables this error. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SelectionModeData.html#ignore_cannot_select_entities Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SelectionModeData.html#ignore_cannot_select_entities Online documentation} */ ignore_cannot_select_entities?: boolean /** @@ -13684,7 +13698,7 @@ declare module "factorio:prototype" { * If this is `false`, using any of the mode flags `"blueprint"` or `"deconstruct"` without also specifying any flag that selects tiles will result in an error, because the selection tool cannot select any tiles and this is likely undesired behavior. * * Setting this to `true` disables this error. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SelectionModeData.html#ignore_cannot_select_tiles Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SelectionModeData.html#ignore_cannot_select_tiles Online documentation} */ ignore_cannot_select_tiles?: boolean } @@ -13721,7 +13735,7 @@ declare module "factorio:prototype" { * - `"controllable-remove"` * - `"entity-ghost"`: Selects entities that are an {@link EntityGhostPrototype}. * - `"tile-ghost"`: Selects entities that are a {@link TileGhostPrototype}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SelectionModeFlags.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SelectionModeFlags.html Online documentation} */ export type SelectionModeFlags = | ( @@ -13785,18 +13799,18 @@ declare module "factorio:prototype" { /** * Struct type for {@link SemiPersistentWorldAmbientSoundDefinition} * @see SemiPersistentWorldAmbientSoundDefinition - * @see {@link https://lua-api.factorio.com/2.1.22/types/SemiPersistentWorldAmbientSoundDefinition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SemiPersistentWorldAmbientSoundDefinition.html Online documentation} */ export interface SemiPersistentWorldAmbientSoundDefinitionStruct { sound: Sound /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SemiPersistentWorldAmbientSoundDefinition.html#delay_mean_seconds Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SemiPersistentWorldAmbientSoundDefinition.html#delay_mean_seconds Online documentation} */ delay_mean_seconds?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SemiPersistentWorldAmbientSoundDefinition.html#delay_variance_seconds Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SemiPersistentWorldAmbientSoundDefinition.html#delay_variance_seconds Online documentation} */ delay_variance_seconds?: float } @@ -13809,7 +13823,7 @@ declare module "factorio:prototype" { readonly type: "send-spidertron" /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SendSpidertronTipTrigger.html#append Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SendSpidertronTipTrigger.html#append Online documentation} */ append?: boolean } @@ -13818,18 +13832,18 @@ declare module "factorio:prototype" { * - `"not-sendable"` * - `"manual"` * - `"automated"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SendToOrbitMode.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SendToOrbitMode.html Online documentation} */ export type SendToOrbitMode = "not-sendable" | "manual" | "automated" /** * Triggered when the triggers listed in `triggers` are triggered in order. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SequenceTipTrigger.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SequenceTipTrigger.html Online documentation} */ export interface SequenceTipTrigger { readonly type: "sequence" /** * List of triggers to fulfill. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SequenceTipTrigger.html#triggers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SequenceTipTrigger.html#triggers Online documentation} */ triggers: readonly TipTrigger[] } @@ -13838,12 +13852,12 @@ declare module "factorio:prototype" { entity?: EntityID /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SetFilterTipTrigger.html#match_type_only Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SetFilterTipTrigger.html#match_type_only Online documentation} */ match_type_only?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SetFilterTipTrigger.html#consecutive Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SetFilterTipTrigger.html#consecutive Online documentation} */ consecutive?: boolean } @@ -13851,7 +13865,7 @@ declare module "factorio:prototype" { readonly type: "set-logistic-request" /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SetLogisticRequestTipTrigger.html#logistic_chest_only Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SetLogisticRequestTipTrigger.html#logistic_chest_only Online documentation} */ logistic_chest_only?: boolean entity?: EntityID @@ -13862,17 +13876,17 @@ declare module "factorio:prototype" { machine?: EntityID /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SetRecipeTipTrigger.html#consecutive Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SetRecipeTipTrigger.html#consecutive Online documentation} */ consecutive?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SetRecipeTipTrigger.html#any_quality Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SetRecipeTipTrigger.html#any_quality Online documentation} */ any_quality?: boolean /** * **Default:** `any` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SetRecipeTipTrigger.html#uses_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SetRecipeTipTrigger.html#uses_fluid Online documentation} */ uses_fluid?: boolean } @@ -13882,12 +13896,12 @@ declare module "factorio:prototype" { radius: float /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SetTileTriggerEffectItem.html#apply_projection Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SetTileTriggerEffectItem.html#apply_projection Online documentation} */ apply_projection?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SetTileTriggerEffectItem.html#apply_on_space_platform Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SetTileTriggerEffectItem.html#apply_on_space_platform Online documentation} */ apply_on_space_platform?: boolean tile_collision_mask?: TileCollisionMaskConnector @@ -13897,12 +13911,12 @@ declare module "factorio:prototype" { * @example * -- Accessing the value of a mod setting * local val = settings.startup["my-mod-setting-name"].value - * @see {@link https://lua-api.factorio.com/2.1.22/types/Settings.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Settings.html Online documentation} */ export interface Settings { /** * All startup mod settings, indexed by the name of the setting. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Settings.html#startup Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Settings.html#startup Online documentation} */ startup: Record } @@ -13914,17 +13928,17 @@ declare module "factorio:prototype" { * {type = "item", name = "iron-plate", amount = 1, shared_probability = {min = 0, max = 0.3}}, * {type = "item", name = "copper-plate", amount = 1, shared_probability = {min = 0.3, max = 1}}, * } - * @see {@link https://lua-api.factorio.com/2.1.22/types/SharedProbabilityDefinition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SharedProbabilityDefinition.html Online documentation} */ export interface SharedProbabilityDefinition { /** * Lower end of the range of shared roll values that will allow product to be given. Must be >= `0` and <= `max`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SharedProbabilityDefinition.html#min Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SharedProbabilityDefinition.html#min Online documentation} */ min: double /** * Upper end of the range of shared roll values that will allow product to be given. Must be >= `min` and <= `1`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SharedProbabilityDefinition.html#max Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SharedProbabilityDefinition.html#max Online documentation} */ max: double } @@ -13956,24 +13970,24 @@ declare module "factorio:prototype" { * - `"space-location"` * - `"asteroid-chunk"` * - `"quality"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SignalIDConnector.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SignalIDConnector.html#type Online documentation} */ readonly type: "virtual" | "item" | "fluid" | "recipe" | "entity" | "space-location" | "asteroid-chunk" | "quality" /** * Name of the signal. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SignalIDConnector.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SignalIDConnector.html#name Online documentation} */ name: VirtualSignalID | ItemID | FluidID | RecipeID | EntityID | SpaceLocationID | AsteroidChunkID | QualityID /** * Defaults to `normal`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SignalIDConnector.html#quality Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SignalIDConnector.html#quality Online documentation} */ quality?: QualityID } /** * Struct type for {@link SimpleBoundingBox} * @see SimpleBoundingBox - * @see {@link https://lua-api.factorio.com/2.1.22/types/SimpleBoundingBox.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SimpleBoundingBox.html Online documentation} */ export interface SimpleBoundingBoxStruct { left_top: MapPosition @@ -13990,39 +14004,39 @@ declare module "factorio:prototype" { * @example * -- long definition * {left_top = {x = -2, y = -3}, right_bottom = {x = 5, y = 8}} - * @see {@link https://lua-api.factorio.com/2.1.22/types/SimpleBoundingBox.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SimpleBoundingBox.html Online documentation} */ export type SimpleBoundingBox = SimpleBoundingBoxStruct | readonly [MapPosition, MapPosition] export interface SimpleModifier extends BaseModifier { /** * Modification value, which will be added to the variable it modifies. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SimpleModifier.html#modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SimpleModifier.html#modifier Online documentation} */ modifier: double } /** * Used by tips and tricks and main menu simulations. Simulations can be controlled at runtime via {@link import("factorio:runtime").LuaSimulation LuaSimulation}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SimulationDefinition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SimulationDefinition.html Online documentation} */ export interface SimulationDefinition { /** * **Default:** `"nauvis"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SimulationDefinition.html#planet Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SimulationDefinition.html#planet Online documentation} */ planet?: SpaceLocationID /** * Only applied to the simulation if a test player is created through {@link import("factorio:runtime").LuaSimulation#create_test_player LuaSimulation::create_test_player}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SimulationDefinition.html#game_view_settings Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SimulationDefinition.html#game_view_settings Online documentation} */ game_view_settings?: GameViewSettings /** * The save file that is used for this simulation. If not given and `generate_map` is `true`, a map is generated by the game. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SimulationDefinition.html#save Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SimulationDefinition.html#save Online documentation} */ save?: FileName /** - * This code is run as a (silent) console command inside the simulation when it is first initialized. Since this is run as a console command, the restrictions of console commands apply, e.g. `require` is not available, see {@linkplain https://lua-api.factorio.com/2.1.22/auxiliary/libraries.html here}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SimulationDefinition.html#init_file Online documentation} + * This code is run as a (silent) console command inside the simulation when it is first initialized. Since this is run as a console command, the restrictions of console commands apply, e.g. `require` is not available, see {@linkplain https://lua-api.factorio.com/2.1.24/auxiliary/libraries.html here}. + * @see {@link https://lua-api.factorio.com/2.1.24/types/SimulationDefinition.html#init_file Online documentation} */ init_file?: FileName /** @@ -14030,13 +14044,13 @@ declare module "factorio:prototype" { * * Only loaded if `init_file` is not defined. * - * This code is run as a (silent) console command inside the simulation when it is first initialized. Since this is run as a console command, the restrictions of console commands apply, e.g. `require` is not available, see {@linkplain https://lua-api.factorio.com/2.1.22/auxiliary/libraries.html here}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SimulationDefinition.html#init Online documentation} + * This code is run as a (silent) console command inside the simulation when it is first initialized. Since this is run as a console command, the restrictions of console commands apply, e.g. `require` is not available, see {@linkplain https://lua-api.factorio.com/2.1.24/auxiliary/libraries.html here}. + * @see {@link https://lua-api.factorio.com/2.1.24/types/SimulationDefinition.html#init Online documentation} */ init?: string /** - * This code is run as a (silent) console command inside the simulation every time the simulation is updated. Since this is run as a console command, the restrictions of console commands apply, e.g. `require` is not available, see {@linkplain https://lua-api.factorio.com/2.1.22/auxiliary/libraries.html here}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SimulationDefinition.html#update_file Online documentation} + * This code is run as a (silent) console command inside the simulation every time the simulation is updated. Since this is run as a console command, the restrictions of console commands apply, e.g. `require` is not available, see {@linkplain https://lua-api.factorio.com/2.1.24/auxiliary/libraries.html here}. + * @see {@link https://lua-api.factorio.com/2.1.24/types/SimulationDefinition.html#update_file Online documentation} */ update_file?: FileName /** @@ -14044,73 +14058,73 @@ declare module "factorio:prototype" { * * Only loaded if `update_file` is not defined. * - * This code is run as a (silent) console command inside the simulation every time the simulation is updated. Since this is run as a console command, the restrictions of console commands apply, e.g. `require` is not available, see {@linkplain https://lua-api.factorio.com/2.1.22/auxiliary/libraries.html here}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SimulationDefinition.html#update Online documentation} + * This code is run as a (silent) console command inside the simulation every time the simulation is updated. Since this is run as a console command, the restrictions of console commands apply, e.g. `require` is not available, see {@linkplain https://lua-api.factorio.com/2.1.24/auxiliary/libraries.html here}. + * @see {@link https://lua-api.factorio.com/2.1.24/types/SimulationDefinition.html#update Online documentation} */ update?: string /** * An array of mods whose runtime scripts will be loaded for this simulation, if they are present and enabled. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SimulationDefinition.html#mods Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SimulationDefinition.html#mods Online documentation} */ mods?: readonly string[] /** * **Default:** `0` * * Amount of ticks that this simulation should run for before the simulation is shown to the player. These updates happen after init/init_file has been run and at the highest possible rate (> 60 UPS). - * @see {@link https://lua-api.factorio.com/2.1.22/types/SimulationDefinition.html#init_update_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SimulationDefinition.html#init_update_count Online documentation} */ init_update_count?: uint32 /** * **Default:** `0` * * How long this simulation takes. In the main menu simulations, another simulation will start after this simulation ends. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SimulationDefinition.html#length Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SimulationDefinition.html#length Online documentation} */ length?: uint32 /** * **Default:** `false` * * If `save` is not given and this is true, a map gets generated by the game for use in the simulation. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SimulationDefinition.html#generate_map Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SimulationDefinition.html#generate_map Online documentation} */ generate_map?: boolean /** * **Default:** `true` * * If this is true, the map of the simulation is set to be a lab-tile checkerboard in the area of `{{-20, -15},{20, 15}}` when the scenario is first initialized (before init/init_file run). - * @see {@link https://lua-api.factorio.com/2.1.22/types/SimulationDefinition.html#checkboard Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SimulationDefinition.html#checkboard Online documentation} */ checkboard?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SimulationDefinition.html#hide_health_bars Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SimulationDefinition.html#hide_health_bars Online documentation} */ hide_health_bars?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SimulationDefinition.html#mute_technology_finished_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SimulationDefinition.html#mute_technology_finished_sound Online documentation} */ mute_technology_finished_sound?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SimulationDefinition.html#mute_alert_sounds Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SimulationDefinition.html#mute_alert_sounds Online documentation} */ mute_alert_sounds?: boolean /** * Multiplier for the simulation volume set by the player in the sound settings. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SimulationDefinition.html#volume_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SimulationDefinition.html#volume_modifier Online documentation} */ volume_modifier?: float /** * If true, overrides the simulation volume set by the player in the sound settings, simply setting the volume modifier to `1`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SimulationDefinition.html#override_volume Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SimulationDefinition.html#override_volume Online documentation} */ override_volume?: boolean /** * Overrides whether a simulation has its wind sounds muted. * * Tips and Tricks simulations and Factoriopedia simulations have their wind sounds muted by default, other simulations don't. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SimulationDefinition.html#mute_wind_sounds Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SimulationDefinition.html#mute_wind_sounds Online documentation} */ mute_wind_sounds?: boolean hide_factoriopedia_gradient?: boolean @@ -14118,60 +14132,60 @@ declare module "factorio:prototype" { /** * One frame in time for a Bezier interpolation. * @see SingleGraphicProcessionLayer.frames - * @see {@link https://lua-api.factorio.com/2.1.22/types/SingleGraphicProcessionLayer.html#frames Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SingleGraphicProcessionLayer.html#frames Online documentation} */ export interface SingleGraphicLayerProcessionBezierControlPoint { /** * Mandatory if `opacity` or `tint` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SingleGraphicLayerProcessionBezierControlPoint.html#timestamp Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SingleGraphicLayerProcessionBezierControlPoint.html#timestamp Online documentation} */ timestamp?: MapTick /** * **Default:** `1` * * `opacity` and `opacity_t` interpolate a double smoothly over time. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SingleGraphicLayerProcessionBezierControlPoint.html#opacity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SingleGraphicLayerProcessionBezierControlPoint.html#opacity Online documentation} */ opacity?: double /** * Bidirectional tangent at the given timestamp. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SingleGraphicLayerProcessionBezierControlPoint.html#opacity_t Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SingleGraphicLayerProcessionBezierControlPoint.html#opacity_t Online documentation} */ opacity_t?: double /** * **Default:** `{1.0, 1.0, 1.0, 1.0}` * * `tint` and `tint_t` interpolate a color smoothly over time. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SingleGraphicLayerProcessionBezierControlPoint.html#tint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SingleGraphicLayerProcessionBezierControlPoint.html#tint Online documentation} */ tint?: Color /** * Bidirectional tangent at the given timestamp. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SingleGraphicLayerProcessionBezierControlPoint.html#tint_t Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SingleGraphicLayerProcessionBezierControlPoint.html#tint_t Online documentation} */ tint_t?: Color /** * **Default:** `0` * * `rotation` and `rotation_t` interpolate a double smoothly over time. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SingleGraphicLayerProcessionBezierControlPoint.html#rotation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SingleGraphicLayerProcessionBezierControlPoint.html#rotation Online documentation} */ rotation?: double /** * Bidirectional tangent at the given timestamp. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SingleGraphicLayerProcessionBezierControlPoint.html#rotation_t Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SingleGraphicLayerProcessionBezierControlPoint.html#rotation_t Online documentation} */ rotation_t?: double /** * **Default:** `1` * * `scale` and `scale_t` interpolate a double smoothly over time. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SingleGraphicLayerProcessionBezierControlPoint.html#scale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SingleGraphicLayerProcessionBezierControlPoint.html#scale Online documentation} */ scale?: double /** * Bidirectional tangent at the given timestamp. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SingleGraphicLayerProcessionBezierControlPoint.html#scale_t Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SingleGraphicLayerProcessionBezierControlPoint.html#scale_t Online documentation} */ scale_t?: double /** @@ -14180,29 +14194,29 @@ declare module "factorio:prototype" { * `shift` and `shift_t` interpolate a vector smoothly over time using `shift_rate` and `shift_rate_t` for a 0-1 rate curve. * * Vector value. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SingleGraphicLayerProcessionBezierControlPoint.html#shift Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SingleGraphicLayerProcessionBezierControlPoint.html#shift Online documentation} */ shift?: Vector /** * Vector tangent. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SingleGraphicLayerProcessionBezierControlPoint.html#shift_t Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SingleGraphicLayerProcessionBezierControlPoint.html#shift_t Online documentation} */ shift_t?: Vector /** * Rate 0-1 value. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SingleGraphicLayerProcessionBezierControlPoint.html#shift_rate Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SingleGraphicLayerProcessionBezierControlPoint.html#shift_rate Online documentation} */ shift_rate?: double /** * Rate tangent. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SingleGraphicLayerProcessionBezierControlPoint.html#shift_rate_t Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SingleGraphicLayerProcessionBezierControlPoint.html#shift_rate_t Online documentation} */ shift_rate_t?: double /** * **Default:** `0` * * the frame of the pod animation played. Used only when 'animation_driven_by_curve' is enabled. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SingleGraphicLayerProcessionBezierControlPoint.html#frame Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SingleGraphicLayerProcessionBezierControlPoint.html#frame Online documentation} */ frame?: float } @@ -14211,228 +14225,228 @@ declare module "factorio:prototype" { graphic: ProcessionGraphic /** * **Default:** `"object"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SingleGraphicProcessionLayer.html#render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SingleGraphicProcessionLayer.html#render_layer Online documentation} */ render_layer?: RenderLayer /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SingleGraphicProcessionLayer.html#secondary_draw_order Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SingleGraphicProcessionLayer.html#secondary_draw_order Online documentation} */ secondary_draw_order?: int8 /** * **Default:** `"pod"` * * Where the sprite is centered. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SingleGraphicProcessionLayer.html#relative_to Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SingleGraphicProcessionLayer.html#relative_to Online documentation} */ relative_to?: EffectRelativeTo /** * **Default:** `true` * * Swaps the order of sprite shift and rotation. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SingleGraphicProcessionLayer.html#compensated_pivot Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SingleGraphicProcessionLayer.html#compensated_pivot Online documentation} */ compensated_pivot?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SingleGraphicProcessionLayer.html#rotates_with_pod Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SingleGraphicProcessionLayer.html#rotates_with_pod Online documentation} */ rotates_with_pod?: boolean /** * **Default:** `true` * * Only applied when the `relative_to` is `pod`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SingleGraphicProcessionLayer.html#shift_rotates_with_pod Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SingleGraphicProcessionLayer.html#shift_rotates_with_pod Online documentation} */ shift_rotates_with_pod?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SingleGraphicProcessionLayer.html#is_passenger_only Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SingleGraphicProcessionLayer.html#is_passenger_only Online documentation} */ is_passenger_only?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SingleGraphicProcessionLayer.html#clip_with_hatches Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SingleGraphicProcessionLayer.html#clip_with_hatches Online documentation} */ clip_with_hatches?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SingleGraphicProcessionLayer.html#animation_driven_by_curve Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SingleGraphicProcessionLayer.html#animation_driven_by_curve Online documentation} */ animation_driven_by_curve?: boolean /** - * @see {@link https://lua-api.factorio.com/2.1.22/types/SingleGraphicProcessionLayer.html#frames Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SingleGraphicProcessionLayer.html#frames Online documentation} */ frames: readonly SingleGraphicLayerProcessionBezierControlPoint[] } /** * Root style: `"slider"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SliderStyleSpecification.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SliderStyleSpecification.html Online documentation} */ export interface SliderStyleSpecification extends BaseStyleSpecification { readonly type: "slider_style" /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SliderStyleSpecification.html#full_bar Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SliderStyleSpecification.html#full_bar Online documentation} */ full_bar?: ElementImageSet /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SliderStyleSpecification.html#full_bar_disabled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SliderStyleSpecification.html#full_bar_disabled Online documentation} */ full_bar_disabled?: ElementImageSet /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SliderStyleSpecification.html#empty_bar Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SliderStyleSpecification.html#empty_bar Online documentation} */ empty_bar?: ElementImageSet /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SliderStyleSpecification.html#empty_bar_disabled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SliderStyleSpecification.html#empty_bar_disabled Online documentation} */ empty_bar_disabled?: ElementImageSet /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SliderStyleSpecification.html#draw_notches Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SliderStyleSpecification.html#draw_notches Online documentation} */ draw_notches?: boolean /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SliderStyleSpecification.html#notch Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SliderStyleSpecification.html#notch Online documentation} */ notch?: ElementImageSet /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SliderStyleSpecification.html#button Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SliderStyleSpecification.html#button Online documentation} */ button?: ButtonStyleSpecification /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SliderStyleSpecification.html#high_button Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SliderStyleSpecification.html#high_button Online documentation} */ high_button?: ButtonStyleSpecification } /** * Definition of the smoke of an entity. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SmokeSource.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SmokeSource.html Online documentation} */ export interface SmokeSource { name: TrivialSmokeID /** * Number of smokes generated per entity animation cycle (or per tick for some entities). Can't be negative or infinite. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SmokeSource.html#frequency Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SmokeSource.html#frequency Online documentation} */ frequency: float /** * **Default:** `0` * * Offsets animation cycle, to move at which points of the cycle the smoke gets emitted. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SmokeSource.html#offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SmokeSource.html#offset Online documentation} */ offset?: float /** * Positional offset of smoke source relative to owner entity position. The vector is rotated by orientation of the entity. * * If any of `north_position`, `north_east_position`, `east_position`, `south_east_position`, `south_position`, `south_west_position`, `west_position`, `north_west_position` is defined, `position` is used only as default value for directional positions. Orientation of the owner entity will be rounded to 4 or 8 directions and one of the directional positions will be used as the offset instead of `position`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SmokeSource.html#position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SmokeSource.html#position Online documentation} */ position?: Vector /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SmokeSource.html#has_8_directions Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SmokeSource.html#has_8_directions Online documentation} */ has_8_directions?: boolean /** * **Default:** `Value of `position`` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SmokeSource.html#north_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SmokeSource.html#north_position Online documentation} */ north_position?: Vector /** * **Default:** `Value of `position` rotated north-east` * * Only loaded if `has_8_directions` is `true`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SmokeSource.html#north_east_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SmokeSource.html#north_east_position Online documentation} */ north_east_position?: Vector /** * **Default:** `Value of `position` rotated east` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SmokeSource.html#east_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SmokeSource.html#east_position Online documentation} */ east_position?: Vector /** * **Default:** `Value of `position` rotated south-east` * * Only loaded if `has_8_directions` is `true`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SmokeSource.html#south_east_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SmokeSource.html#south_east_position Online documentation} */ south_east_position?: Vector /** * **Default:** `Value of `position` rotated south` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SmokeSource.html#south_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SmokeSource.html#south_position Online documentation} */ south_position?: Vector /** * **Default:** `Value of `position` rotated south-west` * * Only loaded if `has_8_directions` is `true`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SmokeSource.html#south_west_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SmokeSource.html#south_west_position Online documentation} */ south_west_position?: Vector /** * **Default:** `Value of `position` rotated west` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SmokeSource.html#west_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SmokeSource.html#west_position Online documentation} */ west_position?: Vector /** * **Default:** `Value of `position` rotated north-west` * * Only loaded if `has_8_directions` is `true`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SmokeSource.html#north_west_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SmokeSource.html#north_west_position Online documentation} */ north_west_position?: Vector deviation?: Vector /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SmokeSource.html#starting_frame Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SmokeSource.html#starting_frame Online documentation} */ starting_frame?: uint16 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SmokeSource.html#starting_frame_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SmokeSource.html#starting_frame_deviation Online documentation} */ starting_frame_deviation?: uint16 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SmokeSource.html#height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SmokeSource.html#height Online documentation} */ height?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SmokeSource.html#height_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SmokeSource.html#height_deviation Online documentation} */ height_deviation?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SmokeSource.html#starting_vertical_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SmokeSource.html#starting_vertical_speed Online documentation} */ starting_vertical_speed?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SmokeSource.html#starting_vertical_speed_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SmokeSource.html#starting_vertical_speed_deviation Online documentation} */ starting_vertical_speed_deviation?: float /** * **Default:** `0.965` * * A value between `0` and `1`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SmokeSource.html#vertical_speed_slowdown Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SmokeSource.html#vertical_speed_slowdown Online documentation} */ vertical_speed_slowdown?: float } /** * Struct type for {@link Sound} * @see Sound - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sound.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sound.html Online documentation} */ export interface SoundStruct { category?: SoundType @@ -14442,27 +14456,27 @@ declare module "factorio:prototype" { * Sounds with higher priority will replace a sound with lower priority if the maximum sounds limit is reached. * * 0 is the highest priority, 255 is the lowest priority. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sound.html#priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sound.html#priority Online documentation} */ priority?: uint8 aggregation?: AggregationSpecification /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sound.html#allow_random_repeat Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sound.html#allow_random_repeat Online documentation} */ allow_random_repeat?: boolean /** * **Default:** `1` * * Modifies how far a sound can be heard. Cannot be less than zero. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sound.html#audible_distance_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sound.html#audible_distance_modifier Online documentation} */ audible_distance_modifier?: double game_controller_vibration_data?: GameControllerVibrationData advanced_volume_control?: AdvancedVolumeControl /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sound.html#speed_smoothing_window_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sound.html#speed_smoothing_window_size Online documentation} */ speed_smoothing_window_size?: uint32 variations?: SoundDefinition | readonly SoundDefinition[] @@ -14470,7 +14484,7 @@ declare module "factorio:prototype" { * Supported sound file formats are `.ogg` (Vorbis and Opus) and `.wav`. * * Only loaded, and mandatory if `variations` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sound.html#filename Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sound.html#filename Online documentation} */ filename?: FileName /** @@ -14481,7 +14495,7 @@ declare module "factorio:prototype" { * This sets both min and max volumes. * * Must be `>= 0`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sound.html#volume Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sound.html#volume Online documentation} */ volume?: float /** @@ -14490,7 +14504,7 @@ declare module "factorio:prototype" { * Only loaded if `variations` and `volume` are not defined. * * Must be `>= 0`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sound.html#min_volume Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sound.html#min_volume Online documentation} */ min_volume?: float /** @@ -14501,12 +14515,12 @@ declare module "factorio:prototype" { * Only loaded if `min_volume` is defined. * * Must be `>= min_volume`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sound.html#max_volume Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sound.html#max_volume Online documentation} */ max_volume?: float /** * Only loaded if `variations` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sound.html#preload Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sound.html#preload Online documentation} */ preload?: boolean /** @@ -14515,7 +14529,7 @@ declare module "factorio:prototype" { * Speed must be `>= 1 / 64`. This sets both min and max speeds. * * Only loaded if `variations` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sound.html#speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sound.html#speed Online documentation} */ speed?: float /** @@ -14524,7 +14538,7 @@ declare module "factorio:prototype" { * Must be `>= 1 / 64`. * * Only loaded if both `variations` and `speed` are not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sound.html#min_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sound.html#min_speed Online documentation} */ min_speed?: float /** @@ -14533,12 +14547,12 @@ declare module "factorio:prototype" { * Must be `>= min_speed`. * * Only loaded if `variations` is not defined. Only loaded, and mandatory if `min_speed` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sound.html#max_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sound.html#max_speed Online documentation} */ max_speed?: float /** * Only loaded if `variations` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sound.html#modifiers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sound.html#modifiers Online documentation} */ modifiers?: SoundModifier | readonly SoundModifier[] } @@ -14548,38 +14562,38 @@ declare module "factorio:prototype" { * filename = "__base__/sound/ambient/world-ambience-3.ogg", * volume = 1.2 * } - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sound.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sound.html Online documentation} */ export type Sound = SoundStruct | SoundDefinition | readonly SoundDefinition[] export interface SoundAccent { sound?: Sound /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SoundAccent.html#frame Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SoundAccent.html#frame Online documentation} */ frame?: uint16 /** * Play the `sound` for a working visualisation of a given {@link WorkingVisualisation#name WorkingVisualisation::name}. * * The name cannot be empty. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SoundAccent.html#play_for_working_visualisation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SoundAccent.html#play_for_working_visualisation Online documentation} */ play_for_working_visualisation?: string /** * The `sound` is played when the entity has one the specified direction. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SoundAccent.html#play_for_directions Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SoundAccent.html#play_for_directions Online documentation} */ play_for_directions?: readonly defines.direction[] } /** * Struct type for {@link SoundDefinition} * @see SoundDefinition - * @see {@link https://lua-api.factorio.com/2.1.22/types/SoundDefinition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SoundDefinition.html Online documentation} */ export interface SoundDefinitionStruct { /** * Supported sound file formats are `.ogg` (Vorbis and Opus) and `.wav`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SoundDefinition.html#filename Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SoundDefinition.html#filename Online documentation} */ filename: FileName /** @@ -14588,7 +14602,7 @@ declare module "factorio:prototype" { * This sets both min and max volumes. * * Must be `>= 0`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SoundDefinition.html#volume Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SoundDefinition.html#volume Online documentation} */ volume?: float /** @@ -14597,7 +14611,7 @@ declare module "factorio:prototype" { * Only loaded if `volume` is not defined. * * Must be `>= 0`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SoundDefinition.html#min_volume Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SoundDefinition.html#min_volume Online documentation} */ min_volume?: float /** @@ -14606,7 +14620,7 @@ declare module "factorio:prototype" { * Only loaded if `min_volume` is defined. * * Must be `>= min_volume`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SoundDefinition.html#max_volume Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SoundDefinition.html#max_volume Online documentation} */ max_volume?: float preload?: boolean @@ -14614,7 +14628,7 @@ declare module "factorio:prototype" { * **Default:** `1` * * Speed must be `>= 1 / 64`. This sets both min and max speeds. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SoundDefinition.html#speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SoundDefinition.html#speed Online documentation} */ speed?: float /** @@ -14623,7 +14637,7 @@ declare module "factorio:prototype" { * Only loaded if `speed` is not defined. * * Must be `>= 1 / 64`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SoundDefinition.html#min_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SoundDefinition.html#min_speed Online documentation} */ min_speed?: float /** @@ -14632,7 +14646,7 @@ declare module "factorio:prototype" { * Only loaded, and mandatory, if `min_speed` is defined. * * Must be `>= min_speed`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SoundDefinition.html#max_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SoundDefinition.html#max_speed Online documentation} */ max_speed?: float modifiers?: SoundModifier | readonly SoundModifier[] @@ -14651,7 +14665,7 @@ declare module "factorio:prototype" { * - `"elevation"` * - `"space-platform"` * - `"tall-entities-hidden"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SoundModifierType.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SoundModifierType.html Online documentation} */ export type SoundModifierType = "game" | "main-menu" | "tips-and-tricks" | "driving" | "elevation" | "space-platform" | "tall-entities-hidden" @@ -14670,7 +14684,7 @@ declare module "factorio:prototype" { * - `"weapon"` * - `"explosion"` * - `"enemy"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SoundType.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SoundType.html Online documentation} */ export type SoundType = | "game-effect" @@ -14687,17 +14701,17 @@ declare module "factorio:prototype" { /** * Struct type for {@link SpaceConnectionAsteroidSpawnDefinition} * @see SpaceConnectionAsteroidSpawnDefinition - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpaceConnectionAsteroidSpawnDefinition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpaceConnectionAsteroidSpawnDefinition.html Online documentation} */ export interface SpaceConnectionAsteroidSpawnDefinitionStruct { /** * **Default:** `"entity"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpaceConnectionAsteroidSpawnDefinition.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpaceConnectionAsteroidSpawnDefinition.html#type Online documentation} */ readonly type?: "entity" | "asteroid-chunk" /** * The type this is loaded as depends on `type`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpaceConnectionAsteroidSpawnDefinition.html#asteroid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpaceConnectionAsteroidSpawnDefinition.html#asteroid Online documentation} */ asteroid: EntityID | AsteroidChunkID spawn_points: readonly SpaceConnectionAsteroidSpawnPoint[] @@ -14713,7 +14727,7 @@ declare module "factorio:prototype" { * "nauvis-vulcanus" * @example * "fulgora-aquilo" - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpaceConnectionID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpaceConnectionID.html Online documentation} */ export type SpaceConnectionID = string export interface SpaceDustEffectProperties { @@ -14722,19 +14736,19 @@ declare module "factorio:prototype" { asteroid_normal_texture: EffectTexture /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpaceDustEffectProperties.html#animation_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpaceDustEffectProperties.html#animation_speed Online documentation} */ animation_speed?: float } export interface SpaceLocationAsteroidSpawnDefinition extends AsteroidSpawnPoint { /** * **Default:** `"entity"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpaceLocationAsteroidSpawnDefinition.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpaceLocationAsteroidSpawnDefinition.html#type Online documentation} */ readonly type?: "entity" | "asteroid-chunk" /** * The type this is loaded as depends on `type`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpaceLocationAsteroidSpawnDefinition.html#asteroid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpaceLocationAsteroidSpawnDefinition.html#asteroid Online documentation} */ asteroid: EntityID | AsteroidChunkID } @@ -14744,7 +14758,7 @@ declare module "factorio:prototype" { * "shattered-planet" * @example * "solar-system-edge" - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpaceLocationID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpaceLocationID.html Online documentation} */ export type SpaceLocationID = string export interface SpacePlatformTileDefinition { @@ -14757,7 +14771,7 @@ declare module "factorio:prototype" { * **Default:** `false` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpacePlatformsModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpacePlatformsModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean } @@ -14765,107 +14779,107 @@ declare module "factorio:prototype" { * Nebulae are rendered only behind tiles with the effect, but stars are rendered behind entire terrain. For that reason using two or more tile types with different space effect on one surface is not supported. The game will allow this to happen, but rendering will chose one star configuration for entire screen. * * Zoom is recalculated using formula `max(1/1024, pow(max(0, zoom * base_factor + base_offset), exponent) * factor + offset)`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpaceTileEffectParameters.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpaceTileEffectParameters.html Online documentation} */ export interface SpaceTileEffectParameters { /** * **Default:** `0.25` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpaceTileEffectParameters.html#scroll_factor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpaceTileEffectParameters.html#scroll_factor Online documentation} */ scroll_factor?: float /** * **Default:** `0.25` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpaceTileEffectParameters.html#zoom_base_factor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpaceTileEffectParameters.html#zoom_base_factor Online documentation} */ zoom_base_factor?: float /** * **Default:** `0.75` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpaceTileEffectParameters.html#zoom_base_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpaceTileEffectParameters.html#zoom_base_offset Online documentation} */ zoom_base_offset?: float /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpaceTileEffectParameters.html#zoom_exponent Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpaceTileEffectParameters.html#zoom_exponent Online documentation} */ zoom_exponent?: float /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpaceTileEffectParameters.html#zoom_factor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpaceTileEffectParameters.html#zoom_factor Online documentation} */ zoom_factor?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpaceTileEffectParameters.html#zoom_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpaceTileEffectParameters.html#zoom_offset Online documentation} */ zoom_offset?: float /** * **Default:** `0.9` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpaceTileEffectParameters.html#nebula_scale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpaceTileEffectParameters.html#nebula_scale Online documentation} */ nebula_scale?: float /** * **Default:** `0.5` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpaceTileEffectParameters.html#nebula_brightness Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpaceTileEffectParameters.html#nebula_brightness Online documentation} */ nebula_brightness?: float /** * **Default:** `0.9` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpaceTileEffectParameters.html#nebula_saturation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpaceTileEffectParameters.html#nebula_saturation Online documentation} */ nebula_saturation?: float /** * **Default:** `0.01` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpaceTileEffectParameters.html#star_density Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpaceTileEffectParameters.html#star_density Online documentation} */ star_density?: float /** * **Default:** `100` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpaceTileEffectParameters.html#star_scale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpaceTileEffectParameters.html#star_scale Online documentation} */ star_scale?: float /** * **Default:** `0.06` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpaceTileEffectParameters.html#star_parallax Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpaceTileEffectParameters.html#star_parallax Online documentation} */ star_parallax?: float /** * **Default:** `1.666` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpaceTileEffectParameters.html#star_shape Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpaceTileEffectParameters.html#star_shape Online documentation} */ star_shape?: float /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpaceTileEffectParameters.html#star_brightness Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpaceTileEffectParameters.html#star_brightness Online documentation} */ star_brightness?: float /** * **Default:** `0.5` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpaceTileEffectParameters.html#star_saturations Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpaceTileEffectParameters.html#star_saturations Online documentation} */ star_saturations?: float } export interface SpacingItem { /** * The index of the row or column after which to insert `spacing`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpacingItem.html#index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpacingItem.html#index Online documentation} */ index: uint32 /** * The spacing in scaled pixels between columns `column` and `column + 1`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpacingItem.html#spacing Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpacingItem.html#spacing Online documentation} */ spacing: int32 } /** * Struct type for {@link SpawnPoint} * @see SpawnPoint - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpawnPoint.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpawnPoint.html Online documentation} */ export interface SpawnPointStruct { evolution_factor: double /** * Must be `>= 0`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpawnPoint.html#spawn_weight Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpawnPoint.html#spawn_weight Online documentation} */ spawn_weight: double } @@ -14873,43 +14887,43 @@ declare module "factorio:prototype" { * The definition of a evolution and probability weights for a {@link UnitSpawnDefinition spawnable unit} for a {@link EnemySpawnerPrototype}. * * It can be specified as a table with named or numbered keys, but not a mix of both. If this is specified as a table with numbered keys then the first value is the evolution factor and the second is the spawn weight. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpawnPoint.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpawnPoint.html Online documentation} */ export type SpawnPoint = SpawnPointStruct | readonly [double, double] /** * Root style: `"speech_bubble"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpeechBubbleStyleSpecification.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpeechBubbleStyleSpecification.html Online documentation} */ export interface SpeechBubbleStyleSpecification extends BaseStyleSpecification { readonly type: "speech_bubble_style" /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpeechBubbleStyleSpecification.html#frame_style Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpeechBubbleStyleSpecification.html#frame_style Online documentation} */ frame_style?: FrameStyleSpecification /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpeechBubbleStyleSpecification.html#label_style Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpeechBubbleStyleSpecification.html#label_style Online documentation} */ label_style?: LabelStyleSpecification /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpeechBubbleStyleSpecification.html#arrow_graphical_set Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpeechBubbleStyleSpecification.html#arrow_graphical_set Online documentation} */ arrow_graphical_set?: ElementImageSet /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpeechBubbleStyleSpecification.html#close_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpeechBubbleStyleSpecification.html#close_color Online documentation} */ close_color?: Color /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpeechBubbleStyleSpecification.html#arrow_indent Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpeechBubbleStyleSpecification.html#arrow_indent Online documentation} */ arrow_indent?: double /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpeechBubbleStyleSpecification.html#pass_through_mouse Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpeechBubbleStyleSpecification.html#pass_through_mouse Online documentation} */ pass_through_mouse?: boolean } @@ -14917,18 +14931,18 @@ declare module "factorio:prototype" { name: FluidID /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpentFluidSpecification.html#amount Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpentFluidSpecification.html#amount Online documentation} */ amount?: double /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpentFluidSpecification.html#temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpentFluidSpecification.html#temperature Online documentation} */ temperature?: float } /** * Used by {@link SpiderVehiclePrototype}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpiderEngineSpecification.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpiderEngineSpecification.html Online documentation} */ export interface SpiderEngineSpecification { legs: SpiderLegSpecification | readonly SpiderLegSpecification[] @@ -14936,23 +14950,23 @@ declare module "factorio:prototype" { * **Default:** `0` * * The amount of overlap allowed between spider leg walking groups. Valid values are between 0.0 and 1.0. Default is 0.0 (no overlap); all legs in the current walking group must complete their step before the next walking group is allowed to move. 0.5 means the next walking group is allowed to start when the time remaining in the current walking group's step is about half of the time that the next group's step is predicted to take. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpiderEngineSpecification.html#walking_group_overlap Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpiderEngineSpecification.html#walking_group_overlap Online documentation} */ walking_group_overlap?: float } /** * @see SpiderLegPrototype.graphics_set - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/SpiderLegPrototype.html#graphics_set Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/SpiderLegPrototype.html#graphics_set Online documentation} */ export interface SpiderLegGraphicsSet { /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpiderLegGraphicsSet.html#joint_turn_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpiderLegGraphicsSet.html#joint_turn_offset Online documentation} */ joint_turn_offset?: float /** * **Default:** `"train-stop-top"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpiderLegGraphicsSet.html#joint_render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpiderLegGraphicsSet.html#joint_render_layer Online documentation} */ joint_render_layer?: RenderLayer joint?: RotatedSprite @@ -14967,7 +14981,7 @@ declare module "factorio:prototype" { foot_shadow?: RotatedSprite /** * Refer to {@link EntityPrototype#water_reflection EntityPrototype::water_reflection}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpiderLegGraphicsSet.html#water_reflection Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpiderLegGraphicsSet.html#water_reflection Online documentation} */ water_reflection?: WaterReflectionDefinition } @@ -14977,54 +14991,54 @@ declare module "factorio:prototype" { bottom_end?: RotatedSprite /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpiderLegPart.html#middle_offset_from_top Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpiderLegPart.html#middle_offset_from_top Online documentation} */ middle_offset_from_top?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpiderLegPart.html#middle_offset_from_bottom Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpiderLegPart.html#middle_offset_from_bottom Online documentation} */ middle_offset_from_bottom?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpiderLegPart.html#top_end_length Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpiderLegPart.html#top_end_length Online documentation} */ top_end_length?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpiderLegPart.html#bottom_end_length Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpiderLegPart.html#bottom_end_length Online documentation} */ bottom_end_length?: float /** * **Default:** `0` * * The number of tiles in screen space to shift the top end of the leg part AWAY from the top joint. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpiderLegPart.html#top_end_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpiderLegPart.html#top_end_offset Online documentation} */ top_end_offset?: float /** * **Default:** `0` * * The number of tiles in screen space to shift the bottom end of the leg part AWAY from the bottom joint. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpiderLegPart.html#bottom_end_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpiderLegPart.html#bottom_end_offset Online documentation} */ bottom_end_offset?: float /** * **Default:** `"higher-object-above"` * * The sprite layer in which to draw this leg part. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpiderLegPart.html#render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpiderLegPart.html#render_layer Online documentation} */ render_layer?: RenderLayer } /** * Used by {@link SpiderEngineSpecification} for {@link SpiderVehiclePrototype}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpiderLegSpecification.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpiderLegSpecification.html Online documentation} */ export interface SpiderLegSpecification { /** * Name of a {@link SpiderLegPrototype}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpiderLegSpecification.html#leg Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpiderLegSpecification.html#leg Online documentation} */ leg: EntityID /** @@ -15035,36 +15049,36 @@ declare module "factorio:prototype" { * If the spider's torso sprites do not apply projection, then this mount_position should not apply projection either. * * This value rotates with the spider's orientation, which is rounded to match either the spider torso's {@link SpiderTorsoGraphicsSet#base_animation SpiderTorsoGraphicsSet::base_animation} directions or if not base sprite is defined, its {@link SpiderTorsoGraphicsSet#animation SpiderTorsoGraphicsSet::animation} directions if defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpiderLegSpecification.html#mount_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpiderLegSpecification.html#mount_position Online documentation} */ mount_position: Vector /** * The unprojected offset from the center of the spider's non-elevated torso to the position where the leg touches the ground when the spider is facing due north. * * This value rotates with the spider's orientation, which is rounded to match either the spider torso's {@link SpiderTorsoGraphicsSet#base_animation SpiderTorsoGraphicsSet::base_animation} directions or if not base sprite is defined, its {@link SpiderTorsoGraphicsSet#animation SpiderTorsoGraphicsSet::animation} directions if defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpiderLegSpecification.html#ground_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpiderLegSpecification.html#ground_position Online documentation} */ ground_position: Vector /** * Triggers to activate whenever the leg hits the ground, even if the owning spider is actively attacking an entity. For triggers, the source is the leg entity and the target is the leg's current position. Certain effects may not raise as desired, e.g. `"push-back"` does nothing. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpiderLegSpecification.html#leg_hit_the_ground_trigger Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpiderLegSpecification.html#leg_hit_the_ground_trigger Online documentation} */ leg_hit_the_ground_trigger?: TriggerEffect /** * Triggers to activate whenever the leg hits the ground and the owning spider is actively attacking an entity. These effects will trigger after `leg_hit_the_ground_trigger` have triggered. For triggers, the source is the let entity and the target is the leg's current position. Certain effects may not raise as desired. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpiderLegSpecification.html#leg_hit_the_ground_when_attacking_trigger Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpiderLegSpecification.html#leg_hit_the_ground_when_attacking_trigger Online documentation} */ leg_hit_the_ground_when_attacking_trigger?: TriggerEffect /** * The walking group this leg belongs to. Legs in the same walking group move or stay still at the same time, according to the engine that drives them. Walking groups must start at 1 and increment upward without skipping any numbers. If all legs are part of the same walking_group, they will all move simultaneously. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpiderLegSpecification.html#walking_group Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpiderLegSpecification.html#walking_group Online documentation} */ walking_group: uint8 } export interface SpiderLegTriggerEffect { /** * A number between 0 and 1 (inclusive) representing the distance from the upper end of the leg (0) to the lower end of the leg (1) where the effects will be triggered. For the upper leg, position 0 represents the point that the leg connects to the entity's hip and position 1 represents the knee. For the lower leg, position 0 represents the knee and position 1 represents the foot. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpiderLegTriggerEffect.html#position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpiderLegTriggerEffect.html#position Online documentation} */ position: float effect: TriggerEffect @@ -15073,45 +15087,45 @@ declare module "factorio:prototype" { base_animation?: RotatedAnimation /** * If no sprite flags are defined, then this animation is loaded and treated as a shadow by default. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpiderTorsoGraphicsSet.html#shadow_base_animation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpiderTorsoGraphicsSet.html#shadow_base_animation Online documentation} */ shadow_base_animation?: RotatedAnimation animation?: RotatedAnimation /** * If no sprite flags are defined, then this animation is loaded and treated as a shadow by default. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpiderTorsoGraphicsSet.html#shadow_animation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpiderTorsoGraphicsSet.html#shadow_animation Online documentation} */ shadow_animation?: RotatedAnimation /** * **Default:** `"higher-object-under"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpiderTorsoGraphicsSet.html#base_render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpiderTorsoGraphicsSet.html#base_render_layer Online documentation} */ base_render_layer?: RenderLayer /** * **Default:** `"under-elevated"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpiderTorsoGraphicsSet.html#render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpiderTorsoGraphicsSet.html#render_layer Online documentation} */ render_layer?: RenderLayer /** * Refer to {@link EntityPrototype#water_reflection EntityPrototype::water_reflection}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpiderTorsoGraphicsSet.html#water_reflection Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpiderTorsoGraphicsSet.html#water_reflection Online documentation} */ water_reflection?: WaterReflectionDefinition } /** * Used to specify the graphics for {@link SpiderVehiclePrototype}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpiderVehicleGraphicsSet.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpiderVehicleGraphicsSet.html Online documentation} */ export interface SpiderVehicleGraphicsSet extends SpiderTorsoGraphicsSet { /** * **Default:** `"object"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpiderVehicleGraphicsSet.html#autopilot_destination_visualisation_render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpiderVehicleGraphicsSet.html#autopilot_destination_visualisation_render_layer Online documentation} */ autopilot_destination_visualisation_render_layer?: RenderLayer light?: LightDefinition /** * Placed in multiple positions, as determined by `light_positions`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpiderVehicleGraphicsSet.html#eye_light Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpiderVehicleGraphicsSet.html#eye_light Online documentation} */ eye_light?: LightDefinition autopilot_destination_on_map_visualisation?: Animation @@ -15120,22 +15134,22 @@ declare module "factorio:prototype" { autopilot_destination_queue_visualisation?: Animation /** * **Default:** `0.125` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpiderVehicleGraphicsSet.html#autopilot_path_visualisation_line_width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpiderVehicleGraphicsSet.html#autopilot_path_visualisation_line_width Online documentation} */ autopilot_path_visualisation_line_width?: float /** * **Default:** `2` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpiderVehicleGraphicsSet.html#autopilot_path_visualisation_on_map_line_width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpiderVehicleGraphicsSet.html#autopilot_path_visualisation_on_map_line_width Online documentation} */ autopilot_path_visualisation_on_map_line_width?: float /** * Defines where each `eye_light` is placed. One array per eye and each of those arrays should contain one position per body direction. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpiderVehicleGraphicsSet.html#light_positions Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpiderVehicleGraphicsSet.html#light_positions Online documentation} */ light_positions?: readonly (readonly Vector[])[] /** * The default mask color for the spider vehicle. Defaults to orange. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpiderVehicleGraphicsSet.html#default_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpiderVehicleGraphicsSet.html#default_color Online documentation} */ default_color?: float } @@ -15143,7 +15157,7 @@ declare module "factorio:prototype" { trigger: Trigger /** * Must be positive (larger than 0). - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpoilToTriggerResult.html#items_per_trigger Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpoilToTriggerResult.html#items_per_trigger Online documentation} */ items_per_trigger: ItemCountType } @@ -15185,173 +15199,173 @@ declare module "factorio:prototype" { * } * } * } - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sprite.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sprite.html Online documentation} */ export interface Sprite extends Omit { /** * If this property is present, all Sprite definitions have to be placed as entries in the array, and they will all be loaded from there. `layers` may not be an empty table. Each definition in the array may also have the `layers` property. * * If this property is present, all other properties, including those inherited from SpriteParameters, are ignored. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sprite.html#layers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sprite.html#layers Online documentation} */ layers?: readonly Sprite[] /** * Only loaded, and mandatory if `layers` is not defined. * * The path to the sprite file to use. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sprite.html#filename Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sprite.html#filename Online documentation} */ filename?: FileName /** * Only loaded if `layers` is not defined. * * Number of slices this is sliced into when using the "optimized atlas packing" option. If you are a modder, you can just ignore this property. Example: If this is 4, the sprite will be sliced into a 4x4 grid. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sprite.html#dice Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sprite.html#dice Online documentation} */ dice?: SpriteSizeType /** * Only loaded if `layers` is not defined. * * Same as `dice` above, but this specifies only how many slices there are on the x axis. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sprite.html#dice_x Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sprite.html#dice_x Online documentation} */ dice_x?: SpriteSizeType /** * Only loaded if `layers` is not defined. * * Same as `dice` above, but this specifies only how many slices there are on the y axis. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sprite.html#dice_y Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sprite.html#dice_y Online documentation} */ dice_y?: SpriteSizeType } /** * A map of sprites for all 16 directions of the entity. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sprite16Way.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sprite16Way.html Online documentation} */ export interface Sprite16Way { sheets?: readonly SpriteNWaySheet[] /** * Only loaded if `sheets` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sprite16Way.html#sheet Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sprite16Way.html#sheet Online documentation} */ sheet?: SpriteNWaySheet /** * Only loaded, and mandatory if both `sheets` and `sheet` are not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sprite16Way.html#north Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sprite16Way.html#north Online documentation} */ north?: Sprite /** * Only loaded, and mandatory if both `sheets` and `sheet` are not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sprite16Way.html#north_north_east Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sprite16Way.html#north_north_east Online documentation} */ north_north_east?: Sprite /** * Only loaded, and mandatory if both `sheets` and `sheet` are not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sprite16Way.html#north_east Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sprite16Way.html#north_east Online documentation} */ north_east?: Sprite /** * Only loaded, and mandatory if both `sheets` and `sheet` are not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sprite16Way.html#east_north_east Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sprite16Way.html#east_north_east Online documentation} */ east_north_east?: Sprite /** * Only loaded, and mandatory if both `sheets` and `sheet` are not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sprite16Way.html#east Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sprite16Way.html#east Online documentation} */ east?: Sprite /** * Only loaded, and mandatory if both `sheets` and `sheet` are not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sprite16Way.html#east_south_east Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sprite16Way.html#east_south_east Online documentation} */ east_south_east?: Sprite /** * Only loaded, and mandatory if both `sheets` and `sheet` are not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sprite16Way.html#south_east Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sprite16Way.html#south_east Online documentation} */ south_east?: Sprite /** * Only loaded, and mandatory if both `sheets` and `sheet` are not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sprite16Way.html#south_south_east Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sprite16Way.html#south_south_east Online documentation} */ south_south_east?: Sprite /** * Only loaded, and mandatory if both `sheets` and `sheet` are not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sprite16Way.html#south Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sprite16Way.html#south Online documentation} */ south?: Sprite /** * Only loaded, and mandatory if both `sheets` and `sheet` are not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sprite16Way.html#south_south_west Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sprite16Way.html#south_south_west Online documentation} */ south_south_west?: Sprite /** * Only loaded, and mandatory if both `sheets` and `sheet` are not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sprite16Way.html#south_west Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sprite16Way.html#south_west Online documentation} */ south_west?: Sprite /** * Only loaded, and mandatory if both `sheets` and `sheet` are not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sprite16Way.html#west_south_west Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sprite16Way.html#west_south_west Online documentation} */ west_south_west?: Sprite /** * Only loaded, and mandatory if both `sheets` and `sheet` are not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sprite16Way.html#west Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sprite16Way.html#west Online documentation} */ west?: Sprite /** * Only loaded, and mandatory if both `sheets` and `sheet` are not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sprite16Way.html#west_north_west Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sprite16Way.html#west_north_west Online documentation} */ west_north_west?: Sprite /** * Only loaded, and mandatory if both `sheets` and `sheet` are not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sprite16Way.html#north_west Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sprite16Way.html#north_west Online documentation} */ north_west?: Sprite /** * Only loaded, and mandatory if both `sheets` and `sheet` are not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sprite16Way.html#north_north_west Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sprite16Way.html#north_north_west Online documentation} */ north_north_west?: Sprite } /** * Struct type for {@link Sprite4Way} * @see Sprite4Way - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sprite4Way.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sprite4Way.html Online documentation} */ export interface Sprite4WayStruct { sheets?: readonly SpriteNWaySheet[] /** * Only loaded if `sheets` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sprite4Way.html#sheet Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sprite4Way.html#sheet Online documentation} */ sheet?: SpriteNWaySheet /** * Only loaded if both `sheets` and `sheet` are not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sprite4Way.html#north Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sprite4Way.html#north Online documentation} */ north?: Sprite /** * Only loaded, and mandatory if both `sheets` and `sheet` are not defined. * * Only loaded if `north` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sprite4Way.html#east Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sprite4Way.html#east Online documentation} */ east?: Sprite /** * Only loaded, and mandatory if both `sheets` and `sheet` are not defined. * * Only loaded if `north` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sprite4Way.html#south Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sprite4Way.html#south Online documentation} */ south?: Sprite /** * Only loaded, and mandatory if both `sheets` and `sheet` are not defined. * * Only loaded if `north` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sprite4Way.html#west Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sprite4Way.html#west Online documentation} */ west?: Sprite } @@ -15399,58 +15413,58 @@ declare module "factorio:prototype" { * scale = 0.5 * } * } - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sprite4Way.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sprite4Way.html Online documentation} */ export type Sprite4Way = Sprite4WayStruct | Sprite /** * A map of sprites for 8 directions of the entity. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sprite8Way.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sprite8Way.html Online documentation} */ export interface Sprite8Way { sheets?: readonly SpriteNWaySheet[] /** * Only loaded if `sheets` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sprite8Way.html#sheet Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sprite8Way.html#sheet Online documentation} */ sheet?: SpriteNWaySheet /** * Only loaded, and mandatory if both `sheets` and `sheet` are not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sprite8Way.html#north Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sprite8Way.html#north Online documentation} */ north?: Sprite /** * Only loaded, and mandatory if both `sheets` and `sheet` are not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sprite8Way.html#north_east Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sprite8Way.html#north_east Online documentation} */ north_east?: Sprite /** * Only loaded, and mandatory if both `sheets` and `sheet` are not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sprite8Way.html#east Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sprite8Way.html#east Online documentation} */ east?: Sprite /** * Only loaded, and mandatory if both `sheets` and `sheet` are not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sprite8Way.html#south_east Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sprite8Way.html#south_east Online documentation} */ south_east?: Sprite /** * Only loaded, and mandatory if both `sheets` and `sheet` are not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sprite8Way.html#south Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sprite8Way.html#south Online documentation} */ south?: Sprite /** * Only loaded, and mandatory if both `sheets` and `sheet` are not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sprite8Way.html#south_west Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sprite8Way.html#south_west Online documentation} */ south_west?: Sprite /** * Only loaded, and mandatory if both `sheets` and `sheet` are not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sprite8Way.html#west Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sprite8Way.html#west Online documentation} */ west?: Sprite /** * Only loaded, and mandatory if both `sheets` and `sheet` are not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Sprite8Way.html#north_west Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Sprite8Way.html#north_west Online documentation} */ north_west?: Sprite } @@ -15497,7 +15511,7 @@ declare module "factorio:prototype" { * - `"group=effect-texture"` * @example * flags = { "linear-minification", "linear-magnification" } - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpriteFlags.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpriteFlags.html Online documentation} */ export type SpriteFlags = readonly ( | "no-crop" @@ -15549,35 +15563,35 @@ declare module "factorio:prototype" { * shift = util.by_pixel(1.5, 7.5-1), * scale = 0.5 * } - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpriteNWaySheet.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpriteNWaySheet.html Online documentation} */ export interface SpriteNWaySheet extends SpriteParameters { /** * **Default:** `4 if used in Sprite4Way, 8 if used in Sprite8Way` * * Specifies how many of the directions of the SpriteNWay are filled up with this sheet. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpriteNWaySheet.html#frames Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpriteNWaySheet.html#frames Online documentation} */ frames?: uint32 /** * **Default:** `1` * * Specifies for how many directions each frame is used. Silently forced to always be at least `1`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpriteNWaySheet.html#frame_repeat Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpriteNWaySheet.html#frame_repeat Online documentation} */ frame_repeat?: uint32 /** * **Default:** `false` * * Unused. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpriteNWaySheet.html#generate_sdf Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpriteNWaySheet.html#generate_sdf Online documentation} */ generate_sdf?: boolean } export interface SpriteParameters extends SpriteSource { /** * **Default:** `"medium"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpriteParameters.html#priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpriteParameters.html#priority Online documentation} */ priority?: SpritePriority flags?: SpriteFlags @@ -15585,33 +15599,33 @@ declare module "factorio:prototype" { * **Default:** ``{0, 0}`` * * The shift in tiles. `util.by_pixel()` can be used to divide the shift by 32 which is the usual pixel height/width of 1 tile in normal resolution. Note that 32 pixel tile height/width is not enforced anywhere - any other tile height or width is also possible. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpriteParameters.html#shift Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpriteParameters.html#shift Online documentation} */ shift?: Vector /** * **Default:** `false` * * Whether to rotate the `shift` alongside the sprite's rotation. This only applies to sprites which are procedurally rotated by the game engine (like projectiles, wires, inserter hands, etc). - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpriteParameters.html#rotate_shift Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpriteParameters.html#rotate_shift Online documentation} */ rotate_shift?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpriteParameters.html#apply_special_effect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpriteParameters.html#apply_special_effect Online documentation} */ apply_special_effect?: boolean /** * **Default:** `1` * * Values other than `1` specify the scale of the sprite on default zoom. A scale of `2` means that the picture will be two times bigger on screen (and thus more pixelated). - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpriteParameters.html#scale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpriteParameters.html#scale Online documentation} */ scale?: double /** * **Default:** `false` * * Only one of `draw_as_shadow`, `draw_as_glow` and `draw_as_light` can be true. This takes precedence over `draw_as_glow` and `draw_as_light`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpriteParameters.html#draw_as_shadow Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpriteParameters.html#draw_as_shadow Online documentation} */ draw_as_shadow?: boolean /** @@ -15620,53 +15634,53 @@ declare module "factorio:prototype" { * Only one of `draw_as_shadow`, `draw_as_glow` and `draw_as_light` can be true. This takes precedence over `draw_as_light`. * * Draws first as a normal sprite, then again as a light layer. See {@linkplain https://forums.factorio.com/91682}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpriteParameters.html#draw_as_glow Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpriteParameters.html#draw_as_glow Online documentation} */ draw_as_glow?: boolean /** * **Default:** `false` * * Only one of `draw_as_shadow`, `draw_as_glow` and `draw_as_light` can be true. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpriteParameters.html#draw_as_light Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpriteParameters.html#draw_as_light Online documentation} */ draw_as_light?: boolean /** * **Default:** `true` * * Loaded only if `draw_as_shadow`, `draw_as_glow` and `draw_as_light` are `false`, and only by sprites used by tile renderer (decals and underwater patches). The purpose of setting this to `false` is to preserve water mask from sprites that are supposed to be drawn under the water. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpriteParameters.html#occludes_light Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpriteParameters.html#occludes_light Online documentation} */ occludes_light?: boolean /** * **Default:** `0` * * Only loaded if this is an icon, that is it has the flag `"group=icon"` or `"group=gui"`. Will be clamped to range `[0, 5]`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpriteParameters.html#mipmap_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpriteParameters.html#mipmap_count Online documentation} */ mipmap_count?: uint8 /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpriteParameters.html#apply_runtime_tint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpriteParameters.html#apply_runtime_tint Online documentation} */ apply_runtime_tint?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpriteParameters.html#tint_as_overlay Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpriteParameters.html#tint_as_overlay Online documentation} */ tint_as_overlay?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpriteParameters.html#invert_colors Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpriteParameters.html#invert_colors Online documentation} */ invert_colors?: boolean /** * **Default:** ``{r=1, g=1, b=1, a=1}`` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpriteParameters.html#tint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpriteParameters.html#tint Online documentation} */ tint?: Color /** * **Default:** `"normal"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpriteParameters.html#blend_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpriteParameters.html#blend_mode Online documentation} */ blend_mode?: BlendMode /** @@ -15676,22 +15690,22 @@ declare module "factorio:prototype" { * * If this is set to `true`, the game will generate an icon shadow (using signed distance fields) for the sprite. * - * ![Example of the icon shadow in the character modifier icon used by the steel axe research](https://lua-api.factorio.com/2.1.22/static/images/Generate_sdf_example.png) - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpriteParameters.html#generate_sdf Online documentation} + * ![Example of the icon shadow in the character modifier icon used by the steel axe research](https://lua-api.factorio.com/2.1.24/static/images/Generate_sdf_example.png) + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpriteParameters.html#generate_sdf Online documentation} */ generate_sdf?: boolean /** * **Default:** `"any"` * * Provides hint to sprite atlas system, so it can try to put sprites that are intended to be used at the same locations to the same sprite atlas. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpriteParameters.html#surface Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpriteParameters.html#surface Online documentation} */ surface?: SpriteUsageSurfaceHint /** * **Default:** `"any"` * * Provides hint to sprite atlas system, so it can pack sprites that are related to each other to the same sprite atlas. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpriteParameters.html#usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpriteParameters.html#usage Online documentation} */ usage?: SpriteUsageHint } @@ -15706,7 +15720,7 @@ declare module "factorio:prototype" { * - `"low"` * - `"very-low"` * - `"no-atlas"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpritePriority.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpritePriority.html Online documentation} */ export type SpritePriority = "extra-high-no-scale" | "extra-high" | "high" | "medium" | "low" | "very-low" | "no-atlas" @@ -15715,50 +15729,50 @@ declare module "factorio:prototype" { * If this property is present, all SpriteSheet definitions have to be placed as entries in the array, and they will all be loaded from there. `layers` may not be an empty table. Each definition in the array may also have the `layers` property. * * If this property is present, all other properties, including those inherited from SpriteParameters, are ignored. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpriteSheet.html#layers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpriteSheet.html#layers Online documentation} */ layers?: readonly SpriteSheet[] /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpriteSheet.html#variation_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpriteSheet.html#variation_count Online documentation} */ variation_count?: uint32 /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpriteSheet.html#repeat_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpriteSheet.html#repeat_count Online documentation} */ repeat_count?: uint32 /** * **Default:** `Value of `variation_count`` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpriteSheet.html#line_length Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpriteSheet.html#line_length Online documentation} */ line_length?: uint32 filenames?: readonly FileName[] /** * Mandatory if `filenames` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpriteSheet.html#lines_per_file Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpriteSheet.html#lines_per_file Online documentation} */ lines_per_file?: uint32 /** * Number of slices this is sliced into when using the "optimized atlas packing" option. If you are a modder, you can just ignore this property. Example: If this is 4, the sprite will be sliced into a 4x4 grid. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpriteSheet.html#dice Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpriteSheet.html#dice Online documentation} */ dice?: SpriteSizeType /** * Same as `dice` above, but this specifies only how many slices there are on the x axis. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpriteSheet.html#dice_x Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpriteSheet.html#dice_x Online documentation} */ dice_x?: SpriteSizeType /** * Same as `dice` above, but this specifies only how many slices there are on the y axis. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpriteSheet.html#dice_y Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpriteSheet.html#dice_y Online documentation} */ dice_y?: SpriteSizeType /** * Only loaded, and mandatory if `layers` and `filenames` are not defined. * * The path to the sprite file to use. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpriteSheet.html#filename Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpriteSheet.html#filename Online documentation} */ filename?: FileName } @@ -15766,66 +15780,66 @@ declare module "factorio:prototype" { export interface SpriteSource { /** * The path to the sprite file to use. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpriteSource.html#filename Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpriteSource.html#filename Online documentation} */ filename: FileName /** * The width and height of the sprite. If this is a tuple, the first member of the tuple is the width and the second is the height. Otherwise the size is both width and height. Width and height may only be in the range of 0-4096. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpriteSource.html#size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpriteSource.html#size Online documentation} */ size?: SpriteSizeType | readonly [SpriteSizeType, SpriteSizeType] /** * Mandatory if `size` is not defined. * * Width of the sprite in pixels, from 0-4096. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpriteSource.html#width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpriteSource.html#width Online documentation} */ width?: SpriteSizeType /** * Mandatory if `size` is not defined. * * Height of the sprite in pixels, from 0-4096. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpriteSource.html#height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpriteSource.html#height Online documentation} */ height?: SpriteSizeType /** * **Default:** `0` * * Horizontal position of the sprite in the source file in pixels. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpriteSource.html#x Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpriteSource.html#x Online documentation} */ x?: SpriteSizeType /** * **Default:** `0` * * Vertical position of the sprite in the source file in pixels. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpriteSource.html#y Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpriteSource.html#y Online documentation} */ y?: SpriteSizeType /** * Loaded only when `x` and `y` are both `0`. The first member of the tuple is `x` and the second is `y`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpriteSource.html#position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpriteSource.html#position Online documentation} */ position?: readonly [SpriteSizeType, SpriteSizeType] /** * **Default:** `false` * * Minimal mode is entered when mod loading fails. You are in it when you see the gray box after (part of) the loading screen that tells you a mod error. Modders can ignore this property. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpriteSource.html#load_in_minimal_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpriteSource.html#load_in_minimal_mode Online documentation} */ load_in_minimal_mode?: boolean /** * **Default:** `true` * * Whether alpha should be pre-multiplied. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpriteSource.html#premul_alpha Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpriteSource.html#premul_alpha Online documentation} */ premul_alpha?: boolean /** * **Default:** `false` * * If `true`, the sprite may be downsampled to half its size on load even when 'Sprite quality' graphics setting is set to 'High'. Whether downsampling happens depends on detected hardware and other graphics settings. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpriteSource.html#allow_forced_downscale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpriteSource.html#allow_forced_downscale Online documentation} */ allow_forced_downscale?: boolean /** @@ -15834,7 +15848,7 @@ declare module "factorio:prototype" { * All textures have 4 channels by default. This property can be used for no-atlas textures to force their format to R, RG, RGB or RGBA with 8 bytes for each channel and save VRAM space. Compression setting is based on player config. * * We use BC4 compression for R, BC5 for RG, BC1 for RGB, and DXT5_BC3 for RGBA, see "{@linkplain https://en.wikipedia.org/wiki/S3_Texture_Compression S3 Texture Compression}" to read more about compression ratios. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpriteSource.html#color_channels Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpriteSource.html#color_channels Online documentation} */ color_channels?: 1 | 2 | 3 | 4 } @@ -15856,7 +15870,7 @@ declare module "factorio:prototype" { * - `"air"` * - `"remnant"` * - `"decorative"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpriteUsageHint.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpriteUsageHint.html Online documentation} */ export type SpriteUsageHint = | "any" @@ -15884,13 +15898,13 @@ declare module "factorio:prototype" { * - `"fulgora"` * - `"aquilo"` * - `"space"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpriteUsageSurfaceHint.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpriteUsageSurfaceHint.html Online documentation} */ export type SpriteUsageSurfaceHint = "any" | "nauvis" | "vulcanus" | "gleba" | "fulgora" | "aquilo" | "space" /** * Struct type for {@link SpriteVariations} * @see SpriteVariations - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpriteVariations.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpriteVariations.html Online documentation} */ export interface SpriteVariationsStruct { sheet: SpriteSheet @@ -15918,7 +15932,7 @@ declare module "factorio:prototype" { * scale = 0.5 * } * } - * @see {@link https://lua-api.factorio.com/2.1.22/types/SpriteVariations.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SpriteVariations.html Online documentation} */ export type SpriteVariations = SpriteVariationsStruct | SpriteSheet | readonly Sprite[] export interface StackTransferTipTrigger extends CountBasedTipTrigger { @@ -15930,14 +15944,14 @@ declare module "factorio:prototype" { * - `"stack"` * - `"inventory"` * - `"whole-inventory"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/StackTransferTipTrigger.html#transfer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/StackTransferTipTrigger.html#transfer Online documentation} */ transfer?: "stack" | "inventory" | "whole-inventory" } export interface StateSteeringSettings { /** * Not including the radius of the unit. - * @see {@link https://lua-api.factorio.com/2.1.22/types/StateSteeringSettings.html#radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/StateSteeringSettings.html#radius Online documentation} */ radius?: double separation_factor?: double @@ -15946,19 +15960,19 @@ declare module "factorio:prototype" { export interface StatelessVisualisation { /** * One of `nested_visualisations`, `animation` and `light` needs to be defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/StatelessVisualisation.html#animation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/StatelessVisualisation.html#animation Online documentation} */ animation?: AnimationVariations /** * Shadow variation count must be equal to animation variation count. * * Only loaded if `animation` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/StatelessVisualisation.html#shadow Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/StatelessVisualisation.html#shadow Online documentation} */ shadow?: AnimationVariations /** * One of `nested_visualisations`, `animation` and `light` needs to be defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/StatelessVisualisation.html#light Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/StatelessVisualisation.html#light Online documentation} */ light?: LightDefinition count?: uint16 @@ -15966,27 +15980,27 @@ declare module "factorio:prototype" { * **Default:** `1` * * Only loaded if `count` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/StatelessVisualisation.html#min_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/StatelessVisualisation.html#min_count Online documentation} */ min_count?: uint16 /** * **Default:** `Value of `min_count`` * * Only loaded if `count` is not defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/StatelessVisualisation.html#max_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/StatelessVisualisation.html#max_count Online documentation} */ max_count?: uint16 period?: uint16 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/StatelessVisualisation.html#particle_tick_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/StatelessVisualisation.html#particle_tick_offset Online documentation} */ particle_tick_offset?: float /** * **Default:** `1` * * Silently clamped to be between 0 and 1. - * @see {@link https://lua-api.factorio.com/2.1.22/types/StatelessVisualisation.html#probability Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/StatelessVisualisation.html#probability Online documentation} */ probability?: float offset_x?: RangedValue @@ -16000,115 +16014,115 @@ declare module "factorio:prototype" { acceleration_z?: float /** * Silently clamped to be between 0 and 1. - * @see {@link https://lua-api.factorio.com/2.1.22/types/StatelessVisualisation.html#movement_slowdown_factor_x Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/StatelessVisualisation.html#movement_slowdown_factor_x Online documentation} */ movement_slowdown_factor_x?: float /** * Silently clamped to be between 0 and 1. - * @see {@link https://lua-api.factorio.com/2.1.22/types/StatelessVisualisation.html#movement_slowdown_factor_y Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/StatelessVisualisation.html#movement_slowdown_factor_y Online documentation} */ movement_slowdown_factor_y?: float /** * Silently clamped to be between 0 and 1. - * @see {@link https://lua-api.factorio.com/2.1.22/types/StatelessVisualisation.html#movement_slowdown_factor_z Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/StatelessVisualisation.html#movement_slowdown_factor_z Online documentation} */ movement_slowdown_factor_z?: float scale?: RangedValue /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/StatelessVisualisation.html#begin_scale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/StatelessVisualisation.html#begin_scale Online documentation} */ begin_scale?: float /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/StatelessVisualisation.html#end_scale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/StatelessVisualisation.html#end_scale Online documentation} */ end_scale?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/StatelessVisualisation.html#fade_in_progress_duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/StatelessVisualisation.html#fade_in_progress_duration Online documentation} */ fade_in_progress_duration?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/StatelessVisualisation.html#fade_out_progress_duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/StatelessVisualisation.html#fade_out_progress_duration Online documentation} */ fade_out_progress_duration?: float /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/StatelessVisualisation.html#spread_progress_duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/StatelessVisualisation.html#spread_progress_duration Online documentation} */ spread_progress_duration?: float /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/StatelessVisualisation.html#adjust_animation_speed_by_base_scale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/StatelessVisualisation.html#adjust_animation_speed_by_base_scale Online documentation} */ adjust_animation_speed_by_base_scale?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/StatelessVisualisation.html#affected_by_wind Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/StatelessVisualisation.html#affected_by_wind Online documentation} */ affected_by_wind?: boolean /** * **Default:** `"object"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/StatelessVisualisation.html#render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/StatelessVisualisation.html#render_layer Online documentation} */ render_layer?: RenderLayer /** * Array may be at most 32 elements. - * @see {@link https://lua-api.factorio.com/2.1.22/types/StatelessVisualisation.html#positions Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/StatelessVisualisation.html#positions Online documentation} */ positions?: readonly Vector[] /** * One of `nested_visualisations`, `animation` and `light` needs to be defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/StatelessVisualisation.html#nested_visualisations Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/StatelessVisualisation.html#nested_visualisations Online documentation} */ nested_visualisations?: StatelessVisualisation | readonly StatelessVisualisation[] /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/StatelessVisualisation.html#can_lay_on_the_ground Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/StatelessVisualisation.html#can_lay_on_the_ground Online documentation} */ can_lay_on_the_ground?: boolean } export interface StatusColors { /** * **Default:** ``{1, 1, 1, 1}`` - * @see {@link https://lua-api.factorio.com/2.1.22/types/StatusColors.html#idle Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/StatusColors.html#idle Online documentation} */ idle?: Color /** * **Default:** `idle` - * @see {@link https://lua-api.factorio.com/2.1.22/types/StatusColors.html#no_minable_resources Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/StatusColors.html#no_minable_resources Online documentation} */ no_minable_resources?: Color /** * **Default:** `idle` - * @see {@link https://lua-api.factorio.com/2.1.22/types/StatusColors.html#full_output Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/StatusColors.html#full_output Online documentation} */ full_output?: Color /** * **Default:** `idle` - * @see {@link https://lua-api.factorio.com/2.1.22/types/StatusColors.html#insufficient_input Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/StatusColors.html#insufficient_input Online documentation} */ insufficient_input?: Color /** * **Default:** `idle` - * @see {@link https://lua-api.factorio.com/2.1.22/types/StatusColors.html#disabled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/StatusColors.html#disabled Online documentation} */ disabled?: Color /** * **Default:** `No color` - * @see {@link https://lua-api.factorio.com/2.1.22/types/StatusColors.html#no_power Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/StatusColors.html#no_power Online documentation} */ no_power?: Color /** * **Default:** ``{1, 1, 1, 1}`` - * @see {@link https://lua-api.factorio.com/2.1.22/types/StatusColors.html#working Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/StatusColors.html#working Online documentation} */ working?: Color /** * **Default:** `working` - * @see {@link https://lua-api.factorio.com/2.1.22/types/StatusColors.html#low_power Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/StatusColors.html#low_power Online documentation} */ low_power?: Color } @@ -16117,13 +16131,13 @@ declare module "factorio:prototype" { move?: StateSteeringSettings /** * Used only for special "to look good" purposes (like in trailer). - * @see {@link https://lua-api.factorio.com/2.1.22/types/SteeringSettings.html#force_unit_fuzzy_goto_behavior Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SteeringSettings.html#force_unit_fuzzy_goto_behavior Online documentation} */ force_unit_fuzzy_goto_behavior?: boolean } /** * @see StorageTankPrototype.pictures - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/StorageTankPrototype.html#pictures Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/StorageTankPrototype.html#pictures Online documentation} */ export interface StorageTankPictures { picture?: Sprite4Way @@ -16137,34 +16151,34 @@ declare module "factorio:prototype" { readonly type: "stream" /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/StreamAttackParameters.html#fluid_consumption Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/StreamAttackParameters.html#fluid_consumption Online documentation} */ fluid_consumption?: FluidAmount /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/StreamAttackParameters.html#gun_barrel_length Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/StreamAttackParameters.html#gun_barrel_length Online documentation} */ gun_barrel_length?: float projectile_creation_parameters?: CircularProjectileCreationSpecification /** - * @see {@link https://lua-api.factorio.com/2.1.22/types/StreamAttackParameters.html#gun_center_shift Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/StreamAttackParameters.html#gun_center_shift Online documentation} */ gun_center_shift?: Vector | GunShift4Way /** * Controls which fluids can fuel this stream attack and their potential damage bonuses. - * @see {@link https://lua-api.factorio.com/2.1.22/types/StreamAttackParameters.html#fluids Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/StreamAttackParameters.html#fluids Online documentation} */ fluids?: readonly StreamFluidProperties[] } /** * @see StreamAttackParameters.fluids - * @see {@link https://lua-api.factorio.com/2.1.22/types/StreamAttackParameters.html#fluids Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/StreamAttackParameters.html#fluids Online documentation} */ export interface StreamFluidProperties { readonly type: FluidID /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/StreamFluidProperties.html#damage_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/StreamFluidProperties.html#damage_modifier Online documentation} */ damage_modifier?: double } @@ -16172,7 +16186,7 @@ declare module "factorio:prototype" { readonly type: "stream" /** * Name of a {@link FluidStreamPrototype}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/StreamTriggerDelivery.html#stream Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/StreamTriggerDelivery.html#stream Online documentation} */ stream: EntityID source_offset?: Vector @@ -16185,12 +16199,12 @@ declare module "factorio:prototype" { * - `"off"`: Stretching/squashing is disabled even when the container contains stretchable/squashable elements. * - `"auto"`: Stretching/squashing depends on the contents of the layout, for example a flow with stretchable element gets stretchable. * - `"stretch_and_expand"`: Used only for stretchable (not squashable) properties on scroll panes, labels, check boxes and radio buttons. The element this is set on expands its size to maximum and is stretched at the same time. This means the element takes up its maximum size even before its contents require it. - * @see {@link https://lua-api.factorio.com/2.1.22/types/StretchRule.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/StretchRule.html Online documentation} */ export type StretchRule = "on" | "off" | "auto" | "stretch_and_expand" /** * Used as an alternative way to specify animations. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Stripe.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Stripe.html Online documentation} */ export interface Stripe { width_in_frames: uint32 @@ -16198,18 +16212,18 @@ declare module "factorio:prototype" { * Mandatory when Stripe is used in {@link Animation}. * * Optional when it is used in {@link RotatedAnimation}, where it defaults to {@link RotatedAnimation#direction_count RotatedAnimation::direction_count}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Stripe.html#height_in_frames Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Stripe.html#height_in_frames Online documentation} */ height_in_frames: uint32 filename: FileName /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/Stripe.html#x Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Stripe.html#x Online documentation} */ x?: uint32 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/Stripe.html#y Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Stripe.html#y Online documentation} */ y?: uint32 } @@ -16248,7 +16262,7 @@ declare module "factorio:prototype" { * - {@link GlowStyleSpecification}: Loaded when the `type` is `"glow_style"`. * - {@link SpeechBubbleStyleSpecification}: Loaded when the `type` is `"speech_bubble_style"`. * - {@link DoubleSliderStyleSpecification}: Loaded when the `type` is `"double_slider_style"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/StyleSpecification.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/StyleSpecification.html Online documentation} */ export type StyleSpecification = | ActivityBarStyleSpecification @@ -16295,18 +16309,18 @@ declare module "factorio:prototype" { } /** * Requires Space Age to use. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SurfaceCondition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SurfaceCondition.html Online documentation} */ export interface SurfaceCondition { property: SurfacePropertyID /** * **Default:** `Lowest double` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SurfaceCondition.html#min Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SurfaceCondition.html#min Online documentation} */ min?: double /** * **Default:** `Max double` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SurfaceCondition.html#max Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SurfaceCondition.html#max Online documentation} */ max?: double } @@ -16314,7 +16328,7 @@ declare module "factorio:prototype" { * The name of a {@link SurfacePrototype}. * @example * "space-platform" - * @see {@link https://lua-api.factorio.com/2.1.22/types/SurfaceID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SurfaceID.html Online documentation} */ export type SurfaceID = string /** @@ -16323,101 +16337,101 @@ declare module "factorio:prototype" { * "solar-power" * @example * "magnetic-field" - * @see {@link https://lua-api.factorio.com/2.1.22/types/SurfacePropertyID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SurfacePropertyID.html Online documentation} */ export type SurfacePropertyID = string export interface SurfaceRenderParameters { day_night_cycle_color_lookup?: DaytimeColorLookupTable /** * **Default:** `0.5` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SurfaceRenderParameters.html#shadow_opacity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SurfaceRenderParameters.html#shadow_opacity Online documentation} */ shadow_opacity?: float /** * **Default:** `false` * * When set to `true` and `clouds` property is not set, the legacy sprite clouds will be rendered on the surface. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SurfaceRenderParameters.html#draw_sprite_clouds Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SurfaceRenderParameters.html#draw_sprite_clouds Online documentation} */ draw_sprite_clouds?: boolean clouds?: CloudsEffectProperties /** * ![Space Age](https://wiki.factorio.com/images/thumb/Space_age_icon.png/16px-Space_age_icon.png) ***Space Age*** required to use. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SurfaceRenderParameters.html#fog Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SurfaceRenderParameters.html#fog Online documentation} */ fog?: FogEffectProperties /** * ![Space Age](https://wiki.factorio.com/images/thumb/Space_age_icon.png/16px-Space_age_icon.png) ***Space Age*** required to use. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SurfaceRenderParameters.html#terrain_tint_effect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SurfaceRenderParameters.html#terrain_tint_effect Online documentation} */ terrain_tint_effect?: GlobalTintEffectProperties /** * ![Space Age](https://wiki.factorio.com/images/thumb/Space_age_icon.png/16px-Space_age_icon.png) ***Space Age*** required to use. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SurfaceRenderParameters.html#space_dust_background Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SurfaceRenderParameters.html#space_dust_background Online documentation} */ space_dust_background?: SpaceDustEffectProperties /** * ![Space Age](https://wiki.factorio.com/images/thumb/Space_age_icon.png/16px-Space_age_icon.png) ***Space Age*** required to use. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SurfaceRenderParameters.html#space_dust_foreground Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SurfaceRenderParameters.html#space_dust_foreground Online documentation} */ space_dust_foreground?: SpaceDustEffectProperties platform_backdrop?: PlatformBackdrop } /** * Root style: `"switch"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/SwitchStyleSpecification.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SwitchStyleSpecification.html Online documentation} */ export interface SwitchStyleSpecification extends BaseStyleSpecification { readonly type: "switch_style" /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SwitchStyleSpecification.html#left_button_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SwitchStyleSpecification.html#left_button_position Online documentation} */ left_button_position?: uint32 /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SwitchStyleSpecification.html#middle_button_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SwitchStyleSpecification.html#middle_button_position Online documentation} */ middle_button_position?: uint32 /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SwitchStyleSpecification.html#right_button_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SwitchStyleSpecification.html#right_button_position Online documentation} */ right_button_position?: uint32 /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SwitchStyleSpecification.html#default_background Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SwitchStyleSpecification.html#default_background Online documentation} */ default_background?: Sprite /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SwitchStyleSpecification.html#hover_background Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SwitchStyleSpecification.html#hover_background Online documentation} */ hover_background?: Sprite /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SwitchStyleSpecification.html#disabled_background Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SwitchStyleSpecification.html#disabled_background Online documentation} */ disabled_background?: Sprite /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SwitchStyleSpecification.html#button Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SwitchStyleSpecification.html#button Online documentation} */ button?: ButtonStyleSpecification /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SwitchStyleSpecification.html#active_label Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SwitchStyleSpecification.html#active_label Online documentation} */ active_label?: LabelStyleSpecification /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/SwitchStyleSpecification.html#inactive_label Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/SwitchStyleSpecification.html#inactive_label Online documentation} */ inactive_label?: LabelStyleSpecification } /** * Root style: `"tab"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TabStyleSpecification.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TabStyleSpecification.html Online documentation} */ export interface TabStyleSpecification extends StyleWithClickableGraphicalSetSpecification { readonly type: "tab_style" @@ -16425,245 +16439,245 @@ declare module "factorio:prototype" { * Name of a {@link FontPrototype}. * * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TabStyleSpecification.html#font Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TabStyleSpecification.html#font Online documentation} */ font?: string /** * Name of a {@link FontPrototype}. * * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TabStyleSpecification.html#badge_font Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TabStyleSpecification.html#badge_font Online documentation} */ badge_font?: string /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TabStyleSpecification.html#badge_horizontal_spacing Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TabStyleSpecification.html#badge_horizontal_spacing Online documentation} */ badge_horizontal_spacing?: int16 /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TabStyleSpecification.html#default_font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TabStyleSpecification.html#default_font_color Online documentation} */ default_font_color?: Color /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TabStyleSpecification.html#selected_font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TabStyleSpecification.html#selected_font_color Online documentation} */ selected_font_color?: Color /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TabStyleSpecification.html#disabled_font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TabStyleSpecification.html#disabled_font_color Online documentation} */ disabled_font_color?: Color /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TabStyleSpecification.html#default_badge_font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TabStyleSpecification.html#default_badge_font_color Online documentation} */ default_badge_font_color?: Color /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TabStyleSpecification.html#selected_badge_font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TabStyleSpecification.html#selected_badge_font_color Online documentation} */ selected_badge_font_color?: Color /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TabStyleSpecification.html#disabled_badge_font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TabStyleSpecification.html#disabled_badge_font_color Online documentation} */ disabled_badge_font_color?: Color /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TabStyleSpecification.html#override_graphics_on_edges Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TabStyleSpecification.html#override_graphics_on_edges Online documentation} */ override_graphics_on_edges?: boolean /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TabStyleSpecification.html#increase_height_when_selected Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TabStyleSpecification.html#increase_height_when_selected Online documentation} */ increase_height_when_selected?: boolean /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TabStyleSpecification.html#left_edge_selected_graphical_set Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TabStyleSpecification.html#left_edge_selected_graphical_set Online documentation} */ left_edge_selected_graphical_set?: ElementImageSet /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TabStyleSpecification.html#right_edge_selected_graphical_set Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TabStyleSpecification.html#right_edge_selected_graphical_set Online documentation} */ right_edge_selected_graphical_set?: ElementImageSet /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TabStyleSpecification.html#default_badge_graphical_set Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TabStyleSpecification.html#default_badge_graphical_set Online documentation} */ default_badge_graphical_set?: ElementImageSet /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TabStyleSpecification.html#selected_badge_graphical_set Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TabStyleSpecification.html#selected_badge_graphical_set Online documentation} */ selected_badge_graphical_set?: ElementImageSet /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TabStyleSpecification.html#hover_badge_graphical_set Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TabStyleSpecification.html#hover_badge_graphical_set Online documentation} */ hover_badge_graphical_set?: ElementImageSet /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TabStyleSpecification.html#press_badge_graphical_set Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TabStyleSpecification.html#press_badge_graphical_set Online documentation} */ press_badge_graphical_set?: ElementImageSet /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TabStyleSpecification.html#disabled_badge_graphical_set Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TabStyleSpecification.html#disabled_badge_graphical_set Online documentation} */ disabled_badge_graphical_set?: ElementImageSet /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TabStyleSpecification.html#draw_grayscale_picture Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TabStyleSpecification.html#draw_grayscale_picture Online documentation} */ draw_grayscale_picture?: boolean } /** * Root style: `"tabbed_pane"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TabbedPaneStyleSpecification.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TabbedPaneStyleSpecification.html Online documentation} */ export interface TabbedPaneStyleSpecification extends BaseStyleSpecification { readonly type: "tabbed_pane_style" /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TabbedPaneStyleSpecification.html#vertical_spacing Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TabbedPaneStyleSpecification.html#vertical_spacing Online documentation} */ vertical_spacing?: uint32 /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TabbedPaneStyleSpecification.html#tab_content_frame Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TabbedPaneStyleSpecification.html#tab_content_frame Online documentation} */ tab_content_frame?: FrameStyleSpecification /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TabbedPaneStyleSpecification.html#tab_container Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TabbedPaneStyleSpecification.html#tab_container Online documentation} */ tab_container?: TableStyleSpecification } /** * Root style: `"table"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TableStyleSpecification.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TableStyleSpecification.html Online documentation} */ export interface TableStyleSpecification extends BaseStyleSpecification { readonly type: "table_style" /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TableStyleSpecification.html#horizontal_spacing Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TableStyleSpecification.html#horizontal_spacing Online documentation} */ horizontal_spacing?: int32 | readonly SpacingItem[] /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TableStyleSpecification.html#vertical_spacing Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TableStyleSpecification.html#vertical_spacing Online documentation} */ vertical_spacing?: int32 | readonly SpacingItem[] /** * Sets `top_cell_padding`, `right_cell_padding`, `bottom_cell_padding` and `left_cell_padding` to the same value. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TableStyleSpecification.html#cell_padding Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TableStyleSpecification.html#cell_padding Online documentation} */ cell_padding?: int16 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TableStyleSpecification.html#top_cell_padding Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TableStyleSpecification.html#top_cell_padding Online documentation} */ top_cell_padding?: int16 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TableStyleSpecification.html#right_cell_padding Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TableStyleSpecification.html#right_cell_padding Online documentation} */ right_cell_padding?: int16 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TableStyleSpecification.html#bottom_cell_padding Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TableStyleSpecification.html#bottom_cell_padding Online documentation} */ bottom_cell_padding?: int16 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TableStyleSpecification.html#left_cell_padding Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TableStyleSpecification.html#left_cell_padding Online documentation} */ left_cell_padding?: int16 /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TableStyleSpecification.html#apply_row_graphical_set_per_column Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TableStyleSpecification.html#apply_row_graphical_set_per_column Online documentation} */ apply_row_graphical_set_per_column?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TableStyleSpecification.html#wide_as_column_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TableStyleSpecification.html#wide_as_column_count Online documentation} */ wide_as_column_count?: boolean /** * **Default:** `Not drawn` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TableStyleSpecification.html#column_graphical_set Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TableStyleSpecification.html#column_graphical_set Online documentation} */ column_graphical_set?: ElementImageSet /** * **Default:** `Not drawn` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TableStyleSpecification.html#default_row_graphical_set Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TableStyleSpecification.html#default_row_graphical_set Online documentation} */ default_row_graphical_set?: ElementImageSet /** * **Default:** `Not drawn` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TableStyleSpecification.html#even_row_graphical_set Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TableStyleSpecification.html#even_row_graphical_set Online documentation} */ even_row_graphical_set?: ElementImageSet /** * **Default:** `Not drawn` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TableStyleSpecification.html#odd_row_graphical_set Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TableStyleSpecification.html#odd_row_graphical_set Online documentation} */ odd_row_graphical_set?: ElementImageSet /** * **Default:** `Not drawn` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TableStyleSpecification.html#hovered_graphical_set Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TableStyleSpecification.html#hovered_graphical_set Online documentation} */ hovered_graphical_set?: ElementImageSet /** * **Default:** `Not drawn` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TableStyleSpecification.html#clicked_graphical_set Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TableStyleSpecification.html#clicked_graphical_set Online documentation} */ clicked_graphical_set?: ElementImageSet /** * **Default:** `Not drawn` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TableStyleSpecification.html#selected_graphical_set Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TableStyleSpecification.html#selected_graphical_set Online documentation} */ selected_graphical_set?: ElementImageSet /** * **Default:** `Not drawn` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TableStyleSpecification.html#selected_hovered_graphical_set Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TableStyleSpecification.html#selected_hovered_graphical_set Online documentation} */ selected_hovered_graphical_set?: ElementImageSet /** * **Default:** `Not drawn` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TableStyleSpecification.html#selected_clicked_graphical_set Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TableStyleSpecification.html#selected_clicked_graphical_set Online documentation} */ selected_clicked_graphical_set?: ElementImageSet /** * **Default:** `Not drawn` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TableStyleSpecification.html#background_graphical_set Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TableStyleSpecification.html#background_graphical_set Online documentation} */ background_graphical_set?: ElementImageSet column_alignments?: readonly ColumnAlignment[] column_widths?: ColumnWidthItem | readonly ColumnWidth[] /** * **Default:** ``{0, 0, 0, 0}`` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TableStyleSpecification.html#hovered_row_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TableStyleSpecification.html#hovered_row_color Online documentation} */ hovered_row_color?: Color /** * **Default:** ``{110, 110, 110}`` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TableStyleSpecification.html#selected_row_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TableStyleSpecification.html#selected_row_color Online documentation} */ selected_row_color?: Color /** * **Default:** ``{110, 110, 110}`` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TableStyleSpecification.html#vertical_line_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TableStyleSpecification.html#vertical_line_color Online documentation} */ vertical_line_color?: Color /** * **Default:** ``{0, 0, 0, 0}`` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TableStyleSpecification.html#horizontal_line_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TableStyleSpecification.html#horizontal_line_color Online documentation} */ horizontal_line_color?: Color column_ordering_ascending_button_style?: ButtonStyleSpecification @@ -16672,7 +16686,7 @@ declare module "factorio:prototype" { inactive_column_ordering_descending_button_style?: ButtonStyleSpecification /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TableStyleSpecification.html#border Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TableStyleSpecification.html#border Online documentation} */ border?: BorderImageSet } @@ -16682,187 +16696,187 @@ declare module "factorio:prototype" { * "automated-rail-transportation" * @example * "steel-axe" - * @see {@link https://lua-api.factorio.com/2.1.22/types/TechnologyID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TechnologyID.html Online documentation} */ export type TechnologyID = string /** * Root style: `"technology_slot"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TechnologySlotStyleSpecification.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TechnologySlotStyleSpecification.html Online documentation} */ export interface TechnologySlotStyleSpecification extends Omit { readonly type: "technology_slot_style" /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TechnologySlotStyleSpecification.html#highlighted_graphical_set Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TechnologySlotStyleSpecification.html#highlighted_graphical_set Online documentation} */ highlighted_graphical_set?: ElementImageSet /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TechnologySlotStyleSpecification.html#default_background_shadow Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TechnologySlotStyleSpecification.html#default_background_shadow Online documentation} */ default_background_shadow?: ElementImageSet /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TechnologySlotStyleSpecification.html#level_band Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TechnologySlotStyleSpecification.html#level_band Online documentation} */ level_band?: ElementImageSet /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TechnologySlotStyleSpecification.html#hovered_level_band Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TechnologySlotStyleSpecification.html#hovered_level_band Online documentation} */ hovered_level_band?: ElementImageSet /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TechnologySlotStyleSpecification.html#level_offset_x Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TechnologySlotStyleSpecification.html#level_offset_x Online documentation} */ level_offset_x?: int32 /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TechnologySlotStyleSpecification.html#level_offset_y Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TechnologySlotStyleSpecification.html#level_offset_y Online documentation} */ level_offset_y?: int32 /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TechnologySlotStyleSpecification.html#level_band_width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TechnologySlotStyleSpecification.html#level_band_width Online documentation} */ level_band_width?: uint32 /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TechnologySlotStyleSpecification.html#level_band_height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TechnologySlotStyleSpecification.html#level_band_height Online documentation} */ level_band_height?: uint32 /** * Name of a {@link FontPrototype}. * * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TechnologySlotStyleSpecification.html#level_font Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TechnologySlotStyleSpecification.html#level_font Online documentation} */ level_font?: string /** * Name of a {@link FontPrototype}. * * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TechnologySlotStyleSpecification.html#level_range_font Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TechnologySlotStyleSpecification.html#level_range_font Online documentation} */ level_range_font?: string /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TechnologySlotStyleSpecification.html#level_font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TechnologySlotStyleSpecification.html#level_font_color Online documentation} */ level_font_color?: Color /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TechnologySlotStyleSpecification.html#hovered_level_font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TechnologySlotStyleSpecification.html#hovered_level_font_color Online documentation} */ hovered_level_font_color?: Color /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TechnologySlotStyleSpecification.html#level_range_font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TechnologySlotStyleSpecification.html#level_range_font_color Online documentation} */ level_range_font_color?: Color /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TechnologySlotStyleSpecification.html#hovered_level_range_font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TechnologySlotStyleSpecification.html#hovered_level_range_font_color Online documentation} */ hovered_level_range_font_color?: Color /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TechnologySlotStyleSpecification.html#level_range_band Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TechnologySlotStyleSpecification.html#level_range_band Online documentation} */ level_range_band?: ElementImageSet /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TechnologySlotStyleSpecification.html#hovered_level_range_band Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TechnologySlotStyleSpecification.html#hovered_level_range_band Online documentation} */ hovered_level_range_band?: ElementImageSet /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TechnologySlotStyleSpecification.html#level_range_offset_x Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TechnologySlotStyleSpecification.html#level_range_offset_x Online documentation} */ level_range_offset_x?: int32 /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TechnologySlotStyleSpecification.html#level_range_offset_y Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TechnologySlotStyleSpecification.html#level_range_offset_y Online documentation} */ level_range_offset_y?: int32 /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TechnologySlotStyleSpecification.html#ingredients_height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TechnologySlotStyleSpecification.html#ingredients_height Online documentation} */ ingredients_height?: uint32 /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TechnologySlotStyleSpecification.html#default_ingredients_background Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TechnologySlotStyleSpecification.html#default_ingredients_background Online documentation} */ default_ingredients_background?: ElementImageSet /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TechnologySlotStyleSpecification.html#hovered_ingredients_background Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TechnologySlotStyleSpecification.html#hovered_ingredients_background Online documentation} */ hovered_ingredients_background?: ElementImageSet /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TechnologySlotStyleSpecification.html#clicked_ingredients_background Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TechnologySlotStyleSpecification.html#clicked_ingredients_background Online documentation} */ clicked_ingredients_background?: ElementImageSet /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TechnologySlotStyleSpecification.html#disabled_ingredients_background Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TechnologySlotStyleSpecification.html#disabled_ingredients_background Online documentation} */ disabled_ingredients_background?: ElementImageSet /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TechnologySlotStyleSpecification.html#highlighted_ingredients_background Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TechnologySlotStyleSpecification.html#highlighted_ingredients_background Online documentation} */ highlighted_ingredients_background?: ElementImageSet /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TechnologySlotStyleSpecification.html#ingredients_padding Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TechnologySlotStyleSpecification.html#ingredients_padding Online documentation} */ ingredients_padding?: uint32 /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TechnologySlotStyleSpecification.html#ingredient_icon_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TechnologySlotStyleSpecification.html#ingredient_icon_size Online documentation} */ ingredient_icon_size?: uint32 /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TechnologySlotStyleSpecification.html#ingredient_icon_overlap Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TechnologySlotStyleSpecification.html#ingredient_icon_overlap Online documentation} */ ingredient_icon_overlap?: uint32 /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TechnologySlotStyleSpecification.html#clicked_overlay Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TechnologySlotStyleSpecification.html#clicked_overlay Online documentation} */ clicked_overlay?: ElementImageSet /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TechnologySlotStyleSpecification.html#progress_bar_background Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TechnologySlotStyleSpecification.html#progress_bar_background Online documentation} */ progress_bar_background?: ElementImageSet /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TechnologySlotStyleSpecification.html#progress_bar Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TechnologySlotStyleSpecification.html#progress_bar Online documentation} */ progress_bar?: ElementImageSet /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TechnologySlotStyleSpecification.html#progress_bar_shadow Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TechnologySlotStyleSpecification.html#progress_bar_shadow Online documentation} */ progress_bar_shadow?: ElementImageSet /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TechnologySlotStyleSpecification.html#progress_bar_height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TechnologySlotStyleSpecification.html#progress_bar_height Online documentation} */ progress_bar_height?: uint32 /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TechnologySlotStyleSpecification.html#progress_bar_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TechnologySlotStyleSpecification.html#progress_bar_color Online documentation} */ progress_bar_color?: Color /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TechnologySlotStyleSpecification.html#drag_handle_style Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TechnologySlotStyleSpecification.html#drag_handle_style Online documentation} */ drag_handle_style?: EmptyWidgetStyleSpecification } @@ -16878,7 +16892,7 @@ declare module "factorio:prototype" { * - {@link BuildEntityTechnologyTrigger}: Loaded when the `type` is `"build-entity"`. * - {@link CreateSpacePlatformTechnologyTrigger}: Loaded when the `type` is `"create-space-platform"`. * - {@link ScriptedTechnologyTrigger}: Loaded when the `type` is `"scripted"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TechnologyTrigger.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TechnologyTrigger.html Online documentation} */ export type TechnologyTrigger = | MineEntityTechnologyTrigger @@ -16906,12 +16920,12 @@ declare module "factorio:prototype" { * }, * time = 60 * } - * @see {@link https://lua-api.factorio.com/2.1.22/types/TechnologyUnit.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TechnologyUnit.html Online documentation} */ export interface TechnologyUnit { /** * How many units are needed. Must be `> 0`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TechnologyUnit.html#count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TechnologyUnit.html#count Online documentation} */ count?: uint64 /** @@ -16926,49 +16940,49 @@ declare module "factorio:prototype" { * This formula can also be used at {@link import("factorio:runtime").LuaHelpers#evaluate_expression runtime}. * @example * count_formula = "2500*(L - 3)" - * @see {@link https://lua-api.factorio.com/2.1.22/types/TechnologyUnit.html#count_formula Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TechnologyUnit.html#count_formula Online documentation} */ count_formula?: MathExpression /** * How much time one unit takes to research. In a lab with a crafting speed of `1`, it corresponds to the number of seconds. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TechnologyUnit.html#time Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TechnologyUnit.html#time Online documentation} */ time: double /** * List of ingredients needed for one unit of research. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TechnologyUnit.html#ingredients Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TechnologyUnit.html#ingredients Online documentation} */ ingredients: readonly ResearchIngredient[] } export interface TerritorySettings { /** * Names of the {@link SegmentedUnitPrototype}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TerritorySettings.html#units Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TerritorySettings.html#units Online documentation} */ units?: readonly EntityID[] /** * Mandatory if `units` is not empty. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TerritorySettings.html#territory_index_expression Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TerritorySettings.html#territory_index_expression Online documentation} */ territory_index_expression?: string /** * **Default:** `0` * * The result will be converted to integer, clamped and used as an index for `units` array. Negative values will result in empty spawn location. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TerritorySettings.html#territory_variation_expression Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TerritorySettings.html#territory_variation_expression Online documentation} */ territory_variation_expression?: string /** * **Default:** `0` * * Minimum number of chunks a territory must have. Below this, it will get deleted. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TerritorySettings.html#minimum_territory_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TerritorySettings.html#minimum_territory_size Online documentation} */ minimum_territory_size?: uint32 } /** * Root style: `"textbox"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TextBoxStyleSpecification.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TextBoxStyleSpecification.html Online documentation} */ export interface TextBoxStyleSpecification extends BaseStyleSpecification { readonly type: "textbox_style" @@ -16976,77 +16990,77 @@ declare module "factorio:prototype" { * Name of a {@link FontPrototype}. * * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TextBoxStyleSpecification.html#font Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TextBoxStyleSpecification.html#font Online documentation} */ font?: string /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TextBoxStyleSpecification.html#font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TextBoxStyleSpecification.html#font_color Online documentation} */ font_color?: Color /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TextBoxStyleSpecification.html#disabled_font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TextBoxStyleSpecification.html#disabled_font_color Online documentation} */ disabled_font_color?: Color /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TextBoxStyleSpecification.html#selection_background_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TextBoxStyleSpecification.html#selection_background_color Online documentation} */ selection_background_color?: Color /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TextBoxStyleSpecification.html#default_background Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TextBoxStyleSpecification.html#default_background Online documentation} */ default_background?: ElementImageSet /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TextBoxStyleSpecification.html#active_background Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TextBoxStyleSpecification.html#active_background Online documentation} */ active_background?: ElementImageSet /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TextBoxStyleSpecification.html#game_controller_hovered_background Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TextBoxStyleSpecification.html#game_controller_hovered_background Online documentation} */ game_controller_hovered_background?: ElementImageSet /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TextBoxStyleSpecification.html#disabled_background Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TextBoxStyleSpecification.html#disabled_background Online documentation} */ disabled_background?: ElementImageSet /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TextBoxStyleSpecification.html#rich_text_setting Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TextBoxStyleSpecification.html#rich_text_setting Online documentation} */ rich_text_setting?: RichTextSetting /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TextBoxStyleSpecification.html#rich_text_highlight_error_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TextBoxStyleSpecification.html#rich_text_highlight_error_color Online documentation} */ rich_text_highlight_error_color?: Color /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TextBoxStyleSpecification.html#rich_text_highlight_warning_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TextBoxStyleSpecification.html#rich_text_highlight_warning_color Online documentation} */ rich_text_highlight_warning_color?: Color /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TextBoxStyleSpecification.html#rich_text_highlight_ok_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TextBoxStyleSpecification.html#rich_text_highlight_ok_color Online documentation} */ rich_text_highlight_ok_color?: Color /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TextBoxStyleSpecification.html#selected_rich_text_highlight_error_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TextBoxStyleSpecification.html#selected_rich_text_highlight_error_color Online documentation} */ selected_rich_text_highlight_error_color?: Color /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TextBoxStyleSpecification.html#selected_rich_text_highlight_warning_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TextBoxStyleSpecification.html#selected_rich_text_highlight_warning_color Online documentation} */ selected_rich_text_highlight_warning_color?: Color /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TextBoxStyleSpecification.html#selected_rich_text_highlight_ok_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TextBoxStyleSpecification.html#selected_rich_text_highlight_ok_color Online documentation} */ selected_rich_text_highlight_ok_color?: Color } @@ -17057,7 +17071,7 @@ declare module "factorio:prototype" { * **Default:** `true` * * Whether using the capsule consumes an item from the stack. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ThrowCapsuleAction.html#uses_stack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ThrowCapsuleAction.html#uses_stack Online documentation} */ uses_stack?: boolean } @@ -17067,41 +17081,41 @@ declare module "factorio:prototype" { flame_position?: Vector /** * **Default:** `31.25` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ThrusterGraphicsSet.html#flame_effect_height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ThrusterGraphicsSet.html#flame_effect_height Online documentation} */ flame_effect_height?: float /** * **Default:** `6` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ThrusterGraphicsSet.html#flame_effect_width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ThrusterGraphicsSet.html#flame_effect_width Online documentation} */ flame_effect_width?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ThrusterGraphicsSet.html#flame_half_height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ThrusterGraphicsSet.html#flame_half_height Online documentation} */ flame_half_height?: float /** * **Default:** `1.5625` - * @see {@link https://lua-api.factorio.com/2.1.22/types/ThrusterGraphicsSet.html#flame_effect_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ThrusterGraphicsSet.html#flame_effect_offset Online documentation} */ flame_effect_offset?: float /** * Refer to {@link EntityPrototype#water_reflection EntityPrototype::water_reflection}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ThrusterGraphicsSet.html#water_reflection Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ThrusterGraphicsSet.html#water_reflection Online documentation} */ water_reflection?: WaterReflectionDefinition /** * **Default:** `true` * * If true the starting frame will be randomized upon placement. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ThrusterGraphicsSet.html#animation_random_start_frame Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ThrusterGraphicsSet.html#animation_random_start_frame Online documentation} */ animation_random_start_frame?: boolean } /** * Struct type for {@link ThrusterPerformancePoint} * @see ThrusterPerformancePoint - * @see {@link https://lua-api.factorio.com/2.1.22/types/ThrusterPerformancePoint.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ThrusterPerformancePoint.html Online documentation} */ export interface ThrusterPerformancePointStruct { fluid_volume: double @@ -17111,7 +17125,7 @@ declare module "factorio:prototype" { export type ThrusterPerformancePoint = ThrusterPerformancePointStruct | readonly [double, double, double] /** * @see FireFlamePrototype.burnt_patch_alpha_variations - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/FireFlamePrototype.html#burnt_patch_alpha_variations Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/FireFlamePrototype.html#burnt_patch_alpha_variations Online documentation} */ export interface TileAndAlpha { tile: TileID @@ -17119,23 +17133,23 @@ declare module "factorio:prototype" { } /** * Used for particles created with {@link CreateParticleTriggerEffectItem#apply_tile_tint apply_tile_tint} defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileBasedParticleTints.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileBasedParticleTints.html Online documentation} */ export interface TileBasedParticleTints { /** * **Default:** `{1,1,1,1} (white)` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileBasedParticleTints.html#primary Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileBasedParticleTints.html#primary Online documentation} */ primary?: Color /** * **Default:** `Value of `primary`` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileBasedParticleTints.html#secondary Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileBasedParticleTints.html#secondary Online documentation} */ secondary?: Color } /** * @see TilePrototype.build_sound - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TilePrototype.html#build_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TilePrototype.html#build_sound Online documentation} */ export interface TileBuildSound { small?: Sound @@ -17147,34 +17161,34 @@ declare module "factorio:prototype" { * Defines restrictions on what tiles an entity can or must be built on. * * Note that once the entity has been placed, placing new tiles is not always restricted by these rules for performance reasons. In particular, for most entities these rules are only checked when placing tiles within the collision box of the entity. The exception to this are thrusters and asteroid collectors, for which the rules are always checked. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileBuildabilityRule.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileBuildabilityRule.html Online documentation} */ export interface TileBuildabilityRule { area: SimpleBoundingBox /** * **Default:** `Any mask` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileBuildabilityRule.html#required_tiles Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileBuildabilityRule.html#required_tiles Online documentation} */ required_tiles?: TileCollisionMaskConnector /** * **Default:** `No masks` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileBuildabilityRule.html#colliding_tiles Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileBuildabilityRule.html#colliding_tiles Online documentation} */ colliding_tiles?: TileCollisionMaskConnector /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileBuildabilityRule.html#remove_on_collision Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileBuildabilityRule.html#remove_on_collision Online documentation} */ remove_on_collision?: boolean } /** * The base game provides common collision mask functions in a Lua file in the core {@linkplain https://github.com/wube/factorio-data/blob/master/core/lualib/collision-mask-util.lua lualib}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileCollisionMaskConnector.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileCollisionMaskConnector.html Online documentation} */ export interface TileCollisionMaskConnector { /** * Every key in the dictionary is the name of one {@link CollisionLayerPrototype layer} the object collides with. The value is meaningless and always `true`. An empty table means that no layers are set. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileCollisionMaskConnector.html#layers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileCollisionMaskConnector.html#layers Online documentation} */ layers: Record } @@ -17182,7 +17196,7 @@ declare module "factorio:prototype" { * The name of an {@link TileEffectDefinition}. * @example * "water" - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileEffectDefinitionID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileEffectDefinitionID.html Online documentation} */ export type TileEffectDefinitionID = string /** @@ -17191,33 +17205,33 @@ declare module "factorio:prototype" { * "grass-2" * @example * "landfill" - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileID.html Online documentation} */ export type TileID = string /** * Name of an allowed tile, or a list of two tile names for entities allowed on transitions. * @see AutoplaceSpecification.tile_restriction - * @see {@link https://lua-api.factorio.com/2.1.22/types/AutoplaceSpecification.html#tile_restriction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AutoplaceSpecification.html#tile_restriction Online documentation} */ export type TileIDRestriction = TileID | readonly [TileID, TileID] export interface TileLightPictures extends TileSpriteLayout { /** * Only powers of 2 from 1 to 128 can be used. Square size of the tile arrangement this sprite is used for. Used to calculate the `width` and `height` of the sprite which cannot be set directly. (width or height) = size * 32 / scale. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileLightPictures.html#size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileLightPictures.html#size Online documentation} */ size: uint32 } export interface TileMainPictures extends TileSpriteLayout { /** * Only powers of 2 from 1 to 128 can be used. Square size of the tile arrangement this sprite is used for. Used to calculate the `width` and `height` of the sprite which cannot be set directly. (width or height) = size * 32 / scale. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileMainPictures.html#size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileMainPictures.html#size Online documentation} */ size: uint32 /** * **Default:** `1` * * Probability of 1x1 (size = 1) version of tile must be 1. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileMainPictures.html#probability Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileMainPictures.html#probability Online documentation} */ probability?: double weights?: readonly double[] @@ -17225,7 +17239,7 @@ declare module "factorio:prototype" { /** * Struct type for {@link TilePosition} * @see TilePosition - * @see {@link https://lua-api.factorio.com/2.1.22/types/TilePosition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TilePosition.html Online documentation} */ export interface TilePositionStruct { x: int32 @@ -17233,7 +17247,7 @@ declare module "factorio:prototype" { } /** * Coordinates of a tile on a map where each integer `x`/`y` represents a different tile. This uses the same format as {@link MapPosition}, except it rounds any non-integer `x`/`y` down to whole numbers. It can be specified either with or without explicit keys. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TilePosition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TilePosition.html Online documentation} */ export type TilePosition = TilePositionStruct | readonly [int32, int32] /** @@ -17244,42 +17258,42 @@ declare module "factorio:prototype" { * - `"ground-natural"`: 256 layers. Used for natural tile sprites above water. Global tile tint shaders are rendered above these layers. * - `"ground-artificial"`: 128 layers. Used for tile sprites which are intended to be above natural ground. Like tiles that player can build. * - `"top"`: 1 layer. The top most tile render layer. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileRenderLayer.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileRenderLayer.html Online documentation} */ export type TileRenderLayer = "zero" | "water" | "water-overlay" | "ground-natural" | "ground-artificial" | "top" export interface TileSpriteLayout { picture: FileName /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileSpriteLayout.html#scale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileSpriteLayout.html#scale Online documentation} */ scale?: float /** * **Default:** `0` * * Horizontal position of the sprite in the source file in pixels. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileSpriteLayout.html#x Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileSpriteLayout.html#x Online documentation} */ x?: SpriteSizeType /** * **Default:** `0` * * Vertical position of the sprite in the source file in pixels. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileSpriteLayout.html#y Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileSpriteLayout.html#y Online documentation} */ y?: SpriteSizeType /** * **Default:** `0` * * Once the specified number of pictures is loaded, other pictures are loaded on other line. This is to allow having longer animations in matrix, to input files with too high width. The game engine limits the width of any input files to 8192px, so it is compatible with most graphics cards. 0 means that all the pictures are in one horizontal line. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileSpriteLayout.html#line_length Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileSpriteLayout.html#line_length Online documentation} */ line_length?: uint8 /** * **Default:** `0` * * Frame count. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileSpriteLayout.html#count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileSpriteLayout.html#count Online documentation} */ count?: uint8 } @@ -17288,12 +17302,12 @@ declare module "factorio:prototype" { scale?: float /** * Horizontal position of the sprite in the source file in pixels. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileSpriteLayoutVariant.html#x Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileSpriteLayoutVariant.html#x Online documentation} */ x?: SpriteSizeType /** * Vertical position of the sprite in the source file in pixels. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileSpriteLayoutVariant.html#y Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileSpriteLayoutVariant.html#y Online documentation} */ y?: SpriteSizeType /** @@ -17306,19 +17320,19 @@ declare module "factorio:prototype" { * ``` * * ) It can be anything between 1 to 8 for `background` layer if `draw_background_layer_under_tiles` is set to true. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileSpriteLayoutVariant.html#tile_height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileSpriteLayoutVariant.html#tile_height Online documentation} */ tile_height?: uint8 /** * **Default:** `0` * * Once the specified number of pictures is loaded, other pictures are loaded on other line. This is to allow having longer animations in matrix, to input files with too high width. The game engine limits the width of any input files to 8192px, so it is compatible with most graphics cards. 0 means that all the pictures are in one horizontal line. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileSpriteLayoutVariant.html#line_length Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileSpriteLayoutVariant.html#line_length Online documentation} */ line_length?: uint8 /** * Frame count. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileSpriteLayoutVariant.html#count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileSpriteLayoutVariant.html#count Online documentation} */ count?: uint8 } @@ -17341,53 +17355,53 @@ declare module "factorio:prototype" { * mask = { y_offset = 512 }, * background = { y_offset = 1024 } * } - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitionSpritesheetLayout.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitionSpritesheetLayout.html Online documentation} */ export interface TileTransitionSpritesheetLayout extends TileSpriteLayoutVariant { /** * Only loaded if {@link TileTransitions#overlay_layout TileTransitions::overlay_layout} is not defined in the TileTransitions that load this. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitionSpritesheetLayout.html#overlay Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitionSpritesheetLayout.html#overlay Online documentation} */ overlay?: TileTransitionVariantLayout /** * Only loaded if {@link TileTransitions#mask_layout TileTransitions::mask_layout} is not defined in the TileTransitions that load this. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitionSpritesheetLayout.html#mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitionSpritesheetLayout.html#mask Online documentation} */ mask?: TileTransitionVariantLayout /** * Only loaded if {@link TileTransitions#background_layout TileTransitions::background_layout} is not defined in the TileTransitions that load this. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitionSpritesheetLayout.html#background Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitionSpritesheetLayout.html#background Online documentation} */ background?: TileTransitionVariantLayout /** * Only loaded if {@link TileTransitions#background_mask_layout TileTransitions::background_mask_layout} is not defined in the TileTransitions that load this. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitionSpritesheetLayout.html#background_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitionSpritesheetLayout.html#background_mask Online documentation} */ background_mask?: TileTransitionVariantLayout /** * Only loaded if {@link TileTransitions#effect_map_layout TileTransitions::effect_map_layout} is not defined in the TileTransitions that load this. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitionSpritesheetLayout.html#effect_map Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitionSpritesheetLayout.html#effect_map Online documentation} */ effect_map?: TileTransitionVariantLayout /** * Only loaded if {@link TileTransitions#lightmap_layout TileTransitions::lightmap_layout} is not defined in the TileTransitions that load this. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitionSpritesheetLayout.html#lightmap Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitionSpritesheetLayout.html#lightmap Online documentation} */ lightmap?: TileTransitionVariantLayout /** * Only loaded if {@link TileTransitions#auxiliary_effect_mask_layout TileTransitions::auxiliary_effect_mask_layout} is not defined in the TileTransitions that load this. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitionSpritesheetLayout.html#auxiliary_effect_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitionSpritesheetLayout.html#auxiliary_effect_mask Online documentation} */ auxiliary_effect_mask?: TileTransitionVariantLayout inner_corner_scale?: float /** * Horizontal position of the sprite in the source file in pixels. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitionSpritesheetLayout.html#inner_corner_x Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitionSpritesheetLayout.html#inner_corner_x Online documentation} */ inner_corner_x?: SpriteSizeType /** * Vertical position of the sprite in the source file in pixels. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitionSpritesheetLayout.html#inner_corner_y Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitionSpritesheetLayout.html#inner_corner_y Online documentation} */ inner_corner_y?: SpriteSizeType inner_corner_tile_height?: uint8 @@ -17396,12 +17410,12 @@ declare module "factorio:prototype" { outer_corner_scale?: float /** * Horizontal position of the sprite in the source file in pixels. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitionSpritesheetLayout.html#outer_corner_x Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitionSpritesheetLayout.html#outer_corner_x Online documentation} */ outer_corner_x?: SpriteSizeType /** * Vertical position of the sprite in the source file in pixels. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitionSpritesheetLayout.html#outer_corner_y Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitionSpritesheetLayout.html#outer_corner_y Online documentation} */ outer_corner_y?: SpriteSizeType outer_corner_tile_height?: uint8 @@ -17410,12 +17424,12 @@ declare module "factorio:prototype" { side_scale?: float /** * Horizontal position of the sprite in the source file in pixels. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitionSpritesheetLayout.html#side_x Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitionSpritesheetLayout.html#side_x Online documentation} */ side_x?: SpriteSizeType /** * Vertical position of the sprite in the source file in pixels. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitionSpritesheetLayout.html#side_y Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitionSpritesheetLayout.html#side_y Online documentation} */ side_y?: SpriteSizeType side_tile_height?: uint8 @@ -17424,12 +17438,12 @@ declare module "factorio:prototype" { double_side_scale?: float /** * Horizontal position of the sprite in the source file in pixels. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitionSpritesheetLayout.html#double_side_x Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitionSpritesheetLayout.html#double_side_x Online documentation} */ double_side_x?: SpriteSizeType /** * Vertical position of the sprite in the source file in pixels. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitionSpritesheetLayout.html#double_side_y Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitionSpritesheetLayout.html#double_side_y Online documentation} */ double_side_y?: SpriteSizeType double_side_tile_height?: uint8 @@ -17438,12 +17452,12 @@ declare module "factorio:prototype" { u_transition_scale?: float /** * Horizontal position of the sprite in the source file in pixels. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitionSpritesheetLayout.html#u_transition_x Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitionSpritesheetLayout.html#u_transition_x Online documentation} */ u_transition_x?: SpriteSizeType /** * Vertical position of the sprite in the source file in pixels. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitionSpritesheetLayout.html#u_transition_y Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitionSpritesheetLayout.html#u_transition_y Online documentation} */ u_transition_y?: SpriteSizeType u_transition_tile_height?: uint8 @@ -17452,12 +17466,12 @@ declare module "factorio:prototype" { o_transition_scale?: float /** * Horizontal position of the sprite in the source file in pixels. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitionSpritesheetLayout.html#o_transition_x Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitionSpritesheetLayout.html#o_transition_x Online documentation} */ o_transition_x?: SpriteSizeType /** * Vertical position of the sprite in the source file in pixels. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitionSpritesheetLayout.html#o_transition_y Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitionSpritesheetLayout.html#o_transition_y Online documentation} */ o_transition_y?: SpriteSizeType o_transition_tile_height?: uint8 @@ -17524,58 +17538,58 @@ declare module "factorio:prototype" { * u_transition_x = 1728, * [...] * } - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitionVariantLayout.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitionVariantLayout.html Online documentation} */ export interface TileTransitionVariantLayout extends TileSpriteLayoutVariant { /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitionVariantLayout.html#x_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitionVariantLayout.html#x_offset Online documentation} */ x_offset?: SpriteSizeType /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitionVariantLayout.html#y_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitionVariantLayout.html#y_offset Online documentation} */ y_offset?: SpriteSizeType /** * Defaults to the values set in the `inner_corner_*` properties. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitionVariantLayout.html#inner_corner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitionVariantLayout.html#inner_corner Online documentation} */ inner_corner?: TileSpriteLayoutVariant /** * Defaults to the values set in the `outer_corner_*` properties. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitionVariantLayout.html#outer_corner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitionVariantLayout.html#outer_corner Online documentation} */ outer_corner?: TileSpriteLayoutVariant /** * Defaults to the values set in the `side_*` properties. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitionVariantLayout.html#side Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitionVariantLayout.html#side Online documentation} */ side?: TileSpriteLayoutVariant /** * Defaults to the values set in the `double_side_*` properties. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitionVariantLayout.html#double_side Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitionVariantLayout.html#double_side Online documentation} */ double_side?: TileSpriteLayoutVariant /** * Defaults to the values set in the `u_transition_*` properties. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitionVariantLayout.html#u_transition Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitionVariantLayout.html#u_transition Online documentation} */ u_transition?: TileSpriteLayoutVariant /** * Defaults to the values set in the `o_transition_*` properties. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitionVariantLayout.html#o_transition Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitionVariantLayout.html#o_transition Online documentation} */ o_transition?: TileSpriteLayoutVariant inner_corner_scale?: float /** * Horizontal position of the sprite in the source file in pixels. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitionVariantLayout.html#inner_corner_x Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitionVariantLayout.html#inner_corner_x Online documentation} */ inner_corner_x?: SpriteSizeType /** * Vertical position of the sprite in the source file in pixels. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitionVariantLayout.html#inner_corner_y Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitionVariantLayout.html#inner_corner_y Online documentation} */ inner_corner_y?: SpriteSizeType inner_corner_tile_height?: uint8 @@ -17584,12 +17598,12 @@ declare module "factorio:prototype" { outer_corner_scale?: float /** * Horizontal position of the sprite in the source file in pixels. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitionVariantLayout.html#outer_corner_x Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitionVariantLayout.html#outer_corner_x Online documentation} */ outer_corner_x?: SpriteSizeType /** * Vertical position of the sprite in the source file in pixels. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitionVariantLayout.html#outer_corner_y Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitionVariantLayout.html#outer_corner_y Online documentation} */ outer_corner_y?: SpriteSizeType outer_corner_tile_height?: uint8 @@ -17598,12 +17612,12 @@ declare module "factorio:prototype" { side_scale?: float /** * Horizontal position of the sprite in the source file in pixels. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitionVariantLayout.html#side_x Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitionVariantLayout.html#side_x Online documentation} */ side_x?: SpriteSizeType /** * Vertical position of the sprite in the source file in pixels. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitionVariantLayout.html#side_y Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitionVariantLayout.html#side_y Online documentation} */ side_y?: SpriteSizeType side_tile_height?: uint8 @@ -17612,12 +17626,12 @@ declare module "factorio:prototype" { double_side_scale?: float /** * Horizontal position of the sprite in the source file in pixels. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitionVariantLayout.html#double_side_x Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitionVariantLayout.html#double_side_x Online documentation} */ double_side_x?: SpriteSizeType /** * Vertical position of the sprite in the source file in pixels. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitionVariantLayout.html#double_side_y Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitionVariantLayout.html#double_side_y Online documentation} */ double_side_y?: SpriteSizeType double_side_tile_height?: uint8 @@ -17626,12 +17640,12 @@ declare module "factorio:prototype" { u_transition_scale?: float /** * Horizontal position of the sprite in the source file in pixels. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitionVariantLayout.html#u_transition_x Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitionVariantLayout.html#u_transition_x Online documentation} */ u_transition_x?: SpriteSizeType /** * Vertical position of the sprite in the source file in pixels. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitionVariantLayout.html#u_transition_y Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitionVariantLayout.html#u_transition_y Online documentation} */ u_transition_y?: SpriteSizeType u_transition_tile_height?: uint8 @@ -17640,12 +17654,12 @@ declare module "factorio:prototype" { o_transition_scale?: float /** * Horizontal position of the sprite in the source file in pixels. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitionVariantLayout.html#o_transition_x Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitionVariantLayout.html#o_transition_x Online documentation} */ o_transition_x?: SpriteSizeType /** * Vertical position of the sprite in the source file in pixels. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitionVariantLayout.html#o_transition_y Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitionVariantLayout.html#o_transition_y Online documentation} */ o_transition_y?: SpriteSizeType o_transition_tile_height?: uint8 @@ -17656,83 +17670,83 @@ declare module "factorio:prototype" { * Used for {@link TilePrototype} graphics. * * Use `layout` with `spritesheet` to define all the tile layers inside the `layout` property. The `*_enabled`, `*_layout` and `*_spritesheet` properties can be used to override specific layers of a reused layout. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitions.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitions.html Online documentation} */ export interface TileTransitions { layout?: TileTransitionSpritesheetLayout /** * Default spritesheet for all TileSpriteLayouts. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitions.html#spritesheet Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitions.html#spritesheet Online documentation} */ spritesheet?: FileName /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitions.html#overlay_enabled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitions.html#overlay_enabled Online documentation} */ overlay_enabled?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitions.html#mask_enabled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitions.html#mask_enabled Online documentation} */ mask_enabled?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitions.html#background_enabled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitions.html#background_enabled Online documentation} */ background_enabled?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitions.html#background_mask_enabled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitions.html#background_mask_enabled Online documentation} */ background_mask_enabled?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitions.html#effect_map_enabled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitions.html#effect_map_enabled Online documentation} */ effect_map_enabled?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitions.html#lightmap_enabled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitions.html#lightmap_enabled Online documentation} */ lightmap_enabled?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitions.html#auxiliary_effect_mask_enabled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitions.html#auxiliary_effect_mask_enabled Online documentation} */ auxiliary_effect_mask_enabled?: boolean /** * Overrides the `overlay` definition inside `layout`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitions.html#overlay_layout Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitions.html#overlay_layout Online documentation} */ overlay_layout?: TileTransitionVariantLayout /** * Overrides the `mask` definition inside `layout`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitions.html#mask_layout Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitions.html#mask_layout Online documentation} */ mask_layout?: TileTransitionVariantLayout /** * Overrides the `background` definition inside `layout`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitions.html#background_layout Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitions.html#background_layout Online documentation} */ background_layout?: TileTransitionVariantLayout /** * Overrides the `background_mask` definition inside `layout`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitions.html#background_mask_layout Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitions.html#background_mask_layout Online documentation} */ background_mask_layout?: TileTransitionVariantLayout /** * Overrides the `effect_map` definition inside `layout`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitions.html#effect_map_layout Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitions.html#effect_map_layout Online documentation} */ effect_map_layout?: TileTransitionVariantLayout /** * Overrides the `lightmap` definition inside `layout`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitions.html#lightmap_layout Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitions.html#lightmap_layout Online documentation} */ lightmap_layout?: TileTransitionVariantLayout /** * Overrides the `auxiliary_effect_mask` definition inside `layout`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitions.html#auxiliary_effect_mask_layout Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitions.html#auxiliary_effect_mask_layout Online documentation} */ auxiliary_effect_mask_layout?: TileTransitionVariantLayout /** @@ -17741,7 +17755,7 @@ declare module "factorio:prototype" { * Only loaded if `layout` or `mask_layout` is defined. * * Default spritesheet for `mask_layout` and `layout.mask`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitions.html#mask_spritesheet Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitions.html#mask_spritesheet Online documentation} */ mask_spritesheet?: FileName /** @@ -17750,7 +17764,7 @@ declare module "factorio:prototype" { * Only loaded if `layout` or `background_layout` is defined. * * Default spritesheet for `background_layout` and `layout.background`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitions.html#background_spritesheet Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitions.html#background_spritesheet Online documentation} */ background_spritesheet?: FileName /** @@ -17759,7 +17773,7 @@ declare module "factorio:prototype" { * Only loaded if `layout` or `background_mask_layout` is defined. * * Default spritesheet for `background_mask_layout` and `layout.background_mask`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitions.html#background_mask_spritesheet Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitions.html#background_mask_spritesheet Online documentation} */ background_mask_spritesheet?: FileName /** @@ -17768,7 +17782,7 @@ declare module "factorio:prototype" { * Only loaded if `layout` or `effect_map_layout` is defined. * * Default spritesheet for `effect_map_layout` and `layout.effect_map`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitions.html#effect_map_spritesheet Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitions.html#effect_map_spritesheet Online documentation} */ effect_map_spritesheet?: FileName /** @@ -17777,7 +17791,7 @@ declare module "factorio:prototype" { * Only loaded if `layout` or `lightmap_layout` is defined. * * Default spritesheet for `lightmap_layout` and `layout.lightmap`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitions.html#lightmap_spritesheet Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitions.html#lightmap_spritesheet Online documentation} */ lightmap_spritesheet?: FileName /** @@ -17786,7 +17800,7 @@ declare module "factorio:prototype" { * Only loaded if `layout` or `auxiliary_effect_mask_layout` is defined. * * Default spritesheet for `auxiliary_effect_mask_layout` and `layout.auxiliary_effect_mask`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitions.html#auxiliary_effect_mask_spritesheet Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitions.html#auxiliary_effect_mask_spritesheet Online documentation} */ auxiliary_effect_mask_spritesheet?: FileName water_patch?: Sprite @@ -17794,60 +17808,60 @@ declare module "factorio:prototype" { background_layer_group?: TileRenderLayer /** * **Default:** `0.15` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitions.html#waving_effect_time_scale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitions.html#waving_effect_time_scale Online documentation} */ waving_effect_time_scale?: float overlay_layer_offset?: int8 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitions.html#masked_overlay_layer_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitions.html#masked_overlay_layer_offset Online documentation} */ masked_overlay_layer_offset?: int8 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitions.html#background_layer_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitions.html#background_layer_offset Online documentation} */ background_layer_offset?: int8 /** * **Default:** `Value of `background_layer_offset`` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitions.html#masked_background_layer_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitions.html#masked_background_layer_offset Online documentation} */ masked_background_layer_offset?: int8 /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitions.html#draw_background_layer_under_tiles Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitions.html#draw_background_layer_under_tiles Online documentation} */ draw_background_layer_under_tiles?: boolean /** * **Default:** `true` * * If drawing under water which is supposed to yield water mask, set this to `false` to not mess up the water mask. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitions.html#background_layer_occludes_light Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitions.html#background_layer_occludes_light Online documentation} */ background_layer_occludes_light?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitions.html#apply_effect_color_to_overlay Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitions.html#apply_effect_color_to_overlay Online documentation} */ apply_effect_color_to_overlay?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitions.html#apply_waving_effect_on_masks Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitions.html#apply_waving_effect_on_masks Online documentation} */ apply_waving_effect_on_masks?: boolean /** * **Default:** `Value of `apply_waving_effect_on_masks`` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitions.html#apply_waving_effect_on_background_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitions.html#apply_waving_effect_on_background_mask Online documentation} */ apply_waving_effect_on_background_mask?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitions.html#draw_simple_outer_corner_over_diagonal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitions.html#draw_simple_outer_corner_over_diagonal Online documentation} */ draw_simple_outer_corner_over_diagonal?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitions.html#offset_background_layer_by_tile_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitions.html#offset_background_layer_by_tile_layer Online documentation} */ offset_background_layer_by_tile_layer?: boolean inner_corner_weights?: readonly float[] @@ -17870,29 +17884,29 @@ declare module "factorio:prototype" { main?: readonly TileMainPictures[] /** * **Default:** `8` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitionsVariants.html#material_texture_width_in_tiles Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitionsVariants.html#material_texture_width_in_tiles Online documentation} */ material_texture_width_in_tiles?: uint8 /** * **Default:** `8` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitionsVariants.html#material_texture_height_in_tiles Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitionsVariants.html#material_texture_height_in_tiles Online documentation} */ material_texture_height_in_tiles?: uint8 material_background?: MaterialTextureParameters light?: readonly TileLightPictures[] /** * Must have the same `count` as material_background. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitionsVariants.html#material_light Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitionsVariants.html#material_light Online documentation} */ material_light?: MaterialTextureParameters /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitionsVariants.html#empty_transitions Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitionsVariants.html#empty_transitions Online documentation} */ empty_transitions?: boolean /** * Only loaded, and mandatory if `empty_transitions` is `false`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TileTransitionsVariants.html#transition Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TileTransitionsVariants.html#transition Online documentation} */ transition?: TileTransitions } @@ -17907,58 +17921,58 @@ declare module "factorio:prototype" { /** * One frame in time for a Bezier interpolation. * @see TintProcessionLayer.frames - * @see {@link https://lua-api.factorio.com/2.1.22/types/TintProcessionLayer.html#frames Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TintProcessionLayer.html#frames Online documentation} */ export interface TintProcessionBezierControlPoint { /** * Mandatory if `opacity` or `tint_upper` or `tint_lower` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TintProcessionBezierControlPoint.html#timestamp Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TintProcessionBezierControlPoint.html#timestamp Online documentation} */ timestamp?: MapTick /** * `opacity` and `opacity_t` interpolate a double smoothly over time. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TintProcessionBezierControlPoint.html#opacity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TintProcessionBezierControlPoint.html#opacity Online documentation} */ opacity?: double /** * Bidirectional tangent at the given timestamp. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TintProcessionBezierControlPoint.html#opacity_t Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TintProcessionBezierControlPoint.html#opacity_t Online documentation} */ opacity_t?: double /** * `tint_upper` and `tint_upper_t` interpolate a color smoothly over time. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TintProcessionBezierControlPoint.html#tint_upper Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TintProcessionBezierControlPoint.html#tint_upper Online documentation} */ tint_upper?: Color /** * Bidirectional tangent at the given timestamp. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TintProcessionBezierControlPoint.html#tint_upper_t Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TintProcessionBezierControlPoint.html#tint_upper_t Online documentation} */ tint_upper_t?: Color /** * `tint_lower` and `tint_lower_t` interpolate a color smoothly over time. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TintProcessionBezierControlPoint.html#tint_lower Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TintProcessionBezierControlPoint.html#tint_lower Online documentation} */ tint_lower?: Color /** * Bidirectional tangent at the given timestamp. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TintProcessionBezierControlPoint.html#tint_lower_t Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TintProcessionBezierControlPoint.html#tint_lower_t Online documentation} */ tint_lower_t?: Color } /** * Fullscreen overlay which blends gradient from top to bottom edge of the screen using {@link BlendMode#normal pre-multiplied alpha blending}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TintProcessionLayer.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TintProcessionLayer.html Online documentation} */ export interface TintProcessionLayer { readonly type: "tint" /** * **Default:** `"object"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TintProcessionLayer.html#render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TintProcessionLayer.html#render_layer Online documentation} */ render_layer?: RenderLayer /** - * @see {@link https://lua-api.factorio.com/2.1.22/types/TintProcessionLayer.html#frames Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TintProcessionLayer.html#frames Online documentation} */ frames: readonly TintProcessionBezierControlPoint[] } @@ -17974,7 +17988,7 @@ declare module "factorio:prototype" { * - `"not-to-be-suggested"` * - `"completed-without-tutorial"`: The tip is considered completed. * - `"completed"`: The tip is considered completed. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TipStatus.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TipStatus.html Online documentation} */ export type TipStatus = | "locked" @@ -18038,7 +18052,7 @@ declare module "factorio:prototype" { * - {@link SendSpidertronTipTrigger}: Loaded when the `type` is `"send-spidertron"`. * - {@link ActivatePasteTipTrigger}: Loaded when the `type` is `"activate-paste"`. * - {@link KillTipTrigger}: Loaded when the `type` is `"kill"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TipTrigger.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TipTrigger.html Online documentation} */ export type TipTrigger = | OrTipTrigger @@ -18095,7 +18109,7 @@ declare module "factorio:prototype" { } /** * Triggered when the player turns "alt-mode" on or off. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ToggleShowEntityInfoTipTrigger.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ToggleShowEntityInfoTipTrigger.html Online documentation} */ export interface ToggleShowEntityInfoTipTrigger extends CountBasedTipTrigger { readonly type: "toggle-show-entity-info" @@ -18106,20 +18120,20 @@ declare module "factorio:prototype" { * **Default:** `true` * * If set to `false`, use the icon from {@link UtilitySprites} for this technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TrainBrakingForceBonusModifier.html#infer_icon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TrainBrakingForceBonusModifier.html#infer_icon Online documentation} */ infer_icon?: boolean /** * **Default:** `true` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TrainBrakingForceBonusModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TrainBrakingForceBonusModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean } /** * @see UtilityConstants.train_path_finding - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UtilityConstants.html#train_path_finding Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UtilityConstants.html#train_path_finding Online documentation} */ export interface TrainPathFinderConstants { train_stop_penalty: uint32 @@ -18133,7 +18147,7 @@ declare module "factorio:prototype" { train_waiting_at_signal_penalty: uint32 /** * Must be >= 0. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TrainPathFinderConstants.html#train_waiting_at_signal_tick_multiplier_penalty Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TrainPathFinderConstants.html#train_waiting_at_signal_tick_multiplier_penalty Online documentation} */ train_waiting_at_signal_tick_multiplier_penalty: float train_with_no_path_penalty: uint32 @@ -18141,7 +18155,7 @@ declare module "factorio:prototype" { } /** * @see TrainStopPrototype.drawing_boxes - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/TrainStopPrototype.html#drawing_boxes Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/TrainStopPrototype.html#drawing_boxes Online documentation} */ export interface TrainStopDrawingBoxes { north: BoundingBox @@ -18169,17 +18183,17 @@ declare module "factorio:prototype" { export interface TransitionApplication { /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TransitionApplication.html#offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TransitionApplication.html#offset Online documentation} */ offset?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TransitionApplication.html#pod_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TransitionApplication.html#pod_offset Online documentation} */ pod_offset?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TransitionApplication.html#rotation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TransitionApplication.html#rotation Online documentation} */ rotation?: boolean } @@ -18187,62 +18201,62 @@ declare module "factorio:prototype" { animation_set: RotatedAnimation /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TransportBeltAnimationSet.html#east_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TransportBeltAnimationSet.html#east_index Online documentation} */ east_index?: uint8 /** * **Default:** `2` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TransportBeltAnimationSet.html#west_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TransportBeltAnimationSet.html#west_index Online documentation} */ west_index?: uint8 /** * **Default:** `3` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TransportBeltAnimationSet.html#north_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TransportBeltAnimationSet.html#north_index Online documentation} */ north_index?: uint8 /** * **Default:** `4` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TransportBeltAnimationSet.html#south_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TransportBeltAnimationSet.html#south_index Online documentation} */ south_index?: uint8 /** * **Default:** `13` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TransportBeltAnimationSet.html#starting_south_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TransportBeltAnimationSet.html#starting_south_index Online documentation} */ starting_south_index?: uint8 /** * **Default:** `14` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TransportBeltAnimationSet.html#ending_south_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TransportBeltAnimationSet.html#ending_south_index Online documentation} */ ending_south_index?: uint8 /** * **Default:** `15` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TransportBeltAnimationSet.html#starting_west_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TransportBeltAnimationSet.html#starting_west_index Online documentation} */ starting_west_index?: uint8 /** * **Default:** `16` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TransportBeltAnimationSet.html#ending_west_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TransportBeltAnimationSet.html#ending_west_index Online documentation} */ ending_west_index?: uint8 /** * **Default:** `17` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TransportBeltAnimationSet.html#starting_north_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TransportBeltAnimationSet.html#starting_north_index Online documentation} */ starting_north_index?: uint8 /** * **Default:** `18` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TransportBeltAnimationSet.html#ending_north_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TransportBeltAnimationSet.html#ending_north_index Online documentation} */ ending_north_index?: uint8 /** * **Default:** `19` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TransportBeltAnimationSet.html#starting_east_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TransportBeltAnimationSet.html#starting_east_index Online documentation} */ starting_east_index?: uint8 /** * **Default:** `20` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TransportBeltAnimationSet.html#ending_east_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TransportBeltAnimationSet.html#ending_east_index Online documentation} */ ending_east_index?: uint8 frozen_patch?: RotatedSprite @@ -18250,89 +18264,89 @@ declare module "factorio:prototype" { * **Default:** `1` * * Only loaded if `frozen_patch` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TransportBeltAnimationSet.html#east_index_frozen Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TransportBeltAnimationSet.html#east_index_frozen Online documentation} */ east_index_frozen?: uint8 /** * **Default:** `2` * * Only loaded if `frozen_patch` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TransportBeltAnimationSet.html#west_index_frozen Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TransportBeltAnimationSet.html#west_index_frozen Online documentation} */ west_index_frozen?: uint8 /** * **Default:** `3` * * Only loaded if `frozen_patch` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TransportBeltAnimationSet.html#north_index_frozen Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TransportBeltAnimationSet.html#north_index_frozen Online documentation} */ north_index_frozen?: uint8 /** * **Default:** `4` * * Only loaded if `frozen_patch` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TransportBeltAnimationSet.html#south_index_frozen Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TransportBeltAnimationSet.html#south_index_frozen Online documentation} */ south_index_frozen?: uint8 /** * **Default:** `13` * * Only loaded if `frozen_patch` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TransportBeltAnimationSet.html#starting_south_index_frozen Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TransportBeltAnimationSet.html#starting_south_index_frozen Online documentation} */ starting_south_index_frozen?: uint8 /** * **Default:** `14` * * Only loaded if `frozen_patch` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TransportBeltAnimationSet.html#ending_south_index_frozen Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TransportBeltAnimationSet.html#ending_south_index_frozen Online documentation} */ ending_south_index_frozen?: uint8 /** * **Default:** `15` * * Only loaded if `frozen_patch` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TransportBeltAnimationSet.html#starting_west_index_frozen Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TransportBeltAnimationSet.html#starting_west_index_frozen Online documentation} */ starting_west_index_frozen?: uint8 /** * **Default:** `16` * * Only loaded if `frozen_patch` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TransportBeltAnimationSet.html#ending_west_index_frozen Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TransportBeltAnimationSet.html#ending_west_index_frozen Online documentation} */ ending_west_index_frozen?: uint8 /** * **Default:** `17` * * Only loaded if `frozen_patch` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TransportBeltAnimationSet.html#starting_north_index_frozen Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TransportBeltAnimationSet.html#starting_north_index_frozen Online documentation} */ starting_north_index_frozen?: uint8 /** * **Default:** `18` * * Only loaded if `frozen_patch` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TransportBeltAnimationSet.html#ending_north_index_frozen Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TransportBeltAnimationSet.html#ending_north_index_frozen Online documentation} */ ending_north_index_frozen?: uint8 /** * **Default:** `19` * * Only loaded if `frozen_patch` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TransportBeltAnimationSet.html#starting_east_index_frozen Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TransportBeltAnimationSet.html#starting_east_index_frozen Online documentation} */ starting_east_index_frozen?: uint8 /** * **Default:** `20` * * Only loaded if `frozen_patch` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TransportBeltAnimationSet.html#ending_east_index_frozen Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TransportBeltAnimationSet.html#ending_east_index_frozen Online documentation} */ ending_east_index_frozen?: uint8 /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TransportBeltAnimationSet.html#alternate Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TransportBeltAnimationSet.html#alternate Online documentation} */ alternate?: boolean belt_reader?: readonly BeltReaderLayer[] @@ -18340,104 +18354,104 @@ declare module "factorio:prototype" { export interface TransportBeltAnimationSetWithCorners extends TransportBeltAnimationSet { /** * **Default:** `5` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TransportBeltAnimationSetWithCorners.html#east_to_north_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TransportBeltAnimationSetWithCorners.html#east_to_north_index Online documentation} */ east_to_north_index?: uint8 /** * **Default:** `6` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TransportBeltAnimationSetWithCorners.html#north_to_east_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TransportBeltAnimationSetWithCorners.html#north_to_east_index Online documentation} */ north_to_east_index?: uint8 /** * **Default:** `7` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TransportBeltAnimationSetWithCorners.html#west_to_north_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TransportBeltAnimationSetWithCorners.html#west_to_north_index Online documentation} */ west_to_north_index?: uint8 /** * **Default:** `8` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TransportBeltAnimationSetWithCorners.html#north_to_west_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TransportBeltAnimationSetWithCorners.html#north_to_west_index Online documentation} */ north_to_west_index?: uint8 /** * **Default:** `9` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TransportBeltAnimationSetWithCorners.html#south_to_east_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TransportBeltAnimationSetWithCorners.html#south_to_east_index Online documentation} */ south_to_east_index?: uint8 /** * **Default:** `10` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TransportBeltAnimationSetWithCorners.html#east_to_south_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TransportBeltAnimationSetWithCorners.html#east_to_south_index Online documentation} */ east_to_south_index?: uint8 /** * **Default:** `11` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TransportBeltAnimationSetWithCorners.html#south_to_west_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TransportBeltAnimationSetWithCorners.html#south_to_west_index Online documentation} */ south_to_west_index?: uint8 /** * **Default:** `12` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TransportBeltAnimationSetWithCorners.html#west_to_south_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TransportBeltAnimationSetWithCorners.html#west_to_south_index Online documentation} */ west_to_south_index?: uint8 /** * **Default:** `5` * * Only loaded if `frozen_patch` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TransportBeltAnimationSetWithCorners.html#east_to_north_index_frozen Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TransportBeltAnimationSetWithCorners.html#east_to_north_index_frozen Online documentation} */ east_to_north_index_frozen?: uint8 /** * **Default:** `6` * * Only loaded if `frozen_patch` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TransportBeltAnimationSetWithCorners.html#north_to_east_index_frozen Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TransportBeltAnimationSetWithCorners.html#north_to_east_index_frozen Online documentation} */ north_to_east_index_frozen?: uint8 /** * **Default:** `7` * * Only loaded if `frozen_patch` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TransportBeltAnimationSetWithCorners.html#west_to_north_index_frozen Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TransportBeltAnimationSetWithCorners.html#west_to_north_index_frozen Online documentation} */ west_to_north_index_frozen?: uint8 /** * **Default:** `8` * * Only loaded if `frozen_patch` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TransportBeltAnimationSetWithCorners.html#north_to_west_index_frozen Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TransportBeltAnimationSetWithCorners.html#north_to_west_index_frozen Online documentation} */ north_to_west_index_frozen?: uint8 /** * **Default:** `9` * * Only loaded if `frozen_patch` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TransportBeltAnimationSetWithCorners.html#south_to_east_index_frozen Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TransportBeltAnimationSetWithCorners.html#south_to_east_index_frozen Online documentation} */ south_to_east_index_frozen?: uint8 /** * **Default:** `10` * * Only loaded if `frozen_patch` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TransportBeltAnimationSetWithCorners.html#east_to_south_index_frozen Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TransportBeltAnimationSetWithCorners.html#east_to_south_index_frozen Online documentation} */ east_to_south_index_frozen?: uint8 /** * **Default:** `11` * * Only loaded if `frozen_patch` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TransportBeltAnimationSetWithCorners.html#south_to_west_index_frozen Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TransportBeltAnimationSetWithCorners.html#south_to_west_index_frozen Online documentation} */ south_to_west_index_frozen?: uint8 /** * **Default:** `12` * * Only loaded if `frozen_patch` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TransportBeltAnimationSetWithCorners.html#west_to_south_index_frozen Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TransportBeltAnimationSetWithCorners.html#west_to_south_index_frozen Online documentation} */ west_to_south_index_frozen?: uint8 } /** * Used to define the graphics for the (in vanilla) yellow frame that is used when a {@link TransportBeltPrototype} is connected to the circuit network. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TransportBeltConnectorFrame.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TransportBeltConnectorFrame.html Online documentation} */ export interface TransportBeltConnectorFrame { frame_main: AnimationVariations @@ -18471,13 +18485,13 @@ declare module "factorio:prototype" { * **Default:** `false` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TravelToSpacePlatformsModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TravelToSpacePlatformsModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean } /** * {@link TreePrototype}s develop over time. To introduce visual fidelity, the shape of the plant is shrunk and distorted using a warp texture, and it slowly retracts back into its grown state. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TreeGrowth.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TreeGrowth.html Online documentation} */ export interface TreeGrowth { /** @@ -18490,7 +18504,7 @@ declare module "factorio:prototype" { * vec2 growthWarpQuadratic = (uv - vec2(0.3, 0.2)) * pow(growthWarp.g * pow(time, 4.06187), 2) * 1000; * vec2 growthWarpUVOffset = clamp(growthWarpLinear + growthWarpQuadratic + uv, 0, 1); * ``` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TreeGrowth.html#growth_warp Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TreeGrowth.html#growth_warp Online documentation} */ growth_warp: Sprite /** @@ -18504,7 +18518,7 @@ declare module "factorio:prototype" { * ``` * * See {@link TreeGrowth#growth_warp TreeGrowth::growth_warp} for how `growthWarpQuadratic` and `growthWarpUVOffset` are calculated. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TreeGrowth.html#trunk_warp Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TreeGrowth.html#trunk_warp Online documentation} */ trunk_warp: Sprite /** @@ -18518,7 +18532,7 @@ declare module "factorio:prototype" { * ``` * * See {@link TreeGrowth#trunk_warp TreeGrowth::trunk_warp} for how `trunkUV` is calculated. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TreeGrowth.html#harvest_warp Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TreeGrowth.html#harvest_warp Online documentation} */ harvest_warp: Sprite /** @@ -18530,44 +18544,44 @@ declare module "factorio:prototype" { * vec2 shadowWarpLinear = (shadowWarp.rg - 0.5) * 2 * pow(time, 2.546872); * vec2 shadowUV = clamp(uv + shadowWarpLinear, 0, 1); * ``` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TreeGrowth.html#shadow_warp Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TreeGrowth.html#shadow_warp Online documentation} */ shadow_warp: Sprite /** * Encodes the point in time (0-1) since the plant started growing, at which a given pixel of the *trunk* texture becomes visible. * * This is a grayscale texture where white is t=0 (beginning of growth) and black is t=1 (end of growth). - * @see {@link https://lua-api.factorio.com/2.1.22/types/TreeGrowth.html#trunk_alpha Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TreeGrowth.html#trunk_alpha Online documentation} */ trunk_alpha: Sprite /** * Encodes the point in time (0-1) since the plant started growing, at which a given pixel of the *leaves* texture becomes visible. * * This is a grayscale texture where white is t=0 (beginning of growth) and black is t=1 (end of growth). - * @see {@link https://lua-api.factorio.com/2.1.22/types/TreeGrowth.html#harvest_alpha Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TreeGrowth.html#harvest_alpha Online documentation} */ harvest_alpha: Sprite /** * Encodes the point in time (0-1) since the plant started growing, at which a given pixel of the *shadow* texture becomes visible. * * This is a grayscale texture where white is t=0 (beginning of growth) and black is t=1 (end of growth). - * @see {@link https://lua-api.factorio.com/2.1.22/types/TreeGrowth.html#shadow_alpha Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TreeGrowth.html#shadow_alpha Online documentation} */ shadow_alpha: Sprite /** * Exponent for the easing function of the growth progress (progress ^ progressExponent) which is used by the growth animation. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TreeGrowth.html#progress_exponent Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TreeGrowth.html#progress_exponent Online documentation} */ progress_exponent: float } /** * Tree has number of "dying" stages, which is deduced from frame count of `shadow` if shadow is defined, otherwise from frame count of `trunk`. Frame count of `leaves` has to be one less than the deduced number of stages, as last the stage is always assumed to be leafless. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TreeVariation.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TreeVariation.html Online documentation} */ export interface TreeVariation { /** * If `shadow` is not specified, this has to have one more frame than `leaves`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TreeVariation.html#trunk Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TreeVariation.html#trunk Online documentation} */ trunk: Animation leaves: Animation @@ -18575,72 +18589,72 @@ declare module "factorio:prototype" { branch_generation: CreateParticleTriggerEffectItem /** * Shadow must have 1 more `frame_count` than `leaves`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TreeVariation.html#shadow Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TreeVariation.html#shadow Online documentation} */ shadow?: Animation /** * Only loaded if `shadow` is present. Defaults to `shadow.frame_count - 1`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TreeVariation.html#disable_shadow_distortion_beginning_at_frame Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TreeVariation.html#disable_shadow_distortion_beginning_at_frame Online documentation} */ disable_shadow_distortion_beginning_at_frame?: uint32 /** * Normal must have the same frame_count as `leaves`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TreeVariation.html#normal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TreeVariation.html#normal Online documentation} */ normal?: Animation /** * Overlay must have the same frame_count as `leaves`. Won't be tinted by the tree color unless `apply_runtime_tint` is set to `true` in the sprite definition. See {@linkplain https://forums.factorio.com/viewtopic.php?p=547758#p547758 here}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TreeVariation.html#overlay Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TreeVariation.html#overlay Online documentation} */ overlay?: Animation underwater?: Animation /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TreeVariation.html#underwater_layer_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TreeVariation.html#underwater_layer_offset Online documentation} */ underwater_layer_offset?: int8 /** * **Default:** `40` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TreeVariation.html#leaves_when_mined_manually Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TreeVariation.html#leaves_when_mined_manually Online documentation} */ leaves_when_mined_manually?: uint8 /** * **Default:** `20` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TreeVariation.html#leaves_when_mined_automatically Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TreeVariation.html#leaves_when_mined_automatically Online documentation} */ leaves_when_mined_automatically?: uint8 /** * **Default:** `200` * * This value is multiplied with the percent of health lost. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TreeVariation.html#leaves_when_damaged Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TreeVariation.html#leaves_when_damaged Online documentation} */ leaves_when_damaged?: uint8 /** * **Default:** `40` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TreeVariation.html#leaves_when_destroyed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TreeVariation.html#leaves_when_destroyed Online documentation} */ leaves_when_destroyed?: uint8 /** * **Default:** `15` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TreeVariation.html#branches_when_mined_manually Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TreeVariation.html#branches_when_mined_manually Online documentation} */ branches_when_mined_manually?: uint8 /** * **Default:** `8` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TreeVariation.html#branches_when_mined_automatically Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TreeVariation.html#branches_when_mined_automatically Online documentation} */ branches_when_mined_automatically?: uint8 /** * **Default:** `0` * * This value is multiplied with the percent of health lost. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TreeVariation.html#branches_when_damaged Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TreeVariation.html#branches_when_damaged Online documentation} */ branches_when_damaged?: uint8 /** * **Default:** `15` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TreeVariation.html#branches_when_destroyed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TreeVariation.html#branches_when_destroyed Online documentation} */ branches_when_destroyed?: uint8 water_reflection?: WaterReflectionDefinition @@ -18653,7 +18667,7 @@ declare module "factorio:prototype" { * - {@link AreaTriggerItem}: Loaded when the `type` is `"area"`. * - {@link LineTriggerItem}: Loaded when the `type` is `"line"`. * - {@link ClusterTriggerItem}: Loaded when the `type` is `"cluster"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Trigger.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Trigger.html Online documentation} */ export type Trigger = | (DirectTriggerItem | AreaTriggerItem | LineTriggerItem | ClusterTriggerItem) @@ -18669,7 +18683,7 @@ declare module "factorio:prototype" { * - {@link ArtilleryTriggerDelivery}: Loaded when the `type` is `"artillery"`. * - {@link ChainTriggerDelivery}: Loaded when the `type` is `"chain"`. * - {@link DelayedTriggerDelivery}: Loaded when the `type` is `"delayed"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TriggerDelivery.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TriggerDelivery.html Online documentation} */ export type TriggerDelivery = | InstantTriggerDelivery @@ -18681,12 +18695,12 @@ declare module "factorio:prototype" { | DelayedTriggerDelivery /** * The abstract base of all {@link TriggerDelivery TriggerDeliveries}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TriggerDeliveryItem.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TriggerDeliveryItem.html Online documentation} */ export interface TriggerDeliveryItem { /** * Provides the source of the TriggerDelivery as both the source and target of the effect. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TriggerDeliveryItem.html#source_effects Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TriggerDeliveryItem.html#source_effects Online documentation} */ source_effects?: TriggerEffect target_effects?: TriggerEffect @@ -18719,7 +18733,7 @@ declare module "factorio:prototype" { * - {@link CameraEffectTriggerEffectItem}: Loaded when the `type` is `"camera-effect"`. * - {@link ActivateImpactTriggerEffectItem}: Loaded when the `type` is `"activate-impact"`. * - {@link CreatePollutionTriggerEffectItem}: Loaded when the `type` is `"create-pollution"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TriggerEffect.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TriggerEffect.html Online documentation} */ export type TriggerEffect = | ( @@ -18776,118 +18790,118 @@ declare module "factorio:prototype" { )[] /** * The abstract base of all {@link TriggerEffect TriggerEffects}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TriggerEffectItem.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TriggerEffectItem.html Online documentation} */ export interface TriggerEffectItem { /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TriggerEffectItem.html#repeat_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TriggerEffectItem.html#repeat_count Online documentation} */ repeat_count?: uint16 /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TriggerEffectItem.html#repeat_count_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TriggerEffectItem.html#repeat_count_deviation Online documentation} */ repeat_count_deviation?: uint16 /** * **Default:** `1` * * Must be greater than `0` and less than or equal to `1`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TriggerEffectItem.html#probability Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TriggerEffectItem.html#probability Online documentation} */ probability?: float /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TriggerEffectItem.html#affects_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TriggerEffectItem.html#affects_target Online documentation} */ affects_target?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TriggerEffectItem.html#show_in_tooltip Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TriggerEffectItem.html#show_in_tooltip Online documentation} */ show_in_tooltip?: boolean /** * Guaranteed to work with {@link EntityWithHealthPrototype#damaged_trigger_effect EntityWithHealthPrototype::damaged_trigger_effect} and {@link EntityWithHealthPrototype#dying_trigger_effect EntityWithHealthPrototype::dying_trigger_effect}. Unknown if it works with other properties that use {@link TriggerEffect}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TriggerEffectItem.html#damage_type_filters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TriggerEffectItem.html#damage_type_filters Online documentation} */ damage_type_filters?: DamageTypeFilters } /** * A {@link TriggerEffect} with cooldown conditions, used to limit the frequency of trigger effects that would otherwise fire every single tick. If multiple cooldown conditions are defined, then all cooldowns must be satisfied before the effect can be triggered. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TriggerEffectWithCooldown.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TriggerEffectWithCooldown.html Online documentation} */ export interface TriggerEffectWithCooldown { /** * **Default:** `0` * * The travel distance between triggers that the triggerer must travel between effects. Negative values will mean there is no cooldown. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TriggerEffectWithCooldown.html#distance_cooldown Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TriggerEffectWithCooldown.html#distance_cooldown Online documentation} */ distance_cooldown?: double /** * **Default:** `0` * * The initial state of the distance cooldown. In other words, the distance the triggerer must travel before the first effect can be triggered. Useful for staggering multiple effects. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TriggerEffectWithCooldown.html#initial_distance_cooldown Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TriggerEffectWithCooldown.html#initial_distance_cooldown Online documentation} */ initial_distance_cooldown?: double /** * **Default:** `0` * * The number of ticks that elapse between triggers. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TriggerEffectWithCooldown.html#time_cooldown Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TriggerEffectWithCooldown.html#time_cooldown Online documentation} */ time_cooldown?: MapTick /** * **Default:** `0` * * The initial amount of time to wait before triggering the effect for the first time. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TriggerEffectWithCooldown.html#initial_time_cooldown Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TriggerEffectWithCooldown.html#initial_time_cooldown Online documentation} */ initial_time_cooldown?: MapTick effect: TriggerEffect } /** * The abstract base of all {@link Trigger Triggers}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TriggerItem.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TriggerItem.html Online documentation} */ export interface TriggerItem { /** * **Default:** `All flags` * * Only prototypes with these flags are affected by the trigger item. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TriggerItem.html#entity_flags Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TriggerItem.html#entity_flags Online documentation} */ entity_flags?: EntityPrototypeFlags /** * **Default:** `All masks` * * Only prototypes with these collision masks are affected by the trigger item. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TriggerItem.html#collision_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TriggerItem.html#collision_mask Online documentation} */ collision_mask?: CollisionMaskConnector /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TriggerItem.html#ignore_collision_condition Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TriggerItem.html#ignore_collision_condition Online documentation} */ ignore_collision_condition?: boolean /** * **Default:** `Everything` * * The trigger affects only prototypes with these masks. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TriggerItem.html#trigger_target_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TriggerItem.html#trigger_target_mask Online documentation} */ trigger_target_mask?: TriggerTargetMask /** * **Default:** `1` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TriggerItem.html#repeat_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TriggerItem.html#repeat_count Online documentation} */ repeat_count?: uint32 /** * **Default:** `1` * * Must be greater than 0 and less than or equal to 1. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TriggerItem.html#probability Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TriggerItem.html#probability Online documentation} */ probability?: float action_delivery?: TriggerDelivery | readonly TriggerDelivery[] @@ -18895,13 +18909,13 @@ declare module "factorio:prototype" { * **Default:** `All forces` * * Only entities meeting the force condition are affected by the trigger item. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TriggerItem.html#force Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TriggerItem.html#force Online documentation} */ force?: ForceCondition } /** * An array of names of {@link TriggerTargetType}. See {@linkplain https://forums.factorio.com/71657 Design discussion: Trigger target type} and {@linkplain https://forums.factorio.com/86164 Blacklist for prototypes turrets shouldn't attack}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TriggerTargetMask.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TriggerTargetMask.html Online documentation} */ export type TriggerTargetMask = readonly string[] /** @@ -18910,7 +18924,7 @@ declare module "factorio:prototype" { * "smoke-building" * @example * "nuclear-smoke" - * @see {@link https://lua-api.factorio.com/2.1.22/types/TrivialSmokeID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TrivialSmokeID.html Online documentation} */ export type TrivialSmokeID = string export interface TurretAttackModifier extends BaseModifier { @@ -18919,71 +18933,71 @@ declare module "factorio:prototype" { * **Default:** `true` * * If set to `false`, use the icon from {@link UtilitySprites} for this technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TurretAttackModifier.html#infer_icon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TurretAttackModifier.html#infer_icon Online documentation} */ infer_icon?: boolean /** * **Default:** `true` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TurretAttackModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TurretAttackModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean /** * Name of the {@link EntityPrototype} that is affected. This also works for non-turrets such as tanks, however, the bonus does not appear in the entity's tooltips. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TurretAttackModifier.html#turret_id Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TurretAttackModifier.html#turret_id Online documentation} */ turret_id: EntityID /** * Modification value, which will be added to the current turret attack modifier upon researching. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TurretAttackModifier.html#modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TurretAttackModifier.html#modifier Online documentation} */ modifier: double } export interface TurretBaseVisualisation { /** * **Default:** `"lower-object"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TurretBaseVisualisation.html#render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TurretBaseVisualisation.html#render_layer Online documentation} */ render_layer?: RenderLayer /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TurretBaseVisualisation.html#secondary_draw_order Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TurretBaseVisualisation.html#secondary_draw_order Online documentation} */ secondary_draw_order?: int8 /** * If not defined, visualisation will be drawn in all states. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TurretBaseVisualisation.html#enabled_states Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TurretBaseVisualisation.html#enabled_states Online documentation} */ enabled_states?: readonly TurretState[] /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TurretBaseVisualisation.html#draw_when_has_energy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TurretBaseVisualisation.html#draw_when_has_energy Online documentation} */ draw_when_has_energy?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TurretBaseVisualisation.html#draw_when_no_energy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TurretBaseVisualisation.html#draw_when_no_energy Online documentation} */ draw_when_no_energy?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TurretBaseVisualisation.html#draw_when_has_ammo Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TurretBaseVisualisation.html#draw_when_has_ammo Online documentation} */ draw_when_has_ammo?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TurretBaseVisualisation.html#draw_when_no_ammo Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TurretBaseVisualisation.html#draw_when_no_ammo Online documentation} */ draw_when_no_ammo?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TurretBaseVisualisation.html#draw_when_frozen Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TurretBaseVisualisation.html#draw_when_frozen Online documentation} */ draw_when_frozen?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TurretBaseVisualisation.html#draw_when_not_frozen Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TurretBaseVisualisation.html#draw_when_not_frozen Online documentation} */ draw_when_not_frozen?: boolean animation: Animation4Way @@ -18992,7 +19006,7 @@ declare module "factorio:prototype" { base_visualisation?: TurretBaseVisualisation | readonly TurretBaseVisualisation[] /** * Refer to {@link EntityPrototype#water_reflection EntityPrototype::water_reflection}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TurretGraphicsSet.html#water_reflection Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TurretGraphicsSet.html#water_reflection Online documentation} */ water_reflection?: WaterReflectionDefinition } @@ -19003,41 +19017,41 @@ declare module "factorio:prototype" { * **Default:** `0` * * Only loaded if `type` is `"mask-by-circle"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TurretSpecialEffect.html#min_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TurretSpecialEffect.html#min_radius Online documentation} */ min_radius?: float /** * Only loaded, and mandatory if `type` is `"mask-by-circle"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TurretSpecialEffect.html#max_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TurretSpecialEffect.html#max_radius Online documentation} */ max_radius?: float /** * **Default:** `0` * * Only loaded if `type` is `"mask-by-circle"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TurretSpecialEffect.html#falloff Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TurretSpecialEffect.html#falloff Online documentation} */ falloff?: float /** * Only loaded if `type` is `"mask-by-circle"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TurretSpecialEffect.html#attacking_min_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TurretSpecialEffect.html#attacking_min_radius Online documentation} */ attacking_min_radius?: float /** * Only loaded if `type` is `"mask-by-circle"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TurretSpecialEffect.html#attacking_max_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TurretSpecialEffect.html#attacking_max_radius Online documentation} */ attacking_max_radius?: float /** * Only loaded if `type` is `"mask-by-circle"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TurretSpecialEffect.html#attacking_falloff Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TurretSpecialEffect.html#attacking_falloff Online documentation} */ attacking_falloff?: float } /** * Struct type for {@link TurretSpecialEffectCenter} * @see TurretSpecialEffectCenter - * @see {@link https://lua-api.factorio.com/2.1.22/types/TurretSpecialEffectCenter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TurretSpecialEffectCenter.html Online documentation} */ export interface TurretSpecialEffectCenterStruct { default?: Vector @@ -19052,7 +19066,7 @@ declare module "factorio:prototype" { } /** * If this is loaded as a single Vector, it is used for all directions. - * @see {@link https://lua-api.factorio.com/2.1.22/types/TurretSpecialEffectCenter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TurretSpecialEffectCenter.html Online documentation} */ export type TurretSpecialEffectCenter = TurretSpecialEffectCenterStruct | Vector /** @@ -19065,7 +19079,7 @@ declare module "factorio:prototype" { * - `"ending-attack"` * - `"rotate-for-folding"` * - `"folding"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/TurretState.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/TurretState.html Online documentation} */ export type TurretState = | "folded" @@ -19078,7 +19092,7 @@ declare module "factorio:prototype" { | "folding" /** * @see UndergroundBeltPrototype.structure - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/UndergroundBeltPrototype.html#structure Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/UndergroundBeltPrototype.html#structure Online documentation} */ export interface UndergroundBeltStructure { direction_in?: Sprite4Way @@ -19092,35 +19106,35 @@ declare module "factorio:prototype" { } /** * Used by {@link UnitPrototype} and {@link SpiderUnitPrototype}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/UnitAISettings.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/UnitAISettings.html Online documentation} */ export interface UnitAISettings { /** * **Default:** `false` * * If enabled, units that repeatedly fail to succeed at commands will be destroyed. - * @see {@link https://lua-api.factorio.com/2.1.22/types/UnitAISettings.html#destroy_when_commands_fail Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/UnitAISettings.html#destroy_when_commands_fail Online documentation} */ destroy_when_commands_fail?: boolean /** * **Default:** `false` * * If enabled, units that have nothing else to do will attempt to return to a spawner. - * @see {@link https://lua-api.factorio.com/2.1.22/types/UnitAISettings.html#allow_try_return_to_spawner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/UnitAISettings.html#allow_try_return_to_spawner Online documentation} */ allow_try_return_to_spawner?: boolean /** * **Default:** `true` * * If enabled, units will try to separate themselves from nearby friendly units. - * @see {@link https://lua-api.factorio.com/2.1.22/types/UnitAISettings.html#do_separation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/UnitAISettings.html#do_separation Online documentation} */ do_separation?: boolean /** * **Default:** `0` * * Must be between -8 and 8. - * @see {@link https://lua-api.factorio.com/2.1.22/types/UnitAISettings.html#path_resolution_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/UnitAISettings.html#path_resolution_modifier Online documentation} */ path_resolution_modifier?: int8 strafe_settings?: PrototypeStrafeSettings @@ -19128,46 +19142,46 @@ declare module "factorio:prototype" { * **Default:** `1` * * The amount of slots in a unit group this unit takes up. For example, a unit with `groupingSize` of 2 will count as 2 normal-sized units when filling up a unit group. Must be greater than 0. - * @see {@link https://lua-api.factorio.com/2.1.22/types/UnitAISettings.html#size_in_group Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/UnitAISettings.html#size_in_group Online documentation} */ size_in_group?: float /** * **Default:** `true` * * If enabled, the unit is permitted to join attack groups. - * @see {@link https://lua-api.factorio.com/2.1.22/types/UnitAISettings.html#join_attacks Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/UnitAISettings.html#join_attacks Online documentation} */ join_attacks?: boolean } export interface UnitAlternativeFrameSequence { /** * Indices of frames from the attack parameter animation. - * @see {@link https://lua-api.factorio.com/2.1.22/types/UnitAlternativeFrameSequence.html#warmup_frame_sequence Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/UnitAlternativeFrameSequence.html#warmup_frame_sequence Online documentation} */ warmup_frame_sequence: readonly uint16[] /** * Indices of frames from the attack parameter animation. - * @see {@link https://lua-api.factorio.com/2.1.22/types/UnitAlternativeFrameSequence.html#warmup2_frame_sequence Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/UnitAlternativeFrameSequence.html#warmup2_frame_sequence Online documentation} */ warmup2_frame_sequence: readonly uint16[] /** * Indices of frames from the attack parameter animation. - * @see {@link https://lua-api.factorio.com/2.1.22/types/UnitAlternativeFrameSequence.html#attacking_frame_sequence Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/UnitAlternativeFrameSequence.html#attacking_frame_sequence Online documentation} */ attacking_frame_sequence: readonly uint16[] /** * Indices of frames from the attack parameter animation. - * @see {@link https://lua-api.factorio.com/2.1.22/types/UnitAlternativeFrameSequence.html#cooldown_frame_sequence Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/UnitAlternativeFrameSequence.html#cooldown_frame_sequence Online documentation} */ cooldown_frame_sequence: readonly uint16[] /** * Indices of frames from the attack parameter animation. - * @see {@link https://lua-api.factorio.com/2.1.22/types/UnitAlternativeFrameSequence.html#prepared_frame_sequence Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/UnitAlternativeFrameSequence.html#prepared_frame_sequence Online documentation} */ prepared_frame_sequence: readonly uint16[] /** * Indices of frames from the attack parameter animation. - * @see {@link https://lua-api.factorio.com/2.1.22/types/UnitAlternativeFrameSequence.html#back_to_walk_frame_sequence Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/UnitAlternativeFrameSequence.html#back_to_walk_frame_sequence Online documentation} */ back_to_walk_frame_sequence: readonly uint16[] warmup_animation_speed: float @@ -19179,62 +19193,62 @@ declare module "factorio:prototype" { export interface UnitGroupSettings { /** * Pollution triggered group waiting time is a random time between min and max gathering time - * @see {@link https://lua-api.factorio.com/2.1.22/types/UnitGroupSettings.html#min_group_gathering_time Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/UnitGroupSettings.html#min_group_gathering_time Online documentation} */ min_group_gathering_time: uint32 max_group_gathering_time: uint32 /** * After the gathering is finished the group can still wait for late members, but it doesn't accept new ones anymore. - * @see {@link https://lua-api.factorio.com/2.1.22/types/UnitGroupSettings.html#max_wait_time_for_late_members Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/UnitGroupSettings.html#max_wait_time_for_late_members Online documentation} */ max_wait_time_for_late_members: uint32 /** * Limits for group radius (calculated by number of numbers). - * @see {@link https://lua-api.factorio.com/2.1.22/types/UnitGroupSettings.html#max_group_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/UnitGroupSettings.html#max_group_radius Online documentation} */ max_group_radius: double min_group_radius: double /** * When a member falls behind the group he can speedup up till this much of his regular speed. - * @see {@link https://lua-api.factorio.com/2.1.22/types/UnitGroupSettings.html#max_member_speedup_when_behind Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/UnitGroupSettings.html#max_member_speedup_when_behind Online documentation} */ max_member_speedup_when_behind: double /** * When a member gets ahead of its group, it will slow down to at most this factor of its speed. - * @see {@link https://lua-api.factorio.com/2.1.22/types/UnitGroupSettings.html#max_member_slowdown_when_ahead Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/UnitGroupSettings.html#max_member_slowdown_when_ahead Online documentation} */ max_member_slowdown_when_ahead: double /** * When members of a group are behind, the entire group will slow down to at most this factor of its max speed. - * @see {@link https://lua-api.factorio.com/2.1.22/types/UnitGroupSettings.html#max_group_slowdown_factor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/UnitGroupSettings.html#max_group_slowdown_factor Online documentation} */ max_group_slowdown_factor: double /** * If a member falls behind more than this times the group radius, the group will slow down to max_group_slowdown_factor. - * @see {@link https://lua-api.factorio.com/2.1.22/types/UnitGroupSettings.html#max_group_member_fallback_factor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/UnitGroupSettings.html#max_group_member_fallback_factor Online documentation} */ max_group_member_fallback_factor: double /** * If a member falls behind more than this time the group radius, it will be removed from the group. - * @see {@link https://lua-api.factorio.com/2.1.22/types/UnitGroupSettings.html#member_disown_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/UnitGroupSettings.html#member_disown_distance Online documentation} */ member_disown_distance: double tick_tolerance_when_member_arrives: uint32 /** * Maximum number of automatically created unit groups gathering for attack at any time. - * @see {@link https://lua-api.factorio.com/2.1.22/types/UnitGroupSettings.html#max_gathering_unit_groups Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/UnitGroupSettings.html#max_gathering_unit_groups Online documentation} */ max_gathering_unit_groups: uint32 /** * Maximum size of an attack unit group. This only affects automatically-created unit groups; manual groups created through the API are unaffected. - * @see {@link https://lua-api.factorio.com/2.1.22/types/UnitGroupSettings.html#max_unit_group_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/UnitGroupSettings.html#max_unit_group_size Online documentation} */ max_unit_group_size: uint32 } /** * Struct type for {@link UnitSpawnDefinition} * @see UnitSpawnDefinition - * @see {@link https://lua-api.factorio.com/2.1.22/types/UnitSpawnDefinition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/UnitSpawnDefinition.html Online documentation} */ export interface UnitSpawnDefinitionStruct { unit: EntityID @@ -19248,13 +19262,13 @@ declare module "factorio:prototype" { * - Weights are linearly interpolated between entries. * * - Individual weights are scaled linearly so that the cumulative weight is `1`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/UnitSpawnDefinition.html#spawn_points Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/UnitSpawnDefinition.html#spawn_points Online documentation} */ spawn_points: readonly SpawnPoint[] } /** * It can be specified as a table with named or numbered keys, but not a mix of both. If this is specified as a table with numbered keys then the first value is the unit and the second is the spawn points. - * @see {@link https://lua-api.factorio.com/2.1.22/types/UnitSpawnDefinition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/UnitSpawnDefinition.html Online documentation} */ export type UnitSpawnDefinition = UnitSpawnDefinitionStruct | readonly [EntityID, readonly SpawnPoint[]] export interface UnlockLogisticNetworkModifier extends BoolModifier { @@ -19263,7 +19277,7 @@ declare module "factorio:prototype" { * **Default:** `false` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/UnlockLogisticNetworkModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/UnlockLogisticNetworkModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean } @@ -19273,7 +19287,7 @@ declare module "factorio:prototype" { * **Default:** `false` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/UnlockQualityModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/UnlockQualityModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean quality: QualityID @@ -19284,12 +19298,12 @@ declare module "factorio:prototype" { * **Default:** `false` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/UnlockRecipeModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/UnlockRecipeModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean /** * Prototype name of the {@link RecipePrototype} that is unlocked upon researching. - * @see {@link https://lua-api.factorio.com/2.1.22/types/UnlockRecipeModifier.html#recipe Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/UnlockRecipeModifier.html#recipe Online documentation} */ recipe: RecipeID } @@ -19303,14 +19317,14 @@ declare module "factorio:prototype" { * **Default:** `false` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/UnlockSpaceLocationModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/UnlockSpaceLocationModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean space_location: SpaceLocationID } /** * Triggered when using E to confirm a GUI that allows to pick from a certain kind of prototype. - * @see {@link https://lua-api.factorio.com/2.1.22/types/UseConfirmTipTrigger.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/UseConfirmTipTrigger.html Online documentation} */ export interface UseConfirmTipTrigger extends CountBasedTipTrigger { readonly type: "use-confirm" @@ -19322,7 +19336,7 @@ declare module "factorio:prototype" { * **Default:** `true` * * Whether using the capsule consumes an item from the stack. - * @see {@link https://lua-api.factorio.com/2.1.22/types/UseOnSelfCapsuleAction.html#uses_stack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/UseOnSelfCapsuleAction.html#uses_stack Online documentation} */ uses_stack?: boolean } @@ -19340,7 +19354,7 @@ declare module "factorio:prototype" { * - `"one-way"`: Fluid will flow if input level > output level. * - `"overflow"`: Fluid will flow if input level > {@link ValvePrototype#threshold ValvePrototype::threshold} and input level > output level. * - `"top-up"`: Fluid will flow if output level < {@link ValvePrototype#threshold ValvePrototype::threshold} and input level > output level. - * @see {@link https://lua-api.factorio.com/2.1.22/types/ValveMode.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/ValveMode.html Online documentation} */ export type ValveMode = "one-way" | "overflow" | "top-up" /** @@ -19351,13 +19365,13 @@ declare module "factorio:prototype" { * - `"semi-randomized"`: Samples are selected in a repeating randomly selected sequence of a given length. The sequence is generated on each state transition. The same sample cannot be repeated twice in a row. * - `"shuffled"`: Samples are selected in a repeating sequence in which each sample is played once. * - `"layer-controlled"`: Samples are selected based on a sample currently playing in a different layer. - * @see {@link https://lua-api.factorio.com/2.1.22/types/VariableAmbientSoundCompositionMode.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/VariableAmbientSoundCompositionMode.html Online documentation} */ export type VariableAmbientSoundCompositionMode = "randomized" | "semi-randomized" | "shuffled" | "layer-controlled" export interface VariableAmbientSoundLayer { /** * Name has to be unique across all layers. - * @see {@link https://lua-api.factorio.com/2.1.22/types/VariableAmbientSoundLayer.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/VariableAmbientSoundLayer.html#name Online documentation} */ name: string /** @@ -19370,7 +19384,7 @@ declare module "factorio:prototype" { * Samples cannot have variable volume and all samples must have the same default volume. * * Samples are required to have sampling frequency of 44.1kHz. This is checked at runtime. - * @see {@link https://lua-api.factorio.com/2.1.22/types/VariableAmbientSoundLayer.html#variants Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/VariableAmbientSoundLayer.html#variants Online documentation} */ variants: readonly Sound[] composition_mode: VariableAmbientSoundCompositionMode @@ -19378,28 +19392,28 @@ declare module "factorio:prototype" { * Name of a layer which controls this layer, a layer cannot control itself. * * Only loaded, and mandatory if `composition_mode` is `"layer-controlled"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/VariableAmbientSoundLayer.html#control_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/VariableAmbientSoundLayer.html#control_layer Online documentation} */ control_layer?: string /** * Defines a mapping between controlling layer's samples and this (controlled) layer's samples. The number of items in the mapping must be the same as the number of samples in the controlling layer. Item in the mapping with index N defines which samples of this layer can play when the sample N is playing in the controlling layer. * * Only loaded, and mandatory if `composition_mode` is `"layer-controlled"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/VariableAmbientSoundLayer.html#control_layer_sample_mapping Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/VariableAmbientSoundLayer.html#control_layer_sample_mapping Online documentation} */ control_layer_sample_mapping?: readonly (readonly uint8[])[] /** * **Default:** `false` * * If `true`, the first of {@link Sound#variations Sound::variations} is played at the start of a sequence. The start sample counts towards the {@link VariableAmbientSoundLayerStateProperties#sequence_length VariableAmbientSoundLayerStateProperties::sequence_length} - * @see {@link https://lua-api.factorio.com/2.1.22/types/VariableAmbientSoundLayer.html#has_start_sample Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/VariableAmbientSoundLayer.html#has_start_sample Online documentation} */ has_start_sample?: boolean /** * **Default:** `false` * * If `true`, the last of {@link Sound#variations Sound::variations} is played at the end of a sequence (if the sequence is long enough). The end sample counts towards the {@link VariableAmbientSoundLayerStateProperties#sequence_length VariableAmbientSoundLayerStateProperties::sequence_length}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/VariableAmbientSoundLayer.html#has_end_sample Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/VariableAmbientSoundLayer.html#has_end_sample Online documentation} */ has_end_sample?: boolean /** @@ -19412,7 +19426,7 @@ declare module "factorio:prototype" { * Cannot be defined for layers with `"shuffled"` `composition_mode`. * * Cannot be zero. - * @see {@link https://lua-api.factorio.com/2.1.22/types/VariableAmbientSoundLayer.html#number_of_sublayers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/VariableAmbientSoundLayer.html#number_of_sublayers Online documentation} */ number_of_sublayers?: uint8 /** @@ -19423,7 +19437,7 @@ declare module "factorio:prototype" { * Cannot be defined together with `sublayer_offset`. * * The minimum of {@link RandomRange} variant cannot be zero. - * @see {@link https://lua-api.factorio.com/2.1.22/types/VariableAmbientSoundLayer.html#sublayer_starting_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/VariableAmbientSoundLayer.html#sublayer_starting_offset Online documentation} */ sublayer_starting_offset?: RandomRange | ProbabilityTable /** @@ -19436,7 +19450,7 @@ declare module "factorio:prototype" { * Cannot be defined together with `sublayer_starting_offset`. * * The minimum of {@link RandomRange} variant cannot be zero. - * @see {@link https://lua-api.factorio.com/2.1.22/types/VariableAmbientSoundLayer.html#sublayer_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/VariableAmbientSoundLayer.html#sublayer_offset Online documentation} */ sublayer_offset?: RandomRange | ProbabilityTable /** @@ -19445,7 +19459,7 @@ declare module "factorio:prototype" { * Cannot be defined together with `sublayer_offset`. * * The minimum cannot be zero. - * @see {@link https://lua-api.factorio.com/2.1.22/types/VariableAmbientSoundLayer.html#sample_length Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/VariableAmbientSoundLayer.html#sample_length Online documentation} */ sample_length?: RandomRange } @@ -19453,7 +19467,7 @@ declare module "factorio:prototype" { * First property is the name of a layer. * * Second property is the sample index. - * @see {@link https://lua-api.factorio.com/2.1.22/types/VariableAmbientSoundLayerSample.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/VariableAmbientSoundLayerSample.html Online documentation} */ export type VariableAmbientSoundLayerSample = readonly [string, uint32] export interface VariableAmbientSoundLayerStateProperties { @@ -19462,7 +19476,7 @@ declare module "factorio:prototype" { * Index of a layer's variant. * * Cannot be zero. - * @see {@link https://lua-api.factorio.com/2.1.22/types/VariableAmbientSoundLayerStateProperties.html#variant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/VariableAmbientSoundLayerStateProperties.html#variant Online documentation} */ variant?: uint8 /** @@ -19475,7 +19489,7 @@ declare module "factorio:prototype" { * Applicable for layers with `"randomized"` {@link VariableAmbientSoundCompositionMode}. * * Cannot be defined for layers with `"shuffled"` {@link VariableAmbientSoundCompositionMode}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/VariableAmbientSoundLayerStateProperties.html#sequence_length Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/VariableAmbientSoundLayerStateProperties.html#sequence_length Online documentation} */ sequence_length?: RandomRange /** @@ -19492,12 +19506,12 @@ declare module "factorio:prototype" { * If `number_of_repetitions` of {@link VariableAmbientSoundLayer#control_layer VariableAmbientSoundLayer::control_layer} of `"layer-controlled"` layer is smaller than `number_of_repetitions` of the controlled layer, `number_of_repetitions` of the control layer is used for the purposes of `pause_between_repetitions` and `end_pause`. * * Cannot be zero. - * @see {@link https://lua-api.factorio.com/2.1.22/types/VariableAmbientSoundLayerStateProperties.html#number_of_repetitions Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/VariableAmbientSoundLayerStateProperties.html#number_of_repetitions Online documentation} */ number_of_repetitions?: RandomRange | ProbabilityTable /** * Pause before a layer starts playing. - * @see {@link https://lua-api.factorio.com/2.1.22/types/VariableAmbientSoundLayerStateProperties.html#start_pause Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/VariableAmbientSoundLayerStateProperties.html#start_pause Online documentation} */ start_pause?: RandomRange /** @@ -19506,17 +19520,17 @@ declare module "factorio:prototype" { * Cannot be defined for `"randomized"` layers without defining `sequence_length` as well. Alternatively, use `pause_between_repetitions` instead. * * Cannot be defined for layers with `sublayer_offset` defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/VariableAmbientSoundLayerStateProperties.html#pause_between_samples Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/VariableAmbientSoundLayerStateProperties.html#pause_between_samples Online documentation} */ pause_between_samples?: RandomRange /** * Pause between each repetition of a layer. The repetition is not counted until the pause finishes. - * @see {@link https://lua-api.factorio.com/2.1.22/types/VariableAmbientSoundLayerStateProperties.html#pause_between_repetitions Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/VariableAmbientSoundLayerStateProperties.html#pause_between_repetitions Online documentation} */ pause_between_repetitions?: RandomRange /** * Pause before a layer finishes playing. The last repetition and consequently the layer being finished is not counted until the pause finishes. - * @see {@link https://lua-api.factorio.com/2.1.22/types/VariableAmbientSoundLayerStateProperties.html#end_pause Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/VariableAmbientSoundLayerStateProperties.html#end_pause Online documentation} */ end_pause?: RandomRange /** @@ -19525,19 +19539,19 @@ declare module "factorio:prototype" { * A sample replaced by silence still counts as played for the purposes of sequence count, repetition count, pauses, etc. * * Must be in the `[0.0, 1.0]` interval. - * @see {@link https://lua-api.factorio.com/2.1.22/types/VariableAmbientSoundLayerStateProperties.html#silence_instead_of_sample_probability Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/VariableAmbientSoundLayerStateProperties.html#silence_instead_of_sample_probability Online documentation} */ silence_instead_of_sample_probability?: float } export interface VariableAmbientSoundNextStateConditions { /** * Cannot be zero. - * @see {@link https://lua-api.factorio.com/2.1.22/types/VariableAmbientSoundNextStateConditions.html#weight Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/VariableAmbientSoundNextStateConditions.html#weight Online documentation} */ weight: uint32 /** * Specified sample must be playing in the specified layer. - * @see {@link https://lua-api.factorio.com/2.1.22/types/VariableAmbientSoundNextStateConditions.html#layer_sample Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/VariableAmbientSoundNextStateConditions.html#layer_sample Online documentation} */ layer_sample?: VariableAmbientSoundLayerSample previous_state?: string @@ -19545,12 +19559,12 @@ declare module "factorio:prototype" { export interface VariableAmbientSoundNextStateItem { /** * Name of the state. - * @see {@link https://lua-api.factorio.com/2.1.22/types/VariableAmbientSoundNextStateItem.html#state Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/VariableAmbientSoundNextStateItem.html#state Online documentation} */ state: string /** * Transition to `state` is possible only if all conditions are met. - * @see {@link https://lua-api.factorio.com/2.1.22/types/VariableAmbientSoundNextStateItem.html#conditions Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/VariableAmbientSoundNextStateItem.html#conditions Online documentation} */ conditions: VariableAmbientSoundNextStateConditions } @@ -19560,25 +19574,25 @@ declare module "factorio:prototype" { * ## Union members * - `"layers-finished"`: Next state is triggered when all specified layers finish playing. * - `"duration"`: Next state is triggered after a set time. - * @see {@link https://lua-api.factorio.com/2.1.22/types/VariableAmbientSoundNextStateTrigger.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/VariableAmbientSoundNextStateTrigger.html Online documentation} */ export type VariableAmbientSoundNextStateTrigger = "layers-finished" | "duration" export interface VariableAmbientSoundState { /** * Name has to be unique across all states. - * @see {@link https://lua-api.factorio.com/2.1.22/types/VariableAmbientSoundState.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/VariableAmbientSoundState.html#name Online documentation} */ name: string /** * **Default:** `"regular"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/VariableAmbientSoundState.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/VariableAmbientSoundState.html#type Online documentation} */ readonly type?: VariableAmbientSoundStateType /** * Cannot be defined if `next_states` is defined. * * Doesn't need to be defined if there is only one state. - * @see {@link https://lua-api.factorio.com/2.1.22/types/VariableAmbientSoundState.html#next_state Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/VariableAmbientSoundState.html#next_state Online documentation} */ next_state?: string /** @@ -19587,21 +19601,21 @@ declare module "factorio:prototype" { * Cannot be defined if there is only one state. * * Cannot be empty. - * @see {@link https://lua-api.factorio.com/2.1.22/types/VariableAmbientSoundState.html#next_states Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/VariableAmbientSoundState.html#next_states Online documentation} */ next_states?: readonly VariableAmbientSoundNextStateItem[] /** * Mandatory if there is more than one state or if the only state transitions to itself. * * Can be defined for `regular` states only. - * @see {@link https://lua-api.factorio.com/2.1.22/types/VariableAmbientSoundState.html#next_state_trigger Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/VariableAmbientSoundState.html#next_state_trigger Online documentation} */ next_state_trigger?: VariableAmbientSoundNextStateTrigger /** * List of name of layers used to trigger state transition. * * Only loaded, and mandatory if `next_state_trigger` is `"layers-finished"`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/VariableAmbientSoundState.html#next_state_layers_finished_layers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/VariableAmbientSoundState.html#next_state_layers_finished_layers Online documentation} */ next_state_layers_finished_layers?: readonly string[] /** @@ -19610,7 +19624,7 @@ declare module "factorio:prototype" { * Mandatory if `next_state_trigger` is `"duration"`. * * Optionally loaded for `intermezzo` states. - * @see {@link https://lua-api.factorio.com/2.1.22/types/VariableAmbientSoundState.html#state_duration_seconds Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/VariableAmbientSoundState.html#state_duration_seconds Online documentation} */ state_duration_seconds?: uint32 /** @@ -19619,21 +19633,21 @@ declare module "factorio:prototype" { * Mandatory for `regular` and `final` states. * * Cannot be defined for `intermezzo` or `stop` states. - * @see {@link https://lua-api.factorio.com/2.1.22/types/VariableAmbientSoundState.html#layers_properties Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/VariableAmbientSoundState.html#layers_properties Online documentation} */ layers_properties?: readonly VariableAmbientSoundLayerStateProperties[] /** * Pause before a layer starts playing. * * Optionally loaded for `intermezzo` states. - * @see {@link https://lua-api.factorio.com/2.1.22/types/VariableAmbientSoundState.html#start_pause Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/VariableAmbientSoundState.html#start_pause Online documentation} */ start_pause?: RandomRange /** * Pause before a layer finishes playing. The layer being finished is not counted until the pause finishes. * * Optionally loaded for `intermezzo` states. - * @see {@link https://lua-api.factorio.com/2.1.22/types/VariableAmbientSoundState.html#end_pause Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/VariableAmbientSoundState.html#end_pause Online documentation} */ end_pause?: RandomRange /** @@ -19644,7 +19658,7 @@ declare module "factorio:prototype" { * Cannot be defined if any of `layers_properties` define the `enabled` property. * * Cannot be defined for `intermezzo` or `stop` states. - * @see {@link https://lua-api.factorio.com/2.1.22/types/VariableAmbientSoundState.html#number_of_enabled_layers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/VariableAmbientSoundState.html#number_of_enabled_layers Online documentation} */ number_of_enabled_layers?: RandomRange } @@ -19654,13 +19668,13 @@ declare module "factorio:prototype" { * - `"intermezzo"`: Only special intermezzo layer plays in this state, the rest is paused. * - `"final"`: The track will stay in this state for the remainder of the track's duration. * - `"stop"`: Transitioning into this state stops the track. - * @see {@link https://lua-api.factorio.com/2.1.22/types/VariableAmbientSoundStateType.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/VariableAmbientSoundStateType.html Online documentation} */ export type VariableAmbientSoundStateType = "regular" | "intermezzo" | "final" | "stop" export interface VariableAmbientSoundVariableSound { /** * Cannot be empty. - * @see {@link https://lua-api.factorio.com/2.1.22/types/VariableAmbientSoundVariableSound.html#layers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/VariableAmbientSoundVariableSound.html#layers Online documentation} */ layers: readonly VariableAmbientSoundLayer[] intermezzo?: Sound @@ -19668,26 +19682,26 @@ declare module "factorio:prototype" { * The first state is used as the starting state and cannot be an intermezzo state. * * Cannot be empty. - * @see {@link https://lua-api.factorio.com/2.1.22/types/VariableAmbientSoundVariableSound.html#states Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/VariableAmbientSoundVariableSound.html#states Online documentation} */ states: readonly VariableAmbientSoundState[] /** * Cannot be zero. - * @see {@link https://lua-api.factorio.com/2.1.22/types/VariableAmbientSoundVariableSound.html#length_seconds Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/VariableAmbientSoundVariableSound.html#length_seconds Online documentation} */ length_seconds: uint32 /** * **Default:** `12600` * * Number of audio signal samples (sampling frequency is 44.1kHz) defining a time grid. Music samples are aligned with this grid when queued. - * @see {@link https://lua-api.factorio.com/2.1.22/types/VariableAmbientSoundVariableSound.html#alignment_samples Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/VariableAmbientSoundVariableSound.html#alignment_samples Online documentation} */ alignment_samples?: uint32 } /** * Struct type for {@link Vector} * @see Vector - * @see {@link https://lua-api.factorio.com/2.1.22/types/Vector.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Vector.html Online documentation} */ export interface VectorStruct { x: double @@ -19701,13 +19715,13 @@ declare module "factorio:prototype" { * right = {1.0, 0.5} * @example * vector = {x = 2.3, y = 3.4} - * @see {@link https://lua-api.factorio.com/2.1.22/types/Vector.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Vector.html Online documentation} */ export type Vector = VectorStruct | readonly [double, double] /** * Struct type for {@link Vector3D} * @see Vector3D - * @see {@link https://lua-api.factorio.com/2.1.22/types/Vector3D.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Vector3D.html Online documentation} */ export interface Vector3DStruct { x: float @@ -19716,13 +19730,13 @@ declare module "factorio:prototype" { } /** * If this is specified as a three-element array then the array items are x, y and z, in that order. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Vector3D.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Vector3D.html Online documentation} */ export type Vector3D = Vector3DStruct | readonly [float, float, float] /** * Struct type for {@link Vector4f} * @see Vector4f - * @see {@link https://lua-api.factorio.com/2.1.22/types/Vector4f.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Vector4f.html Online documentation} */ export interface Vector4fStruct { x: float @@ -19733,12 +19747,12 @@ declare module "factorio:prototype" { export type Vector4f = Vector4fStruct | readonly [float, float, float, float] /** * @see AnimatedVector.rotations - * @see {@link https://lua-api.factorio.com/2.1.22/types/AnimatedVector.html#rotations Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/AnimatedVector.html#rotations Online documentation} */ export interface VectorRotation { /** * The size of all `frames` must be the same. - * @see {@link https://lua-api.factorio.com/2.1.22/types/VectorRotation.html#frames Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/VectorRotation.html#frames Online documentation} */ frames: readonly Vector[] render_layer?: RenderLayer @@ -19749,7 +19763,7 @@ declare module "factorio:prototype" { * **Default:** `false` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/VehicleLogisticsModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/VehicleLogisticsModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean } @@ -19758,24 +19772,24 @@ declare module "factorio:prototype" { * - `"top"` * - `"center"` * - `"bottom"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/VerticalAlign.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/VerticalAlign.html Online documentation} */ export type VerticalAlign = "top" | "center" | "bottom" /** * Root style: `"vertical_flow"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/VerticalFlowStyleSpecification.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/VerticalFlowStyleSpecification.html Online documentation} */ export interface VerticalFlowStyleSpecification extends BaseStyleSpecification { readonly type: "vertical_flow_style" /** * Required on the root style. - * @see {@link https://lua-api.factorio.com/2.1.22/types/VerticalFlowStyleSpecification.html#vertical_spacing Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/VerticalFlowStyleSpecification.html#vertical_spacing Online documentation} */ vertical_spacing?: int32 } /** * Root style: `"vertical_scrollbar"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/VerticalScrollBarStyleSpecification.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/VerticalScrollBarStyleSpecification.html Online documentation} */ export interface VerticalScrollBarStyleSpecification extends ScrollBarStyleSpecification { readonly type: "vertical_scrollbar_style" @@ -19786,7 +19800,7 @@ declare module "factorio:prototype" { * "signal-red" * @example * "signal-each" - * @see {@link https://lua-api.factorio.com/2.1.22/types/VirtualSignalID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/VirtualSignalID.html Online documentation} */ export type VirtualSignalID = string export interface VisualState { @@ -19800,14 +19814,14 @@ declare module "factorio:prototype" { * Void energy sources provide unlimited free energy. * @example * energy_source = {type = "void"} - * @see {@link https://lua-api.factorio.com/2.1.22/types/VoidEnergySource.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/VoidEnergySource.html Online documentation} */ export interface VoidEnergySource extends BaseEnergySource { readonly type: "void" } /** * @see WallPrototype.pictures - * @see {@link https://lua-api.factorio.com/2.1.22/prototypes/WallPrototype.html#pictures Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/prototypes/WallPrototype.html#pictures Online documentation} */ export interface WallPictures { single?: SpriteVariations @@ -19824,100 +19838,100 @@ declare module "factorio:prototype" { } /** * Entity water reflection. {@linkplain https://forums.factorio.com/100703 Currently only renders} for {@link EntityWithHealthPrototype}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WaterReflectionDefinition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WaterReflectionDefinition.html Online documentation} */ export interface WaterReflectionDefinition { pictures?: SpriteVariations /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/WaterReflectionDefinition.html#orientation_to_variation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WaterReflectionDefinition.html#orientation_to_variation Online documentation} */ orientation_to_variation?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/WaterReflectionDefinition.html#rotate Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WaterReflectionDefinition.html#rotate Online documentation} */ rotate?: boolean } export interface WaterTileEffectParameters { /** * **Default:** `"water"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/WaterTileEffectParameters.html#shader_variation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WaterTileEffectParameters.html#shader_variation Online documentation} */ shader_variation?: EffectVariation /** * Shader variants `"water"` and `"wetland-water"` must have 1 texture, and `"lava"` and `"oil"` must have 2 textures. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WaterTileEffectParameters.html#noise_textures Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WaterTileEffectParameters.html#noise_textures Online documentation} */ noise_textures?: readonly EffectTexture[] /** * The image is split into 512x512 slices which are used as randomly chosen variations. * * Shader variant `"water"` must have 0 textures, `"lava"` and `"wetland-water"` must have 1 texture, and `"oil"` must have 2 textures. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WaterTileEffectParameters.html#image_textures Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WaterTileEffectParameters.html#image_textures Online documentation} */ image_textures?: readonly EffectArrayTexture[] /** * Affects specular lightness for `"water"` `shader_variation`. Affects panning/warping vector for all other `shader_variation`s. * * Any alpha value set here is ignored and will always be `1` in the shader. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WaterTileEffectParameters.html#specular_lightness Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WaterTileEffectParameters.html#specular_lightness Online documentation} */ specular_lightness: Color /** * Affects foam color for `"water"` `shader_variation`. Affects panning/warping vector for all other `shader_variation`s. * * Any alpha value set here is ignored and will always be `1` in the shader. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WaterTileEffectParameters.html#foam_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WaterTileEffectParameters.html#foam_color Online documentation} */ foam_color: Color /** * Multiplies the rgb values of `foam_color` before they are passed to the shader. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WaterTileEffectParameters.html#foam_color_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WaterTileEffectParameters.html#foam_color_multiplier Online documentation} */ foam_color_multiplier: float /** * Affects distortion speed for `"water"` `shader_variation`. Affects panning/warping speed for all other `shader_variation`s. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WaterTileEffectParameters.html#tick_scale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WaterTileEffectParameters.html#tick_scale Online documentation} */ tick_scale: float /** * Affects distortion speed for `"water"` `shader_variation`. Affects panning/warping speed for all other `shader_variation`s. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WaterTileEffectParameters.html#animation_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WaterTileEffectParameters.html#animation_speed Online documentation} */ animation_speed: float /** * Affects animation scale for `"water"` `shader_variation`. Affects warp effect intensity for `"lava"` `shader_variation`. Affects depth contrast for `"wetland-water"` `shader_variation`. Affects thin film effect intensity for `"oil"` `shader_variation`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WaterTileEffectParameters.html#animation_scale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WaterTileEffectParameters.html#animation_scale Online documentation} */ animation_scale: float | readonly [float, float] /** * Affects dark threshold for `"water"` `shader_variation`. Affects brightness of the shoreline lava for `"lava"` `shader_variation`. Affects water depth for `"wetland-water"` `shader_variation`. Affects thin film effect noise scale for `"oil"` `shader_variation`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WaterTileEffectParameters.html#dark_threshold Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WaterTileEffectParameters.html#dark_threshold Online documentation} */ dark_threshold: float | readonly [float, float] /** * Affects reflection threshold for `"water"` `shader_variation`. Affects distortion scale for `"lava"` `shader_variation`. Affects distortion tiling for `"wetland-water"` `shader_variation`. Affects distortion map scale for `"oil"` `shader_variation`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WaterTileEffectParameters.html#reflection_threshold Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WaterTileEffectParameters.html#reflection_threshold Online documentation} */ reflection_threshold: float | readonly [float, float] /** * Affects specular threshold for `"water"` and `"wetland-water"` `shader_variation`s. Affects shoreline lava for `"lava"` `shader_variation`. Affects nothing for `"oil"` `shader_variation`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WaterTileEffectParameters.html#specular_threshold Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WaterTileEffectParameters.html#specular_threshold Online documentation} */ specular_threshold: float | readonly [float, float] /** * **Default:** `2` * * If they are set to a tuple, the properties `animation_scale`, `dark_threshold`, `reflection_threshold` and `specular_threshold` are linearly interpolated between each of their two values based on the current zoom level expressed as a ratio between `near_zoom` and `far_zoom`. E.g. if current zoom level is equal to `near_zoom`, the first tuple value is picked. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WaterTileEffectParameters.html#near_zoom Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WaterTileEffectParameters.html#near_zoom Online documentation} */ near_zoom?: float /** * **Default:** `0.5` * * If they are set to a tuple, the properties `animation_scale`, `dark_threshold`, `reflection_threshold` and `specular_threshold` are linearly interpolated between each of their two values based on the current zoom level expressed as a ratio between `near_zoom` and `far_zoom`. E.g. if current zoom level is equal to `far_zoom`, the second tuple value is picked. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WaterTileEffectParameters.html#far_zoom Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WaterTileEffectParameters.html#far_zoom Online documentation} */ far_zoom?: float /** @@ -19926,18 +19940,18 @@ declare module "factorio:prototype" { * **Default:** `1` * * Value 0 makes water appear as water in water mask, but does not occlude lights, and doesn't overwrite lightmap alpha drawn to pixel previously (by background layer of tile transition, or underwater sprite). Light emitted by water-like-tile (for example lava) will blend additively with previously rendered light. Value 1 makes water occlude lights, but won't be recognized as water in water mask used for masking decals by water. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WaterTileEffectParameters.html#lightmap_alpha Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WaterTileEffectParameters.html#lightmap_alpha Online documentation} */ lightmap_alpha?: float } /** * Weight of an object. The weight is stored as a fixed-size 64 bit integer, with 16 bits reserved for decimal precision, meaning the smallest value step is `1/2^16`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/Weight.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/Weight.html Online documentation} */ export type Weight = double /** * Definition of a point where circuit network wires can be connected to an entity. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WireConnectionPoint.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WireConnectionPoint.html Online documentation} */ export interface WireConnectionPoint { wire: WirePosition @@ -19945,7 +19959,7 @@ declare module "factorio:prototype" { } /** * Used by {@link WireConnectionPoint}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WirePosition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WirePosition.html Online documentation} */ export interface WirePosition { copper?: Vector @@ -19958,14 +19972,14 @@ declare module "factorio:prototype" { * **Default:** `true` * * If set to `false`, use the icon from {@link UtilitySprites} for this technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkerRobotBatteryModifier.html#infer_icon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkerRobotBatteryModifier.html#infer_icon Online documentation} */ infer_icon?: boolean /** * **Default:** `true` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkerRobotBatteryModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkerRobotBatteryModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean } @@ -19975,14 +19989,14 @@ declare module "factorio:prototype" { * **Default:** `true` * * If set to `false`, use the icon from {@link UtilitySprites} for this technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkerRobotSpeedModifier.html#infer_icon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkerRobotSpeedModifier.html#infer_icon Online documentation} */ infer_icon?: boolean /** * **Default:** `true` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkerRobotSpeedModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkerRobotSpeedModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean } @@ -19992,26 +20006,26 @@ declare module "factorio:prototype" { * **Default:** `true` * * If set to `false`, use the icon from {@link UtilitySprites} for this technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkerRobotStorageModifier.html#infer_icon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkerRobotStorageModifier.html#infer_icon Online documentation} */ infer_icon?: boolean /** * **Default:** `true` * * If `false`, do not draw the small "constant" icon over the technology effect icon. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkerRobotStorageModifier.html#use_icon_overlay_constant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkerRobotStorageModifier.html#use_icon_overlay_constant Online documentation} */ use_icon_overlay_constant?: boolean } /** * Struct type for {@link WorkingSound} * @see WorkingSound - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingSound.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingSound.html Online documentation} */ export interface WorkingSoundStruct extends MainSound { /** * If this property is defined, all properties inherited from MainSound (and not overridden here) are ignored. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingSound.html#main_sounds Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingSound.html#main_sounds Online documentation} */ main_sounds?: MainSound | readonly MainSound[] /** @@ -20022,7 +20036,7 @@ declare module "factorio:prototype" { * Entities with their working sound fading out don't count towards this limit. * * Unused when `persistent` is `true`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingSound.html#max_sounds_per_prototype Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingSound.html#max_sounds_per_prototype Online documentation} */ max_sounds_per_prototype?: uint8 /** @@ -20031,45 +20045,45 @@ declare module "factorio:prototype" { * If `true`, entities playing their extra sound don't count towards `max_sounds_per_prototype` limit. 'extra sound' refers to `idle_sound`, `activate_sound` or `deactivate_sound`. * * Unused when `persistent` is `true`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingSound.html#extra_sounds_ignore_limit Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingSound.html#extra_sounds_ignore_limit Online documentation} */ extra_sounds_ignore_limit?: boolean /** * **Default:** `false` * * When `true`, working sounds for all entities of the same prototype are combined into one. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingSound.html#persistent Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingSound.html#persistent Online documentation} */ persistent?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingSound.html#use_doppler_shift Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingSound.html#use_doppler_shift Online documentation} */ use_doppler_shift?: boolean /** * The sound to be played when the entity is idle. Might not work with all entities that use working_sound. * * Unused when `persistent` is `true`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingSound.html#idle_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingSound.html#idle_sound Online documentation} */ idle_sound?: Sound /** * Might not work with all entities that use working_sound. * * Unused when `persistent` is `true`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingSound.html#activate_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingSound.html#activate_sound Online documentation} */ activate_sound?: Sound /** * Might not work with all entities that use working_sound. * * Unused when `persistent` is `true`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingSound.html#deactivate_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingSound.html#deactivate_sound Online documentation} */ deactivate_sound?: Sound /** * Unused when `persistent` is `true`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingSound.html#sound_accents Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingSound.html#sound_accents Online documentation} */ sound_accents?: SoundAccent | readonly SoundAccent[] } @@ -20090,73 +20104,73 @@ declare module "factorio:prototype" { * max_sounds_per_prototype = 3, * probability = 1 / (5 * 60) -- average pause between the sound is 5 seconds * } - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingSound.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingSound.html Online documentation} */ export type WorkingSound = WorkingSoundStruct | Sound /** * Used by crafting machines to display different graphics when the machine is running. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingVisualisation.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingVisualisation.html Online documentation} */ export interface WorkingVisualisation { /** * **Default:** `"object"` - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingVisualisation.html#render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingVisualisation.html#render_layer Online documentation} */ render_layer?: RenderLayer /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingVisualisation.html#fadeout Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingVisualisation.html#fadeout Online documentation} */ fadeout?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingVisualisation.html#synced_fadeout Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingVisualisation.html#synced_fadeout Online documentation} */ synced_fadeout?: boolean /** * **Default:** `false` * * Whether the animations are always played at the same speed, not adjusted to the machine speed. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingVisualisation.html#constant_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingVisualisation.html#constant_speed Online documentation} */ constant_speed?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingVisualisation.html#always_draw Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingVisualisation.html#always_draw Online documentation} */ always_draw?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingVisualisation.html#animated_shift Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingVisualisation.html#animated_shift Online documentation} */ animated_shift?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingVisualisation.html#align_to_waypoint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingVisualisation.html#align_to_waypoint Online documentation} */ align_to_waypoint?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingVisualisation.html#mining_drill_scorch_mark Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingVisualisation.html#mining_drill_scorch_mark Online documentation} */ mining_drill_scorch_mark?: boolean /** * Used to determine render order for sprites with the same `render_layer` in the same position. Sprites with a higher `secondary_draw_order` are drawn on top. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingVisualisation.html#secondary_draw_order Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingVisualisation.html#secondary_draw_order Online documentation} */ secondary_draw_order?: int8 light?: LightDefinition effect?: "flicker" | "uranium-glow" | "none" /** * Used by {@link CraftingMachinePrototype}. Has precedence over `apply_tint`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingVisualisation.html#apply_recipe_tint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingVisualisation.html#apply_recipe_tint Online documentation} */ apply_recipe_tint?: "primary" | "secondary" | "tertiary" | "quaternary" | "none" /** * Used by {@link CraftingMachinePrototype} ("status" and "visual-state-color" only) and {@link MiningDrillPrototype}. * * For "status" on CraftingMachine and MiningDrill, the colors are specified via {@link WorkingVisualisations#status_colors WorkingVisualisations::status_colors}. For "resource-color", the colors are specified via {@link ResourceEntityPrototype#mining_visualisation_tint ResourceEntityPrototype::mining_visualisation_tint}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingVisualisation.html#apply_tint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingVisualisation.html#apply_tint Online documentation} */ apply_tint?: "resource-color" | "input-fluid-base-color" | "input-fluid-flow-color" | "status" | "none" | "visual-state-color" @@ -20170,104 +20184,104 @@ declare module "factorio:prototype" { west_position?: Vector /** * **Default:** `Value of `secondary_draw_order`` - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingVisualisation.html#north_secondary_draw_order Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingVisualisation.html#north_secondary_draw_order Online documentation} */ north_secondary_draw_order?: int8 /** * **Default:** `Value of `secondary_draw_order`` - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingVisualisation.html#east_secondary_draw_order Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingVisualisation.html#east_secondary_draw_order Online documentation} */ east_secondary_draw_order?: int8 /** * **Default:** `Value of `secondary_draw_order`` - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingVisualisation.html#south_secondary_draw_order Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingVisualisation.html#south_secondary_draw_order Online documentation} */ south_secondary_draw_order?: int8 /** * **Default:** `Value of `secondary_draw_order`` - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingVisualisation.html#west_secondary_draw_order Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingVisualisation.html#west_secondary_draw_order Online documentation} */ west_secondary_draw_order?: int8 /** * If defined, animation in this visualisation layer will be used only as mask for fog effect and will not render in world. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingVisualisation.html#north_fog_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingVisualisation.html#north_fog_mask Online documentation} */ north_fog_mask?: FogMaskShapeDefinition /** * If defined, animation in this visualisation layer will be used only as mask for fog effect and will not render in world. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingVisualisation.html#east_fog_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingVisualisation.html#east_fog_mask Online documentation} */ east_fog_mask?: FogMaskShapeDefinition /** * If defined, animation in this visualisation layer will be used only as mask for fog effect and will not render in world. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingVisualisation.html#south_fog_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingVisualisation.html#south_fog_mask Online documentation} */ south_fog_mask?: FogMaskShapeDefinition /** * If defined, animation in this visualisation layer will be used only as mask for fog effect and will not render in world. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingVisualisation.html#west_fog_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingVisualisation.html#west_fog_mask Online documentation} */ west_fog_mask?: FogMaskShapeDefinition /** * Loaded only if at least one of north_fog_mask, east_fog_mask, south_fog_mask, west_fog_mask is not specified. * * If defined, animation in this visualisation layer will be used only as mask for fog effect and will not render in world. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingVisualisation.html#fog_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingVisualisation.html#fog_mask Online documentation} */ fog_mask?: FogMaskShapeDefinition animation?: Animation /** * Only loaded if {@link WorkingVisualisations#states WorkingVisualisations::states} is defined in the WorkingVisualisations that loads this. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingVisualisation.html#draw_in_states Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingVisualisation.html#draw_in_states Online documentation} */ draw_in_states?: readonly string[] /** * **Default:** `true` * * Only loaded if {@link WorkingVisualisations#states WorkingVisualisations::states} is defined in the WorkingVisualisations that loads this. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingVisualisation.html#draw_when_state_filter_matches Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingVisualisation.html#draw_when_state_filter_matches Online documentation} */ draw_when_state_filter_matches?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingVisualisation.html#enabled_by_name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingVisualisation.html#enabled_by_name Online documentation} */ enabled_by_name?: boolean /** * **Default:** `""` * * Used by {@link MainSound#play_for_working_visualisations MainSound::play_for_working_visualisations}, {@link SoundAccent#play_for_working_visualisation SoundAccent::play_for_working_visualisation}, {@link FluidBox#enable_working_visualisations FluidBox::enable_working_visualisations}, and {@link PipeConnectionDefinition#enable_working_visualisations PipeConnectionDefinition::enable_working_visualisations}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingVisualisation.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingVisualisation.html#name Online documentation} */ name?: string /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingVisualisation.html#enabled_in_animated_shift_during_waypoint_stop Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingVisualisation.html#enabled_in_animated_shift_during_waypoint_stop Online documentation} */ enabled_in_animated_shift_during_waypoint_stop?: boolean /** * **Default:** `true` - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingVisualisation.html#enabled_in_animated_shift_during_transition Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingVisualisation.html#enabled_in_animated_shift_during_transition Online documentation} */ enabled_in_animated_shift_during_transition?: boolean /** * **Default:** `false` - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingVisualisation.html#frame_based_on_shift_animation_progress Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingVisualisation.html#frame_based_on_shift_animation_progress Online documentation} */ frame_based_on_shift_animation_progress?: boolean /** * Only loaded, and mandatory if `mining_drill_scorch_mark` is `true`. Cannot be larger than `scorch_mark_lifetime`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingVisualisation.html#scorch_mark_fade_out_duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingVisualisation.html#scorch_mark_fade_out_duration Online documentation} */ scorch_mark_fade_out_duration?: uint16 /** * Only loaded, and mandatory if `mining_drill_scorch_mark` is `true`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingVisualisation.html#scorch_mark_lifetime Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingVisualisation.html#scorch_mark_lifetime Online documentation} */ scorch_mark_lifetime?: uint16 /** * Only loaded, and mandatory if `mining_drill_scorch_mark` is `true`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingVisualisation.html#scorch_mark_fade_in_frames Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingVisualisation.html#scorch_mark_fade_in_frames Online documentation} */ scorch_mark_fade_in_frames?: uint8 } @@ -20275,85 +20289,85 @@ declare module "factorio:prototype" { animation?: Animation4Way /** * Idle animation must have the same frame count as animation. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingVisualisations.html#idle_animation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingVisualisations.html#idle_animation Online documentation} */ idle_animation?: Animation4Way /** * **Default:** `false` * * Only loaded if `idle_animation` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingVisualisations.html#always_draw_idle_animation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingVisualisations.html#always_draw_idle_animation Online documentation} */ always_draw_idle_animation?: boolean default_recipe_tint?: GlobalRecipeTints recipe_not_set_tint?: GlobalRecipeTints /** * At least 2 visual states must be defined or no states at all. At most 32 states may be defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingVisualisations.html#states Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingVisualisations.html#states Online documentation} */ states?: readonly VisualState[] /** * Used to display different animations when the machine is running, for example tinted based on the current recipe. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingVisualisations.html#working_visualisations Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingVisualisations.html#working_visualisations Online documentation} */ working_visualisations?: readonly WorkingVisualisation[] /** * Only loaded if one of `shift_animation_waypoint_stop_duration` or `shift_animation_transition_duration` is not 0. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingVisualisations.html#shift_animation_waypoints Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingVisualisations.html#shift_animation_waypoints Online documentation} */ shift_animation_waypoints?: ShiftAnimationWaypoints /** * **Default:** `0` * * Only loaded if `shift_animation_waypoints` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingVisualisations.html#shift_animation_waypoint_stop_duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingVisualisations.html#shift_animation_waypoint_stop_duration Online documentation} */ shift_animation_waypoint_stop_duration?: uint16 /** * **Default:** `0` * * Only loaded if `shift_animation_waypoints` is defined. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingVisualisations.html#shift_animation_transition_duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingVisualisations.html#shift_animation_transition_duration Online documentation} */ shift_animation_transition_duration?: uint16 /** * Used by {@link WorkingVisualisation#apply_tint WorkingVisualisation::apply_tint}. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorkingVisualisations.html#status_colors Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorkingVisualisations.html#status_colors Online documentation} */ status_colors?: StatusColors } /** * Struct type for {@link WorldAmbientSoundDefinition} * @see WorldAmbientSoundDefinition - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorldAmbientSoundDefinition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorldAmbientSoundDefinition.html Online documentation} */ export interface WorldAmbientSoundDefinitionStruct { sound?: Sound /** * **Default:** `10` - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorldAmbientSoundDefinition.html#radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorldAmbientSoundDefinition.html#radius Online documentation} */ radius?: double /** * **Default:** `5` * * Has to be less than or equal to `max_entity_count`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorldAmbientSoundDefinition.html#min_entity_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorldAmbientSoundDefinition.html#min_entity_count Online documentation} */ min_entity_count?: uint32 /** * **Default:** `15` - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorldAmbientSoundDefinition.html#max_entity_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorldAmbientSoundDefinition.html#max_entity_count Online documentation} */ max_entity_count?: uint32 /** * **Default:** `0.2` - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorldAmbientSoundDefinition.html#entity_to_sound_ratio Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorldAmbientSoundDefinition.html#entity_to_sound_ratio Online documentation} */ entity_to_sound_ratio?: float /** * **Default:** `0` - * @see {@link https://lua-api.factorio.com/2.1.22/types/WorldAmbientSoundDefinition.html#average_pause_seconds Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/WorldAmbientSoundDefinition.html#average_pause_seconds Online documentation} */ average_pause_seconds?: double } @@ -20365,7 +20379,7 @@ declare module "factorio:prototype" { * @example * 7.5 * 6 - * @see {@link https://lua-api.factorio.com/2.1.22/types/double.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/double.html Online documentation} */ export type double = number /** @@ -20375,63 +20389,63 @@ declare module "factorio:prototype" { * @example * 7.5 * 6 - * @see {@link https://lua-api.factorio.com/2.1.22/types/float.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/float.html Online documentation} */ export type float = number /** * 16 bit signed integer. Ranges from `-32 768` to `32 767`, or `[-2^15, 2^15-1]`. * * Decimal numbers are automatically truncated when used in place of `int16`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/int16.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/int16.html Online documentation} */ export type int16 = number /** * 32 bit signed integer. Ranges from `-2 147 483 648` to `2 147 483 647`, or `[-2^31, 2^31-1]`. * * Decimal numbers are automatically truncated when used in place of `int32`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/int32.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/int32.html Online documentation} */ export type int32 = number /** * 8 bit signed integer. Ranges from `-128` to `127`, or `[-2^7, 2^7-1]`. * * Decimal numbers are automatically truncated when used in place of `int8`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/int8.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/int8.html Online documentation} */ export type int8 = number /** * A simple {@linkplain https://www.lua.org/pil/2.5.html Lua table}. An array is a table that uses continuous integer keys starting at `1`, while a dictionary can use numeric or string keys in any order or combination. * * Tables used by prototypes may be parsed via an internal class called "property tree". Errors that reference this class treat tables as 0-indexed. For example `Value must be a number in property tree at ROOT.technology.steel-plate-productivity.effects[0].change` refers to element 0 of the property tree array which in Lua is at index 1. - * @see {@link https://lua-api.factorio.com/2.1.22/types/table.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/table.html Online documentation} */ export type table = object /** * 16 bit unsigned integer. Ranges from `0` to `65 535`, or `[0, 2^16-1]`. * * Decimal numbers are automatically truncated when used in place of `uint16`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/uint16.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/uint16.html Online documentation} */ export type uint16 = number /** * 32 bit unsigned integer. Ranges from `0` to `4 294 967 295`, or `[0, 2^32-1]`. * * Decimal numbers are automatically truncated when used in place of `uint32`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/uint32.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/uint32.html Online documentation} */ export type uint32 = number /** * 64 bit unsigned integer. Ranges from `0` to `18 446 744 073 709 551 615`, or `[0, 2^64-1]`. * * Decimal numbers are automatically truncated when used in place of `uint64`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/uint64.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/uint64.html Online documentation} */ export type uint64 = number /** * 8 bit unsigned integer. Ranges from `0` to `255`, or `[0, 2^8-1]`. * * Decimal numbers are automatically truncated when used in place of `uint8`. - * @see {@link https://lua-api.factorio.com/2.1.22/types/uint8.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/types/uint8.html Online documentation} */ export type uint8 = number } diff --git a/runtime/generated/classes.d.ts b/runtime/generated/classes.d.ts index 7edb6b0..6d07180 100644 --- a/runtime/generated/classes.d.ts +++ b/runtime/generated/classes.d.ts @@ -12,39 +12,39 @@ import type { ActiveMods, CustomInputName } from "factorio:common" declare module "factorio:runtime" { /** * Collection of settings for overriding default AI behavior. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaAISettings.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaAISettings.html Online documentation} */ export interface LuaAISettings { /** * If enabled, units that repeatedly fail to succeed at commands will be destroyed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaAISettings.html#allow_destroy_when_commands_fail Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaAISettings.html#allow_destroy_when_commands_fail Online documentation} */ allow_destroy_when_commands_fail: boolean /** * If enabled, units that have nothing else to do will attempt to return to a spawner. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaAISettings.html#allow_try_return_to_spawner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaAISettings.html#allow_try_return_to_spawner Online documentation} */ allow_try_return_to_spawner: boolean /** * If enabled, units will try to separate themselves from nearby friendly units. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaAISettings.html#do_separation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaAISettings.html#do_separation Online documentation} */ do_separation: boolean /** * Defines how coarse the pathfinder's grid is, where smaller values mean a coarser grid. Defaults to `0`, which equals a resolution of `1x1` tiles, centered on tile centers. Values range from `-8` to `8` inclusive, where each integer increment doubles/halves the resolution. So, a resolution of `-8` equals a grid of `256x256` tiles, and a resolution of `8` equals `1/256` of a tile. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaAISettings.html#path_resolution_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaAISettings.html#path_resolution_modifier Online documentation} */ path_resolution_modifier: int8 /** * The number of "slots" that the unit takes up in a unit group. Must be greater than 0. * * If this value is changed after the unit has been added to a group, the exact behavior is undefined. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaAISettings.html#size_in_group Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaAISettings.html#size_in_group Online documentation} */ size_in_group: float /** * If enabled, the unit will join attack groups. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaAISettings.html#join_attacks Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaAISettings.html#join_attacks Online documentation} */ join_attacks: boolean /** @@ -58,12 +58,12 @@ declare module "factorio:runtime" { } /** * Control behavior for accumulators. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaAccumulatorControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaAccumulatorControlBehavior.html Online documentation} */ export interface LuaAccumulatorControlBehavior extends LuaControlBehavior { /** * `true` if this accumulator sends its charge percent to circuit network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaAccumulatorControlBehavior.html#read_charge Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaAccumulatorControlBehavior.html#read_charge Online documentation} */ read_charge: boolean get output_signal(): SignalID | nil @@ -79,7 +79,7 @@ declare module "factorio:runtime" { } /** * Prototype of a achievement. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaAchievementPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaAchievementPrototype.html Online documentation} */ export interface LuaAchievementPrototype extends LuaPrototypeBase { readonly allowed_without_fight: boolean @@ -134,42 +134,42 @@ declare module "factorio:runtime" { } /** * Prototype of an Active Trigger. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaActiveTriggerPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaActiveTriggerPrototype.html Online documentation} */ export interface LuaActiveTriggerPrototype extends LuaPrototypeBase { /** * The max number of jumps per trigger. default = 5. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaActiveTriggerPrototype.html#max_jumps Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaActiveTriggerPrototype.html#max_jumps Online documentation} */ readonly max_jumps: uint32 /** * The max length of jumps. default = 5. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaActiveTriggerPrototype.html#max_range_per_jump Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaActiveTriggerPrototype.html#max_range_per_jump Online documentation} */ readonly max_range_per_jump: double /** * The max distance jumps are allowed to travel away from the original target. default = infinity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaActiveTriggerPrototype.html#max_range Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaActiveTriggerPrototype.html#max_range Online documentation} */ readonly max_range: double /** * The tick delay between each jump. 0 = all jumps instantaneous. default = 0. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaActiveTriggerPrototype.html#jump_delay_ticks Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaActiveTriggerPrototype.html#jump_delay_ticks Online documentation} */ readonly jump_delay_ticks: uint32 /** * The chance that a new fork will spawn after each jump [0,1]. default = 0. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaActiveTriggerPrototype.html#fork_chance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaActiveTriggerPrototype.html#fork_chance Online documentation} */ readonly fork_chance: double /** * The maximum number of forks that can spawn from a single jump. default = 1. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaActiveTriggerPrototype.html#max_forks_per_jump Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaActiveTriggerPrototype.html#max_forks_per_jump Online documentation} */ readonly max_forks_per_jump: uint32 /** * maximum number of forks allowed to spawn for the entire chain. default = infinity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaActiveTriggerPrototype.html#max_forks Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaActiveTriggerPrototype.html#max_forks Online documentation} */ readonly max_forks: uint32 /** @@ -183,12 +183,12 @@ declare module "factorio:runtime" { } /** * Control behavior for agricultural tower - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaAgriculturalTowerControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaAgriculturalTowerControlBehavior.html Online documentation} */ export interface LuaAgriculturalTowerControlBehavior extends LuaGenericOnOffControlBehavior { /** * `true` if the agricultural tower reads seeds and harvested plants. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaAgriculturalTowerControlBehavior.html#read_contents Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaAgriculturalTowerControlBehavior.html#read_contents Online documentation} */ read_contents: boolean enable_harvesting_condition: boolean @@ -208,7 +208,7 @@ declare module "factorio:runtime" { } /** * Airborne pollutant prototype. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaAirbornePollutantPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaAirbornePollutantPrototype.html Online documentation} */ export interface LuaAirbornePollutantPrototype extends LuaPrototypeBase { readonly chart_color: Color @@ -226,13 +226,13 @@ declare module "factorio:runtime" { } /** * Prototype of a ammo category. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaAmmoCategoryPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaAmmoCategoryPrototype.html Online documentation} */ export interface LuaAmmoCategoryPrototype extends LuaPrototypeBase { readonly bonus_gui_order: string /** * An alternative prototype that will be used to display info about this prototype in Factoriopedia. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaAmmoCategoryPrototype.html#factoriopedia_alternative Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaAmmoCategoryPrototype.html#factoriopedia_alternative Online documentation} */ readonly factoriopedia_alternative?: LuaAmmoCategoryPrototype /** @@ -246,12 +246,12 @@ declare module "factorio:runtime" { } /** * Control behavior for arithmetic combinators. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaArithmeticCombinatorControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaArithmeticCombinatorControlBehavior.html Online documentation} */ export interface LuaArithmeticCombinatorControlBehavior extends LuaCombinatorControlBehavior { /** * This arithmetic combinator's parameters. Writing `nil` clears the combinator's parameters. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaArithmeticCombinatorControlBehavior.html#parameters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaArithmeticCombinatorControlBehavior.html#parameters Online documentation} */ get parameters(): ArithmeticCombinatorParameters | nil set parameters(value: ArithmeticCombinatorParametersWrite | nil) @@ -266,12 +266,12 @@ declare module "factorio:runtime" { } /** * Control behavior for artillery turrets. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaArtilleryTurretControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaArtilleryTurretControlBehavior.html Online documentation} */ export interface LuaArtilleryTurretControlBehavior extends LuaGenericOnOffControlBehavior { /** * `true` if the turret will send the ammunition or fluid it contains to the circuit network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaArtilleryTurretControlBehavior.html#read_ammo Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaArtilleryTurretControlBehavior.html#read_ammo Online documentation} */ read_ammo: boolean /** @@ -285,55 +285,55 @@ declare module "factorio:runtime" { } /** * Control behavior for assembling machines. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaAssemblingMachineControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaAssemblingMachineControlBehavior.html Online documentation} */ export interface LuaAssemblingMachineControlBehavior extends LuaGenericOnOffControlBehavior { /** * `true` if the assembling machine sets its recipe from the circuit network. * - * See {@linkplain https://lua-api.factorio.com/2.1.22/auxiliary/circuit-recipe-selection.html Circuit Recipe Selection} for how that recipe is chosen. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaAssemblingMachineControlBehavior.html#circuit_set_recipe Online documentation} + * See {@linkplain https://lua-api.factorio.com/2.1.24/auxiliary/circuit-recipe-selection.html Circuit Recipe Selection} for how that recipe is chosen. + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaAssemblingMachineControlBehavior.html#circuit_set_recipe Online documentation} */ circuit_set_recipe: boolean /** * `true` if the assembling machine reads its ingredients contents, product contents, materials in crafting and trash inventories. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaAssemblingMachineControlBehavior.html#circuit_read_contents Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaAssemblingMachineControlBehavior.html#circuit_read_contents Online documentation} */ circuit_read_contents: boolean /** * `true` if the read contents should include items in crafting. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaAssemblingMachineControlBehavior.html#include_in_crafting Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaAssemblingMachineControlBehavior.html#include_in_crafting Online documentation} */ include_in_crafting: boolean /** * `true` if the fuel (content of energy source) should be read. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaAssemblingMachineControlBehavior.html#read_fuel Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaAssemblingMachineControlBehavior.html#read_fuel Online documentation} */ read_fuel: boolean /** * `true` if the assembling machine outputs ingredients of current recipe as a signals to circuit network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaAssemblingMachineControlBehavior.html#circuit_read_ingredients Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaAssemblingMachineControlBehavior.html#circuit_read_ingredients Online documentation} */ circuit_read_ingredients: boolean /** * `true` if the the assembling machine sends a signal when the recipe finishes. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaAssemblingMachineControlBehavior.html#circuit_read_recipe_finished Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaAssemblingMachineControlBehavior.html#circuit_read_recipe_finished Online documentation} */ circuit_read_recipe_finished: boolean /** * The signal sent when the assembling machine finishes a recipe. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaAssemblingMachineControlBehavior.html#circuit_recipe_finished_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaAssemblingMachineControlBehavior.html#circuit_recipe_finished_signal Online documentation} */ get circuit_recipe_finished_signal(): SignalID | nil set circuit_recipe_finished_signal(value: SignalIDWrite | nil) /** * `true` if the the assembling machine sends a signal when it is working. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaAssemblingMachineControlBehavior.html#circuit_read_working Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaAssemblingMachineControlBehavior.html#circuit_read_working Online documentation} */ circuit_read_working: boolean /** * The signal sent when the assembling machine is working. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaAssemblingMachineControlBehavior.html#circuit_working_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaAssemblingMachineControlBehavior.html#circuit_working_signal Online documentation} */ get circuit_working_signal(): SignalID | nil set circuit_working_signal(value: SignalIDWrite | nil) @@ -348,7 +348,7 @@ declare module "factorio:runtime" { } /** * Prototype of an asteroid chunk. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaAsteroidChunkPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaAsteroidChunkPrototype.html Online documentation} */ export interface LuaAsteroidChunkPrototype extends LuaPrototypeBase { readonly mineable_properties: MineableProperties @@ -356,12 +356,12 @@ declare module "factorio:runtime" { readonly item_signal_alias?: LuaItemPrototype /** * An alternative prototype that will be used to display info about this prototype in Factoriopedia. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaAsteroidChunkPrototype.html#factoriopedia_alternative Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaAsteroidChunkPrototype.html#factoriopedia_alternative Online documentation} */ readonly factoriopedia_alternative?: LuaAsteroidChunkPrototype /** * _Can only be used if this is EntityWithHealth_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaAsteroidChunkPrototype.html#dying_trigger_effect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaAsteroidChunkPrototype.html#dying_trigger_effect Online documentation} */ readonly dying_trigger_effect?: TriggerEffectItem[] /** @@ -375,22 +375,22 @@ declare module "factorio:runtime" { } /** * Control behavior for asteroid collectors. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaAsteroidCollectorControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaAsteroidCollectorControlBehavior.html Online documentation} */ export interface LuaAsteroidCollectorControlBehavior extends LuaGenericOnOffControlBehavior { /** * `true` if this asteroid collector has filters set from circuit network - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaAsteroidCollectorControlBehavior.html#set_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaAsteroidCollectorControlBehavior.html#set_filter Online documentation} */ set_filter: boolean /** * `true` if this asteroid collector reads its content and sends it to a circuit network - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaAsteroidCollectorControlBehavior.html#read_content Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaAsteroidCollectorControlBehavior.html#read_content Online documentation} */ read_content: boolean /** * `true` if read contents should include content of hands (items that were captured but are not yet in the asteroid collector's main inventory). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaAsteroidCollectorControlBehavior.html#include_hands Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaAsteroidCollectorControlBehavior.html#include_hands Online documentation} */ include_hands: boolean /** @@ -404,14 +404,14 @@ declare module "factorio:runtime" { } /** * Prototype of an autoplace control. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaAutoplaceControlPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaAutoplaceControlPrototype.html Online documentation} */ export interface LuaAutoplaceControlPrototype extends LuaPrototypeBase { readonly richness: boolean readonly can_be_disabled: boolean /** * Category name of this prototype. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaAutoplaceControlPrototype.html#category Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaAutoplaceControlPrototype.html#category Online documentation} */ readonly category: "resource" | "terrain" | "cliff" | "enemy" /** @@ -425,12 +425,12 @@ declare module "factorio:runtime" { } /** * Control behavior for boiler. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaBoilerControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBoilerControlBehavior.html Online documentation} */ export interface LuaBoilerControlBehavior extends LuaGenericOnOffControlBehavior { /** * `true` if the content of energy source is being read - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaBoilerControlBehavior.html#read_fuel Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBoilerControlBehavior.html#read_fuel Online documentation} */ read_fuel: boolean /** @@ -444,29 +444,29 @@ declare module "factorio:runtime" { } /** * Entry point for registering event handlers. It is accessible through the global object named `script`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaBootstrap.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBootstrap.html Online documentation} * @noSelf */ export interface LuaBootstrap { /** * 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 {@link LuaGameScript} and the {@linkplain https://lua-api.factorio.com/2.1.22/auxiliary/storage.html storage} 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. + * 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 {@link LuaGameScript} and the {@linkplain https://lua-api.factorio.com/2.1.24/auxiliary/storage.html storage} 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. * - * For more context, refer to the {@linkplain https://lua-api.factorio.com/2.1.22/auxiliary/data-lifecycle.html Data Lifecycle} page. + * For more context, refer to the {@linkplain https://lua-api.factorio.com/2.1.24/auxiliary/data-lifecycle.html Data Lifecycle} page. * @param handler The handler for this event. Passing `nil` will unregister it. * @example * -- Initialize a `players` table in `storage` for later use * script.on_init(function() * storage.players = {} * end) - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaBootstrap.html#on_init Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBootstrap.html#on_init Online documentation} */ on_init(handler: (() => void) | nil): void /** * 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 rectify potential differences in local state introduced by the save/load cycle. Doing anything other than the following three will lead to desyncs, breaking multiplayer and replay functionality. Access to {@link LuaGameScript} is not available. The {@linkplain https://lua-api.factorio.com/2.1.22/auxiliary/storage.html storage} table can be accessed and is safe to read from, but not write to, as doing so will lead to an error. + * It gives the mod the opportunity to rectify potential differences in local state introduced by the save/load cycle. Doing anything other than the following three will lead to desyncs, breaking multiplayer and replay functionality. Access to {@link LuaGameScript} is not available. The {@linkplain https://lua-api.factorio.com/2.1.24/auxiliary/storage.html storage} 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 these: * @@ -474,23 +474,23 @@ declare module "factorio:runtime" { * * - Re-setup conditional event handlers, meaning subscribing to an event only when some condition is met to save processing time. * - * - Create local references to data stored in the {@linkplain https://lua-api.factorio.com/2.1.22/auxiliary/storage.html storage} table. + * - Create local references to data stored in the {@linkplain https://lua-api.factorio.com/2.1.24/auxiliary/storage.html storage} table. * - * For all other purposes, {@link LuaBootstrap#on_init LuaBootstrap::on_init}, {@link LuaBootstrap#on_configuration_changed LuaBootstrap::on_configuration_changed} or {@linkplain https://lua-api.factorio.com/2.1.22/auxiliary/migrations.html migrations} should be used instead. + * For all other purposes, {@link LuaBootstrap#on_init LuaBootstrap::on_init}, {@link LuaBootstrap#on_configuration_changed LuaBootstrap::on_configuration_changed} or {@linkplain https://lua-api.factorio.com/2.1.24/auxiliary/migrations.html migrations} should be used instead. * - * For more context, refer to the {@linkplain https://lua-api.factorio.com/2.1.22/auxiliary/data-lifecycle.html Data Lifecycle} page. + * For more context, refer to the {@linkplain https://lua-api.factorio.com/2.1.24/auxiliary/data-lifecycle.html Data Lifecycle} page. * @param handler The handler for this event. Passing `nil` will unregister it. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaBootstrap.html#on_load Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBootstrap.html#on_load Online documentation} */ on_load(handler: (() => void) | nil): void /** * Register a function to be run when mod configuration changes. * - * This is called when the game version or any mod version changed, when any mod was added or removed, when a startup setting has changed, when any prototypes have been added or removed, or when a migration was applied. It allows the mod to make any changes it deems appropriate to both the data structures in its {@linkplain https://lua-api.factorio.com/2.1.22/auxiliary/storage.html storage} table or to the game state through {@link LuaGameScript}. + * This is called when the game version or any mod version changed, when any mod was added or removed, when a startup setting has changed, when any prototypes have been added or removed, or when a migration was applied. It allows the mod to make any changes it deems appropriate to both the data structures in its {@linkplain https://lua-api.factorio.com/2.1.24/auxiliary/storage.html storage} table or to the game state through {@link LuaGameScript}. * - * For more context, refer to the {@linkplain https://lua-api.factorio.com/2.1.22/auxiliary/data-lifecycle.html Data Lifecycle} page. + * For more context, refer to the {@linkplain https://lua-api.factorio.com/2.1.24/auxiliary/data-lifecycle.html Data Lifecycle} page. * @param handler The handler for this event. Passing `nil` will unregister it. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaBootstrap.html#on_configuration_changed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBootstrap.html#on_configuration_changed Online documentation} */ on_configuration_changed(handler: ((arg1: ConfigurationChangedData) => void) | nil): void /** @@ -507,7 +507,7 @@ declare module "factorio:runtime" { * script.on_event(defines.events.on_built_entity, * function(event) game.print("Gotta go fast!") end, * {{filter = "name", name = "fast-inserter"}}) - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaBootstrap.html#on_event Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBootstrap.html#on_event Online documentation} */ on_event>( event: E, @@ -521,7 +521,7 @@ declare module "factorio:runtime" { * Register a handler to run every nth-tick(s). When the game is on tick 0 it will trigger all registered handlers. * @param tick The nth-tick(s) to invoke the handler on. Passing `nil` as the only parameter will unregister all nth-tick handlers. * @param handler The handler to run. Passing `nil` will unregister it for the provided nth-tick(s). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaBootstrap.html#on_nth_tick Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBootstrap.html#on_nth_tick Online documentation} */ on_nth_tick(tick: MapTick | readonly MapTick[] | nil, handler: ((arg1: NthTickEventData) => void) | nil): void /** @@ -534,7 +534,7 @@ declare module "factorio:runtime" { * @returns The registration number. It is used to identify the object in the {@link OnObjectDestroyedEvent on_object_destroyed} event. * @returns The {@link RegistrationTarget useful identifier} of the object if it has one or `0` if it doesn't. This identifier is specific to the object type, for example for trains it is the value {@link LuaTrain#id LuaTrain::id}. * @returns Type of the target object. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaBootstrap.html#register_on_object_destroyed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBootstrap.html#register_on_object_destroyed Online documentation} */ register_on_object_destroyed(object: RegistrationTarget): LuaMultiReturn<[uint64, uint64, defines.target_type]> /** @@ -544,7 +544,7 @@ declare module "factorio:runtime" { * * `register_metatable()` can not be used in the console, in event listeners or during a `remote.call()`. * - * The metatable first needs to be defined in the mod's root scope, then registered using this method. From then on, it will be properly restored for tables in {@linkplain https://lua-api.factorio.com/2.1.22/auxiliary/storage.html storage}. + * The metatable first needs to be defined in the mod's root scope, then registered using this method. From then on, it will be properly restored for tables in {@linkplain https://lua-api.factorio.com/2.1.24/auxiliary/storage.html storage}. * * ``` * local metatable = @@ -564,38 +564,38 @@ declare module "factorio:runtime" { * ``` * @param name The name of this metatable. Names must be unique per mod. * @param metatable The metatable to register. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaBootstrap.html#register_metatable Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBootstrap.html#register_metatable Online documentation} */ register_metatable(name: string, metatable: table): void /** * Generate a new, unique event ID that can be used to raise custom events with {@link LuaBootstrap#raise_event LuaBootstrap::raise_event}. * @returns The newly generated event ID. This will be a new value that does not correspond to any named entry in defines.events. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaBootstrap.html#generate_event_name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBootstrap.html#generate_event_name Online documentation} */ generate_event_name(): CustomEventId /** * Converts LuaEventType into related value of defines.events. Value will be provided also if event was not given a constant inside of defines.events. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaBootstrap.html#get_event_id Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBootstrap.html#get_event_id Online documentation} */ get_event_id>(event: E): E get_event_id(event: E): EventId> /** * Converts LuaEventType into corresponding event name. If event has no name, no value will be given. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaBootstrap.html#get_event_name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBootstrap.html#get_event_name Online documentation} */ get_event_name(event: LuaEventType): string | nil /** * Find the event handler for an event. * @param event The event identifier to get a handler for. * @returns Reference to the function currently registered as the handler, if it was found. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaBootstrap.html#get_event_handler Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBootstrap.html#get_event_handler Online documentation} */ get_event_handler>(event: E): (data: E["_eventData"]) => void | nil get_event_handler(event: CustomInputName | LuaCustomInputPrototype): (data: CustomInputEvent) => void | nil get_event_handler(event: E): (data: EventTypeOf) => void | nil /** * Gets the mod event order as a string. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaBootstrap.html#get_event_order Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBootstrap.html#get_event_order Online documentation} */ get_event_order(): string /** @@ -620,32 +620,38 @@ declare module "factorio:runtime" { * ``` * @param event ID of the event to filter. * @param filters The filters or `nil` to clear them. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaBootstrap.html#set_event_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBootstrap.html#set_event_filter Online documentation} */ set_event_filter>(event: E, filters: E["_filter"][] | nil): void /** * Gets the filters for the given event. * @param event ID of the event to get. * @returns The filters or `nil` if none are defined. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaBootstrap.html#get_event_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBootstrap.html#get_event_filter Online documentation} */ get_event_filter>(event: E): E["_filter"][] | nil /** * Creates new empty instance of LuaNotificationQueue - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaBootstrap.html#new_notification_queue Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBootstrap.html#new_notification_queue Online documentation} */ new_notification_queue(): LuaNotificationQueue + /** + * Finishes the test when the game was started with `--test-scenario` or `--test-save`: the game exits after the current tick, with exit code 0 if the test passed and 1 if it failed. Does nothing otherwise. + * @param passed Whether the test passed. Defaults to `true`. + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBootstrap.html#finish_test Online documentation} + */ + finish_test(passed?: boolean): void /** * Raise an event. Only events generated with {@link LuaBootstrap#generate_event_name LuaBootstrap::generate_event_name} and the following can be raised: * - * {@link https://lua-api.factorio.com/2.1.22/classes/LuaBootstrap.html#raise_event > Events that can be raised manually:} + * {@link https://lua-api.factorio.com/2.1.24/classes/LuaBootstrap.html#raise_event > Events that can be raised manually:} * @param event ID or name of the event to raise. * @param data Table with extra data that will be passed to the event handler. Any invalid LuaObjects will silently stop the event from being raised. * @example * -- Raise the on_console_chat event with the desired message 'from' the first player * local data = {player_index = 1, message = "Hello friends!"} * script.raise_event(defines.events.on_console_chat, data) - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaBootstrap.html#raise_event Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBootstrap.html#raise_event Online documentation} */ raise_event>( event: E, @@ -654,7 +660,7 @@ declare module "factorio:runtime" { /** * ## Raised events * - {@link OnConsoleChatEvent on_console_chat} _instantly_ Raised with the provided arguments. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaBootstrap.html#raise_console_chat Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBootstrap.html#raise_console_chat Online documentation} */ raise_console_chat(params: { /** @@ -669,7 +675,7 @@ declare module "factorio:runtime" { /** * ## Raised events * - {@link OnPlayerCraftedItemEvent on_player_crafted_item} _instantly_ Raised with the provided arguments. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaBootstrap.html#raise_player_crafted_item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBootstrap.html#raise_player_crafted_item Online documentation} */ raise_player_crafted_item(params: { /** @@ -688,7 +694,7 @@ declare module "factorio:runtime" { /** * ## Raised events * - {@link OnPlayerFastTransferredEvent on_player_fast_transferred} _instantly_ Raised with the provided arguments. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaBootstrap.html#raise_player_fast_transferred Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBootstrap.html#raise_player_fast_transferred Online documentation} */ raise_player_fast_transferred(params: { /** @@ -711,7 +717,7 @@ declare module "factorio:runtime" { /** * ## Raised events * - {@link OnBiterBaseBuiltEvent on_biter_base_built} _instantly_ Raised with the provided arguments. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaBootstrap.html#raise_biter_base_built Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBootstrap.html#raise_biter_base_built Online documentation} */ raise_biter_base_built(params: { /** @@ -722,7 +728,7 @@ declare module "factorio:runtime" { /** * ## Raised events * - {@link OnMarketItemPurchasedEvent on_market_item_purchased} _instantly_ Raised with the provided arguments. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaBootstrap.html#raise_market_item_purchased Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBootstrap.html#raise_market_item_purchased Online documentation} */ raise_market_item_purchased(params: { /** @@ -745,7 +751,7 @@ declare module "factorio:runtime" { /** * ## Raised events * - {@link ScriptRaisedBuiltEvent script_raised_built} _instantly_ Raised with the provided arguments. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaBootstrap.html#raise_script_built Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBootstrap.html#raise_script_built Online documentation} */ raise_script_built(params: { /** @@ -756,7 +762,7 @@ declare module "factorio:runtime" { /** * ## Raised events * - {@link ScriptRaisedDestroyEvent script_raised_destroy} _instantly_ Raised with the provided arguments. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaBootstrap.html#raise_script_destroy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBootstrap.html#raise_script_destroy Online documentation} */ raise_script_destroy(params: { /** @@ -767,7 +773,7 @@ declare module "factorio:runtime" { /** * ## Raised events * - {@link ScriptRaisedReviveEvent script_raised_revive} _instantly_ Raised with the provided arguments. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaBootstrap.html#raise_script_revive Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBootstrap.html#raise_script_revive Online documentation} */ raise_script_revive(params: { /** @@ -782,7 +788,7 @@ declare module "factorio:runtime" { /** * ## Raised events * - {@link ScriptRaisedTeleportedEvent script_raised_teleported} _instantly_ Raised with the provided arguments. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaBootstrap.html#raise_script_teleported Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBootstrap.html#raise_script_teleported Online documentation} */ raise_script_teleported(params: { /** @@ -801,7 +807,7 @@ declare module "factorio:runtime" { /** * ## Raised events * - {@link ScriptRaisedSetTilesEvent script_raised_set_tiles} _instantly_ Raised with the provided arguments. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaBootstrap.html#raise_script_set_tiles Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBootstrap.html#raise_script_set_tiles Online documentation} */ raise_script_set_tiles(params: { /** @@ -816,7 +822,7 @@ declare module "factorio:runtime" { /** * ## Raised events * - {@link ScriptRaisedDestroySegmentedUnitEvent script_raised_destroy_segmented_unit} _instantly_ Raised with the provided arguments. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaBootstrap.html#raise_script_destroy_segmented_unit Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBootstrap.html#raise_script_destroy_segmented_unit Online documentation} */ raise_script_destroy_segmented_unit(params: { /** @@ -826,12 +832,12 @@ declare module "factorio:runtime" { }): void /** * The name of the mod from the environment this is used in. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaBootstrap.html#mod_name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBootstrap.html#mod_name Online documentation} */ readonly mod_name: string /** * Information about the currently running scenario/campaign/tutorial. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaBootstrap.html#level Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBootstrap.html#level Online documentation} */ readonly level: { /** @@ -862,12 +868,12 @@ declare module "factorio:runtime" { * for name, version in pairs(script.active_mods) do * game.print(name .. " version " .. version) * end - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaBootstrap.html#active_mods Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBootstrap.html#active_mods Online documentation} */ readonly active_mods: ActiveMods /** * A dictionary of feature flags mapping to whether they are enabled. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaBootstrap.html#feature_flags Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBootstrap.html#feature_flags Online documentation} */ readonly feature_flags: { readonly expansion: boolean @@ -879,6 +885,11 @@ declare module "factorio:runtime" { readonly segmented_units: boolean readonly expansion_shaders: boolean } + /** + * The string given with `--test-arg` when the game was started with `--test-scenario` or `--test-save`. + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBootstrap.html#test_arg Online documentation} + */ + readonly test_arg?: string /** * The class name of this object. Available even when `valid` is false. For LuaStruct objects it may also be suffixed with a dotted path to a member of the struct. */ @@ -886,39 +897,39 @@ declare module "factorio:runtime" { } /** * A reference to the burner energy source owned by a specific {@link LuaEntity} or {@link LuaEquipment}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaBurner.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBurner.html Online documentation} */ export interface LuaBurner { /** * The owner of this burner energy source - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaBurner.html#owner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBurner.html#owner Online documentation} */ readonly owner: LuaEntity | LuaEquipment /** * The fuel inventory. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaBurner.html#inventory Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBurner.html#inventory Online documentation} */ readonly inventory: LuaInventory /** * The burnt result inventory. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaBurner.html#burnt_result_inventory Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBurner.html#burnt_result_inventory Online documentation} */ readonly burnt_result_inventory: LuaInventory /** * The current heat (energy) stored in this burner. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaBurner.html#heat Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBurner.html#heat Online documentation} */ heat: double /** * The maximum heat (maximum energy) that this burner can store. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaBurner.html#heat_capacity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBurner.html#heat_capacity Online documentation} */ readonly heat_capacity: double /** * The amount of energy left in the currently-burning fuel item. * * Writing to this will silently do nothing if there's no {@link LuaBurner#currently_burning LuaBurner::currently_burning} set. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaBurner.html#remaining_burning_fuel Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBurner.html#remaining_burning_fuel Online documentation} */ remaining_burning_fuel: double /** @@ -927,7 +938,7 @@ declare module "factorio:runtime" { * Writing to this automatically handles correcting {@link LuaBurner#remaining_burning_fuel LuaBurner::remaining_burning_fuel}. * * When writing, any item with a {@link LuaItemPrototype#fuel_value fuel value} is considered valid fuel; the fuel category does not have to match. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaBurner.html#currently_burning Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBurner.html#currently_burning Online documentation} */ get currently_burning(): ItemIDAndQualityIDPair | nil set currently_burning(value: ItemWithQualityID | nil) @@ -935,7 +946,7 @@ declare module "factorio:runtime" { * The fuel categories this burner uses. * * The value in the dictionary is meaningless and exists just to allow for easy lookup. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaBurner.html#fuel_categories Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBurner.html#fuel_categories Online documentation} */ readonly fuel_categories: Record /** @@ -949,12 +960,12 @@ declare module "factorio:runtime" { } /** * Prototype of a burner energy source. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaBurnerPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBurnerPrototype.html Online documentation} */ export interface LuaBurnerPrototype { /** * The table of emissions of this energy source in `pollution/Joule`, indexed by pollutant type. Multiplying it by energy consumption in `Watt` gives `pollution/second`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaBurnerPrototype.html#emissions_per_joule Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBurnerPrototype.html#emissions_per_joule Online documentation} */ readonly emissions_per_joule: Record readonly render_no_network_icon: boolean @@ -964,12 +975,12 @@ declare module "factorio:runtime" { readonly burnt_inventory_size: uint32 /** * The smoke sources for this burner prototype. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaBurnerPrototype.html#smoke Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBurnerPrototype.html#smoke Online documentation} */ readonly smoke?: SmokeSource[] /** * The light flicker definition for this burner prototype. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaBurnerPrototype.html#light_flicker Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBurnerPrototype.html#light_flicker Online documentation} */ readonly light_flicker?: { readonly minimum_intensity: float @@ -983,7 +994,7 @@ declare module "factorio:runtime" { } /** * The value in the dictionary is meaningless and exists just to allow for easy lookup. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaBurnerPrototype.html#fuel_categories Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBurnerPrototype.html#fuel_categories Online documentation} */ readonly fuel_categories: Record readonly initial_fuel?: LuaItemPrototype @@ -1002,7 +1013,7 @@ declare module "factorio:runtime" { } /** * Description of burner usage. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaBurnerUsagePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaBurnerUsagePrototype.html Online documentation} */ export interface LuaBurnerUsagePrototype extends LuaPrototypeBase { /** @@ -1016,14 +1027,14 @@ declare module "factorio:runtime" { } /** * A cargo hatch. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCargoHatch.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCargoHatch.html Online documentation} * @noSelf */ export interface LuaCargoHatch { /** * Creates a cargo pod for output at the owning entity hatch location. * @param cargo_pod_prototype The cargo pod prototype to create. If not provided, the default cargo pod prototype of the hatch is used. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCargoHatch.html#create_cargo_pod Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCargoHatch.html#create_cargo_pod Online documentation} */ create_cargo_pod(cargo_pod_prototype?: EntityID): LuaEntity readonly owner: LuaEntity @@ -1042,7 +1053,7 @@ declare module "factorio:runtime" { } /** * Control behavior for cargo landing pad. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCargoLandingPadControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCargoLandingPadControlBehavior.html Online documentation} */ export interface LuaCargoLandingPadControlBehavior extends LuaControlBehavior { read_contents: boolean @@ -1068,12 +1079,12 @@ declare module "factorio:runtime" { * game.player.print("x: " .. chunk.x .. ", y: " .. chunk.y) * game.player.print("area: " .. serpent.line(chunk.area)) * end - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaChunkIterator.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaChunkIterator.html Online documentation} */ export interface LuaChunkIterator extends LuaIterable { /** * Gets the next chunk position if the iterator is not yet done and increments the it. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaChunkIterator.html#call_operator Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaChunkIterator.html#call_operator Online documentation} */ (): ChunkPositionAndArea | nil /** @@ -1087,44 +1098,44 @@ declare module "factorio:runtime" { } /** * A circuit network associated with a given entity, connector, and wire type. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCircuitNetwork.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCircuitNetwork.html Online documentation} * @noSelf */ export interface LuaCircuitNetwork { /** * @param signal The signal to read. * @returns The current value of the signal. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCircuitNetwork.html#get_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCircuitNetwork.html#get_signal Online documentation} */ get_signal(signal: SignalIDWrite): int32 /** * The entity this circuit network reference is associated with. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCircuitNetwork.html#entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCircuitNetwork.html#entity Online documentation} */ readonly entity: LuaEntity /** * The wire type this network is associated with. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCircuitNetwork.html#wire_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCircuitNetwork.html#wire_type Online documentation} */ readonly wire_type: defines.wire_type /** * Wire connector ID on associated entity this network was gotten from. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCircuitNetwork.html#wire_connector_id Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCircuitNetwork.html#wire_connector_id Online documentation} */ readonly wire_connector_id: defines.wire_connector_id /** * The circuit network signals last tick. `nil` if there were no signals last tick. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCircuitNetwork.html#signals Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCircuitNetwork.html#signals Online documentation} */ readonly signals?: Signal[] /** * The circuit networks ID. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCircuitNetwork.html#network_id Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCircuitNetwork.html#network_id Online documentation} */ readonly network_id: uint32 /** * The number of circuits connected to this network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCircuitNetwork.html#connected_circuit_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCircuitNetwork.html#connected_circuit_count Online documentation} */ readonly connected_circuit_count: uint32 /** @@ -1138,7 +1149,7 @@ declare module "factorio:runtime" { } /** * Prototype of a collision layer. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCollisionLayerPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCollisionLayerPrototype.html Online documentation} */ export interface LuaCollisionLayerPrototype extends LuaPrototypeBase { /** @@ -1151,25 +1162,25 @@ declare module "factorio:runtime" { readonly object_name: "LuaCollisionLayerPrototype" } /** - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCombinatorControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCombinatorControlBehavior.html Online documentation} * @noSelf */ export interface LuaCombinatorControlBehavior extends LuaControlBehavior { /** * Gets the value of a specific signal sent by this combinator behavior last tick or `nil` if the signal didn't exist. * @param signal The signal to get - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCombinatorControlBehavior.html#get_signal_last_tick Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCombinatorControlBehavior.html#get_signal_last_tick Online documentation} */ get_signal_last_tick(signal: SignalIDWrite): int32 | nil /** * The circuit network signals sent by this combinator last tick. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCombinatorControlBehavior.html#signals_last_tick Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCombinatorControlBehavior.html#signals_last_tick Online documentation} */ readonly signals_last_tick: Signal[] } /** * Allows for the registration of custom console commands through the global object named `commands`. Similarly to {@link LuaBootstrap#on_event event subscriptions}, these don't persist through a save-and-load cycle. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandProcessor.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandProcessor.html Online documentation} * @noSelf */ export interface LuaCommandProcessor { @@ -1194,24 +1205,24 @@ declare module "factorio:runtime" { * @param name The desired name of the command (case sensitive). * @param help The localised help message. It will be shown to players using the `/help` command. * @param _function The function that will be called when this command is invoked. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandProcessor.html#add_command Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandProcessor.html#add_command Online documentation} */ add_command(name: string, help: LocalisedString, _function: (arg1: CustomCommandData) => void): void /** * Remove a custom console command. * @param name The name of the command to remove (case sensitive). * @returns Whether the command was successfully removed. Returns `false` if the command didn't exist. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandProcessor.html#remove_command Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandProcessor.html#remove_command Online documentation} */ remove_command(name: string): boolean /** * Lists the custom commands registered by scripts through `LuaCommandProcessor`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandProcessor.html#commands Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandProcessor.html#commands Online documentation} */ readonly commands: Record /** * Lists the built-in commands of the core game. The {@linkplain https://wiki.factorio.com/Console wiki} has an overview of these. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandProcessor.html#game_commands Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandProcessor.html#game_commands Online documentation} */ readonly game_commands: Record /** @@ -1221,28 +1232,28 @@ declare module "factorio:runtime" { } /** * AI object which can be ordered commands. This can represent a UnitGroup (a set of multiple commandables) or can be a single Unit or SpiderUnit. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandable.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandable.html Online documentation} * @noSelf */ export interface LuaCommandable { /** * Destroys this commandable. If it is a unit group, members will not be destroyed, they will be merely unlinked from the group. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandable.html#destroy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandable.html#destroy Online documentation} */ destroy(): void /** * Give this commandable a command. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandable.html#set_command Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandable.html#set_command Online documentation} */ set_command(command: CommandWrite): void /** * Give this commandable a distraction command. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandable.html#set_distraction_command Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandable.html#set_distraction_command Online documentation} */ set_distraction_command(command: CommandWrite): void /** * Release the commandable from the spawner. This allows the spawner to continue spawning additional units. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandable.html#release_from_spawner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandable.html#release_from_spawner Online documentation} */ release_from_spawner(): void /** @@ -1251,118 +1262,118 @@ declare module "factorio:runtime" { * The member must have the same force be on the same surface as the group. * * _Can only be used if this is UnitGroup_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandable.html#add_member Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandable.html#add_member Online documentation} */ add_member(member: LuaCommandable | LuaEntity): void /** * Make this group autonomous. Autonomous groups will automatically attack polluted areas. Autonomous groups aren't considered to be {@link LuaCommandable#is_script_driven script-driven}. * * _Can only be used if this is UnitGroup_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandable.html#set_autonomous Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandable.html#set_autonomous Online documentation} */ set_autonomous(): void /** * Make the group start moving even if some of its members haven't yet arrived. * * _Can only be used if this is UnitGroup_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandable.html#start_moving Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandable.html#start_moving Online documentation} */ start_moving(): void /** * If this commandable is UnitGroup. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandable.html#is_unit_group Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandable.html#is_unit_group Online documentation} */ readonly is_unit_group: boolean /** * If this commandable is Entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandable.html#is_entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandable.html#is_entity Online documentation} */ readonly is_entity: boolean /** * Surface this commandable is on. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandable.html#surface Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandable.html#surface Online documentation} */ readonly surface: LuaSurface /** * Current position of this commandable. * * If commandable is a UnitGroup, this can have different meanings depending on the group state. When the group is gathering, the position is the place of gathering. When the group is moving, the position is the expected position of its members along the path. When the group is attacking, it is the average position of its members. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandable.html#position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandable.html#position Online documentation} */ readonly position: MapPosition /** * The force of this commandable. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandable.html#force Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandable.html#force Online documentation} */ readonly force: LuaForce /** * Unique identifier of this commandable. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandable.html#unique_id Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandable.html#unique_id Online documentation} */ readonly unique_id: uint32 /** * If this commandable has a command assigned. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandable.html#has_command Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandable.html#has_command Online documentation} */ readonly has_command: boolean /** * The command of this commandable, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandable.html#command Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandable.html#command Online documentation} */ readonly command?: Command /** * The distraction command of this commandable, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandable.html#distraction_command Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandable.html#distraction_command Online documentation} */ readonly distraction_command?: Command /** * The unit group this commandable is a member of, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandable.html#parent_group Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandable.html#parent_group Online documentation} */ readonly parent_group?: LuaCommandable /** * The spawner associated with this commandable, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandable.html#spawner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandable.html#spawner Online documentation} */ readonly spawner?: LuaEntity /** * Current moving state of the commandable's behavior - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandable.html#moving_state Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandable.html#moving_state Online documentation} */ readonly moving_state: defines.moving_state /** * Whether this group is gathering, moving or attacking. * * _Can only be used if this is UnitGroup_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandable.html#state Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandable.html#state Online documentation} */ readonly state: defines.group_state /** * All entity members of this unit group, recursive (if unit group is member of this unit group, its members will be returned here). * * _Can only be used if this is UnitGroup_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandable.html#members Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandable.html#members Online documentation} */ readonly members: LuaEntity[] /** * Non recursively returns all members of this unit group. * * _Can only be used if this is UnitGroup_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandable.html#commandable_members Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandable.html#commandable_members Online documentation} */ readonly commandable_members: LuaCommandable[] /** * Whether this unit group is controlled by a script or by the game engine. This can be changed using {@link LuaCommandable#set_autonomous LuaCommandable::set_autonomous}. Units created by {@link LuaSurface#create_unit_group LuaSurface::create_unit_group} are considered script-driven. * * _Can only be used if this is UnitGroup_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandable.html#is_script_driven Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandable.html#is_script_driven Online documentation} */ readonly is_script_driven: boolean /** * Returns entity object for this commandable. * * _Can only be used if this is Entity_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandable.html#entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandable.html#entity Online documentation} */ readonly entity: LuaEntity /** @@ -1380,84 +1391,84 @@ declare module "factorio:runtime" { export interface BaseCommandable { /** * Destroys this commandable. If it is a unit group, members will not be destroyed, they will be merely unlinked from the group. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandable.html#destroy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandable.html#destroy Online documentation} */ destroy(): void /** * Give this commandable a command. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandable.html#set_command Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandable.html#set_command Online documentation} */ set_command(command: CommandWrite): void /** * Give this commandable a distraction command. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandable.html#set_distraction_command Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandable.html#set_distraction_command Online documentation} */ set_distraction_command(command: CommandWrite): void /** * Release the commandable from the spawner. This allows the spawner to continue spawning additional units. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandable.html#release_from_spawner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandable.html#release_from_spawner Online documentation} */ release_from_spawner(): void /** * If this commandable is UnitGroup. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandable.html#is_unit_group Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandable.html#is_unit_group Online documentation} */ readonly is_unit_group: boolean /** * If this commandable is Entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandable.html#is_entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandable.html#is_entity Online documentation} */ readonly is_entity: boolean /** * Surface this commandable is on. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandable.html#surface Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandable.html#surface Online documentation} */ readonly surface: LuaSurface /** * Current position of this commandable. * * If commandable is a UnitGroup, this can have different meanings depending on the group state. When the group is gathering, the position is the place of gathering. When the group is moving, the position is the expected position of its members along the path. When the group is attacking, it is the average position of its members. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandable.html#position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandable.html#position Online documentation} */ readonly position: MapPosition /** * The force of this commandable. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandable.html#force Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandable.html#force Online documentation} */ readonly force: LuaForce /** * Unique identifier of this commandable. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandable.html#unique_id Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandable.html#unique_id Online documentation} */ readonly unique_id: uint32 /** * If this commandable has a command assigned. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandable.html#has_command Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandable.html#has_command Online documentation} */ readonly has_command: boolean /** * The command of this commandable, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandable.html#command Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandable.html#command Online documentation} */ readonly command?: Command /** * The distraction command of this commandable, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandable.html#distraction_command Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandable.html#distraction_command Online documentation} */ readonly distraction_command?: Command /** * The unit group this commandable is a member of, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandable.html#parent_group Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandable.html#parent_group Online documentation} */ readonly parent_group?: LuaCommandable /** * The spawner associated with this commandable, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandable.html#spawner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandable.html#spawner Online documentation} */ readonly spawner?: LuaEntity /** * Current moving state of the commandable's behavior - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandable.html#moving_state Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandable.html#moving_state Online documentation} */ readonly moving_state: defines.moving_state /** @@ -1479,49 +1490,49 @@ declare module "factorio:runtime" { * The member must have the same force be on the same surface as the group. * * _Can only be used if this is UnitGroup_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandable.html#add_member Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandable.html#add_member Online documentation} */ add_member(member: LuaCommandable | LuaEntity): void /** * Make this group autonomous. Autonomous groups will automatically attack polluted areas. Autonomous groups aren't considered to be {@link LuaCommandable#is_script_driven script-driven}. * * _Can only be used if this is UnitGroup_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandable.html#set_autonomous Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandable.html#set_autonomous Online documentation} */ set_autonomous(): void /** * Make the group start moving even if some of its members haven't yet arrived. * * _Can only be used if this is UnitGroup_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandable.html#start_moving Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandable.html#start_moving Online documentation} */ start_moving(): void /** * Whether this group is gathering, moving or attacking. * * _Can only be used if this is UnitGroup_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandable.html#state Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandable.html#state Online documentation} */ readonly state: defines.group_state /** * All entity members of this unit group, recursive (if unit group is member of this unit group, its members will be returned here). * * _Can only be used if this is UnitGroup_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandable.html#members Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandable.html#members Online documentation} */ readonly members: LuaEntity[] /** * Non recursively returns all members of this unit group. * * _Can only be used if this is UnitGroup_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandable.html#commandable_members Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandable.html#commandable_members Online documentation} */ readonly commandable_members: LuaCommandable[] /** * Whether this unit group is controlled by a script or by the game engine. This can be changed using {@link LuaCommandable#set_autonomous LuaCommandable::set_autonomous}. Units created by {@link LuaSurface#create_unit_group LuaSurface::create_unit_group} are considered script-driven. * * _Can only be used if this is UnitGroup_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandable.html#is_script_driven Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandable.html#is_script_driven Online documentation} */ readonly is_script_driven: boolean } @@ -1530,13 +1541,13 @@ declare module "factorio:runtime" { * Returns entity object for this commandable. * * _Can only be used if this is Entity_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCommandable.html#entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCommandable.html#entity Online documentation} */ readonly entity: LuaEntity } /** * Control behavior for constant combinators. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaConstantCombinatorControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaConstantCombinatorControlBehavior.html Online documentation} * @noSelf */ export interface LuaConstantCombinatorControlBehavior extends LuaControlBehavior { @@ -1544,35 +1555,35 @@ declare module "factorio:runtime" { * Adds a new logistic section to this constant combinator if possible. * @param group The group to assign this section to. * @returns Logistic section if added. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaConstantCombinatorControlBehavior.html#add_section Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaConstantCombinatorControlBehavior.html#add_section Online documentation} */ add_section(group?: string): LuaLogisticSection | nil /** * Removes the given logistic section if possible. Removal may fail if the section index is out of range or the section is not {@link LuaLogisticSection#is_manual manual}. * @param section_index Index of the section. * @returns Whether section was removed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaConstantCombinatorControlBehavior.html#remove_section Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaConstantCombinatorControlBehavior.html#remove_section Online documentation} */ remove_section(section_index: LogisticSectionIndex): boolean /** * Gets section on the selected index, if it exists. * @param section_index Index of the section. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaConstantCombinatorControlBehavior.html#get_section Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaConstantCombinatorControlBehavior.html#get_section Online documentation} */ get_section(section_index: LogisticSectionIndex): LuaLogisticSection | nil /** * Turns this constant combinator on and off. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaConstantCombinatorControlBehavior.html#enabled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaConstantCombinatorControlBehavior.html#enabled Online documentation} */ enabled: boolean /** * All logistic sections of this constant combinator. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaConstantCombinatorControlBehavior.html#sections Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaConstantCombinatorControlBehavior.html#sections Online documentation} */ readonly sections: LuaLogisticSection[] /** * Amount of logistic sections this constant combinator has. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaConstantCombinatorControlBehavior.html#sections_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaConstantCombinatorControlBehavior.html#sections_count Online documentation} */ readonly sections_count: uint32 /** @@ -1586,12 +1597,12 @@ declare module "factorio:runtime" { } /** * Control behavior for container entities. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaContainerControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaContainerControlBehavior.html Online documentation} */ export interface LuaContainerControlBehavior extends LuaControlBehavior { /** * `true` if this container is sending its content to a circuit network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaContainerControlBehavior.html#read_contents Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaContainerControlBehavior.html#read_contents Online documentation} */ read_contents: boolean read_empty_slots: boolean @@ -1669,7 +1680,7 @@ declare module "factorio:runtime" { | OtherControlSetGuiArrow /** * This is an abstract base class containing the common functionality between {@link LuaPlayer} and entities (see {@link LuaEntity}). When accessing player-related functions through a {@link LuaEntity}, it must refer to a character entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html Online documentation} * @noSelf */ export interface LuaControl { @@ -1678,39 +1689,39 @@ declare module "factorio:runtime" { * * A given {@link defines.inventory} is only meaningful for the corresponding LuaObject type. EG: get_inventory(defines.inventory.character_main) is only meaningful if 'this' is a player character. You may get a value back but if the type of 'this' isn't the type referred to by the {@link defines.inventory} it's almost guaranteed to not be the inventory asked for. * @returns The inventory or `nil` if none with the given index was found. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#get_inventory Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#get_inventory Online documentation} */ get_inventory(inventory: defines.inventory): LuaInventory | nil /** * Get name of inventory. Names match keys of {@link defines.inventory}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#get_inventory_name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#get_inventory_name Online documentation} */ get_inventory_name(inventory: defines.inventory): string | nil /** * The highest index of all inventories this entity can use. Allows iteration over all of them if desired. * @example * for k = 1, entity.get_max_inventory_index() do [...] end - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#get_max_inventory_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#get_max_inventory_index Online documentation} */ get_max_inventory_index(): defines.inventory /** * Gets the main inventory for this character or player if this is a character or player. * @returns The inventory or `nil` if this entity is not a character or player. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#get_main_inventory Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#get_main_inventory Online documentation} */ get_main_inventory(): LuaInventory | nil /** * Can at least some items be inserted? * @param items Items that would be inserted. * @returns `true` if at least a part of the given items could be inserted into this inventory. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#can_insert Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#can_insert Online documentation} */ can_insert(items: ItemStackIdentification): boolean /** * Insert items into this entity. This works the same way as inserters or shift-clicking: the "best" inventory is chosen automatically. * @param items The items to insert. * @returns The number of items that were actually inserted. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#insert Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#insert Online documentation} */ insert(items: ItemStackIdentification): uint32 /** @@ -1723,40 +1734,40 @@ declare module "factorio:runtime" { * - `"position"`: {@link PositionControlSetGuiArrow} * - `"crafting_queue"`: {@link CraftingQueueControlSetGuiArrow} * - `"item_stack"`: {@link ItemStackControlSetGuiArrow} - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#set_gui_arrow Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#set_gui_arrow Online documentation} */ set_gui_arrow(params: ControlSetGuiArrow): void /** * Removes the arrow created by `set_gui_arrow`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#clear_gui_arrow Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#clear_gui_arrow Online documentation} */ clear_gui_arrow(): void /** * Get the number of all or some items in this entity. * @param item The item to count. If not specified, count all items. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#get_item_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#get_item_count Online documentation} */ get_item_count(item?: ItemFilterWrite): uint32 /** * Does this entity have any item inside it? - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#has_items_inside Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#has_items_inside Online documentation} */ has_items_inside(): boolean /** * Can a given entity be opened or accessed? - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#can_reach_entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#can_reach_entity Online documentation} */ can_reach_entity(entity: LuaEntity): boolean /** * Remove all items from this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#clear_items_inside Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#clear_items_inside Online documentation} */ clear_items_inside(): void /** * Remove items from this entity. * @param items The items to remove. * @returns The number of items that were actually removed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#remove_item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#remove_item Online documentation} */ remove_item(items: ItemStackIdentification): uint32 /** @@ -1777,7 +1788,7 @@ declare module "factorio:runtime" { * @param snap_to_grid If false the exact position given is used to instead of snapping to the normal entity grid. This only applies if the entity normally snaps to the grid. * @param build_check_type The build check type done when teleporting to the destination. Defaults to `script`. This is ignored when teleporting between surfaces. * @returns `true` if the entity was successfully teleported. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#teleport Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#teleport Online documentation} */ teleport( position: MapPosition | MapPositionArray, @@ -1793,7 +1804,7 @@ declare module "factorio:runtime" { * ## Raised events * - {@link OnSelectedEntityChangedEvent on_selected_entity_changed}? _instantly_ Raised if there is an entity at the given position to select. * @param position Position of the entity to select. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#update_selected_entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#update_selected_entity Online documentation} */ update_selected_entity(position: MapPosition | MapPositionArray): void /** @@ -1801,33 +1812,33 @@ declare module "factorio:runtime" { * * ## Raised events * - {@link OnSelectedEntityChangedEvent on_selected_entity_changed}? _instantly_ Raised if there is a currently selected entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#clear_selected_entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#clear_selected_entity Online documentation} */ clear_selected_entity(): void /** * Disable the flashlight. * * Applied per controller. Only supported by {@link defines.controllers.character} and {@link defines.controllers.remote}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#disable_flashlight Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#disable_flashlight Online documentation} */ disable_flashlight(): void /** * Enable the flashlight. * * Applied per controller. Only supported by {@link defines.controllers.character} and {@link defines.controllers.remote}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#enable_flashlight Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#enable_flashlight Online documentation} */ enable_flashlight(): void /** * Is the flashlight enabled for the current controller. Only supported by {@link defines.controllers.character} and {@link defines.controllers.remote}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#is_flashlight_enabled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#is_flashlight_enabled Online documentation} */ is_flashlight_enabled(): boolean /** * Gets the count of the given recipe that can be crafted. * @param recipe The recipe. * @returns The count that can be crafted. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#get_craftable_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#get_craftable_count Online documentation} */ get_craftable_count(recipe: RecipeID): uint32 /** @@ -1837,7 +1848,7 @@ declare module "factorio:runtime" { * - {@link OnPrePlayerCraftedItemEvent on_pre_player_crafted_item}? _instantly_ Raised if crafting was able to be started. * - {@link OnPlayerMainInventoryChangedEvent on_player_main_inventory_changed}? _current_tick_ Raised if crafting was able to be started. * @returns The count that was actually started crafting. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#begin_crafting Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#begin_crafting Online documentation} */ begin_crafting(params: { /** @@ -1859,7 +1870,7 @@ declare module "factorio:runtime" { * ## Raised events * - {@link OnPlayerCancelledCraftingEvent on_player_cancelled_crafting}? _instantly_ Raised if crafting was able to be cancelled. * - {@link OnPlayerMainInventoryChangedEvent on_player_main_inventory_changed}? _current_tick_ Raised if crafting was able to be cancelled. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#cancel_crafting Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#cancel_crafting Online documentation} */ cancel_crafting(params: { /** @@ -1881,7 +1892,7 @@ declare module "factorio:runtime" { * @param entity The entity to mine * @param force Forces mining the entity even if the items can't fit in the player. * @returns Whether the mining succeeded. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#mine_entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#mine_entity Online documentation} */ mine_entity(entity: LuaEntity, force?: boolean): boolean /** @@ -1892,57 +1903,57 @@ declare module "factorio:runtime" { * - {@link OnPlayerMinedTileEvent on_player_mined_tile}? _instantly_ Raised if mining is successful. * @param tile The tile to mine. * @returns Whether the mining succeeded. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#mine_tile Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#mine_tile Online documentation} */ mine_tile(tile: LuaTile): boolean /** * When `true` control adapter is a LuaPlayer object, `false` for entities including characters with players. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#is_player Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#is_player Online documentation} */ is_player(): boolean /** * Open the technology GUI and select a given technology. * @param technology The technology to select after opening the GUI. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#open_technology_gui Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#open_technology_gui Online documentation} */ open_technology_gui(technology?: TechnologyID): void /** * Open the Factoriopedia GUI and select a given entry, if any valid ID is given. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#open_factoriopedia_gui Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#open_factoriopedia_gui Online documentation} */ open_factoriopedia_gui(prototype?: FactoriopediaID): void /** * Closes the Factoriopedia GUI if it's open. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#close_factoriopedia_gui Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#close_factoriopedia_gui Online documentation} */ close_factoriopedia_gui(): void /** * Returns whether the player is holding a blueprint. This takes both blueprint items as well as blueprint records from the blueprint library into account. * * Note that both this method refers to the currently selected blueprint, which means that a blueprint book with a selected blueprint will return the information as well. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#is_cursor_blueprint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#is_cursor_blueprint Online documentation} */ is_cursor_blueprint(): boolean /** * Returns whether the player is holding something in the cursor. Takes into account items from the blueprint library, as well as items and ghost cursor. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#is_cursor_empty Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#is_cursor_empty Online documentation} */ is_cursor_empty(): boolean /** * Gets the requester logistic point for this entity if it has one. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#get_requester_point Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#get_requester_point Online documentation} */ get_requester_point(): LuaLogisticPoint | nil /** * Sets if this character or player is driving. Returns if the player or character is still driving. * @param driving True for enter-vehicle, false for leave. * @param force If true, the player will be ejected and left at the position of the car if normal "leave" is not possible. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#set_driving Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#set_driving Online documentation} */ set_driving(driving: boolean, force?: boolean): void /** * Checks if this character or player can build the given entity at the given location on the surface the character or player is on. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#can_place_entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#can_place_entity Online documentation} */ can_place_entity(params: { /** @@ -1960,62 +1971,62 @@ declare module "factorio:runtime" { }): boolean /** * The surface this entity is currently on. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#surface Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#surface Online documentation} */ readonly surface: LuaSurface /** * Unique {@link LuaSurface#index index} (ID) associated with the surface this entity is currently on. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#surface_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#surface_index Online documentation} */ readonly surface_index: SurfaceIndex /** * The current position of the entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#position Online documentation} */ readonly position: MapPosition /** * The current render position of the entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#render_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#render_position Online documentation} */ readonly render_position: MapPosition /** * If this player or character entity is flying. * * When called on an entity, only valid if this entity is a character. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#is_flying Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#is_flying Online documentation} */ readonly is_flying: boolean /** * The current flight height for this player or character entity. * * When called on an entity, only valid if this entity is a character. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#flight_height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#flight_height Online documentation} */ readonly flight_height: double /** * The vehicle the player is currently sitting in. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#vehicle Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#vehicle Online documentation} */ readonly vehicle?: LuaEntity /** * The cargo pod the player is currently sitting in or the cargo pod attached to this rocket silo. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#cargo_pod Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#cargo_pod Online documentation} */ readonly cargo_pod?: LuaEntity /** * The space platform hub the player is currently sitting in. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#hub Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#hub Online documentation} */ readonly hub?: LuaEntity /** * The force of this entity. Reading will always give a {@link LuaForce}, but it is possible to assign either `string`, {@link uint8} or {@link LuaForce} to this attribute to change the force. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#force Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#force Online documentation} */ get force(): LuaForce set force(value: ForceID) /** * Unique {@link LuaForce#index index} (ID) associated with the force of this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#force_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#force_index Online documentation} */ readonly force_index: ForceIndex /** @@ -2023,7 +2034,7 @@ declare module "factorio:runtime" { * * ## Raised events * - {@link OnSelectedEntityChangedEvent on_selected_entity_changed}? _instantly_ Raised when a selectable entity is written to this attribute. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#selected Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#selected Online documentation} */ selected?: LuaEntity /** @@ -2035,7 +2046,7 @@ declare module "factorio:runtime" { * * ## Raised events * - {@link OnGuiOpenedEvent on_gui_opened}? _instantly_ Raised when writing a valid GUI target to this attribute. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#opened Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#opened Online documentation} */ set opened( value: @@ -2054,12 +2065,12 @@ declare module "factorio:runtime" { LuaEntity | LuaEquipment | LuaEquipmentGrid | LuaPlayer | LuaGuiElement | LuaInventory | LuaTechnology | nil /** * Size of the crafting queue. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#crafting_queue_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#crafting_queue_size Online documentation} */ readonly crafting_queue_size: uint32 /** * The crafting queue progress in the range `[0-1]`. `0` when no recipe is being crafted. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#crafting_queue_progress Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#crafting_queue_progress Online documentation} */ crafting_queue_progress: double /** @@ -2067,7 +2078,7 @@ declare module "factorio:runtime" { * @example * -- Make the player go north. Note that a one-shot action like this will only make the player walk for one tick. * game.player.walking_state = {walking = true, direction = defines.direction.north} - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#walking_state Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#walking_state Online documentation} */ walking_state: { /** @@ -2081,14 +2092,14 @@ declare module "factorio:runtime" { } /** * Current riding state of this car, or of the car this player is riding in. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#riding_state Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#riding_state Online documentation} */ riding_state: RidingState /** * Current mining state. Will error if written to with a {@link LuaPlayer#controller_type controller_type} other than `character`, `god`, or `editor`. * * When the player isn't mining tiles the player will mine whatever entity is currently selected. See {@link LuaControl#selected LuaControl::selected} and {@link LuaControl#update_selected_entity LuaControl::update_selected_entity}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#mining_state Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#mining_state Online documentation} */ get mining_state(): { /** @@ -2112,7 +2123,7 @@ declare module "factorio:runtime" { }) /** * Current shooting state. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#shooting_state Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#shooting_state Online documentation} */ get shooting_state(): { /** @@ -2136,12 +2147,12 @@ declare module "factorio:runtime" { }) /** * Current item-picking state. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#picking_state Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#picking_state Online documentation} */ picking_state: boolean /** * Current repair state. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#repair_state Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#repair_state Online documentation} */ get repair_state(): { /** @@ -2169,7 +2180,7 @@ declare module "factorio:runtime" { * For mining drills the number is with the range [0, mining_target.prototype.mineable_properties.mining_time]. * * For all other types the number is 0. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#mining_progress Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#mining_progress Online documentation} */ mining_progress: double /** @@ -2178,20 +2189,20 @@ declare module "factorio:runtime" { * -- Even though this property is marked as read-only, it returns a LuaItemStack, * -- meaning it can be manipulated like so: * player.cursor_stack.clear() - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#cursor_stack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#cursor_stack Online documentation} */ readonly cursor_stack?: LuaItemStack /** * The ghost prototype in the player's cursor. * * Items in the cursor stack will take priority over the cursor ghost. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#cursor_ghost Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#cursor_ghost Online documentation} */ get cursor_ghost(): ItemIDAndQualityIDPair | nil set cursor_ghost(value: ItemWithQualityID | nil) /** * The blueprint record in the player's cursor. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#cursor_record Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#cursor_record Online documentation} */ readonly cursor_record?: LuaRecord /** @@ -2199,142 +2210,142 @@ declare module "factorio:runtime" { * * ## Raised events * - {@link OnPlayerDrivingChangedStateEvent on_player_driving_changed_state}? _instantly_ Raised if the driving state successfully changed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#driving Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#driving Online documentation} */ driving: boolean /** * The current crafting queue items. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#crafting_queue Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#crafting_queue Online documentation} */ readonly crafting_queue?: CraftingQueueItem[] /** * The current combat robots following the character. * * When called on a {@link LuaPlayer}, it must be associated with a character (see {@link LuaPlayer#character LuaPlayer::character}). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#following_robots Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#following_robots Online documentation} */ readonly following_robots: LuaEntity[] /** * When `true` hand crafting is free and instant. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#cheat_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#cheat_mode Online documentation} */ cheat_mode: boolean /** * When called on a {@link LuaPlayer}, it must be associated with a character (see {@link LuaPlayer#character LuaPlayer::character}). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#character_crafting_speed_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#character_crafting_speed_modifier Online documentation} */ character_crafting_speed_modifier: double /** * When called on a {@link LuaPlayer}, it must be associated with a character (see {@link LuaPlayer#character LuaPlayer::character}). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#character_mining_speed_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#character_mining_speed_modifier Online documentation} */ character_mining_speed_modifier: double /** * When called on a {@link LuaPlayer}, it must be associated with a character (see {@link LuaPlayer#character LuaPlayer::character}). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#character_additional_mining_categories Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#character_additional_mining_categories Online documentation} */ character_additional_mining_categories: string[] /** * Modifies the running speed of this character by the given value as a percentage. Setting the running modifier to `0.5` makes the character run 50% faster. The minimum value of `-1` reduces the movement speed by 100%, resulting in a speed of `0`. * * When called on a {@link LuaPlayer}, it must be associated with a character (see {@link LuaPlayer#character LuaPlayer::character}). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#character_running_speed_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#character_running_speed_modifier Online documentation} */ character_running_speed_modifier: double /** * When called on a {@link LuaPlayer}, it must be associated with a character (see {@link LuaPlayer#character LuaPlayer::character}). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#character_build_distance_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#character_build_distance_bonus Online documentation} */ character_build_distance_bonus: uint32 /** * When called on a {@link LuaPlayer}, it must be associated with a character (see {@link LuaPlayer#character LuaPlayer::character}). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#character_item_drop_distance_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#character_item_drop_distance_bonus Online documentation} */ character_item_drop_distance_bonus: uint32 /** * When called on a {@link LuaPlayer}, it must be associated with a character (see {@link LuaPlayer#character LuaPlayer::character}). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#character_reach_distance_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#character_reach_distance_bonus Online documentation} */ character_reach_distance_bonus: uint32 /** * When called on a {@link LuaPlayer}, it must be associated with a character (see {@link LuaPlayer#character LuaPlayer::character}). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#character_resource_reach_distance_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#character_resource_reach_distance_bonus Online documentation} */ character_resource_reach_distance_bonus: uint32 /** * When called on a {@link LuaPlayer}, it must be associated with a character (see {@link LuaPlayer#character LuaPlayer::character}). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#character_item_pickup_distance_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#character_item_pickup_distance_bonus Online documentation} */ character_item_pickup_distance_bonus: uint32 /** * When called on a {@link LuaPlayer}, it must be associated with a character (see {@link LuaPlayer#character LuaPlayer::character}). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#character_loot_pickup_distance_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#character_loot_pickup_distance_bonus Online documentation} */ character_loot_pickup_distance_bonus: uint32 /** * When called on a {@link LuaPlayer}, it must be associated with a character (see {@link LuaPlayer#character LuaPlayer::character}). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#character_inventory_slots_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#character_inventory_slots_bonus Online documentation} */ character_inventory_slots_bonus: uint32 /** * When called on a {@link LuaPlayer}, it must be associated with a character (see {@link LuaPlayer#character LuaPlayer::character}). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#character_trash_slot_count_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#character_trash_slot_count_bonus Online documentation} */ character_trash_slot_count_bonus: uint32 /** * When called on a {@link LuaPlayer}, it must be associated with a character (see {@link LuaPlayer#character LuaPlayer::character}). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#character_maximum_following_robot_count_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#character_maximum_following_robot_count_bonus Online documentation} */ character_maximum_following_robot_count_bonus: uint32 /** * When called on a {@link LuaPlayer}, it must be associated with a character (see {@link LuaPlayer#character LuaPlayer::character}). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#character_health_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#character_health_bonus Online documentation} */ character_health_bonus: float readonly opened_gui_type?: defines.gui_type /** * The build distance of this character or max uint when not a character or player connected to a character. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#build_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#build_distance Online documentation} */ readonly build_distance: uint32 /** * The item drop distance of this character or max uint when not a character or player connected to a character. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#drop_item_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#drop_item_distance Online documentation} */ readonly drop_item_distance: uint32 /** * The reach distance of this character or max uint when not a character or player connected to a character. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#reach_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#reach_distance Online documentation} */ readonly reach_distance: uint32 /** * The item pickup distance of this character or max double when not a character or player connected to a character. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#item_pickup_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#item_pickup_distance Online documentation} */ readonly item_pickup_distance: double /** * The loot pickup distance of this character or max double when not a character or player connected to a character. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#loot_pickup_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#loot_pickup_distance Online documentation} */ readonly loot_pickup_distance: double /** * The resource reach distance of this character or max double when not a character or player connected to a character. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#resource_reach_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#resource_reach_distance Online documentation} */ readonly resource_reach_distance: double /** * Whether this character entity is in combat. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#in_combat Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#in_combat Online documentation} */ readonly in_combat: boolean /** * The current movement speed of this character, including effects from exoskeletons, tiles, stickers and shooting. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#character_running_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#character_running_speed Online documentation} */ readonly character_running_speed: double /** * The current mining progress between 0 and 1 of this character, or 0 if they aren't mining. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControl.html#character_mining_progress Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControl.html#character_mining_progress Online documentation} */ readonly character_mining_progress: double } @@ -2342,84 +2353,84 @@ declare module "factorio:runtime" { * The control behavior for an entity. Inserters have logistic network and circuit network behavior logic, lamps have circuit logic and so on. This is an abstract base class that concrete control behaviors inherit. * * An control reference becomes invalid once the control behavior is removed or the entity (see {@link LuaEntity}) it resides in is destroyed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControlBehavior.html Online documentation} * @noSelf */ export interface LuaControlBehavior { /** * @param wire_connector_id Wire connector to get circuit network for. * @returns The circuit network or nil. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControlBehavior.html#get_circuit_network Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControlBehavior.html#get_circuit_network Online documentation} */ get_circuit_network(wire_connector_id: defines.wire_connector_id): LuaCircuitNetwork | nil /** * Which circuit networks (red/green) to read signals from. Defaults to both wire colors. * * `nil` if this control behavior does not allow selecting the input networks. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControlBehavior.html#input_networks Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControlBehavior.html#input_networks Online documentation} */ input_networks?: CircuitNetworkSelection /** * Which circuit networks (red/green) to send signals to. Defaults to both wire colors. * * `nil` if this control behavior does not allow selecting the output networks. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControlBehavior.html#output_networks Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControlBehavior.html#output_networks Online documentation} */ output_networks?: CircuitNetworkSelection /** * The concrete type of this control behavior. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControlBehavior.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControlBehavior.html#type Online documentation} */ readonly type: defines.control_behavior.type /** * The entity this control behavior belongs to. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaControlBehavior.html#entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaControlBehavior.html#entity Online documentation} */ readonly entity: LuaEntity } /** * A custom tag that shows on the map view. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCustomChartTag.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCustomChartTag.html Online documentation} * @noSelf */ export interface LuaCustomChartTag { /** * Destroys this tag. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCustomChartTag.html#destroy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCustomChartTag.html#destroy Online documentation} */ destroy(): void /** * This tag's icon, if it has one. Writing `nil` removes it. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCustomChartTag.html#icon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCustomChartTag.html#icon Online documentation} */ get icon(): SignalID | nil set icon(value: SignalIDWrite | nil) /** * The player who last edited this tag. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCustomChartTag.html#last_user Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCustomChartTag.html#last_user Online documentation} */ get last_user(): LuaPlayer | nil set last_user(value: PlayerIdentification | nil) /** * The position of this tag. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCustomChartTag.html#position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCustomChartTag.html#position Online documentation} */ get position(): MapPosition set position(value: MapPosition | MapPositionArray) text: string /** * The unique ID for this tag on this force. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCustomChartTag.html#tag_number Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCustomChartTag.html#tag_number Online documentation} */ readonly tag_number: uint32 /** * The force this tag belongs to. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCustomChartTag.html#force Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCustomChartTag.html#force Online documentation} */ readonly force: LuaForce /** * The surface this tag belongs to. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCustomChartTag.html#surface Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCustomChartTag.html#surface Online documentation} */ surface: LuaSurface /** @@ -2433,12 +2444,12 @@ declare module "factorio:runtime" { } /** * Prototype of a custom event. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCustomEventPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCustomEventPrototype.html Online documentation} */ export interface LuaCustomEventPrototype extends LuaPrototypeBase { /** * Event identifier associated with this custom event. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCustomEventPrototype.html#event_id Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCustomEventPrototype.html#event_id Online documentation} */ readonly event_id: EventId /** @@ -2452,72 +2463,72 @@ declare module "factorio:runtime" { } /** * Prototype of a custom input. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCustomInputPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCustomInputPrototype.html Online documentation} */ export interface LuaCustomInputPrototype extends LuaPrototypeBase { /** * Event identifier associated with this custom input. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCustomInputPrototype.html#event_id Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCustomInputPrototype.html#event_id Online documentation} */ readonly event_id: EventId /** * The default key sequence for this custom input. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCustomInputPrototype.html#key_sequence Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCustomInputPrototype.html#key_sequence Online documentation} */ readonly key_sequence: string /** * The default alternative key sequence for this custom input, if any - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCustomInputPrototype.html#alternative_key_sequence Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCustomInputPrototype.html#alternative_key_sequence Online documentation} */ readonly alternative_key_sequence?: string /** * The default controller key sequence for this custom input, if any - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCustomInputPrototype.html#controller_key_sequence Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCustomInputPrototype.html#controller_key_sequence Online documentation} */ readonly controller_key_sequence?: string /** * The default controller alternative key sequence for this custom input, if any - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCustomInputPrototype.html#controller_alternative_key_sequence Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCustomInputPrototype.html#controller_alternative_key_sequence Online documentation} */ readonly controller_alternative_key_sequence?: string /** * The linked game control name, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCustomInputPrototype.html#linked_game_control Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCustomInputPrototype.html#linked_game_control Online documentation} */ readonly linked_game_control?: LinkedGameControl /** * The consuming type. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCustomInputPrototype.html#consuming Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCustomInputPrototype.html#consuming Online documentation} */ readonly consuming: "none" | "game-only" /** * The action that happens when this custom input is triggered. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCustomInputPrototype.html#action Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCustomInputPrototype.html#action Online documentation} */ readonly action: string /** * Whether this custom input is enabled. Disabled custom inputs exist but are not used by the game. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCustomInputPrototype.html#enabled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCustomInputPrototype.html#enabled Online documentation} */ readonly enabled: boolean /** * Whether this custom input is enabled while using the spectator controller. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCustomInputPrototype.html#enabled_while_spectating Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCustomInputPrototype.html#enabled_while_spectating Online documentation} */ readonly enabled_while_spectating: boolean /** * Whether this custom input is enabled while using the cutscene controller. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCustomInputPrototype.html#enabled_while_in_cutscene Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCustomInputPrototype.html#enabled_while_in_cutscene Online documentation} */ readonly enabled_while_in_cutscene: boolean /** * Whether this custom input will include the selected prototype (if any) when triggered. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCustomInputPrototype.html#include_selected_prototype Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCustomInputPrototype.html#include_selected_prototype Online documentation} */ readonly include_selected_prototype: boolean /** * The item that gets spawned when this custom input is fired, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCustomInputPrototype.html#item_to_spawn Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCustomInputPrototype.html#item_to_spawn Online documentation} */ readonly item_to_spawn?: LuaItemPrototype /** @@ -2532,7 +2543,7 @@ declare module "factorio:runtime" { export type CustomTableIndexer = /** * Access an element of this custom table. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCustomTable.html#index_operator Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCustomTable.html#index_operator Online documentation} */ { [P in K]: V @@ -2540,7 +2551,7 @@ declare module "factorio:runtime" { export interface LuaCustomTableMembers { /** * Number of elements in this table. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCustomTable.html#length_operator Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCustomTable.html#length_operator Online documentation} */ readonly length: LuaLengthMethod /** @@ -2577,7 +2588,7 @@ declare module "factorio:runtime" { * @example * -- Custom tables may be iterated using `pairs`. * for _, p in pairs(game.players) do game.player.print(p.name); end - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaCustomTable.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaCustomTable.html Online documentation} */ export type LuaCustomTable< K extends string | number, @@ -2586,7 +2597,7 @@ declare module "factorio:runtime" { > = LuaCustomTableMembers & CustomTableIndexer & LuaPairsIterable /** * Prototype of a damage. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaDamagePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaDamagePrototype.html Online documentation} */ export interface LuaDamagePrototype extends LuaPrototypeBase { /** @@ -2626,13 +2637,13 @@ declare module "factorio:runtime" { * --- * * This class also provides debug session APIs, as the global object `debugadapter` in all stages. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaDebugAdapter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaDebugAdapter.html Online documentation} * @noSelf */ export interface LuaDebugAdapter { /** * Start recording profiler timings. If there is a previous recording session running, it will be stopped first. This function is also available to the DAP client as the request `startProfile`, with the parameter in `argument`. A DAP event `profileRunning` will be emitted regardless of how it was called. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaDebugAdapter.html#start_profile Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaDebugAdapter.html#start_profile Online documentation} */ start_profile(params?: { /** @@ -2642,31 +2653,31 @@ declare module "factorio:runtime" { }): void /** * Stop recording profiler timings and save to script_output. This function is also available to the DAP client as the request `stopProfile`. A DAP event `profileComplete` will be emitted with the path to the saved file, regardless of stop was called. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaDebugAdapter.html#stop_profile Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaDebugAdapter.html#stop_profile Online documentation} */ stop_profile(): void /** * Prepare a default debug view entry for a field, to assist in preparing custom listings. * @param name The name of the field * @param value The value of the field - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaDebugAdapter.html#describe_field Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaDebugAdapter.html#describe_field Online documentation} */ describe_field(name: string, value: Any): DebugVariable /** * Pause execution as if a breakpoint was hit. * @param mesg If specified, this value is displayed as if it was thrown as an error. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaDebugAdapter.html#breakpoint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaDebugAdapter.html#breakpoint Online documentation} */ breakpoint(mesg?: Any): void /** * Print values to the debug console. This function also replaces the Lua builtin `print` during debug sessions. * @param args Values to print - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaDebugAdapter.html#print Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaDebugAdapter.html#print Online documentation} */ print(...args: readonly Any[]): void /** * The value from the `tags` property of the current session's launch request - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaDebugAdapter.html#tags Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaDebugAdapter.html#tags Online documentation} */ readonly tags: AnyBasic /** @@ -2680,91 +2691,91 @@ declare module "factorio:runtime" { } /** * Control behavior for decider combinators. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaDeciderCombinatorControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaDeciderCombinatorControlBehavior.html Online documentation} * @noSelf */ export interface LuaDeciderCombinatorControlBehavior extends LuaCombinatorControlBehavior { /** * Gets the condition at `index`. * @param index Index of condition to get. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaDeciderCombinatorControlBehavior.html#get_condition Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaDeciderCombinatorControlBehavior.html#get_condition Online documentation} */ get_condition(index: uint32): DeciderCombinatorCondition /** * Sets the condition at `index`. * @param index Index of condition to modify. * @param condition Data to set selected condition to. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaDeciderCombinatorControlBehavior.html#set_condition Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaDeciderCombinatorControlBehavior.html#set_condition Online documentation} */ set_condition(index: uint32, condition: DeciderCombinatorConditionWrite): void /** * Adds a new condition. * @param condition New condition to insert. * @param index Index to insert new condition at. If not specified, appends to the end. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaDeciderCombinatorControlBehavior.html#add_condition Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaDeciderCombinatorControlBehavior.html#add_condition Online documentation} */ add_condition(condition: DeciderCombinatorConditionWrite, index?: uint32): void /** * Removes the condition at `index`. * @param index Index of condition to remove. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaDeciderCombinatorControlBehavior.html#remove_condition Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaDeciderCombinatorControlBehavior.html#remove_condition Online documentation} */ remove_condition(index: uint32): void /** * Gets the output at `index`. * @param index Index of output to get. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaDeciderCombinatorControlBehavior.html#get_output Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaDeciderCombinatorControlBehavior.html#get_output Online documentation} */ get_output(index: uint32): DeciderCombinatorOutput /** * Sets the output at `index`. * @param index Index of output to modify. * @param output Data to set selected output to. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaDeciderCombinatorControlBehavior.html#set_output Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaDeciderCombinatorControlBehavior.html#set_output Online documentation} */ set_output(index: uint32, output: DeciderCombinatorOutputWrite): void /** * Adds a new output. * @param output New output to insert. * @param index Index to insert new output at. If not specified, appends to the end. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaDeciderCombinatorControlBehavior.html#add_output Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaDeciderCombinatorControlBehavior.html#add_output Online documentation} */ add_output(output: DeciderCombinatorOutputWrite, index?: uint32): void /** * Removes the output at `index`. * @param index Index of output to remove. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaDeciderCombinatorControlBehavior.html#remove_output Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaDeciderCombinatorControlBehavior.html#remove_output Online documentation} */ remove_output(index: uint32): void /** * Gets the else-output at `index`. * @param index Index of else-output to get. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaDeciderCombinatorControlBehavior.html#get_else_output Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaDeciderCombinatorControlBehavior.html#get_else_output Online documentation} */ get_else_output(index: uint32): DeciderCombinatorOutput /** * Sets the else-output at `index`. * @param index Index of else-output to modify. * @param output Data to set selected else-output to. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaDeciderCombinatorControlBehavior.html#set_else_output Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaDeciderCombinatorControlBehavior.html#set_else_output Online documentation} */ set_else_output(index: uint32, output: DeciderCombinatorOutputWrite): void /** * Adds a new else-output. * @param output New else-output to insert. * @param index Index to insert new else-output at. If not specified, appends to the end. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaDeciderCombinatorControlBehavior.html#add_else_output Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaDeciderCombinatorControlBehavior.html#add_else_output Online documentation} */ add_else_output(output: DeciderCombinatorOutputWrite, index?: uint32): void /** * Removes the else-output at `index`. * @param index Index of else-output to remove. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaDeciderCombinatorControlBehavior.html#remove_else_output Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaDeciderCombinatorControlBehavior.html#remove_else_output Online documentation} */ remove_else_output(index: uint32): void /** * This decider combinator's parameters. Writing `nil` clears the combinator's parameters. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaDeciderCombinatorControlBehavior.html#parameters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaDeciderCombinatorControlBehavior.html#parameters Online documentation} */ get parameters(): DeciderCombinatorParameters | nil set parameters(value: DeciderCombinatorParametersWrite | nil) @@ -2779,22 +2790,22 @@ declare module "factorio:runtime" { } /** * Prototype of an optimized decorative. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaDecorativePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaDecorativePrototype.html Online documentation} */ export interface LuaDecorativePrototype extends LuaPrototypeBase { /** * The bounding box used for collision checking. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaDecorativePrototype.html#collision_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaDecorativePrototype.html#collision_box Online documentation} */ readonly collision_box: BoundingBox /** * The collision masks this decorative uses - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaDecorativePrototype.html#collision_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaDecorativePrototype.html#collision_mask Online documentation} */ readonly collision_mask: CollisionMask /** * Autoplace specification for this decorative prototype, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaDecorativePrototype.html#autoplace_specification Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaDecorativePrototype.html#autoplace_specification Online documentation} */ readonly autoplace_specification?: AutoplaceSpecification readonly render_layer: RenderLayer @@ -2815,7 +2826,7 @@ declare module "factorio:runtime" { } /** * Control behavior for display panels. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaDisplayPanelControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaDisplayPanelControlBehavior.html Online documentation} * @noSelf */ export interface LuaDisplayPanelControlBehavior extends LuaControlBehavior { @@ -2824,47 +2835,47 @@ declare module "factorio:runtime" { * @param message Message record to be added. * @param index Index at which this record should be inserted. Must be within {@link LuaDisplayPanelControlBehavior#records_count 1, [records_count} + 1]. When not provided, record will be appended. * @returns If a message record was added. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaDisplayPanelControlBehavior.html#add_record Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaDisplayPanelControlBehavior.html#add_record Online documentation} */ add_record(message: DisplayPanelMessageDefinitionWrite, index?: uint32): boolean /** * Removes message record at specified index. * @param index Index of the message record to be removed. Must be within {@link LuaDisplayPanelControlBehavior#records_count 1, [records_count}]. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaDisplayPanelControlBehavior.html#remove_record Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaDisplayPanelControlBehavior.html#remove_record Online documentation} */ remove_record(index: uint32): void /** * Moves record from old position to a new position * @param old_index Index where the record to be moved is currently. * @param new_index Index where the record should be moved to. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaDisplayPanelControlBehavior.html#move_record Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaDisplayPanelControlBehavior.html#move_record Online documentation} */ move_record(old_index: uint32, new_index: uint32): void /** * Get a single record. * @param index Index of the record to read. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaDisplayPanelControlBehavior.html#get_record Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaDisplayPanelControlBehavior.html#get_record Online documentation} */ get_record(index: uint32): DisplayPanelMessageDefinition /** * Change content of a specific record. * @param index Index of the record to change - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaDisplayPanelControlBehavior.html#set_record Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaDisplayPanelControlBehavior.html#set_record Online documentation} */ set_record(index: uint32, record: DisplayPanelMessageDefinitionWrite): void /** * Provides a maximum amount of records that can be added to this behavior. When at full capacity, attempts to add more records will fail. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaDisplayPanelControlBehavior.html#max_records_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaDisplayPanelControlBehavior.html#max_records_count Online documentation} */ readonly max_records_count: uint32 /** * Current amount of records this control behavior has. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaDisplayPanelControlBehavior.html#records_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaDisplayPanelControlBehavior.html#records_count Online documentation} */ readonly records_count: uint32 /** * The full list of configured messages. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaDisplayPanelControlBehavior.html#records Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaDisplayPanelControlBehavior.html#records Online documentation} */ get records(): DisplayPanelMessageDefinition[] set records(value: readonly DisplayPanelMessageDefinitionWrite[]) @@ -2879,7 +2890,7 @@ declare module "factorio:runtime" { } /** * Prototype of an electric energy source. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaElectricEnergySourcePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaElectricEnergySourcePrototype.html Online documentation} * @noSelf */ export interface LuaElectricEnergySourcePrototype { @@ -2890,7 +2901,7 @@ declare module "factorio:runtime" { readonly drain: double /** * The table of emissions of this energy source in `pollution/Joule`, indexed by pollutant type. Multiplying it by energy consumption in `Watt` gives `pollution/second`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaElectricEnergySourcePrototype.html#emissions_per_joule Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaElectricEnergySourcePrototype.html#emissions_per_joule Online documentation} */ readonly emissions_per_joule: Record readonly render_no_network_icon: boolean @@ -2910,13 +2921,13 @@ declare module "factorio:runtime" { * Electric networks can be merged together when a power switch is closed and can be split into multiple networks when power switch opens. Similarly turning on or off a global network may merge or split electric networks in a way that follows the expected electricity flows - two sub networks that are not directly or indirectly connected will be put into separate electric networks. * * The electric network is what performs electric flow between entities. It does *not* track connected entities as that's the responsibility of the electric sub network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaElectricNetwork.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaElectricNetwork.html Online documentation} * @noSelf */ export interface LuaElectricNetwork { /** * Gets total energy stored inside of accumulators that are part of any electric sub network covered by this electric network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaElectricNetwork.html#get_accumulators_energy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaElectricNetwork.html#get_accumulators_energy Online documentation} */ get_accumulators_energy(params: { /** @@ -2930,7 +2941,7 @@ declare module "factorio:runtime" { }): EnergyAndCapacityPair /** * Changes energy stored inside of accumulators that are part of any electric sub network covered by this electric network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaElectricNetwork.html#set_accumulators_energy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaElectricNetwork.html#set_accumulators_energy Online documentation} */ set_accumulators_energy(params: { /** @@ -2955,12 +2966,12 @@ declare module "factorio:runtime" { * Statistics for this electric network. * * If the electric network becomes invalid, the flow statistics obtained from it will also become invalid. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaElectricNetwork.html#statistics Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaElectricNetwork.html#statistics Online documentation} */ readonly statistics: LuaFlowStatistics /** * Energy amounts of satisfaction percents related to latest electric network update. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaElectricNetwork.html#flow_last_tick Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaElectricNetwork.html#flow_last_tick Online documentation} */ readonly flow_last_tick: { /** @@ -3068,13 +3079,13 @@ declare module "factorio:runtime" { * Implicit connections (when a power switch is closed, or when an electric pole is built on a surface with global network) do not cause supply groups to merge since they are not copper wire connections. Those connections will cause sub networks to have the same parent electric network causing electricity to be allowed to flow freely between multiple sub networks (electricity produced inside of one sub network that is connected through a power switch to a second sub network will be able to flow into a consumer connected to the second sub network). * * The electric sub network keeps track of connected entities. It does *not* perform electricity flow as that's the responsibility of the electric network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaElectricSubNetwork.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaElectricSubNetwork.html Online documentation} * @noSelf */ export interface LuaElectricSubNetwork { /** * Gets total energy stored inside of accumulators connected to the electric sub network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaElectricSubNetwork.html#get_accumulators_energy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaElectricSubNetwork.html#get_accumulators_energy Online documentation} */ get_accumulators_energy(params: { /** @@ -3088,7 +3099,7 @@ declare module "factorio:runtime" { }): EnergyAndCapacityPair /** * Changes energy stored inside of accumulators connected to the electric sub network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaElectricSubNetwork.html#set_accumulators_energy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaElectricSubNetwork.html#set_accumulators_energy Online documentation} */ set_accumulators_energy(params: { /** @@ -3110,17 +3121,17 @@ declare module "factorio:runtime" { }): void /** * Unique identifier of this electric sub network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaElectricSubNetwork.html#id Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaElectricSubNetwork.html#id Online documentation} */ readonly id: uint32 /** * Parent network to this sub network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaElectricSubNetwork.html#parent_network Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaElectricSubNetwork.html#parent_network Online documentation} */ readonly parent_network: LuaElectricNetwork /** * List of sub networks that are directly connected to this sub network through power switches or because they span over electric poles placed on a surface with global network (all poles on a surface with global network are implicitly connected to global network making their networks neighbour of a global network). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaElectricSubNetwork.html#neighbours Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaElectricSubNetwork.html#neighbours Online documentation} */ readonly neighbours: LuaElectricSubNetwork[] /** @@ -3136,29 +3147,29 @@ declare module "factorio:runtime" { * The primary interface for interacting with entities through the Lua API. Entities are everything that exists on the map except for tiles (see {@link LuaTile}). * * Most functions on LuaEntity also work when the entity is contained in a ghost. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html Online documentation} * @noSelf */ export interface LuaEntity extends LuaControl { /** * Gets the entity's output inventory if it has one. * @returns A reference to the entity's output inventory. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_output_inventory Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_output_inventory Online documentation} */ get_output_inventory(): LuaInventory | nil /** * Inventory for storing modules of this entity; `nil` if this entity has no module inventory. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_module_inventory Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_module_inventory Online documentation} */ get_module_inventory(): LuaInventory | nil /** * The fuel inventory for this entity or `nil` if this entity doesn't have a fuel inventory. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_fuel_inventory Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_fuel_inventory Online documentation} */ get_fuel_inventory(): LuaInventory | nil /** * The burnt result inventory for this entity or `nil` if this entity doesn't have a burnt result inventory. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_burnt_result_inventory Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_burnt_result_inventory Online documentation} */ get_burnt_result_inventory(): LuaInventory | nil /** @@ -3174,12 +3185,12 @@ declare module "factorio:runtime" { * @param source The entity that is directly dealing the damage (e.g. the projectile, flame, sticker, grenade, laser beam, etc.). Needs to be on the same surface as the entity being damaged. * @param cause The entity that originally triggered the events that led to this damage being dealt (e.g. the character, turret, enemy, etc. that pulled the trigger). Does not need to be on the same surface as the entity being damaged. * @returns the total damage actually applied after resistances. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#damage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#damage Online documentation} */ damage(damage: float, force: ForceID, type?: DamageTypeID, source?: LuaEntity, cause?: LuaEntity): float /** * Whether the entity can be destroyed - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#can_be_destroyed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#can_be_destroyed Online documentation} */ can_be_destroyed(): boolean /** @@ -3190,7 +3201,7 @@ declare module "factorio:runtime" { * ## Raised events * - {@link ScriptRaisedDestroyEvent script_raised_destroy}? _instantly_ Raised if the `raise_destroy` flag was set and the entity was successfully destroyed. * @returns Returns `false` if the entity was valid and destruction failed, `true` in all other cases. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#destroy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#destroy Online documentation} */ destroy(params?: { /** @@ -3224,7 +3235,7 @@ declare module "factorio:runtime" { * @example * -- This function can be called with only the `cause` argument and no `force`: * entity.die(nil, killer_entity) - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#die Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#die Online documentation} */ die(force?: ForceID, cause?: LuaEntity): boolean /** @@ -3233,7 +3244,7 @@ declare module "factorio:runtime" { * `entity.has_flag(f)` is a shortcut for `entity.prototype.has_flag(f)`. * @param flag The flag to test. * @returns `true` if this entity has the given flag set. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#has_flag Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#has_flag Online documentation} */ has_flag(flag: EntityPrototypeFlag): boolean /** @@ -3242,7 +3253,7 @@ declare module "factorio:runtime" { * _Can only be used if this is EntityGhost_ * @param flag The flag to test. * @returns `true` if the entity has the given flag set. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#ghost_has_flag Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#ghost_has_flag Online documentation} */ ghost_has_flag(flag: EntityPrototypeFlag): boolean /** @@ -3255,7 +3266,7 @@ declare module "factorio:runtime" { * @example * -- Adds market offer, 1 copper ore for 5 iron ore and 5 stone ore * market.add_market_item{price={{name = "iron-ore", count = 5}, {name = "stone", count = 5}}, offer={type="give-item", item="copper-ore"}} - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#add_market_item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#add_market_item Online documentation} */ add_market_item(offer: Offer): void /** @@ -3266,21 +3277,21 @@ declare module "factorio:runtime" { * _Can only be used if this is Market_ * @param offer Index of offer to remove. * @returns `true` if the offer was successfully removed; `false` when the given index was not valid. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#remove_market_item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#remove_market_item Online documentation} */ remove_market_item(offer: uint32): boolean /** * Get all offers in a market as an array. * * _Can only be used if this is Market_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_market_items Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_market_items Online documentation} */ get_market_items(): Offer[] /** * Removes all offers from a market. * * _Can only be used if this is Market_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#clear_market_items Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#clear_market_items Online documentation} */ clear_market_items(): void /** @@ -3292,7 +3303,7 @@ declare module "factorio:runtime" { * @param player The player to set the last_user to, if any. Also the player whose undo queue this action should be added to. * @param undo_index The index of the undo item to add this action to. An index of `0` creates a new undo item for it. An index of `1` adds the action to the latest undo action on the stack. Defaults to putting it into the appropriate undo item automatically if one is not specified. * @returns if the entity was marked for deconstruction. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#order_deconstruction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#order_deconstruction Online documentation} */ order_deconstruction(force: ForceID, player?: PlayerIdentification, undo_index?: uint32): boolean /** @@ -3302,12 +3313,12 @@ declare module "factorio:runtime" { * - {@link OnCancelledDeconstructionEvent on_cancelled_deconstruction}? _instantly_ Raised if the entity's deconstruction was successfully cancelled. * @param force The force who did the deconstruction order. * @param player The player to set the `last_user` to if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#cancel_deconstruction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#cancel_deconstruction Online documentation} */ cancel_deconstruction(force: ForceID, player?: PlayerIdentification): void /** * Is this entity marked for deconstruction? - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#to_be_deconstructed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#to_be_deconstructed Online documentation} */ to_be_deconstructed(): boolean /** @@ -3316,7 +3327,7 @@ declare module "factorio:runtime" { * ## Raised events * - {@link OnMarkedForUpgradeEvent on_marked_for_upgrade}? _instantly_ Raised if the entity was successfully marked for upgrade. * @returns Whether the entity was marked for upgrade. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#order_upgrade Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#order_upgrade Online documentation} */ order_upgrade(params: { /** @@ -3344,12 +3355,12 @@ declare module "factorio:runtime" { * @param force The force who did the upgrade order. * @param player The player to set the last_user to if any. * @returns Whether the cancel was successful. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#cancel_upgrade Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#cancel_upgrade Online documentation} */ cancel_upgrade(force: ForceID, player?: PlayerIdentification): boolean /** * Is this entity marked for upgrade? - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#to_be_upgraded Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#to_be_upgraded Online documentation} */ to_be_upgraded(): boolean /** @@ -3362,7 +3373,7 @@ declare module "factorio:runtime" { * @param buffer If provided - any items left over from the upgrade are put into this inventory. * @returns The first upgraded entity - `nil` if this entity is not marked for upgrade. * @returns When upgrading underground belts, the other underground belt end that was also upgraded - `nil` if this entity is not marked for upgrade. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#apply_upgrade Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#apply_upgrade Online documentation} */ apply_upgrade( override_target?: EntityWithQualityID, @@ -3372,44 +3383,44 @@ declare module "factorio:runtime" { * Returns whether a craft is currently in process. It does not indicate whether progress is currently being made, but whether a crafting process has been started in this machine. * * _Can only be used if this is CraftingMachine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#is_crafting Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#is_crafting Online documentation} */ is_crafting(): boolean /** * _Can only be used if this is Gate_ * @returns `true` if this gate is currently opened. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#is_opened Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#is_opened Online documentation} */ is_opened(): boolean /** * _Can only be used if this is Gate_ * @returns `true` if this gate is currently opening. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#is_opening Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#is_opening Online documentation} */ is_opening(): boolean /** * _Can only be used if this is Gate_ * @returns `true` if this gate is currently closed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#is_closed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#is_closed Online documentation} */ is_closed(): boolean /** * _Can only be used if this is Gate_ * @returns `true` if this gate is currently closing - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#is_closing Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#is_closing Online documentation} */ is_closing(): boolean /** * _Can only be used if this is Gate_ * @param force The force that requests the gate to be open. * @param extra_time Extra ticks to stay open. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#request_to_open Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#request_to_open Online documentation} */ request_to_open(force: ForceID, extra_time?: uint32): void /** * _Can only be used if this is Gate_ * @param force The force that requests the gate to be closed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#request_to_close Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#request_to_close Online documentation} */ request_to_close(force: ForceID): void /** @@ -3417,7 +3428,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is TransportBeltConnectable_ * @param index Index of the requested transport line. Transport lines are 1-indexed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_transport_line Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_transport_line Online documentation} */ get_transport_line(index: defines.transport_line): LuaTransportLine /** @@ -3428,7 +3439,7 @@ declare module "factorio:runtime" { * @param mirrored When inserting at position exactly in between lines, mirroring is used to choose line. * @returns Index of the transport line that is closest to the provided map position. * @returns Position along the transport line where item should be dropped. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_item_insert_specification Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_item_insert_specification Online documentation} */ get_item_insert_specification( position: MapPosition | MapPositionArray, @@ -3440,14 +3451,14 @@ declare module "factorio:runtime" { * _Can only be used if this is TransportBeltConnectable_ * @param index Index of the transport line. Transport lines are 1-indexed. * @param position Linear position along the transport line. Clamped to the transport line range. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_line_item_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_line_item_position Online documentation} */ get_line_item_position(index: defines.transport_line, position: float): MapPosition /** * Get the maximum transport line index of a belt or belt connectable entity. * * _Can only be used if this is TransportBeltConnectable_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_max_transport_line_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_max_transport_line_index Online documentation} */ get_max_transport_line_index(): defines.transport_line /** @@ -3457,7 +3468,7 @@ declare module "factorio:runtime" { * _Can only be used if this is RocketSilo_ * @param character If provided, must be of `character` type. * @returns `true` if the rocket was successfully launched. Return value of `false` means the silo is not ready for launch. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#launch_rocket Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#launch_rocket Online documentation} */ launch_rocket(destination?: CargoDestinationWrite, character?: LuaEntity): boolean /** @@ -3471,7 +3482,7 @@ declare module "factorio:runtime" { * @returns Any items the new real entity collided with or `nil` if the ghost could not be revived. * @returns The revived entity if an entity ghost was successfully revived. * @returns The item request proxy if one was created. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#revive Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#revive Online documentation} */ revive(params?: { /** @@ -3494,7 +3505,7 @@ declare module "factorio:runtime" { * @returns Any items the new real entity collided with or `nil` if the ghost could not be revived. * @returns The revived entity if an entity ghost was successfully revived. * @returns The item request proxy if one was created. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#silent_revive Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#silent_revive Online documentation} */ silent_revive(params?: { /** @@ -3511,7 +3522,7 @@ declare module "factorio:runtime" { * @returns Rail connected in the specified manner to this one, `nil` if unsuccessful. * @returns Rail direction of the returned rail which points to origin rail * @returns Turn to be taken when going back from returned rail to origin rail - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_connected_rail Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_connected_rail Online documentation} */ get_connected_rail(params: { readonly rail_direction: defines.rail_direction @@ -3521,7 +3532,7 @@ declare module "factorio:runtime" { * Get the rails that this signal is connected to. * * _Can only be used if this is RailSignal or RailChainSignal_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_connected_rails Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_connected_rails Online documentation} */ get_connected_rails(): LuaEntity[] /** @@ -3533,7 +3544,7 @@ declare module "factorio:runtime" { * @param direction The direction of travel relative to this rail. * @param in_else_out If true, gets the signal at the entrance of the rail segment, otherwise gets the signal at the exit of the rail segment. * @returns `nil` if the rail segment doesn't start/end with a signal. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_rail_segment_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_rail_segment_signal Online documentation} */ get_rail_segment_signal(direction: defines.rail_direction, in_else_out: boolean): LuaEntity | nil /** @@ -3544,7 +3555,7 @@ declare module "factorio:runtime" { * _Can only be used if this is Rail_ * @param direction The direction of travel relative to this rail. * @returns `nil` if the rail segment doesn't start/end with a train stop. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_rail_segment_stop Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_rail_segment_stop Online documentation} */ get_rail_segment_stop(direction: defines.rail_direction): LuaEntity | nil /** @@ -3555,7 +3566,7 @@ declare module "factorio:runtime" { * _Can only be used if this is Rail_ * @returns The rail entity. * @returns A rail direction pointing out of the rail segment from the end rail. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_rail_segment_end Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_rail_segment_end Online documentation} */ get_rail_segment_end(direction: defines.rail_direction): LuaMultiReturn<[LuaEntity, defines.rail_direction]> /** @@ -3566,7 +3577,7 @@ declare module "factorio:runtime" { * _Can only be used if this is Rail_ * @param direction Selects end of this rail that points to a rail segment end from which to start returning rails * @returns Rails of this rail segment - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_rail_segment_rails Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_rail_segment_rails Online documentation} */ get_rail_segment_rails(direction: defines.rail_direction): LuaEntity[] /** @@ -3575,7 +3586,7 @@ declare module "factorio:runtime" { * A rail segment is a continuous section of rail with no branches, signals, nor train stops. * * _Can only be used if this is Rail_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_rail_segment_length Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_rail_segment_length Online documentation} */ get_rail_segment_length(): double /** @@ -3584,63 +3595,63 @@ declare module "factorio:runtime" { * A rail segment is a continuous section of rail with no branches, signals, nor train stops. * * _Can only be used if this is Rail_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_rail_segment_overlaps Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_rail_segment_overlaps Online documentation} */ get_rail_segment_overlaps(): LuaEntity[] /** * Checks if this rail and other rail both belong to the same rail segment. * * _Can only be used if this is Rail_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#is_rail_in_same_rail_segment_as Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#is_rail_in_same_rail_segment_as Online documentation} */ is_rail_in_same_rail_segment_as(other_rail: LuaEntity): boolean /** * Checks if this rail and other rail both belong to the same rail block. * * _Can only be used if this is Rail_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#is_rail_in_same_rail_block_as Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#is_rail_in_same_rail_block_as Online documentation} */ is_rail_in_same_rail_block_as(other_rail: LuaEntity): boolean /** * Returns all parent signals. Parent signals are always RailChainSignal. Parent signals are those signals that are checking state of this signal to determine their own chain state. * * _Can only be used if this is RailSignal or RailChainSignal_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_parent_signals Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_parent_signals Online documentation} */ get_parent_signals(): LuaEntity[] /** * Returns all child signals. Child signals can be either RailSignal or RailChainSignal. Child signals are signals which are checked by this signal to determine a chain state. * * _Can only be used if this is RailChainSignal_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_child_signals Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_child_signals Online documentation} */ get_child_signals(): LuaEntity[] /** * Returns all signals guarding entrance to a rail block this rail belongs to. * * _Can only be used if this is Rail_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_inbound_signals Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_inbound_signals Online documentation} */ get_inbound_signals(): LuaEntity[] /** * Returns all signals guarding exit from a rail block this rail belongs to. * * _Can only be used if this is Rail_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_outbound_signals Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_outbound_signals Online documentation} */ get_outbound_signals(): LuaEntity[] /** * Get the filter for a slot in an inserter, loader, mining drill, asteroid collector, or logistic storage container. The entity must allow filters. * @param slot_index Index of the slot to get the filter for. * @returns The filter, or `nil` if the given slot has no filter. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_filter Online documentation} */ get_filter(slot_index: uint32): ItemFilter | LuaEntityPrototype | LuaAsteroidChunkPrototype | nil /** * Set the filter for a slot in an inserter (ItemFilter), loader (ItemFilter), mining drill (EntityID), asteroid collector (AsteroidChunkID) or logistic storage container (ItemWithQualityID). The entity must allow filters. * @param index Index of the slot to set the filter for. * @param filter The item or entity to filter, or `nil` to clear the filter. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#set_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#set_filter Online documentation} */ set_filter(index: uint32, filter?: ItemFilterWrite | ItemWithQualityID | EntityID | AsteroidChunkID): void /** @@ -3648,7 +3659,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is InfinityContainer or InfinityCargoWagon_ * @param index The index to get. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_infinity_container_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_infinity_container_filter Online documentation} */ get_infinity_container_filter(index: uint32): InfinityInventoryFilter | nil /** @@ -3657,14 +3668,14 @@ declare module "factorio:runtime" { * _Can only be used if this is InfinityContainer or InfinityCargoWagon_ * @param index The index to set. * @param filter The new filter, or `nil` to clear the filter. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#set_infinity_container_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#set_infinity_container_filter Online documentation} */ set_infinity_container_filter(index: uint32, filter: InfinityInventoryFilterWrite | nil): void /** * Gets the filter for this infinity pipe, or `nil` if the filter is empty. * * _Can only be used if this is InfinityPipe_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_infinity_pipe_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_infinity_pipe_filter Online documentation} */ get_infinity_pipe_filter(): InfinityPipeFilter | nil /** @@ -3672,14 +3683,14 @@ declare module "factorio:runtime" { * * _Can only be used if this is InfinityPipe_ * @param filter The new filter, or `nil` to clear the filter. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#set_infinity_pipe_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#set_infinity_pipe_filter Online documentation} */ set_infinity_pipe_filter(filter: InfinityPipeFilter | nil): void /** * Gets the heat setting for this heat interface. * * _Can only be used if this is HeatInterface_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_heat_setting Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_heat_setting Online documentation} */ get_heat_setting(): HeatSetting /** @@ -3687,25 +3698,25 @@ declare module "factorio:runtime" { * * _Can only be used if this is HeatInterface_ * @param filter The new setting. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#set_heat_setting Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#set_heat_setting Online documentation} */ set_heat_setting(filter: HeatSetting): void /** * Gets the control behavior of the entity (if any). * @returns The control behavior or `nil`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_control_behavior Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_control_behavior Online documentation} */ get_control_behavior(): LuaControlBehavior | nil /** * Gets (and or creates if needed) the control behavior of the entity. * @returns The control behavior or `nil`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_or_create_control_behavior Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_or_create_control_behavior Online documentation} */ get_or_create_control_behavior(): LuaControlBehavior | nil /** * @param wire_connector_id Wire connector to get circuit network for. * @returns The circuit network or nil. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_circuit_network Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_circuit_network Online documentation} */ get_circuit_network(wire_connector_id: defines.wire_connector_id): LuaCircuitNetwork | nil /** @@ -3714,7 +3725,7 @@ declare module "factorio:runtime" { * @param wire_connector_id Wire connector ID from which to get the signal * @param extra_wire_connector_id Additional wire connector ID. If specified, signal will be added to the result * @returns The current value of the signal. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_signal Online documentation} */ get_signal( signal: SignalIDWrite, @@ -3726,7 +3737,7 @@ declare module "factorio:runtime" { * @param wire_connector_id Wire connector ID from which to get the signal * @param extra_wire_connector_id Additional wire connector ID. If specified, signals will be added to the result * @returns Current values of all signals. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_signals Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_signals Online documentation} */ get_signals( wire_connector_id: defines.wire_connector_id, @@ -3739,25 +3750,25 @@ declare module "factorio:runtime" { * * `nil` if entity has no circuit connector with provided identifier. * @param tick_of_last_check Value of {@link LuaGameScript#tick LuaGameScript::tick} of the previous check. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_signals_changed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_signals_changed Online documentation} */ get_signals_changed(wire_connector_id: defines.wire_connector_id, tick_of_last_check?: MapTick): boolean | nil /** * Whether this entity supports a backer name. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#supports_backer_name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#supports_backer_name Online documentation} */ supports_backer_name(): boolean /** * Copies settings from the given entity onto this entity. * @param by_player If provided, the copying is done 'as' this player and {@link OnEntitySettingsPastedEvent on_entity_settings_pasted} is triggered. * @returns Any items removed from this entity as a result of copying the settings. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#copy_settings Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#copy_settings Online documentation} */ copy_settings(entity: LuaEntity, by_player?: PlayerIdentification): ItemWithQualityCount[] /** * Gets all the `LuaLogisticPoint`s that this entity owns. Optionally returns only the point specified by the index parameter. * @param index If provided, this method only returns the `LuaLogisticPoint` specified by this index, or `nil` if it doesn't exist. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_logistic_point Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_logistic_point Online documentation} */ get_logistic_point(index: defines.logistic_member_index): LuaLogisticPoint | nil get_logistic_point(): Record | nil @@ -3766,7 +3777,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is ProgrammableSpeaker_ * @returns Whether the request is valid. The sound may or may not be played depending on polyphony settings. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#play_note Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#play_note Online documentation} */ play_note(instrument: uint32, note: uint32, stop_playing_sounds?: boolean): boolean /** @@ -3774,7 +3785,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is RollingStock_ * @returns Whether any connection was made - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#connect_rolling_stock Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#connect_rolling_stock Online documentation} */ connect_rolling_stock(direction: defines.rail_direction): boolean /** @@ -3782,12 +3793,12 @@ declare module "factorio:runtime" { * * _Can only be used if this is RollingStock_ * @returns If anything was disconnected - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#disconnect_rolling_stock Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#disconnect_rolling_stock Online documentation} */ disconnect_rolling_stock(direction: defines.rail_direction): boolean /** * Reconnect loader, beacon, cliff and mining drill connections to entities that might have been teleported out or in by the script. The game doesn't do this automatically as we don't want to lose performance by checking this in normal games. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#update_connections Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#update_connections Online documentation} */ update_connections(): void /** @@ -3796,7 +3807,7 @@ declare module "factorio:runtime" { * _Can only be used if this is CraftingMachine_ * @returns * @returns - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_recipe Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_recipe Online documentation} */ get_recipe(): LuaMultiReturn<[LuaRecipe | nil, LuaQualityPrototype | nil]> /** @@ -3806,7 +3817,7 @@ declare module "factorio:runtime" { * @param recipe The new recipe. Writing `nil` clears the recipe, if any. * @param quality The quality. If not provided `normal` is used. * @returns Any items removed from this entity as a result of setting the recipe. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#set_recipe Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#set_recipe Online documentation} */ set_recipe(recipe?: RecipeID, quality?: QualityID): ItemWithQualityCount[] /** @@ -3815,7 +3826,7 @@ declare module "factorio:runtime" { * ## Raised events * - {@link OnPlayerRotatedEntityEvent on_player_rotated_entity}? _instantly_ Raised if the `by_player` argument was given and the rotation was successful. * @returns Whether the rotation was successful. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#rotate Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#rotate Online documentation} */ rotate(params?: { /** @@ -3830,7 +3841,7 @@ declare module "factorio:runtime" { * ## Raised events * - {@link OnPlayerFlippedEntityEvent on_player_flipped_entity}? _instantly_ Raised if the `by_player` argument was given and the flip was successful. * @returns Whether the flip was successful. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#flip Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#flip Online documentation} */ flip(params: { readonly horizontal: boolean; readonly by_player?: PlayerIdentification }): boolean /** @@ -3838,7 +3849,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is Vehicle_ * @returns `nil` if the vehicle contains no driver. To check if there's a passenger see {@link LuaEntity#get_passenger LuaEntity::get_passenger}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_driver Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_driver Online documentation} */ get_driver(): LuaEntity | LuaPlayer | nil /** @@ -3851,7 +3862,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is Vehicle_ * @param driver The new driver. Writing `nil` ejects the current driver, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#set_driver Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#set_driver Online documentation} */ set_driver(driver: LuaEntity | PlayerIdentification | nil): void /** @@ -3861,7 +3872,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is Car, SpiderVehicle or CargoPod_ * @returns `nil` if the vehicle contains no passenger. To check if there's a driver see {@link LuaEntity#get_driver LuaEntity::get_driver}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_passenger Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_passenger Online documentation} */ get_passenger(): LuaEntity | LuaPlayer | nil /** @@ -3874,26 +3885,26 @@ declare module "factorio:runtime" { * * _Can only be used if this is Car, SpiderVehicle or CargoPod_ * @param passenger The new passenger. Writing `nil` ejects the current passenger, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#set_passenger Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#set_passenger Online documentation} */ set_passenger(passenger: LuaEntity | PlayerIdentification | nil): void /** * Returns `true` if this entity produces or consumes electricity and is connected to an electric network that has at least one entity that can produce power. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#is_connected_to_electric_network Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#is_connected_to_electric_network Online documentation} */ is_connected_to_electric_network(): boolean /** * The trains scheduled to stop at this train stop. * * _Can only be used if this is TrainStop_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_train_stop_trains Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_train_stop_trains Online documentation} */ get_train_stop_trains(): LuaTrain[] /** * The train currently stopped at this train stop, if any. * * _Can only be used if this is TrainStop_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_stopped_train Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_stopped_train Online documentation} */ get_stopped_train(): LuaTrain | nil /** @@ -3902,7 +3913,7 @@ declare module "factorio:runtime" { * ## Raised events * - {@link OnEntityClonedEvent on_entity_cloned}? _instantly_ Raised if the entity was successfully cloned. * @returns The cloned entity or `nil` if this entity can't be cloned/can't be cloned to the given location. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#clone Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#clone Online documentation} */ clone(params: { /** @@ -3924,7 +3935,7 @@ declare module "factorio:runtime" { * * If information about fluid temperatures is required, {@link LuaEntity#get_fluid LuaEntity::get_fluid} should be used instead. * @param fluid Prototype name of the fluid to count. If not specified, count all fluids. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_fluid_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_fluid_count Online documentation} */ get_fluid_count(fluid?: string): FluidAmount /** @@ -3932,19 +3943,19 @@ declare module "factorio:runtime" { * * If information about fluid temperatures is required, {@link LuaEntity#get_fluid LuaEntity::get_fluid} should be used instead. * @returns The amounts, indexed by fluid names. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_fluid_contents Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_fluid_contents Online documentation} */ get_fluid_contents(): Record /** * Clears all fluids in this entity but will not clear fluids in any fluid segments fluidboxes may be part of. * @returns The fluids removed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#clear_fluids Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#clear_fluids Online documentation} */ clear_fluids(): Fluid[] /** * Gets the fluid in the entity's given fluid storage if one exists. * @returns The fluid in this storage. `nil` if fluid storage is empty. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_fluid Online documentation} */ get_fluid(index: FluidStorageIndex): Fluid | nil /** @@ -3952,7 +3963,7 @@ declare module "factorio:runtime" { * * Fluid filters may block setting the fluid, or less fluid may be set if it's more than the maximum capacity. * @returns How much of the given fluid was actually set. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#set_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#set_fluid Online documentation} */ set_fluid(index: FluidStorageIndex, fluid: Fluid): FluidAmount /** @@ -3960,24 +3971,24 @@ declare module "factorio:runtime" { * * If the current fluid conflicts or the current filter conflicts the fluid may not be added. * @returns The amount of fluid added. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#add_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#add_fluid Online documentation} */ add_fluid(index: FluidStorageIndex, fluid: Fluid): FluidAmount /** * Removes the given fluid amount from the entity's given fluid storage if possible. * @returns The fluid removed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#remove_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#remove_fluid Online documentation} */ remove_fluid(index: FluidStorageIndex, amount: FluidAmount): Fluid | nil /** * Removes all fluid from the entity's given fluid storage if possible. * @returns The fluid cleared. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#clear_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#clear_fluid Online documentation} */ clear_fluid(index: FluidStorageIndex): Fluid | nil /** * Get a fluidbox filter, such as the filter of a pump. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_fluid_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_fluid_filter Online documentation} */ get_fluid_filter(index: FluidStorageIndex): LuaFluidPrototype | nil /** @@ -3985,27 +3996,27 @@ declare module "factorio:runtime" { * * Some entities cannot have their fluidbox filter set, notably fluid wagons and crafting machines. * @returns Whether the filter was set. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#set_fluid_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#set_fluid_filter Online documentation} */ set_fluid_filter(index: FluidStorageIndex, filter?: FluidID): boolean /** * Gets the maximum capacity of the entity's given fluid storage. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_fluid_capacity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_fluid_capacity Online documentation} */ get_fluid_capacity(index: FluidStorageIndex): FluidAmount /** * The prototype of the entity's given fluid storage if one exists. If this is used on a fluidbox of a crafting machine which due to recipe was created by merging multiple prototypes, a table of prototypes that were merged will be returned instead For storages on entities that have fluid storage but no prototype for those storages (fluid wagons, and fluid turrets) this returns `nil`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_fluid_box_prototype Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_fluid_box_prototype Online documentation} */ get_fluid_box_prototype(index: FluidStorageIndex): LuaFluidBoxPrototype | LuaFluidBoxPrototype[] | nil /** * The entities the given fluidbox is connected to. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_fluid_box_neighbours Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_fluid_box_neighbours Online documentation} */ get_fluid_box_neighbours(index: FluidStorageIndex): FluidBoxNeighbourRecord[] | nil /** * Get the given connections and associated data of the fluidbox. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_fluid_box_pipe_connections Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_fluid_box_pipe_connections Online documentation} */ get_fluid_box_pipe_connections(index: FluidStorageIndex): PipeConnection[] | nil /** @@ -4016,7 +4027,7 @@ declare module "factorio:runtime" { * Every fluidbox connection that was defined in prototypes as connection_type=="linked" may be linked to at most 1 other fluidbox. When trying to connect already used connection, previous connection will be removed. * * Linked connections cannot go to the same entity even if they would be part of other fluidbox. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#add_fluid_box_linked_connection Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#add_fluid_box_linked_connection Online documentation} */ add_fluid_box_linked_connection( this_linked_connection_id: uint32, @@ -4025,68 +4036,68 @@ declare module "factorio:runtime" { ): void /** * Removes linked fluidbox connection record. If connected, other end will be also removed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#remove_fluid_box_linked_connection Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#remove_fluid_box_linked_connection Online documentation} */ remove_fluid_box_linked_connection(this_linked_connection_id: uint32): void /** * Returns other end of a linked fluidbox connection. * @returns Other entity to which a linked fluidbox connection was made * @returns linked_connection_id on other entity - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_fluid_box_linked_connection Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_fluid_box_linked_connection Online documentation} */ get_fluid_box_linked_connection(this_linked_connection_id: uint32): LuaMultiReturn<[LuaEntity | nil, uint32 | nil]> /** * Returns list of all linked fluidbox connections registered for this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_fluid_box_linked_connections Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_fluid_box_linked_connections Online documentation} */ get_fluid_box_linked_connections(): FluidBoxConnectionRecord[] /** * Whether the given fluid storage has a fluid segment. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#has_fluid_segment Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#has_fluid_segment Online documentation} */ has_fluid_segment(index: FluidStorageIndex): boolean /** * The fluid within the given storage's fluid segment. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_fluid_segment_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_fluid_segment_fluid Online documentation} */ get_fluid_segment_fluid(index: FluidStorageIndex): Fluid | nil /** * Sets the fluid within the given storage's fluid segment. * @returns The amount of fluid set. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#set_fluid_segment_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#set_fluid_segment_fluid Online documentation} */ set_fluid_segment_fluid(index: FluidStorageIndex, fluid: Fluid): FluidAmount /** * Adds the given fluid to the given storage's fluid segment if possible. * @returns The amount of fluid added. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#add_fluid_segment_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#add_fluid_segment_fluid Online documentation} */ add_fluid_segment_fluid(index: FluidStorageIndex, fluid: Fluid): FluidAmount /** * Clears the given fluid storage's fluid segment. * @returns The fluid cleared. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#clear_fluid_segment_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#clear_fluid_segment_fluid Online documentation} */ clear_fluid_segment_fluid(index: FluidStorageIndex): Fluid | nil /** * Removes the given fluid amount from the given storage's fluid segment if possible. * @returns The fluid removed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#remove_fluid_segment_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#remove_fluid_segment_fluid Online documentation} */ remove_fluid_segment_fluid(index: FluidStorageIndex, amount: FluidAmount): Fluid | nil /** * Gets the filter of the given fluid storage's segment. The filter is based on the filters set on the fluidboxes of the segment, so it can't be set directly on the segment. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_fluid_segment_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_fluid_segment_filter Online documentation} */ get_fluid_segment_filter(index: FluidStorageIndex): LuaFluidPrototype | nil /** * Gets the maximum capacity of the given fluid storage's segment. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_fluid_segment_capacity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_fluid_segment_capacity Online documentation} */ get_fluid_segment_capacity(index: FluidStorageIndex): FluidAmount /** * Gets the current extent bounding box of of the given fluid storage's segment. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_fluid_segment_extent_bounding_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_fluid_segment_extent_bounding_box Online documentation} */ get_fluid_segment_extent_bounding_box(index: FluidStorageIndex): BoundingBox get_fluid_segment_id(index: FluidStorageIndex): uint32 @@ -4094,7 +4105,7 @@ declare module "factorio:runtime" { * Insert fluid into this entity. Fluidbox is chosen automatically. * @param fluid Fluid to insert. * @returns Amount of fluid actually inserted. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#insert_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#insert_fluid Online documentation} */ insert_fluid(fluid: Fluid): FluidAmount /** @@ -4102,7 +4113,7 @@ declare module "factorio:runtime" { * * If temperature is given only fluid matching that exact temperature is removed. If minimum and maximum is given fluid within that range is removed. * @returns Amount of fluid actually removed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#extract_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#extract_fluid Online documentation} */ extract_fluid(params: { /** @@ -4119,94 +4130,94 @@ declare module "factorio:runtime" { }): FluidAmount /** * Remove all fluids from this entity and connected fluid segments. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#clear_fluid_inside Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#clear_fluid_inside Online documentation} */ clear_fluid_inside(): void /** * Get the source of this beam. * * _Can only be used if this is Beam_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_beam_source Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_beam_source Online documentation} */ get_beam_source(): BeamTarget | nil /** * Set the source of this beam. * * _Can only be used if this is Beam_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#set_beam_source Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#set_beam_source Online documentation} */ set_beam_source(source: LuaEntity | (MapPosition | MapPositionArray)): void /** * Get the target of this beam. * * _Can only be used if this is Beam_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_beam_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_beam_target Online documentation} */ get_beam_target(): BeamTarget | nil /** * Set the target of this beam. * * _Can only be used if this is Beam_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#set_beam_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#set_beam_target Online documentation} */ set_beam_target(target: LuaEntity | (MapPosition | MapPositionArray)): void /** * The radius of this entity. The radius is defined as half the distance between the top left corner and bottom right corner of the collision box. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_radius Online documentation} */ get_radius(): double /** * The health ratio of this entity between 1 and 0 (for full health and no health respectively). * @returns `nil` if this entity doesn't have health. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_health_ratio Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_health_ratio Online documentation} */ get_health_ratio(): float | nil /** * Creates the same smoke that is created when you place a building by hand. * * You can play the building sound to go with it by using {@link LuaSurface#play_sound LuaSurface::play_sound}, eg: `entity.surface.play_sound{path="entity-build/"..entity.prototype.name, position=entity.position}` - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#create_build_effect_smoke Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#create_build_effect_smoke Online documentation} */ create_build_effect_smoke(): void /** * Release the unit from the spawner which spawned it. This allows the spawner to continue spawning additional units. * * _Can only be used if this is Unit or SpiderUnit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#release_from_spawner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#release_from_spawner Online documentation} */ release_from_spawner(): void /** * Toggle this entity's equipment movement bonus. Does nothing if the entity does not have an equipment grid. * * This property can also be read and written on the equipment grid of this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#toggle_equipment_movement_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#toggle_equipment_movement_bonus Online documentation} */ toggle_equipment_movement_bonus(): void /** * Whether this character can shoot the given entity or position. * * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#can_shoot Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#can_shoot Online documentation} */ can_shoot(target: LuaEntity, position: MapPosition | MapPositionArray): boolean /** * Only works if the entity is a speech-bubble, with an "effect" defined in its wrapper_flow_style. Starts animating the opacity of the speech bubble towards zero, and destroys the entity when it hits zero. * * _Can only be used if this is SpeechBubble_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#start_fading_out Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#start_fading_out Online documentation} */ start_fading_out(): void /** * Returns the new entity prototype and its quality. * @returns `nil` if this entity is not marked for upgrade. * @returns `nil` if this entity is not marked for upgrade. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_upgrade_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_upgrade_target Online documentation} */ get_upgrade_target(): LuaMultiReturn<[LuaEntityPrototype | nil, LuaQualityPrototype | nil]> /** * Returns the amount of damage to be taken by this entity. * @returns `nil` if this entity does not have health. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_damage_to_be_taken Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_damage_to_be_taken Online documentation} */ get_damage_to_be_taken(): float | nil /** @@ -4216,7 +4227,7 @@ declare module "factorio:runtime" { * - {@link OnResourceDepletedEvent on_resource_depleted} _instantly_ * * _Can only be used if this is ResourceEntity_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#deplete Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#deplete Online documentation} */ deplete(): void /** @@ -4229,7 +4240,7 @@ declare module "factorio:runtime" { * ## Raised events * - {@link ScriptRaisedDestroyEvent script_raised_destroy}? _instantly_ Raised if the `raise_destroyed` flag was set and the entity was successfully mined. * @returns Whether mining succeeded. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#mine Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#mine Online documentation} */ mine(params?: { /** @@ -4251,25 +4262,25 @@ declare module "factorio:runtime" { }): boolean /** * Triggers spawn_decoration actions defined in the entity prototype or does nothing if entity is not "turret" or "unit-spawner". - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#spawn_decorations Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#spawn_decorations Online documentation} */ spawn_decorations(): void /** * Get the entity ID at the specified position in the turret's priority list. * @param index The index of the entry to fetch. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_priority_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_priority_target Online documentation} */ get_priority_target(index: uint32): LuaEntityPrototype | nil /** * Set the entity ID name at the specified position in the turret's priority list. * @param index The index of the entry to set. * @param entity_id The name of the entity prototype, or `nil` to clear the entry. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#set_priority_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#set_priority_target Online documentation} */ set_priority_target(index: uint32, entity_id?: EntityID): void /** * Can wires reach between these entities. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#can_wires_reach Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#can_wires_reach Online documentation} */ can_wires_reach(entity: LuaEntity): boolean /** @@ -4278,30 +4289,30 @@ declare module "factorio:runtime" { * _Can only be used if this is RollingStock_ * @returns The rolling stock connected at the given end, `nil` if none is connected there. * @returns The rail direction of the connected rolling stock if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_connected_rolling_stock Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_connected_rolling_stock Online documentation} */ get_connected_rolling_stock( direction: defines.rail_direction, ): LuaMultiReturn<[LuaEntity | nil, defines.rail_direction | nil]> /** * Is this entity or tile ghost or item request proxy registered for construction? If false, it means a construction robot has been dispatched to build the entity, or it is not an entity that can be constructed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#is_registered_for_construction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#is_registered_for_construction Online documentation} */ is_registered_for_construction(): boolean /** * Is this entity registered for deconstruction with this force? If false, it means a construction robot has been dispatched to deconstruct it, or it is not marked for deconstruction. The complexity is effectively O(1) - it depends on the number of objects targeting this entity which should be small enough. * @param force The force construction manager to check. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#is_registered_for_deconstruction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#is_registered_for_deconstruction Online documentation} */ is_registered_for_deconstruction(force: ForceID): boolean /** * Is this entity registered for upgrade? If false, it means a construction robot has been dispatched to upgrade it, or it is not marked for upgrade. This is worst-case O(N) complexity where N is the current number of things in the upgrade queue. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#is_registered_for_upgrade Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#is_registered_for_upgrade Online documentation} */ is_registered_for_upgrade(): boolean /** * Is this entity registered for repair? If false, it means a construction robot has been dispatched to repair it, or it is not damaged. This is worst-case O(N) complexity where N is the current number of things in the repair queue. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#is_registered_for_repair Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#is_registered_for_repair Online documentation} */ is_registered_for_repair(): boolean /** @@ -4310,7 +4321,7 @@ declare module "factorio:runtime" { * _Can only be used if this is SpiderVehicle_ * @param position The position the spidertron should move to. * @param attempt_patrol If the autopilot logic should attempt to initiate patrol mode at the given position. Defaults to `false`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#add_autopilot_destination Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#add_autopilot_destination Online documentation} */ add_autopilot_destination(position: MapPosition | MapPositionArray, attempt_patrol?: boolean): void /** @@ -4320,71 +4331,71 @@ declare module "factorio:runtime" { * * _Can only be used if this is LinkedBelt_ * @param neighbour Another linked belt or entity ghost containing linked belt to connect or nil to disconnect - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#connect_linked_belts Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#connect_linked_belts Online documentation} */ connect_linked_belts(neighbour?: LuaEntity): void /** * Disconnects linked belt from its neighbour. * * _Can only be used if this is LinkedBelt_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#disconnect_linked_belts Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#disconnect_linked_belts Online documentation} */ disconnect_linked_belts(): void /** * Gets legs of given SpiderVehicle. * * _Can only be used if this is SpiderVehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_spider_legs Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_spider_legs Online documentation} */ get_spider_legs(): LuaEntity[] /** * Sets the {@link LuaEntity#speed speed} of the given SpiderVehicle to zero. Notably does not clear its {@link LuaEntity#autopilot_destination autopilot_destination}, which it will continue moving towards if set. * * _Can only be used if this is SpiderVehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#stop_spider Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#stop_spider Online documentation} */ stop_spider(): void /** * Gets a single wire connector of this entity, if any. * @param wire_connector_id Identifier of a specific connector to get * @param or_create If true and connector does not exist, it will be allocated if possible - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_wire_connector Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_wire_connector Online documentation} */ get_wire_connector(wire_connector_id: defines.wire_connector_id, or_create: true): LuaWireConnector get_wire_connector(wire_connector_id: defines.wire_connector_id, or_create: boolean): LuaWireConnector | nil /** * Gets all wire connectors of this entity * @param or_create If true, it will try to create all connectors possible - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_wire_connectors Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_wire_connectors Online documentation} */ get_wire_connectors(or_create: boolean): Record /** * Gets a LuaRailEnd object for specified end of this rail * * _Can only be used if this is Rail_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_rail_end Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_rail_end Online documentation} */ get_rail_end(direction: defines.rail_direction): LuaRailEnd /** * The input flow limit for the electric energy source. `nil` if the entity doesn't have an electric energy source. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_electric_input_flow_limit Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_electric_input_flow_limit Online documentation} */ get_electric_input_flow_limit(quality?: QualityID): double | nil /** * The output flow limit for the electric energy source. `nil` if the entity doesn't have an electric energy source. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_electric_output_flow_limit Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_electric_output_flow_limit Online documentation} */ get_electric_output_flow_limit(quality?: QualityID): double | nil /** * Returns a table with all beacons affecting this effect receiver. Can only be used when the entity has an effect receiver (AssemblingMachine, Furnace, Lab, MiningDrills) - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_beacons Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_beacons Online documentation} */ get_beacons(): LuaEntity[] | nil /** * Returns a table with all entities affected by this beacon * * _Can only be used if this is Beacon_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_beacon_effect_receivers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_beacon_effect_receivers Online documentation} */ get_beacon_effect_receivers(): LuaEntity[] /** @@ -4394,7 +4405,7 @@ declare module "factorio:runtime" { * - {@link OnCargoPodFinishedAscendingEvent on_cargo_pod_finished_ascending} _instantly_ * * _Can only be used if this is CargoPod_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#force_finish_ascending Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#force_finish_ascending Online documentation} */ force_finish_ascending(): void /** @@ -4405,7 +4416,7 @@ declare module "factorio:runtime" { * - {@link OnCargoPodDeliveredCargoEvent on_cargo_pod_delivered_cargo}? _instantly_ Raised instantly if landing on the ground (i.e. destination type is {@link defines.cargo_destination.surface surface}. If landing in a {@link defines.cargo_destination.station station}, event will be raised after parking is complete. * * _Can only be used if this is CargoPod_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#force_finish_descending Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#force_finish_descending Online documentation} */ force_finish_descending(): void /** @@ -4414,7 +4425,7 @@ declare module "factorio:runtime" { * Cargo pod will be created with {@link defines.cargo_destination.invalid invalid} destination type. Setting {@link LuaEntity#cargo_pod_destination cargo_pod_destination} will cause it to launch. * * _Can only be used if this is RocketSilo, CargoLandingPad or SpacePlatformHub_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#create_cargo_pod Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#create_cargo_pod Online documentation} */ create_cargo_pod(params?: { /** @@ -4430,47 +4441,47 @@ declare module "factorio:runtime" { * Gets the cargo bays connected to this cargo landing pad or space platform hub. * * _Can only be used if this is CargoLandingPad or SpacePlatformHub_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_cargo_bays Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_cargo_bays Online documentation} */ get_cargo_bays(): LuaEntity[] /** * The same as {@link LuaInventory#supports_bar LuaInventory::supports_bar} but also works for ghosts where the inventory is not available through {@link LuaControl#get_inventory LuaControl::get_inventory}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#inventory_supports_bar Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#inventory_supports_bar Online documentation} */ inventory_supports_bar(inventory_index: defines.inventory): boolean /** * The same as {@link LuaInventory#get_bar LuaInventory::get_bar} but also works for ghosts where the inventory is not available through {@link LuaControl#get_inventory LuaControl::get_inventory}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_inventory_bar Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_inventory_bar Online documentation} */ get_inventory_bar(inventory_index: defines.inventory): uint32 /** * The same as {@link LuaInventory#set_bar LuaInventory::set_bar} but also works for ghosts where the inventory is not available through {@link LuaControl#get_inventory LuaControl::get_inventory}. * @param bar The new limit. Omitting this parameter or passing `nil` will clear the limit. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#set_inventory_bar Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#set_inventory_bar Online documentation} */ set_inventory_bar(inventory_index: defines.inventory, bar?: uint32): void /** * The same as {@link LuaInventory#supports_filters LuaInventory::supports_filters} but also works for ghosts where the inventory is not available through {@link LuaControl#get_inventory LuaControl::get_inventory}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#inventory_supports_filters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#inventory_supports_filters Online documentation} */ inventory_supports_filters(inventory_index: defines.inventory): boolean /** * The same as {@link LuaInventory#is_filtered LuaInventory::is_filtered} but also works for ghosts where the inventory is not available through {@link LuaControl#get_inventory LuaControl::get_inventory}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#is_inventory_filtered Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#is_inventory_filtered Online documentation} */ is_inventory_filtered(inventory_index: defines.inventory): boolean /** * The same as {@link LuaInventory#can_set_filter LuaInventory::can_set_filter} but also works for ghosts where the inventory is not available through {@link LuaControl#get_inventory LuaControl::get_inventory}. * @param index The item stack index * @param filter The item filter - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#can_set_inventory_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#can_set_inventory_filter Online documentation} */ can_set_inventory_filter(inventory_index: defines.inventory, index: uint32, filter: ItemFilterWrite): boolean /** * The same as {@link LuaInventory#get_filter LuaInventory::get_filter} but also works for ghosts where the inventory is not available through {@link LuaControl#get_inventory LuaControl::get_inventory}. * @param index The item stack index * @returns The current filter or `nil` if none. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_inventory_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_inventory_filter Online documentation} */ get_inventory_filter(inventory_index: defines.inventory, index: uint32): ItemFilter | nil /** @@ -4478,7 +4489,7 @@ declare module "factorio:runtime" { * @param index The item stack index. * @param filter The new filter. `nil` erases any existing filter. * @returns If the filter was allowed to be set. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#set_inventory_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#set_inventory_filter Online documentation} */ set_inventory_filter(inventory_index: defines.inventory, index: uint32, filter: ItemFilterWrite | nil): boolean /** @@ -4490,7 +4501,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is AgriculturalTower_ * @returns If the tree was registered. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#register_tree Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#register_tree Online documentation} */ register_tree(tree: LuaEntity): boolean /** @@ -4499,7 +4510,7 @@ declare module "factorio:runtime" { * Note that for combat robots this does not include the constant drift in the direction they are facing. * * _Can only be used if this is CombatRobot or Asteroid_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_movement Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_movement Online documentation} */ get_movement(): Vector /** @@ -4510,12 +4521,12 @@ declare module "factorio:runtime" { * _Can only be used if this is CombatRobot or Asteroid_ * @param direction This normalized form of this vector is used for the movement direction. * @param speed Speed in tiles per tick. Cannot be less than 0. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#set_movement Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#set_movement Online documentation} */ set_movement(direction: Vector | VectorTable, speed: double): void /** * Gives logistic sections of this entity if it uses logistic sections. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_logistic_sections Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_logistic_sections Online documentation} */ get_logistic_sections(): LuaLogisticSections | nil /** @@ -4523,7 +4534,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is ContainerEntity or CargoWagon_ * @param overflow Items that would be deleted due to change of inventory size will be transferred to this inventory. Must be a script inventory or inventory of other entity. Inventory references obtained from proxy container are not allowed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#set_inventory_size_override Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#set_inventory_size_override Online documentation} */ set_inventory_size_override( inventory_index: defines.inventory, @@ -4534,14 +4545,14 @@ declare module "factorio:runtime" { * Gets the inventory size override of the selected inventory if size override was set using {@link LuaEntity#set_inventory_size_override set_inventory_size_override}. * * _Can only be used if this is ContainerEntity or CargoWagon_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_inventory_size_override Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_inventory_size_override Online documentation} */ get_inventory_size_override(inventory_index: defines.inventory): uint16 | nil /** * Gives TilePosition of a tile which this offshore pump uses to check what fluid should be produced. * * _Can only be used if this is OffshorePump_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_fluid_source_tile Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_fluid_source_tile Online documentation} */ get_fluid_source_tile(): TilePosition /** @@ -4549,81 +4560,81 @@ declare module "factorio:runtime" { * * _Can only be used if this is OffshorePump_ * @returns Name of fluid that should be produced by this offshore pump based on existing tiles. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_fluid_source_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_fluid_source_fluid Online documentation} */ get_fluid_source_fluid(): string | nil /** * _Can only be used if this is Lab_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#clear_stored_durability Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#clear_stored_durability Online documentation} */ clear_stored_durability(): void /** * _Can only be used if this is Lab_ * @param item Item for which a stored durability is requested. * @returns Durability stored. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_stored_durability Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_stored_durability Online documentation} */ get_stored_durability(item: ItemID): LabStoredDurability /** * _Can only be used if this is Lab_ * @param item Item for which a stored durability is requested. * @param durability Durability to set. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#set_stored_durability Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#set_stored_durability Online documentation} */ set_stored_durability(item: ItemID, durability: LabStoredDurabilityWrite): void /** * Removes all runtime tooltip fields attached to this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#clear_tooltip_fields Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#clear_tooltip_fields Online documentation} */ clear_tooltip_fields(): void /** * Gets all runtime tooltip fields attached to this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_tooltip_fields Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_tooltip_fields Online documentation} */ get_tooltip_fields(): RuntimeTooltipField[] /** * Removes selected runtime tooltip field. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#clear_tooltip_field Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#clear_tooltip_field Online documentation} */ clear_tooltip_field(id: uint32): void /** * Gets selected runtime tooltip field. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_tooltip_field Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_tooltip_field Online documentation} */ get_tooltip_field(id: uint32): RuntimeTooltipField | nil /** * Adds or changes runtime tooltip field. If `id` is not given a new one will be allocated in a way that makes it unique within this entity. If a value is given that is already used, existing line will be updated. * @returns Identifier of the record that was given or allocated. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#set_tooltip_field Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#set_tooltip_field Online documentation} */ set_tooltip_field(field: RuntimeTooltipField): uint32 /** * Length of this rail piece. * * _Can only be used if this is Rail_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#rail_length Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#rail_length Online documentation} */ readonly rail_length: double /** * Returns count of fluid storages. This includes fluid storages provided by fluidboxes but also covers other fluid storages like fluid turret's internal buffer and fluid wagon's fluid. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#fluids_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#fluids_count Online documentation} */ readonly fluids_count: uint32 /** * Name of the entity prototype. E.g. "inserter" or "fast-inserter". - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#name Online documentation} */ readonly name: string /** * Name of the entity or tile contained in this ghost. * * _Can only be used if this is Ghost_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#ghost_name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#ghost_name Online documentation} */ readonly ghost_name: string /** * Localised name of the entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#localised_name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#localised_name Online documentation} */ readonly localised_name: LocalisedString readonly localised_description: LocalisedString @@ -4631,24 +4642,24 @@ declare module "factorio:runtime" { * Localised name of the entity or tile contained in this ghost. * * _Can only be used if this is Ghost_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#ghost_localised_name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#ghost_localised_name Online documentation} */ readonly ghost_localised_name: LocalisedString /** * _Can only be used if this is Ghost_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#ghost_localised_description Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#ghost_localised_description Online documentation} */ readonly ghost_localised_description: LocalisedString /** * The entity prototype type of this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#type Online documentation} */ readonly type: EntityType /** * The prototype type of the entity or tile contained in this ghost. * * _Can only be used if this is Ghost_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#ghost_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#ghost_type Online documentation} */ readonly ghost_type: EntityType /** @@ -4657,7 +4668,7 @@ declare module "factorio:runtime" { * This has no effect if the prototype does not support filters. * * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#use_filters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#use_filters Online documentation} */ use_filters: boolean /** @@ -4666,84 +4677,84 @@ declare module "factorio:runtime" { * Reading from this returns `false` if the entity is deactivated in at least one of the following ways: {@link LuaEntity#disabled_by_script by script}, {@link LuaEntity#disabled_by_control_behavior by circuit network}, {@link LuaEntity#disabled_by_recipe by recipe}, {@link LuaEntity#frozen by freezing}, or by being marked for deconstruction. * * If this entity is not considered {@link LuaEntity#is_updatable updatable} then this always returns `false`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#active Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#active Online documentation} */ readonly active: boolean /** * If set to `false`, this entity can't be damaged and won't be attacked automatically. It can however still be mined. * * Entities that are indestructible naturally (they have no health, like smoke, resource etc) can't be set to be destructible. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#destructible Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#destructible Online documentation} */ destructible: boolean /** * Not minable entities can still be destroyed. * * Tells if entity reports as being minable right now. This takes into account `minable_flag` and entity specific conditions (for example rail under rolling stocks is not minable, vehicle with passenger is not minable). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#minable Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#minable Online documentation} */ readonly minable: boolean /** * Script controlled flag that allows entity to be mined. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#minable_flag Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#minable_flag Online documentation} */ minable_flag: boolean /** * When entity is not to be rotatable (inserter, transport belt etc), it can't be rotated by player using the R key. * * Entities that are not rotatable naturally (like chest or furnace) can't be set to be rotatable. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#rotatable Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#rotatable Online documentation} */ rotatable: boolean /** * Player can't open gui of this entity and he can't quick insert/input stuff in to the entity when it is not operable. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#operable Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#operable Online documentation} */ operable: boolean /** * Automated weapons won't target protected entities. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#protected Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#protected Online documentation} */ protected: boolean /** * The current health of the entity, if any. Health is automatically clamped to be between `0` and max health (inclusive). Entities with a health of `0` can not be attacked. * * To get the maximum possible health of this entity, see {@link LuaEntity#max_health LuaEntity::max_health}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#health Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#health Online documentation} */ health?: float /** * Max health of this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#max_health Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#max_health Online documentation} */ readonly max_health: float /** * The current direction this entity is facing. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#direction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#direction Online documentation} */ direction: defines.direction /** * Whether the entity is currently mirrored. This state is referred to as `flipped` elsewhere, such as on the {@link OnPlayerFlippedEntityEvent on_player_flipped_entity} event. * * If an entity is mirrored, it is flipped over the axis that is pointing in the entity's direction. For example if a mirrored entity is facing north, everything that was defined to be facing east in the prototype now faces west. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#mirroring Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#mirroring Online documentation} */ mirroring: boolean /** * Whether the entity has direction. When it is false for this entity, it will always return north direction when asked for. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#supports_direction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#supports_direction Online documentation} */ readonly supports_direction: boolean /** * The smooth orientation of this entity. For turrets this is the orientation of the weapon. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#orientation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#orientation Online documentation} */ orientation: RealOrientation /** * The orientation of this cliff. * * _Can only be used if this is Cliff_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#cliff_orientation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#cliff_orientation Online documentation} */ readonly cliff_orientation: CliffOrientation /** @@ -4752,21 +4763,21 @@ declare module "factorio:runtime" { * Writing does nothing if the vehicle doesn't have a turret. * * For the turret orientation of non-artillery turrets, use {@link LuaEntity#orientation LuaEntity::orientation}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#relative_turret_orientation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#relative_turret_orientation Online documentation} */ relative_turret_orientation?: RealOrientation /** * The torso orientation of this spider vehicle. * * _Can only be used if this is SpiderVehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#torso_orientation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#torso_orientation Online documentation} */ torso_orientation: RealOrientation /** * Count of resource units contained. * * _Can only be used if this is ResourceEntity_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#amount Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#amount Online documentation} */ amount: uint32 /** @@ -4775,21 +4786,21 @@ declare module "factorio:runtime" { * If this is not an infinite resource, writing will produce an error. * * _Can only be used if this is ResourceEntity_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#initial_amount Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#initial_amount Online documentation} */ initial_amount?: uint32 /** * Multiplies the acceleration the car can create for one unit of energy. Defaults to `1`. * * _Can only be used if this is Car_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#effectivity_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#effectivity_modifier Online documentation} */ effectivity_modifier: float /** * Multiplies the energy consumption. * * _Can only be used if this is Car_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#consumption_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#consumption_modifier Online documentation} */ consumption_modifier: float /** @@ -4799,52 +4810,52 @@ declare module "factorio:runtime" { * @example * -- This will allow the car to go much faster * game.player.vehicle.friction_modifier = 0.5 - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#friction_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#friction_modifier Online documentation} */ friction_modifier: float /** * Whether the driver of this car or spidertron is the gunner. If `false`, the passenger is the gunner. `nil` if this is neither a car or a spidertron. * * _Can only be used if this is Car or SpiderVehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#driver_is_gunner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#driver_is_gunner Online documentation} */ driver_is_gunner?: boolean /** * Read when this spidertron auto-targets enemies * * _Can only be used if this is SpiderVehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#vehicle_automatic_targeting_parameters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#vehicle_automatic_targeting_parameters Online documentation} */ vehicle_automatic_targeting_parameters: VehicleAutomaticTargetingParameters /** * The current speed if this is a car, rolling stock, projectile or spidertron, or the maximum speed if this is a unit. The speed is in tiles per tick. `nil` if this is not a car, rolling stock, unit, projectile or spidertron. * * Only the speed of units, cars, and projectiles are writable. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#speed Online documentation} */ speed?: float /** * The current speed of this unit in tiles per tick, taking into account any walking speed modifier given by the tile the unit is standing on. `nil` if this is not a unit. * * _Can only be used if this is Unit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#effective_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#effective_speed Online documentation} */ readonly effective_speed?: float /** * _Can only be used if this is ItemEntity_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#stack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#stack Online documentation} */ readonly stack: LuaItemStack /** * The entity prototype of this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#prototype Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#prototype Online documentation} */ readonly prototype: LuaEntityPrototype /** * The prototype of the entity or tile contained in this ghost. * * _Can only be used if this is Ghost_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#ghost_prototype Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#ghost_prototype Online documentation} */ readonly ghost_prototype: LuaEntityPrototype | LuaTilePrototype /** @@ -4853,7 +4864,7 @@ declare module "factorio:runtime" { * Mining drills and crafting machines can't have their drop position changed; inserters must have `allow_custom_vectors` set to true on their prototype to allow changing the drop position. * * Meaningful only for entities that put stuff somewhere, such as mining drills, crafting machines with a drop target or inserters. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#drop_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#drop_position Online documentation} */ get drop_position(): MapPosition set drop_position(value: MapPosition | MapPositionArray) @@ -4863,27 +4874,27 @@ declare module "factorio:runtime" { * Inserters must have `allow_custom_vectors` set to true on their prototype to allow changing the pickup position. * * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#pickup_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#pickup_position Online documentation} */ get pickup_position(): MapPosition set pickup_position(value: MapPosition | MapPositionArray) /** * The entity this entity is putting its items to. If there are multiple possible entities at the drop-off point, writing to this attribute allows a mod to choose which one to drop off items to. The entity needs to collide with the tile box under the drop-off position. `nil` if there is no entity to put items to, or if this is not an entity that puts items somewhere. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#drop_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#drop_target Online documentation} */ drop_target?: LuaEntity /** * The entity this inserter will attempt to pick up items from. If there are multiple possible entities at the pick-up point, writing to this attribute allows a mod to choose which one to pick up items from. The entity needs to collide with the tile box under the pick-up position. `nil` if there is no entity to pull items from. * * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#pickup_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#pickup_target Online documentation} */ pickup_target?: LuaEntity /** * Index of the currently selected weapon slot of this character, car, or spidertron. `nil` if this entity doesn't have guns. * * _Can only be used if this is Character, Car or SpiderVehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#selected_gun_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#selected_gun_index Online documentation} */ selected_gun_index?: uint32 /** @@ -4891,59 +4902,59 @@ declare module "factorio:runtime" { * @example * game.player.print("Machine energy: " .. game.player.selected.energy .. "J") * game.player.selected.energy = 3000 - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#energy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#energy Online documentation} */ energy: double /** * The temperature of this entity's heat energy source or this entity's heat buffer. `nil` if this entity does not use a heat energy source or does not have a heat buffer. * * The following entity types have a heat buffer: heat pipe, reactor and heat interface. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#temperature Online documentation} */ temperature?: double /** * The previous recipe this furnace was using, if any. * * _Can only be used if this is Furnace_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#previous_recipe Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#previous_recipe Online documentation} */ readonly previous_recipe?: RecipeIDAndQualityIDPair /** * The item stack currently held in an inserter's hand. * * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#held_stack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#held_stack Online documentation} */ readonly held_stack: LuaItemStack /** * Current position of the inserter's "hand". * * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#held_stack_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#held_stack_position Online documentation} */ readonly held_stack_position: MapPosition /** * The train this rolling stock belongs to, if any. `nil` if this is not a rolling stock. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#train Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#train Online documentation} */ readonly train?: LuaTrain /** * A list of neighbours connected to fluidboxes of this entity. Neighbours are grouped by index of fluid box of this entity to which they are connected. For more detailed informations please use {@link LuaEntity#get_fluid_box_neighbours LuaEntity::get_fluid_box_neighbours}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#fluidbox_neighbours Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#fluidbox_neighbours Online documentation} */ readonly fluidbox_neighbours: LuaEntity[][] /** * Neighbour underground belt connected to this underground belt through underground lines. * * _Can only be used if this is UndergroundBelt_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#underground_belt_neighbour Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#underground_belt_neighbour Online documentation} */ readonly underground_belt_neighbour?: LuaEntity /** * Table of wall-connectable neighbours. * * _Can only be used if this is Wall or Gate_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#wall_neighbours Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#wall_neighbours Online documentation} */ readonly wall_neighbours: { readonly north?: LuaEntity @@ -4955,7 +4966,7 @@ declare module "factorio:runtime" { * The belt connectable neighbours of this belt connectable entity. Only entities that input to or are outputs of this entity. Does not contain the other end of an underground belt, see {@link LuaEntity#underground_belt_neighbour LuaEntity::underground_belt_neighbour} for that. * * _Can only be used if this is TransportBeltConnectable_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#belt_neighbours Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#belt_neighbours Online documentation} */ readonly belt_neighbours: { /** @@ -4971,14 +4982,14 @@ declare module "factorio:runtime" { * The entities connected to this entity's heat energy source or this entity's heat buffer. * * The following entity types have a heat buffer: heat pipe, reactor and heat interface. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#heat_neighbours Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#heat_neighbours Online documentation} */ readonly heat_neighbours: LuaEntity[] /** * Table of cliff neighbours. * * _Can only be used if this is Cliff_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#cliff_neighbours Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#cliff_neighbours Online documentation} */ readonly cliff_neighbours: { readonly north?: LuaEntity @@ -4990,7 +5001,7 @@ declare module "factorio:runtime" { * Connections of a {@link LuaEntityPrototype#neighbour_connectable neighbour connectable} entity. Includes connections that aren't currently connected to another entity. * * _Can only be used if this is Reactor or FusionReactor_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#neighbour_connectable_connections Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#neighbour_connectable_connections Online documentation} */ readonly neighbour_connectable_connections: NeighbourConnectableConnection[] /** @@ -5000,7 +5011,7 @@ declare module "factorio:runtime" { * * ## Raised events * - {@link OnEntityRenamedEvent on_entity_renamed} _instantly_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#backer_name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#backer_name Online documentation} */ backer_name?: string /** @@ -5008,21 +5019,21 @@ declare module "factorio:runtime" { * * ## Raised events * - {@link OnEntityRenamedEvent on_entity_renamed} _instantly_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#entity_label Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#entity_label Online documentation} */ entity_label?: string /** * The ticks left before a combat robot, highlight box, smoke, or sticker entity is destroyed. * * _Can only be used if this is CombatRobot, HighlightBox, Smoke or Sticker_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#time_to_live Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#time_to_live Online documentation} */ time_to_live: uint64 /** * The color of this character, rolling stock, corpse, character corpse, train stop, simple-entity-with-owner, car, spider-vehicle, or lamp. `nil` if this entity doesn't use custom colors. * * Car color is overridden by the color of the current driver/passenger, if there is one. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#color Online documentation} */ get color(): Color | nil set color(value: Color | ColorArray | nil) @@ -5030,42 +5041,42 @@ declare module "factorio:runtime" { * The state of this rail signal. * * _Can only be used if this is RailSignal or RailChainSignal_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#signal_state Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#signal_state Online documentation} */ readonly signal_state: defines.signal_state /** * The state of this chain signal. * * _Can only be used if this is RailChainSignal_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#chain_signal_state Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#chain_signal_state Online documentation} */ readonly chain_signal_state: defines.chain_signal_state /** * Will this item entity be picked up automatically when the player walks over it? * * _Can only be used if this is ItemEntity_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#to_be_looted Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#to_be_looted Online documentation} */ to_be_looted: boolean /** * The current crafting speed, including speed bonuses from modules and beacons. * * _Can only be used if this is CraftingMachine or Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#crafting_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#crafting_speed Online documentation} */ readonly crafting_speed: double /** * The current crafting progress, as a number in range `[0, 1]`. * * _Can only be used if this is CraftingMachine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#crafting_progress Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#crafting_progress Online documentation} */ crafting_progress: float /** * The current productivity bonus progress, as a number in range `[0, 1]`. * * _Can only be used if this is CraftingMachine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#bonus_progress Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#bonus_progress Online documentation} */ bonus_progress: double /** @@ -5074,7 +5085,7 @@ declare module "factorio:runtime" { * Note: Writing `nil` is not allowed. * * _Can only be used if this is CraftingMachine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#result_quality Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#result_quality Online documentation} */ get result_quality(): LuaQualityPrototype | nil set result_quality(value: QualityID | nil) @@ -5082,38 +5093,38 @@ declare module "factorio:runtime" { * The productivity bonus of this entity. * * This includes force based bonuses as well as beacon/module bonuses. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#productivity_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#productivity_bonus Online documentation} */ readonly productivity_bonus: double /** * The pollution bonus of this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#pollution_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#pollution_bonus Online documentation} */ readonly pollution_bonus: double /** * The speed bonus of this entity. * * This includes force based bonuses as well as beacon/module bonuses. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#speed_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#speed_bonus Online documentation} */ readonly speed_bonus: double /** * The consumption bonus of this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#consumption_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#consumption_bonus Online documentation} */ readonly consumption_bonus: double /** * Whether this underground belt goes into or out of the ground. * * _Can only be used if this is UndergroundBelt_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#belt_to_ground_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#belt_to_ground_type Online documentation} */ readonly belt_to_ground_type: BeltConnectionType /** * Whether this loader gets items from or puts item into a container. * * _Can only be used if this is Loader_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#loader_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#loader_type Online documentation} */ loader_type: BeltConnectionType /** @@ -5122,92 +5133,92 @@ declare module "factorio:runtime" { * Setting the value will have no effect when the silo doesn't support logistics. * * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#use_transitional_requests Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#use_transitional_requests Online documentation} */ use_transitional_requests: boolean /** * The space platform in orbit this rocket silo is automatically requesting items for. * * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#transitional_request_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#transitional_request_target Online documentation} */ readonly transitional_request_target?: LuaSpacePlatform /** * Number of rocket parts in this rocket silo. * * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#rocket_parts Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#rocket_parts Online documentation} */ rocket_parts: uint32 /** * Whether this rocket silo is set to send items to orbit automatically. Only relevant if there is an item prototype with {@link LuaItemPrototype#rocket_launch_products launch products} with automated {@link LuaItemPrototype#send_to_orbit_mode send_to_orbit_mode}, such as the satellite in vanilla (without Space Age mod). * * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#send_to_orbit_automatically Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#send_to_orbit_automatically Online documentation} */ send_to_orbit_automatically: boolean /** * The logistic network this entity is a part of, or `nil` if this entity is not a part of any logistic network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#logistic_network Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#logistic_network Online documentation} */ logistic_network: LuaLogisticNetwork | nil /** * The logistic cell this entity is a part of. Will be `nil` if this entity is not a part of any logistic cell. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#logistic_cell Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#logistic_cell Online documentation} */ readonly logistic_cell: LuaLogisticCell | nil /** * Items this ghost will request when revived or items this item request proxy is requesting. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#item_requests Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#item_requests Online documentation} */ readonly item_requests: ItemWithQualityCount[] /** * The insert plan for this ghost or item request proxy. * * _Can only be used if this is EntityGhost or ItemRequestProxy_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#insert_plan Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#insert_plan Online documentation} */ insert_plan: BlueprintInsertPlan[] /** * The removal plan for this item request proxy. * * _Can only be used if this is ItemRequestProxy_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#removal_plan Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#removal_plan Online documentation} */ removal_plan: BlueprintInsertPlan[] /** * The player connected to this character, if any. * * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#player Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#player Online documentation} */ readonly player?: LuaPlayer /** * The damage dealt by this turret, artillery turret, or artillery wagon. * * _Can only be used if this is Turret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#damage_dealt Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#damage_dealt Online documentation} */ damage_dealt: double /** * The number of units killed by this turret, artillery turret, or artillery wagon. * * _Can only be used if this is Turret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#kills Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#kills Online documentation} */ kills: uint32 /** * Whether this turret shoots at targets that are not on its priority list. * * _Can only be used if this is Turret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#ignore_unprioritised_targets Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#ignore_unprioritised_targets Online documentation} */ ignore_unprioritised_targets: boolean /** * The last player that changed any setting on this entity. This includes building the entity, changing its color, or configuring its circuit network. `nil` if the last user is not part of the save anymore. * * _Can only be used if this is EntityWithOwner, DeconstructibleTileProxy or TileGhost_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#last_user Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#last_user Online documentation} */ get last_user(): LuaPlayer | nil set last_user(value: PlayerIdentification | nil) @@ -5215,170 +5226,170 @@ declare module "factorio:runtime" { * The buffer size for the electric energy source. `nil` if the entity doesn't have an electric energy source. * * Write access is limited to the ElectricEnergyInterface type. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#electric_buffer_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#electric_buffer_size Online documentation} */ electric_buffer_size?: double /** * The electric drain for the electric energy source. `nil` if the entity doesn't have an electric energy source. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#electric_drain Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#electric_drain Online documentation} */ readonly electric_drain?: double /** * The table of emissions of this energy source in `pollution/Joule`, indexed by pollutant type. `nil` if the entity doesn't have an electric energy source. Multiplying values in the returned table by energy consumption in `Watt` gives `pollution/second`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#electric_emissions_per_joule Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#electric_emissions_per_joule Online documentation} */ readonly electric_emissions_per_joule?: Record /** * A unique number identifying this entity for the lifetime of the save. These are allocated sequentially, and not re-used (until overflow). * * Only entities inheriting from {@link import("factorio:prototype").EntityWithOwnerPrototype EntityWithOwnerPrototype}, as well as {@link import("factorio:prototype").ItemRequestProxyPrototype ItemRequestProxyPrototype} and {@link import("factorio:prototype").EntityGhostPrototype EntityGhostPrototype} are assigned a unit number. Returns `nil` otherwise. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#unit_number Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#unit_number Online documentation} */ readonly unit_number?: UnitNumber /** * The {@link LuaEntity#unit_number unit_number} of the entity contained in this ghost. It is the same as the unit number of the {@link import("factorio:prototype").EntityWithOwnerPrototype EntityWithOwnerPrototype} that was destroyed to create this ghost. If it was created by other means, or if the inner entity does not support unit numbers, this property is `nil`. * * _Can only be used if this is EntityGhost_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#ghost_unit_number Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#ghost_unit_number Online documentation} */ readonly ghost_unit_number?: UnitNumber /** * The bonus mining progress for this mining drill. Read yields a number in range [0, mining_target.prototype.mineable_properties.mining_time]. `nil` if this isn't a mining drill. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#bonus_mining_progress Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#bonus_mining_progress Online documentation} */ bonus_mining_progress?: double /** * Area in which this mining drill looks for resources to mine. * * _Can only be used if this is MiningDrill_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#mining_area Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#mining_area Online documentation} */ readonly mining_area: BoundingBox /** * {@link LuaEntityPrototype#collision_box LuaEntityPrototype::collision_box} around entity's given position and respecting the current entity orientation. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#bounding_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#bounding_box Online documentation} */ readonly bounding_box: BoundingBox /** * The secondary bounding box of this entity or `nil` if it doesn't have one. This only exists for curved rails, and is automatically determined by the game. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#secondary_bounding_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#secondary_bounding_box Online documentation} */ readonly secondary_bounding_box?: BoundingBox /** * {@link LuaEntityPrototype#selection_box LuaEntityPrototype::selection_box} around entity's given position and respecting the current entity orientation. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#selection_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#selection_box Online documentation} */ readonly selection_box: BoundingBox /** * The secondary selection box of this entity or `nil` if it doesn't have one. This only exists for curved rails, and is automatically determined by the game. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#secondary_selection_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#secondary_selection_box Online documentation} */ readonly secondary_selection_box?: BoundingBox /** * The mining target, if any. * * _Can only be used if this is MiningDrill_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#mining_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#mining_target Online documentation} */ readonly mining_target?: LuaEntity /** * The number of filter slots this inserter, loader, mining drill, asteroid collector or logistic storage container has. 0 if not one of those entities. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#filter_slot_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#filter_slot_count Online documentation} */ readonly filter_slot_count: uint32 /** * The container entity this loader is pointing at/pulling from depending on the {@link LuaEntity#loader_type LuaEntity::loader_type}, if any. * * _Can only be used if this is Loader_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#loader_container Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#loader_container Online documentation} */ readonly loader_container?: LuaEntity /** * This entity's equipment grid, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#grid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#grid Online documentation} */ readonly grid?: LuaEquipmentGrid /** * The graphics variation for this entity. `nil` if this entity doesn't use graphics variations. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#graphics_variation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#graphics_variation Online documentation} */ graphics_variation?: uint8 /** * Index of the tree color. * * _Can only be used if this is Tree_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#tree_color_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#tree_color_index Online documentation} */ tree_color_index: uint8 /** * Maximum index of the tree colors. * * _Can only be used if this is Tree_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#tree_color_index_max Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#tree_color_index_max Online documentation} */ readonly tree_color_index_max: uint8 /** * Index of the tree stage. * * _Can only be used if this is Tree_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#tree_stage_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#tree_stage_index Online documentation} */ tree_stage_index: uint8 /** * Maximum index of the tree stages. * * _Can only be used if this is Tree_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#tree_stage_index_max Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#tree_stage_index_max Online documentation} */ readonly tree_stage_index_max: uint8 /** * Index of the tree gray stage * * _Can only be used if this is Tree_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#tree_gray_stage_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#tree_gray_stage_index Online documentation} */ tree_gray_stage_index: uint8 /** * Maximum index of the tree gray stages. * * _Can only be used if this is Tree_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#tree_gray_stage_index_max Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#tree_gray_stage_index_max Online documentation} */ readonly tree_gray_stage_index_max: uint8 /** * The burner energy source for this entity, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#burner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#burner Online documentation} */ readonly burner?: LuaBurner /** * The shooting target for this turret, if any. Can't be set to `nil` via script. * * _Can only be used if this is Turret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#shooting_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#shooting_target Online documentation} */ shooting_target?: LuaEntity /** * The target entity for this item-request-proxy, if any. * * _Can only be used if this is ItemRequestProxy_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#proxy_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#proxy_target Online documentation} */ readonly proxy_target?: LuaEntity /** * The sticker entities attached to this entity, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#stickers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#stickers Online documentation} */ readonly stickers?: LuaEntity[] /** * The entity this sticker is sticked to. * * _Can only be used if this is Sticker_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#sticked_to Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#sticked_to Online documentation} */ readonly sticked_to: LuaEntity /** * The vehicle modifiers applied to this entity through the attached stickers. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#sticker_vehicle_modifiers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#sticker_vehicle_modifiers Online documentation} */ readonly sticker_vehicle_modifiers?: { readonly speed_modifier: double @@ -5387,13 +5398,13 @@ declare module "factorio:runtime" { } /** * _Can only be used if this is ProgrammableSpeaker_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#parameters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#parameters Online documentation} */ get parameters(): ProgrammableSpeakerParameters set parameters(value: ProgrammableSpeakerParametersWrite) /** * _Can only be used if this is ProgrammableSpeaker_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#alert_parameters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#alert_parameters Online documentation} */ get alert_parameters(): ProgrammableSpeakerAlertParameters set alert_parameters(value: ProgrammableSpeakerAlertParametersWrite) @@ -5403,7 +5414,7 @@ declare module "factorio:runtime" { * If this electric pole becomes invalid, the flow statistics obtained from it will also become invalid. If this electric pole becomes part of a different electric network, the flow statistics will be for the new electric network this pole is part of. * * _Can only be used if this is ElectricPole_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#electric_network_statistics Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#electric_network_statistics Online documentation} */ readonly electric_network_statistics: LuaFlowStatistics /** @@ -5412,7 +5423,7 @@ declare module "factorio:runtime" { * This considers the circuit network, manual override and the inserter stack size limit based on technology. * * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#inserter_target_pickup_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#inserter_target_pickup_count Online documentation} */ readonly inserter_target_pickup_count: uint32 /** @@ -5421,72 +5432,72 @@ declare module "factorio:runtime" { * Set to `0` to reset. * * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#inserter_stack_size_override Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#inserter_stack_size_override Online documentation} */ inserter_stack_size_override: uint32 /** * The number of products this machine finished crafting in its lifetime. * * _Can only be used if this is CraftingMachine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#products_finished Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#products_finished Online documentation} */ products_finished: uint32 /** * _Can only be used if this is Spawner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#spawning_cooldown Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#spawning_cooldown Online documentation} */ readonly spawning_cooldown: double /** * _Can only be used if this is Spawner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#absorbed_pollution Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#absorbed_pollution Online documentation} */ readonly absorbed_pollution: double /** * _Can only be used if this is Spawner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#spawn_shift Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#spawn_shift Online documentation} */ readonly spawn_shift: double /** * The units associated with this spawner entity. * * _Can only be used if this is Spawner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#units Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#units Online documentation} */ readonly units: LuaEntity[] /** * The state of this power switch. * * _Can only be used if this is PowerSwitch_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#power_switch_state Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#power_switch_state Online documentation} */ power_switch_state: boolean /** * The description on this combinator. * * _Can only be used if this is ArithmeticCombinator, DeciderCombinator, SelectorCombinator or ConstantCombinator_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#combinator_description Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#combinator_description Online documentation} */ combinator_description: string /** * The effects being applied to this entity, if any. For beacons, this is the effect the beacon is broadcasting. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#effects Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#effects Online documentation} */ readonly effects?: Effect /** * The effects that will be applied to this entity once all upgrades are resolved. Can only be used when the entity has an effect receiver (AssemblingMachine, Furnace, Lab, MiningDrill, AgriculturalTower). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#potential_effects Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#potential_effects Online documentation} */ readonly potential_effects?: Effect /** * Number of beacons affecting this effect receiver. Can only be used when the entity has an effect receiver (AssemblingMachine, Furnace, Lab, MiningDrills) - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#beacons_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#beacons_count Online documentation} */ readonly beacons_count?: uint32 /** * The override logistic mode being used by this infinity container if it is overridden. * * _Can only be used if this is InfinityContainer_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#override_logistic_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#override_logistic_mode Online documentation} */ override_logistic_mode?: defines.logistic_mode /** @@ -5495,7 +5506,7 @@ declare module "factorio:runtime" { * The value exists when the infinity container was switched away from having the request from buffers option, for example by changing the {@link LuaEntity#override_logistic_mode logistic mode} away from requester. * * _Can only be used if this is InfinityContainer_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#saved_request_from_buffers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#saved_request_from_buffers Online documentation} */ saved_request_from_buffers?: boolean /** @@ -5504,7 +5515,7 @@ declare module "factorio:runtime" { * The value exists when the infinity container was switched away from having the set requests option, for example by changing the {@link LuaEntity#override_logistic_mode logistic mode} away from requester or buffer. * * _Can only be used if this is InfinityContainer_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#saved_set_requests Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#saved_set_requests Online documentation} */ saved_set_requests?: boolean /** @@ -5513,7 +5524,7 @@ declare module "factorio:runtime" { * They exist when the infinity container was switched away from having the option to set logistic requests, for example by changing the {@link LuaEntity#override_logistic_mode logistic mode} away from requester or buffer. * * _Can only be used if this is InfinityContainer_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#saved_request_filters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#saved_request_filters Online documentation} */ get saved_request_filters(): SavedLogisticFilters | nil set saved_request_filters(value: SavedLogisticFiltersWrite | nil) @@ -5523,7 +5534,7 @@ declare module "factorio:runtime" { * They exist when the infinity container was switched away from having the option to set storage filters, for example by changing the {@link LuaEntity#override_logistic_mode logistic mode} away from storage. * * _Can only be used if this is InfinityContainer_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#saved_storage_filters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#saved_storage_filters Online documentation} */ get saved_storage_filters(): SavedLogisticFilters | nil set saved_storage_filters(value: SavedLogisticFiltersWrite | nil) @@ -5531,7 +5542,7 @@ declare module "factorio:runtime" { * The filters for this infinity container. * * _Can only be used if this is InfinityContainer or InfinityCargoWagon_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#infinity_container_filters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#infinity_container_filters Online documentation} */ get infinity_container_filters(): InfinityInventoryFilter[] set infinity_container_filters(value: readonly InfinityInventoryFilterWrite[]) @@ -5539,7 +5550,7 @@ declare module "factorio:runtime" { * Whether items not included in this infinity container filters should be removed from the container. * * _Can only be used if this is InfinityContainer or InfinityCargoWagon_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#remove_unfiltered_items Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#remove_unfiltered_items Online documentation} */ remove_unfiltered_items: boolean /** @@ -5548,21 +5559,21 @@ declare module "factorio:runtime" { * The index is not guaranteed to be valid so it should always be checked first if a player with that index actually exists. * * _Can only be used if this is CharacterCorpse_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#character_corpse_player_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#character_corpse_player_index Online documentation} */ character_corpse_player_index: uint32 /** * The tick this character corpse died at. * * _Can only be used if this is CharacterCorpse_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#character_corpse_tick_of_death Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#character_corpse_tick_of_death Online documentation} */ character_corpse_tick_of_death: uint32 /** * The reason this character corpse character died. `""` if there is no reason. * * _Can only be used if this is CharacterCorpse_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#character_corpse_death_cause Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#character_corpse_death_cause Online documentation} */ character_corpse_death_cause: LocalisedString /** @@ -5573,7 +5584,7 @@ declare module "factorio:runtime" { * A character associated with a player is not directly controlled by any player. * * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#associated_player Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#associated_player Online documentation} */ get associated_player(): LuaPlayer | nil set associated_player(value: PlayerIdentification | nil) @@ -5581,21 +5592,21 @@ declare module "factorio:runtime" { * The last tick this character entity was attacked. * * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#tick_of_last_attack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#tick_of_last_attack Online documentation} */ tick_of_last_attack: uint32 /** * The last tick this character entity was damaged. * * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#tick_of_last_damage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#tick_of_last_damage Online documentation} */ tick_of_last_damage: uint32 /** * The filter for this splitter, if any is set. * * _Can only be used if this is Splitter or LaneSplitter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#splitter_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#splitter_filter Online documentation} */ get splitter_filter(): ItemFilter | nil set splitter_filter(value: ItemFilterWrite | nil) @@ -5603,149 +5614,149 @@ declare module "factorio:runtime" { * The filter mode for this filter inserter. `nil` if this inserter doesn't use filters. * * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#inserter_filter_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#inserter_filter_mode Online documentation} */ inserter_filter_mode?: "whitelist" | "blacklist" /** * The filter mode for this loader. `nil` if this loader does not support filters. * * _Can only be used if this is Loader_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#loader_filter_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#loader_filter_mode Online documentation} */ loader_filter_mode?: PrototypeFilterMode /** * The belt stack size override for this loader. Set to `0` to disable. Writing this value requires {@link import("factorio:prototype").LoaderPrototype#adjustable_belt_stack_size LoaderPrototype::adjustable_belt_stack_size} to be `true`. * * _Can only be used if this is Loader_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#loader_belt_stack_size_override Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#loader_belt_stack_size_override Online documentation} */ loader_belt_stack_size_override: uint8 /** * The filter mode for this mining drill. `nil` if this mining drill doesn't have filters. * * _Can only be used if this is MiningDrill_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#mining_drill_filter_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#mining_drill_filter_mode Online documentation} */ mining_drill_filter_mode?: "whitelist" | "blacklist" /** * The input priority for this splitter. * * _Can only be used if this is Splitter or LaneSplitter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#splitter_input_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#splitter_input_priority Online documentation} */ splitter_input_priority: "left" | "none" | "right" /** * The output priority for this splitter. * * _Can only be used if this is Splitter or LaneSplitter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#splitter_output_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#splitter_output_priority Online documentation} */ splitter_output_priority: "left" | "none" | "right" /** * The spoil priority for this inserter. * * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#inserter_spoil_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#inserter_spoil_priority Online documentation} */ inserter_spoil_priority: SpoilPriority /** * Whether this land mine is armed. * * _Can only be used if this is LandMine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#armed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#armed Online documentation} */ readonly armed: boolean /** * When locked; the recipe in this assembling machine can't be changed by the player. * * _Can only be used if this is AssemblingMachine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#recipe_locked Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#recipe_locked Online documentation} */ recipe_locked: boolean /** * The rail entity this train stop is connected to, if any. * * _Can only be used if this is TrainStop_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#connected_rail Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#connected_rail Online documentation} */ readonly connected_rail?: LuaEntity /** * Rail direction to which this train stop is binding. This returns a value even when no rails are present. * * _Can only be used if this is TrainStop_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#connected_rail_direction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#connected_rail_direction Online documentation} */ readonly connected_rail_direction: defines.rail_direction /** * The number of trains in this rail block for this rail entity. * * _Can only be used if this is Rail_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#trains_in_block Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#trains_in_block Online documentation} */ readonly trains_in_block: uint32 /** * The timeout that's left on this landmine in ticks. It describes the time between the landmine being placed and it being armed. * * _Can only be used if this is LandMine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#timeout Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#timeout Online documentation} */ timeout: uint32 /** * The current total neighbour bonus of this reactor. * * _Can only be used if this is Reactor_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#neighbour_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#neighbour_bonus Online documentation} */ readonly neighbour_bonus: double /** * The AI settings of this unit. * * _Can only be used if this is Unit or SpiderUnit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#ai_settings Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#ai_settings Online documentation} */ readonly ai_settings: LuaAISettings /** * The highlight box type of this highlight box entity. * * _Can only be used if this is HighlightBox_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#highlight_box_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#highlight_box_type Online documentation} */ highlight_box_type: CursorBoxRenderType /** * The blink interval of this highlight box entity. `0` indicates no blink. * * _Can only be used if this is HighlightBox_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#highlight_box_blink_interval Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#highlight_box_blink_interval Online documentation} */ highlight_box_blink_interval: uint32 /** * The status of this entity, if any. * * This is always the actual status of the entity, even if {@link LuaEntity#custom_status LuaEntity::custom_status} is set. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#status Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#status Online documentation} */ readonly status?: defines.entity_status /** * A custom status for this entity that will be displayed in the GUI. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#custom_status Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#custom_status Online documentation} */ custom_status?: CustomEntityStatus /** * Whether equipment grid logistics are enabled while this vehicle is moving. * * _Can only be used if this is Vehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#enable_logistics_while_moving Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#enable_logistics_while_moving Online documentation} */ enable_logistics_while_moving: boolean /** * The player that this `simple-entity-with-owner`, `simple-entity-with-force`, or `highlight-box` is visible to. `nil` when this entity is rendered for all players. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#render_player Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#render_player Online documentation} */ get render_player(): LuaPlayer | nil set render_player(value: PlayerIdentification | nil) /** * The forces that this `simple-entity-with-owner` or `simple-entity-with-force` is visible to. `nil` or an empty array when this entity is rendered for all forces. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#render_to_forces Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#render_to_forces Online documentation} */ get render_to_forces(): LuaForce[] | nil set render_to_forces(value: ForceSet | nil) @@ -5753,14 +5764,14 @@ declare module "factorio:runtime" { * The rail targets of this pump's input * * _Can only be used if this is Pump_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#pump_input_rail_targets Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#pump_input_rail_targets Online documentation} */ readonly pump_input_rail_targets: LuaEntity[] /** * The rail targets of this pump's output * * _Can only be used if this is Pump_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#pump_output_rail_targets Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#pump_output_rail_targets Online documentation} */ readonly pump_output_rail_targets: LuaEntity[] /** @@ -5769,12 +5780,12 @@ declare module "factorio:runtime" { * If no override is defined, the threshold is taken from {@link LuaEntityPrototype#valve_threshold LuaEntityPrototype::valve_threshold}. * * _Can only be used if this is Valve_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#valve_threshold_override Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#valve_threshold_override Online documentation} */ valve_threshold_override?: float /** * Returns the id of the electric network that this entity is connected to, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#electric_network_id Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#electric_network_id Online documentation} */ readonly electric_network_id?: uint32 /** @@ -5783,7 +5794,7 @@ declare module "factorio:runtime" { * This can be used with electric poles, in which case the network will be the same as the one obtained from copper wire connector. * * If this entity has an electric energy source, only a primary network will be provided. To also get other networks for entities in range of multiple networks, use {@link LuaEntity#electric_networks LuaEntity::electric_networks} instead. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#electric_network Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#electric_network Online documentation} */ readonly electric_network?: LuaElectricSubNetwork /** @@ -5794,28 +5805,28 @@ declare module "factorio:runtime" { * Empty array will be given if this entity is not in range of any networks. * * Compared to {@link LuaEntity#electric_network LuaEntity::electric_network}, this does not work with electric poles since they do not have an electric energy source and as such can only belong to one network at a time. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#electric_networks Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#electric_networks Online documentation} */ readonly electric_networks?: LuaElectricSubNetwork[] /** * Whether this entity's personal roboports are allowed to dispatch robots. * * _Can only be used if this is Character or Vehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#allow_dispatching_robots Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#allow_dispatching_robots Online documentation} */ allow_dispatching_robots: boolean /** * How much energy this generator generated in the last tick. * * _Can only be used if this is Generator_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#energy_generated_last_tick Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#energy_generated_last_tick Online documentation} */ readonly energy_generated_last_tick: double /** * The storage filter for this logistic storage container. * * Useable only on logistic containers with the `"storage"` {@link LuaEntityPrototype#logistic_mode logistic_mode}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#storage_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#storage_filter Online documentation} */ get storage_filter(): ItemIDAndQualityIDPair | nil set storage_filter(value: ItemWithQualityID | nil) @@ -5823,40 +5834,40 @@ declare module "factorio:runtime" { * Whether this requester chest is set to also request from buffer chests. * * Useable only on entities that have requester slots. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#request_from_buffers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#request_from_buffers Online documentation} */ request_from_buffers: boolean /** * Whether this corpse will ever fade away. * * _Can only be used if this is Corpse_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#corpse_expires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#corpse_expires Online documentation} */ corpse_expires: boolean /** * If true, corpse won't be destroyed when entities are placed over it. If false, whether corpse will be removed or not depends on value of {@link import("factorio:prototype").CorpsePrototype#remove_on_entity_placement CorpsePrototype::remove_on_entity_placement}. * * _Can only be used if this is Corpse_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#corpse_immune_to_entity_placement Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#corpse_immune_to_entity_placement Online documentation} */ corpse_immune_to_entity_placement: boolean /** * The tags associated with this entity ghost. `nil` if this is not an entity ghost or when the ghost has no tags. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#tags Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#tags Online documentation} */ tags?: Tags /** * The ticks until the next trigger effect of this smoke-with-trigger. * * _Can only be used if this is SmokeWithTrigger_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#time_to_next_effect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#time_to_next_effect Online documentation} */ time_to_next_effect: uint32 /** * Destination of this spidertron's autopilot, if any. Writing `nil` clears all destinations. * * _Can only be used if this is SpiderVehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#autopilot_destination Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#autopilot_destination Online documentation} */ get autopilot_destination(): MapPosition | nil set autopilot_destination(value: MapPosition | MapPositionArray | nil) @@ -5866,14 +5877,14 @@ declare module "factorio:runtime" { * Setting this to 0 will disable patrolling. * * _Can only be used if this is SpiderVehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#autopilot_patrol_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#autopilot_patrol_size Online documentation} */ autopilot_patrol_size: uint32 /** * The queued destination positions of spidertron's autopilot. * * _Can only be used if this is SpiderVehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#autopilot_destinations Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#autopilot_destinations Online documentation} */ readonly autopilot_destinations: MapPosition[] /** @@ -5886,7 +5897,7 @@ declare module "factorio:runtime" { * This value is equal to LuaEntity::train_reservations_count + LuaEntity::script_reservations_count. * * _Can only be used if this is TrainStop_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#trains_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#trains_count Online documentation} */ readonly trains_count: uint32 /** @@ -5895,64 +5906,64 @@ declare module "factorio:runtime" { * When a train stop has a control behavior with wire connected and set_trains_limit enabled, this value will be overwritten by it. * * _Can only be used if this is TrainStop_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#trains_limit Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#trains_limit Online documentation} */ trains_limit: uint32 | nil /** * Amount of train stop reservations taken by trains. * * _Can only be used if this is TrainStop_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#train_reservations_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#train_reservations_count Online documentation} */ readonly train_reservations_count: uint32 /** * Amount of train stop reservations taken by script. * * _Can only be used if this is TrainStop_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#script_reservations_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#script_reservations_count Online documentation} */ script_reservations_count: uint32 /** * Whether this entity is a MilitaryTarget. Can be written to if {@link LuaEntityPrototype#allow_run_time_change_of_is_military_target LuaEntityPrototype::allow_run_time_change_of_is_military_target} returns `true`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#is_military_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#is_military_target Online documentation} */ is_military_target: boolean /** * If this entity is EntityWithOwner - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#is_entity_with_owner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#is_entity_with_owner Online documentation} */ readonly is_entity_with_owner: boolean /** * If this entity is EntityWithHealth - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#is_entity_with_health Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#is_entity_with_health Online documentation} */ readonly is_entity_with_health: boolean /** * The owner of this combat robot, if any. * * _Can only be used if this is CombatRobot_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#combat_robot_owner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#combat_robot_owner Online documentation} */ combat_robot_owner?: LuaEntity /** * The link ID this linked container is using. * * _Can only be used if this is LinkedContainer_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#link_id Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#link_id Online documentation} */ link_id: uint32 /** * The follow target of this spidertron, if any. * * _Can only be used if this is SpiderVehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#follow_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#follow_target Online documentation} */ follow_target?: LuaEntity /** * The follow offset of this spidertron, if any entity is being followed. This is randomized each time the follow entity is set. * * _Can only be used if this is SpiderVehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#follow_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#follow_offset Online documentation} */ get follow_offset(): Vector | nil set follow_offset(value: Vector | VectorTable | nil) @@ -5962,7 +5973,7 @@ declare module "factorio:runtime" { * Can only be changed when linked belt is disconnected (has no neighbour set). * * _Can only be used if this is LinkedBelt_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#linked_belt_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#linked_belt_type Online documentation} */ linked_belt_type: BeltConnectionType /** @@ -5971,64 +5982,64 @@ declare module "factorio:runtime" { * May return entity ghost which contains linked belt to which connection is made. * * _Can only be used if this is LinkedBelt_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#linked_belt_neighbour Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#linked_belt_neighbour Online documentation} */ readonly linked_belt_neighbour?: LuaEntity /** * The quality of this entity. * * Not all entities support quality and will give the "normal" quality back if they don't. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#quality Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#quality Online documentation} */ readonly quality: LuaQualityPrototype /** * Gets rail layer of a given signal * * _Can only be used if this is RailSignal or RailChainSignal_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#rail_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#rail_layer Online documentation} */ readonly rail_layer: defines.rail_layer /** * The current radar scan progress, as a number in range `[0, 1]`. * * _Can only be used if this is Radar_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#radar_scan_progress Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#radar_scan_progress Online documentation} */ readonly radar_scan_progress: float /** * Name tag of this entity. Returns `nil` if entity has no name tag. When name tag is already used by other entity, the name will be removed from the other entity. Entity name tags can also be set in the entity "extra settings" GUI in the map editor. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#name_tag Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#name_tag Online documentation} */ name_tag: string | nil /** * The status of this rocket silo entity. * * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#rocket_silo_status Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#rocket_silo_status Online documentation} */ readonly rocket_silo_status: defines.rocket_silo_status /** * Specifies the tiling size of the entity, is used to decide, if the center should be in the center of the tile (odd tile size dimension) or on the tile border (even tile size dimension). Uses the current direction of the entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#tile_width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#tile_width Online documentation} */ readonly tile_width: uint32 /** * Specifies the tiling size of the entity, is used to decide, if the center should be in the center of the tile (odd tile size dimension) or on the tile border (even tile size dimension). Uses the current direction of the entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#tile_height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#tile_height Online documentation} */ readonly tile_height: uint32 /** * Returns current position in 3D for the end of the crane of this entity. * * _Can only be used if this is AgriculturalTower_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#crane_end_position_3d Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#crane_end_position_3d Online documentation} */ readonly crane_end_position_3d: Vector3D /** * Destination of the crane of this entity. Throws when trying to set the destination out of range. * * _Can only be used if this is AgriculturalTower_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#crane_destination Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#crane_destination Online documentation} */ get crane_destination(): MapPosition set crane_destination(value: MapPosition | MapPositionArray) @@ -6036,7 +6047,7 @@ declare module "factorio:runtime" { * Destination of the crane of this entity in 3D. Throws when trying to set the destination out of range. * * _Can only be used if this is AgriculturalTower_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#crane_destination_3d Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#crane_destination_3d Online documentation} */ get crane_destination_3d(): Vector3D set crane_destination_3d(value: Vector3D | Vector3DArray) @@ -6044,56 +6055,56 @@ declare module "factorio:runtime" { * Will set destination for the grappler of crane of this entity. The crane grappler will start moving to reach the destination, but the rest of the arm will remain stationary. Throws when trying to set the destination out of range. * * _Can only be used if this is AgriculturalTower_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#crane_grappler_destination Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#crane_grappler_destination Online documentation} */ set crane_grappler_destination(value: MapPosition | MapPositionArray) /** * Will set destination in 3D for the grappler of crane of this entity. The crane grappler will start moving to reach the destination, but the rest of the arm will remain stationary. Throws when trying to set the destination out of range. * * _Can only be used if this is AgriculturalTower_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#crane_grappler_destination_3d Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#crane_grappler_destination_3d Online documentation} */ set crane_grappler_destination_3d(value: Vector3D | Vector3DArray) /** * Plants registered by this agricultural tower. One plant can be registered in multiple agricultural towers. * * _Can only be used if this is AgriculturalTower_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#owned_plants Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#owned_plants Online documentation} */ readonly owned_plants: LuaEntity[] /** * If this rolling stock has 'copy color from train stop' enabled. * * _Can only be used if this is RollingStock_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#copy_color_from_train_stop Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#copy_color_from_train_stop Online documentation} */ copy_color_from_train_stop: boolean /** * If the rolling stock is facing train's front. * * _Can only be used if this is RollingStock_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#is_headed_to_trains_front Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#is_headed_to_trains_front Online documentation} */ readonly is_headed_to_trains_front: boolean /** * Gives a draw data of the given entity if it supports such data. * * _Can only be used if this is RollingStock_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#draw_data Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#draw_data Online documentation} */ readonly draw_data: RollingStockDrawData /** * Priority of this train stop. * * _Can only be used if this is TrainStop_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#train_stop_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#train_stop_priority Online documentation} */ train_stop_priority: uint8 /** * Gives what is the current shape of a transport-belt. * * _Can only be used if this is TransportBelt_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#belt_shape Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#belt_shape Online documentation} */ readonly belt_shape: "straight" | "left" | "right" /** @@ -6104,52 +6115,52 @@ declare module "factorio:runtime" { * * -- called on a LuaEntity on "custom-surface" it returns: * different_entity.gps_tag -- => "[gps=1,-5,custom-surface]" - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#gps_tag Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#gps_tag Online documentation} */ readonly gps_tag: string /** * Returns a LuaCommandable for this entity or nil if entity is not commandable. Units and SpiderUnits are commandable. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#commandable Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#commandable Online documentation} */ readonly commandable?: LuaCommandable /** * The tick when this plant is fully grown. * * _Can only be used if this is Plant_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#tick_grown Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#tick_grown Online documentation} */ tick_grown: MapTick /** * If the lamp is always on when not driven by control behavior. * * _Can only be used if this is Lamp_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#always_on Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#always_on Online documentation} */ always_on: boolean /** * If this artillery auto-targets enemies. * * _Can only be used if this is ArtilleryWagon or ArtilleryTurret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#artillery_auto_targeting Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#artillery_auto_targeting Online documentation} */ artillery_auto_targeting: boolean /** * Get the current queue of robot orders. * * _Can only be used if this is ConstructionRobot or LogisticRobot_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#robot_order_queue Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#robot_order_queue Online documentation} */ readonly robot_order_queue: WorkerRobotOrder[] /** * how far into the current procession the cargo pod is. * * _Can only be used if this is CargoPod_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#procession_tick Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#procession_tick Online documentation} */ procession_tick: MapTick /** * Whether the entity is updatable and considered an UpdatableEntity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#is_updatable Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#is_updatable Online documentation} */ readonly is_updatable: boolean /** @@ -6160,7 +6171,7 @@ declare module "factorio:runtime" { * If this entity is not considered {@link LuaEntity#is_updatable updatable} then this always returns `false` and writes will be ignored. * * _Can only be used if this is UpdatableEntity_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#disabled_by_script Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#disabled_by_script Online documentation} */ disabled_by_script: boolean /** @@ -6169,7 +6180,7 @@ declare module "factorio:runtime" { * Always returns `false` if this entity is not considered {@link LuaEntity#is_updatable updatable}. * * _Can only be used if this is UpdatableEntity_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#disabled_by_control_behavior Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#disabled_by_control_behavior Online documentation} */ readonly disabled_by_control_behavior: boolean /** @@ -6178,12 +6189,12 @@ declare module "factorio:runtime" { * Always returns `false` if this entity is not considered {@link LuaEntity#is_updatable updatable}. * * _Can only be used if this is UpdatableEntity_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#disabled_by_recipe Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#disabled_by_recipe Online documentation} */ readonly disabled_by_recipe: boolean /** * Whether the entity is freezable and considered a FreezableEntity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#is_freezable Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#is_freezable Online documentation} */ readonly is_freezable: boolean /** @@ -6192,19 +6203,19 @@ declare module "factorio:runtime" { * Always returns `false` if this entity is not considered {@link LuaEntity#is_freezable freezable}. * * _Can only be used if this is FreezableEntity_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#frozen Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#frozen Online documentation} */ readonly frozen: boolean /** * The cargo hatches owned by this entity if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#cargo_hatches Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#cargo_hatches Online documentation} */ readonly cargo_hatches: LuaCargoHatch[] /** * The state of this cargo pod entity. * * _Can only be used if this is CargoPod_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#cargo_pod_state Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#cargo_pod_state Online documentation} */ readonly cargo_pod_state: "awaiting_launch" | "ascending" | "surface_transition" | "descending" | "parking" /** @@ -6213,7 +6224,7 @@ declare module "factorio:runtime" { * Use {@link LuaEntity#force_finish_ascending force_finish_ascending} if you want it to only descend from orbit. * * _Can only be used if this is CargoPod_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#cargo_pod_destination Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#cargo_pod_destination Online documentation} */ get cargo_pod_destination(): CargoDestination set cargo_pod_destination(value: CargoDestinationWrite) @@ -6221,176 +6232,176 @@ declare module "factorio:runtime" { * The origin of this cargo pod entity. (Must be a silo, hub or pad) * * _Can only be used if this is CargoPod_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#cargo_pod_origin Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#cargo_pod_origin Online documentation} */ cargo_pod_origin?: LuaEntity /** * The cargo pod attached to this rocket silo rocket if any. * * _Can only be used if this is RocketSiloRocket_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#attached_cargo_pod Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#attached_cargo_pod Online documentation} */ readonly attached_cargo_pod?: LuaEntity /** * The rocket silo rocket this cargo pod is attached to, or rocket silo rocket attached to this rocket silo - if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#rocket Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#rocket Online documentation} */ readonly rocket?: LuaEntity /** * The first found item request proxy targeting this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#item_request_proxy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#item_request_proxy Online documentation} */ readonly item_request_proxy?: LuaEntity /** * _Can only be used if this is Projectile_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#base_damage_modifiers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#base_damage_modifiers Online documentation} */ base_damage_modifiers: TriggerModifierData /** * _Can only be used if this is Projectile_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#bonus_damage_modifiers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#bonus_damage_modifiers Online documentation} */ bonus_damage_modifiers: TriggerModifierData /** * The space platform hub or cargo landing pad this cargo bay is connected to if any. * * _Can only be used if this is CargoBay_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#cargo_bay_connection_owner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#cargo_bay_connection_owner Online documentation} */ readonly cargo_bay_connection_owner?: LuaEntity /** * For inserters taking items from transport belt connectables, this determines whether the inserter is allowed to take items from the left lane. * * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#pickup_from_left_lane Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#pickup_from_left_lane Online documentation} */ pickup_from_left_lane: boolean /** * For inserters taking items from transport belt connectables, this determines whether the inserter is allowed to take items from the right lane. * * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#pickup_from_right_lane Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#pickup_from_right_lane Online documentation} */ pickup_from_right_lane: boolean /** * The segmented unit object that the segment entity is a part of. * * _Can only be used if this is Segment_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#segmented_unit Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#segmented_unit Online documentation} */ readonly segmented_unit?: LuaSegmentedUnit /** * The amount of fluid moved by this offshore pump or normal pump in the last tick. * * _Can only be used if this is OffshorePump or Pump_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#pumped_last_tick Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#pumped_last_tick Online documentation} */ readonly pumped_last_tick: double /** * The corpse that caused this entity ghost to be created, if any. * * _Can only be used if this is EntityGhost_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#created_by_corpse Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#created_by_corpse Online documentation} */ readonly created_by_corpse?: LuaEntity /** * The priority targets for this turret (if any). * * _Can only be used if this is Turret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#priority_targets Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#priority_targets Online documentation} */ readonly priority_targets: LuaEntityPrototype[] /** * If this space platform hub will automatically make logistic requests for any missing construction materials. * * _Can only be used if this is SpacePlatformHub_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#request_missing_construction_materials Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#request_missing_construction_materials Online documentation} */ request_missing_construction_materials: boolean /** * If this space platform hub will provide its contents to other requesting platforms. * * _Can only be used if this is SpacePlatformHub_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#providing_to_other_platforms Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#providing_to_other_platforms Online documentation} */ providing_to_other_platforms: boolean /** * Additional effect applied to this entity with effect receiver. `nil` if this entity has no effect receiver. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#local_effect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#local_effect Online documentation} */ local_effect?: Effect /** * Entity of which inventory is exposed by this ProxyContainer * * _Can only be used if this is ProxyContainer_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#proxy_target_entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#proxy_target_entity Online documentation} */ proxy_target_entity?: LuaEntity /** * Inventory index of the inventory that is exposed by this ProxyContainer * * _Can only be used if this is ProxyContainer_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#proxy_target_inventory Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#proxy_target_inventory Online documentation} */ proxy_target_inventory: defines.inventory /** * Text visible on the display panel. Can be written only when it is not set by control behavior. * * _Can only be used if this is DisplayPanel_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#display_panel_text Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#display_panel_text Online documentation} */ display_panel_text: string /** * Icon visible on the display panel. Can be written only when it is not set by control behavior. * * _Can only be used if this is DisplayPanel_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#display_panel_icon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#display_panel_icon Online documentation} */ get display_panel_icon(): SignalID | nil set display_panel_icon(value: SignalIDWrite | nil) /** * _Can only be used if this is DisplayPanel_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#display_panel_always_show Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#display_panel_always_show Online documentation} */ display_panel_always_show: boolean /** * _Can only be used if this is DisplayPanel_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#display_panel_show_in_chart Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#display_panel_show_in_chart Online documentation} */ display_panel_show_in_chart: boolean /** * The power production specific to the ElectricEnergyInterface entity type. * * _Can only be used if this is ElectricEnergyInterface_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#power_production Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#power_production Online documentation} */ power_production: double /** * The power usage specific to the ElectricEnergyInterface entity type. * * _Can only be used if this is ElectricEnergyInterface_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#power_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#power_usage Online documentation} */ power_usage: double /** * Max amount of energy this ElectricEnergyInterface will take from electric network in one tick. * * _Can only be used if this is ElectricEnergyInterface_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#input_flow_limit Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#input_flow_limit Online documentation} */ input_flow_limit: double /** * Max amount of energy this ElectricEnergyInterface will provide to electric network in one tick. * * _Can only be used if this is ElectricEnergyInterface_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#output_flow_limit Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#output_flow_limit Online documentation} */ output_flow_limit: double /** * Mode this ElectricEnergyInterface is in. Mode changes how the interface interacts with electric network: if its an electric producer, consumer and what priority it has. * * _Can only be used if this is ElectricEnergyInterface_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#electric_interface_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#electric_interface_mode Online documentation} */ electric_interface_mode: defines.electric_interface_mode /** @@ -6409,27 +6420,27 @@ declare module "factorio:runtime" { /** * Gets the entity's output inventory if it has one. * @returns A reference to the entity's output inventory. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_output_inventory Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_output_inventory Online documentation} */ get_output_inventory(): LuaInventory | nil /** * Inventory for storing modules of this entity; `nil` if this entity has no module inventory. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_module_inventory Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_module_inventory Online documentation} */ get_module_inventory(): LuaInventory | nil /** * The fuel inventory for this entity or `nil` if this entity doesn't have a fuel inventory. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_fuel_inventory Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_fuel_inventory Online documentation} */ get_fuel_inventory(): LuaInventory | nil /** * The burnt result inventory for this entity or `nil` if this entity doesn't have a burnt result inventory. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_burnt_result_inventory Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_burnt_result_inventory Online documentation} */ get_burnt_result_inventory(): LuaInventory | nil /** * Whether the entity can be destroyed - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#can_be_destroyed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#can_be_destroyed Online documentation} */ can_be_destroyed(): boolean /** @@ -6440,7 +6451,7 @@ declare module "factorio:runtime" { * ## Raised events * - {@link ScriptRaisedDestroyEvent script_raised_destroy}? _instantly_ Raised if the `raise_destroy` flag was set and the entity was successfully destroyed. * @returns Returns `false` if the entity was valid and destruction failed, `true` in all other cases. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#destroy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#destroy Online documentation} */ destroy(params?: { /** @@ -6474,7 +6485,7 @@ declare module "factorio:runtime" { * @example * -- This function can be called with only the `cause` argument and no `force`: * entity.die(nil, killer_entity) - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#die Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#die Online documentation} */ die(force?: ForceID, cause?: LuaEntity): boolean /** @@ -6483,7 +6494,7 @@ declare module "factorio:runtime" { * `entity.has_flag(f)` is a shortcut for `entity.prototype.has_flag(f)`. * @param flag The flag to test. * @returns `true` if this entity has the given flag set. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#has_flag Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#has_flag Online documentation} */ has_flag(flag: EntityPrototypeFlag): boolean /** @@ -6495,7 +6506,7 @@ declare module "factorio:runtime" { * @param player The player to set the last_user to, if any. Also the player whose undo queue this action should be added to. * @param undo_index The index of the undo item to add this action to. An index of `0` creates a new undo item for it. An index of `1` adds the action to the latest undo action on the stack. Defaults to putting it into the appropriate undo item automatically if one is not specified. * @returns if the entity was marked for deconstruction. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#order_deconstruction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#order_deconstruction Online documentation} */ order_deconstruction(force: ForceID, player?: PlayerIdentification, undo_index?: uint32): boolean /** @@ -6505,12 +6516,12 @@ declare module "factorio:runtime" { * - {@link OnCancelledDeconstructionEvent on_cancelled_deconstruction}? _instantly_ Raised if the entity's deconstruction was successfully cancelled. * @param force The force who did the deconstruction order. * @param player The player to set the `last_user` to if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#cancel_deconstruction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#cancel_deconstruction Online documentation} */ cancel_deconstruction(force: ForceID, player?: PlayerIdentification): void /** * Is this entity marked for deconstruction? - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#to_be_deconstructed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#to_be_deconstructed Online documentation} */ to_be_deconstructed(): boolean /** @@ -6519,7 +6530,7 @@ declare module "factorio:runtime" { * ## Raised events * - {@link OnMarkedForUpgradeEvent on_marked_for_upgrade}? _instantly_ Raised if the entity was successfully marked for upgrade. * @returns Whether the entity was marked for upgrade. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#order_upgrade Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#order_upgrade Online documentation} */ order_upgrade(params: { /** @@ -6547,12 +6558,12 @@ declare module "factorio:runtime" { * @param force The force who did the upgrade order. * @param player The player to set the last_user to if any. * @returns Whether the cancel was successful. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#cancel_upgrade Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#cancel_upgrade Online documentation} */ cancel_upgrade(force: ForceID, player?: PlayerIdentification): boolean /** * Is this entity marked for upgrade? - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#to_be_upgraded Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#to_be_upgraded Online documentation} */ to_be_upgraded(): boolean /** @@ -6565,7 +6576,7 @@ declare module "factorio:runtime" { * @param buffer If provided - any items left over from the upgrade are put into this inventory. * @returns The first upgraded entity - `nil` if this entity is not marked for upgrade. * @returns When upgrading underground belts, the other underground belt end that was also upgraded - `nil` if this entity is not marked for upgrade. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#apply_upgrade Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#apply_upgrade Online documentation} */ apply_upgrade( override_target?: EntityWithQualityID, @@ -6575,32 +6586,32 @@ declare module "factorio:runtime" { * Get the filter for a slot in an inserter, loader, mining drill, asteroid collector, or logistic storage container. The entity must allow filters. * @param slot_index Index of the slot to get the filter for. * @returns The filter, or `nil` if the given slot has no filter. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_filter Online documentation} */ get_filter(slot_index: uint32): ItemFilter | LuaEntityPrototype | LuaAsteroidChunkPrototype | nil /** * Set the filter for a slot in an inserter (ItemFilter), loader (ItemFilter), mining drill (EntityID), asteroid collector (AsteroidChunkID) or logistic storage container (ItemWithQualityID). The entity must allow filters. * @param index Index of the slot to set the filter for. * @param filter The item or entity to filter, or `nil` to clear the filter. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#set_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#set_filter Online documentation} */ set_filter(index: uint32, filter?: ItemFilterWrite | ItemWithQualityID | EntityID | AsteroidChunkID): void /** * Gets the control behavior of the entity (if any). * @returns The control behavior or `nil`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_control_behavior Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_control_behavior Online documentation} */ get_control_behavior(): LuaControlBehavior | nil /** * Gets (and or creates if needed) the control behavior of the entity. * @returns The control behavior or `nil`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_or_create_control_behavior Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_or_create_control_behavior Online documentation} */ get_or_create_control_behavior(): LuaControlBehavior | nil /** * @param wire_connector_id Wire connector to get circuit network for. * @returns The circuit network or nil. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_circuit_network Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_circuit_network Online documentation} */ get_circuit_network(wire_connector_id: defines.wire_connector_id): LuaCircuitNetwork | nil /** @@ -6609,7 +6620,7 @@ declare module "factorio:runtime" { * @param wire_connector_id Wire connector ID from which to get the signal * @param extra_wire_connector_id Additional wire connector ID. If specified, signal will be added to the result * @returns The current value of the signal. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_signal Online documentation} */ get_signal( signal: SignalIDWrite, @@ -6621,7 +6632,7 @@ declare module "factorio:runtime" { * @param wire_connector_id Wire connector ID from which to get the signal * @param extra_wire_connector_id Additional wire connector ID. If specified, signals will be added to the result * @returns Current values of all signals. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_signals Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_signals Online documentation} */ get_signals( wire_connector_id: defines.wire_connector_id, @@ -6634,31 +6645,31 @@ declare module "factorio:runtime" { * * `nil` if entity has no circuit connector with provided identifier. * @param tick_of_last_check Value of {@link LuaGameScript#tick LuaGameScript::tick} of the previous check. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_signals_changed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_signals_changed Online documentation} */ get_signals_changed(wire_connector_id: defines.wire_connector_id, tick_of_last_check?: MapTick): boolean | nil /** * Whether this entity supports a backer name. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#supports_backer_name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#supports_backer_name Online documentation} */ supports_backer_name(): boolean /** * Copies settings from the given entity onto this entity. * @param by_player If provided, the copying is done 'as' this player and {@link OnEntitySettingsPastedEvent on_entity_settings_pasted} is triggered. * @returns Any items removed from this entity as a result of copying the settings. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#copy_settings Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#copy_settings Online documentation} */ copy_settings(entity: LuaEntity, by_player?: PlayerIdentification): ItemWithQualityCount[] /** * Gets all the `LuaLogisticPoint`s that this entity owns. Optionally returns only the point specified by the index parameter. * @param index If provided, this method only returns the `LuaLogisticPoint` specified by this index, or `nil` if it doesn't exist. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_logistic_point Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_logistic_point Online documentation} */ get_logistic_point(index: defines.logistic_member_index): LuaLogisticPoint | nil get_logistic_point(): Record | nil /** * Reconnect loader, beacon, cliff and mining drill connections to entities that might have been teleported out or in by the script. The game doesn't do this automatically as we don't want to lose performance by checking this in normal games. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#update_connections Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#update_connections Online documentation} */ update_connections(): void /** @@ -6667,7 +6678,7 @@ declare module "factorio:runtime" { * ## Raised events * - {@link OnPlayerRotatedEntityEvent on_player_rotated_entity}? _instantly_ Raised if the `by_player` argument was given and the rotation was successful. * @returns Whether the rotation was successful. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#rotate Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#rotate Online documentation} */ rotate(params?: { /** @@ -6682,12 +6693,12 @@ declare module "factorio:runtime" { * ## Raised events * - {@link OnPlayerFlippedEntityEvent on_player_flipped_entity}? _instantly_ Raised if the `by_player` argument was given and the flip was successful. * @returns Whether the flip was successful. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#flip Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#flip Online documentation} */ flip(params: { readonly horizontal: boolean; readonly by_player?: PlayerIdentification }): boolean /** * Returns `true` if this entity produces or consumes electricity and is connected to an electric network that has at least one entity that can produce power. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#is_connected_to_electric_network Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#is_connected_to_electric_network Online documentation} */ is_connected_to_electric_network(): boolean /** @@ -6696,7 +6707,7 @@ declare module "factorio:runtime" { * ## Raised events * - {@link OnEntityClonedEvent on_entity_cloned}? _instantly_ Raised if the entity was successfully cloned. * @returns The cloned entity or `nil` if this entity can't be cloned/can't be cloned to the given location. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#clone Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#clone Online documentation} */ clone(params: { /** @@ -6718,7 +6729,7 @@ declare module "factorio:runtime" { * * If information about fluid temperatures is required, {@link LuaEntity#get_fluid LuaEntity::get_fluid} should be used instead. * @param fluid Prototype name of the fluid to count. If not specified, count all fluids. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_fluid_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_fluid_count Online documentation} */ get_fluid_count(fluid?: string): FluidAmount /** @@ -6726,19 +6737,19 @@ declare module "factorio:runtime" { * * If information about fluid temperatures is required, {@link LuaEntity#get_fluid LuaEntity::get_fluid} should be used instead. * @returns The amounts, indexed by fluid names. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_fluid_contents Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_fluid_contents Online documentation} */ get_fluid_contents(): Record /** * Clears all fluids in this entity but will not clear fluids in any fluid segments fluidboxes may be part of. * @returns The fluids removed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#clear_fluids Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#clear_fluids Online documentation} */ clear_fluids(): Fluid[] /** * Gets the fluid in the entity's given fluid storage if one exists. * @returns The fluid in this storage. `nil` if fluid storage is empty. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_fluid Online documentation} */ get_fluid(index: FluidStorageIndex): Fluid | nil /** @@ -6746,7 +6757,7 @@ declare module "factorio:runtime" { * * Fluid filters may block setting the fluid, or less fluid may be set if it's more than the maximum capacity. * @returns How much of the given fluid was actually set. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#set_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#set_fluid Online documentation} */ set_fluid(index: FluidStorageIndex, fluid: Fluid): FluidAmount /** @@ -6754,24 +6765,24 @@ declare module "factorio:runtime" { * * If the current fluid conflicts or the current filter conflicts the fluid may not be added. * @returns The amount of fluid added. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#add_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#add_fluid Online documentation} */ add_fluid(index: FluidStorageIndex, fluid: Fluid): FluidAmount /** * Removes the given fluid amount from the entity's given fluid storage if possible. * @returns The fluid removed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#remove_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#remove_fluid Online documentation} */ remove_fluid(index: FluidStorageIndex, amount: FluidAmount): Fluid | nil /** * Removes all fluid from the entity's given fluid storage if possible. * @returns The fluid cleared. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#clear_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#clear_fluid Online documentation} */ clear_fluid(index: FluidStorageIndex): Fluid | nil /** * Get a fluidbox filter, such as the filter of a pump. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_fluid_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_fluid_filter Online documentation} */ get_fluid_filter(index: FluidStorageIndex): LuaFluidPrototype | nil /** @@ -6779,27 +6790,27 @@ declare module "factorio:runtime" { * * Some entities cannot have their fluidbox filter set, notably fluid wagons and crafting machines. * @returns Whether the filter was set. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#set_fluid_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#set_fluid_filter Online documentation} */ set_fluid_filter(index: FluidStorageIndex, filter?: FluidID): boolean /** * Gets the maximum capacity of the entity's given fluid storage. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_fluid_capacity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_fluid_capacity Online documentation} */ get_fluid_capacity(index: FluidStorageIndex): FluidAmount /** * The prototype of the entity's given fluid storage if one exists. If this is used on a fluidbox of a crafting machine which due to recipe was created by merging multiple prototypes, a table of prototypes that were merged will be returned instead For storages on entities that have fluid storage but no prototype for those storages (fluid wagons, and fluid turrets) this returns `nil`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_fluid_box_prototype Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_fluid_box_prototype Online documentation} */ get_fluid_box_prototype(index: FluidStorageIndex): LuaFluidBoxPrototype | LuaFluidBoxPrototype[] | nil /** * The entities the given fluidbox is connected to. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_fluid_box_neighbours Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_fluid_box_neighbours Online documentation} */ get_fluid_box_neighbours(index: FluidStorageIndex): FluidBoxNeighbourRecord[] | nil /** * Get the given connections and associated data of the fluidbox. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_fluid_box_pipe_connections Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_fluid_box_pipe_connections Online documentation} */ get_fluid_box_pipe_connections(index: FluidStorageIndex): PipeConnection[] | nil /** @@ -6810,7 +6821,7 @@ declare module "factorio:runtime" { * Every fluidbox connection that was defined in prototypes as connection_type=="linked" may be linked to at most 1 other fluidbox. When trying to connect already used connection, previous connection will be removed. * * Linked connections cannot go to the same entity even if they would be part of other fluidbox. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#add_fluid_box_linked_connection Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#add_fluid_box_linked_connection Online documentation} */ add_fluid_box_linked_connection( this_linked_connection_id: uint32, @@ -6819,68 +6830,68 @@ declare module "factorio:runtime" { ): void /** * Removes linked fluidbox connection record. If connected, other end will be also removed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#remove_fluid_box_linked_connection Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#remove_fluid_box_linked_connection Online documentation} */ remove_fluid_box_linked_connection(this_linked_connection_id: uint32): void /** * Returns other end of a linked fluidbox connection. * @returns Other entity to which a linked fluidbox connection was made * @returns linked_connection_id on other entity - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_fluid_box_linked_connection Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_fluid_box_linked_connection Online documentation} */ get_fluid_box_linked_connection(this_linked_connection_id: uint32): LuaMultiReturn<[LuaEntity | nil, uint32 | nil]> /** * Returns list of all linked fluidbox connections registered for this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_fluid_box_linked_connections Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_fluid_box_linked_connections Online documentation} */ get_fluid_box_linked_connections(): FluidBoxConnectionRecord[] /** * Whether the given fluid storage has a fluid segment. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#has_fluid_segment Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#has_fluid_segment Online documentation} */ has_fluid_segment(index: FluidStorageIndex): boolean /** * The fluid within the given storage's fluid segment. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_fluid_segment_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_fluid_segment_fluid Online documentation} */ get_fluid_segment_fluid(index: FluidStorageIndex): Fluid | nil /** * Sets the fluid within the given storage's fluid segment. * @returns The amount of fluid set. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#set_fluid_segment_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#set_fluid_segment_fluid Online documentation} */ set_fluid_segment_fluid(index: FluidStorageIndex, fluid: Fluid): FluidAmount /** * Adds the given fluid to the given storage's fluid segment if possible. * @returns The amount of fluid added. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#add_fluid_segment_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#add_fluid_segment_fluid Online documentation} */ add_fluid_segment_fluid(index: FluidStorageIndex, fluid: Fluid): FluidAmount /** * Clears the given fluid storage's fluid segment. * @returns The fluid cleared. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#clear_fluid_segment_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#clear_fluid_segment_fluid Online documentation} */ clear_fluid_segment_fluid(index: FluidStorageIndex): Fluid | nil /** * Removes the given fluid amount from the given storage's fluid segment if possible. * @returns The fluid removed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#remove_fluid_segment_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#remove_fluid_segment_fluid Online documentation} */ remove_fluid_segment_fluid(index: FluidStorageIndex, amount: FluidAmount): Fluid | nil /** * Gets the filter of the given fluid storage's segment. The filter is based on the filters set on the fluidboxes of the segment, so it can't be set directly on the segment. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_fluid_segment_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_fluid_segment_filter Online documentation} */ get_fluid_segment_filter(index: FluidStorageIndex): LuaFluidPrototype | nil /** * Gets the maximum capacity of the given fluid storage's segment. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_fluid_segment_capacity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_fluid_segment_capacity Online documentation} */ get_fluid_segment_capacity(index: FluidStorageIndex): FluidAmount /** * Gets the current extent bounding box of of the given fluid storage's segment. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_fluid_segment_extent_bounding_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_fluid_segment_extent_bounding_box Online documentation} */ get_fluid_segment_extent_bounding_box(index: FluidStorageIndex): BoundingBox get_fluid_segment_id(index: FluidStorageIndex): uint32 @@ -6888,7 +6899,7 @@ declare module "factorio:runtime" { * Insert fluid into this entity. Fluidbox is chosen automatically. * @param fluid Fluid to insert. * @returns Amount of fluid actually inserted. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#insert_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#insert_fluid Online documentation} */ insert_fluid(fluid: Fluid): FluidAmount /** @@ -6896,7 +6907,7 @@ declare module "factorio:runtime" { * * If temperature is given only fluid matching that exact temperature is removed. If minimum and maximum is given fluid within that range is removed. * @returns Amount of fluid actually removed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#extract_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#extract_fluid Online documentation} */ extract_fluid(params: { /** @@ -6913,45 +6924,45 @@ declare module "factorio:runtime" { }): FluidAmount /** * Remove all fluids from this entity and connected fluid segments. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#clear_fluid_inside Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#clear_fluid_inside Online documentation} */ clear_fluid_inside(): void /** * The radius of this entity. The radius is defined as half the distance between the top left corner and bottom right corner of the collision box. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_radius Online documentation} */ get_radius(): double /** * The health ratio of this entity between 1 and 0 (for full health and no health respectively). * @returns `nil` if this entity doesn't have health. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_health_ratio Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_health_ratio Online documentation} */ get_health_ratio(): float | nil /** * Creates the same smoke that is created when you place a building by hand. * * You can play the building sound to go with it by using {@link LuaSurface#play_sound LuaSurface::play_sound}, eg: `entity.surface.play_sound{path="entity-build/"..entity.prototype.name, position=entity.position}` - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#create_build_effect_smoke Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#create_build_effect_smoke Online documentation} */ create_build_effect_smoke(): void /** * Toggle this entity's equipment movement bonus. Does nothing if the entity does not have an equipment grid. * * This property can also be read and written on the equipment grid of this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#toggle_equipment_movement_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#toggle_equipment_movement_bonus Online documentation} */ toggle_equipment_movement_bonus(): void /** * Returns the new entity prototype and its quality. * @returns `nil` if this entity is not marked for upgrade. * @returns `nil` if this entity is not marked for upgrade. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_upgrade_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_upgrade_target Online documentation} */ get_upgrade_target(): LuaMultiReturn<[LuaEntityPrototype | nil, LuaQualityPrototype | nil]> /** * Returns the amount of damage to be taken by this entity. * @returns `nil` if this entity does not have health. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_damage_to_be_taken Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_damage_to_be_taken Online documentation} */ get_damage_to_be_taken(): float | nil /** @@ -6964,7 +6975,7 @@ declare module "factorio:runtime" { * ## Raised events * - {@link ScriptRaisedDestroyEvent script_raised_destroy}? _instantly_ Raised if the `raise_destroyed` flag was set and the entity was successfully mined. * @returns Whether mining succeeded. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#mine Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#mine Online documentation} */ mine(params?: { /** @@ -6986,115 +6997,115 @@ declare module "factorio:runtime" { }): boolean /** * Triggers spawn_decoration actions defined in the entity prototype or does nothing if entity is not "turret" or "unit-spawner". - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#spawn_decorations Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#spawn_decorations Online documentation} */ spawn_decorations(): void /** * Get the entity ID at the specified position in the turret's priority list. * @param index The index of the entry to fetch. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_priority_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_priority_target Online documentation} */ get_priority_target(index: uint32): LuaEntityPrototype | nil /** * Set the entity ID name at the specified position in the turret's priority list. * @param index The index of the entry to set. * @param entity_id The name of the entity prototype, or `nil` to clear the entry. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#set_priority_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#set_priority_target Online documentation} */ set_priority_target(index: uint32, entity_id?: EntityID): void /** * Can wires reach between these entities. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#can_wires_reach Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#can_wires_reach Online documentation} */ can_wires_reach(entity: LuaEntity): boolean /** * Is this entity or tile ghost or item request proxy registered for construction? If false, it means a construction robot has been dispatched to build the entity, or it is not an entity that can be constructed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#is_registered_for_construction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#is_registered_for_construction Online documentation} */ is_registered_for_construction(): boolean /** * Is this entity registered for deconstruction with this force? If false, it means a construction robot has been dispatched to deconstruct it, or it is not marked for deconstruction. The complexity is effectively O(1) - it depends on the number of objects targeting this entity which should be small enough. * @param force The force construction manager to check. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#is_registered_for_deconstruction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#is_registered_for_deconstruction Online documentation} */ is_registered_for_deconstruction(force: ForceID): boolean /** * Is this entity registered for upgrade? If false, it means a construction robot has been dispatched to upgrade it, or it is not marked for upgrade. This is worst-case O(N) complexity where N is the current number of things in the upgrade queue. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#is_registered_for_upgrade Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#is_registered_for_upgrade Online documentation} */ is_registered_for_upgrade(): boolean /** * Is this entity registered for repair? If false, it means a construction robot has been dispatched to repair it, or it is not damaged. This is worst-case O(N) complexity where N is the current number of things in the repair queue. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#is_registered_for_repair Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#is_registered_for_repair Online documentation} */ is_registered_for_repair(): boolean /** * Gets a single wire connector of this entity, if any. * @param wire_connector_id Identifier of a specific connector to get * @param or_create If true and connector does not exist, it will be allocated if possible - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_wire_connector Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_wire_connector Online documentation} */ get_wire_connector(wire_connector_id: defines.wire_connector_id, or_create: true): LuaWireConnector get_wire_connector(wire_connector_id: defines.wire_connector_id, or_create: boolean): LuaWireConnector | nil /** * Gets all wire connectors of this entity * @param or_create If true, it will try to create all connectors possible - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_wire_connectors Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_wire_connectors Online documentation} */ get_wire_connectors(or_create: boolean): Record /** * The input flow limit for the electric energy source. `nil` if the entity doesn't have an electric energy source. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_electric_input_flow_limit Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_electric_input_flow_limit Online documentation} */ get_electric_input_flow_limit(quality?: QualityID): double | nil /** * The output flow limit for the electric energy source. `nil` if the entity doesn't have an electric energy source. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_electric_output_flow_limit Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_electric_output_flow_limit Online documentation} */ get_electric_output_flow_limit(quality?: QualityID): double | nil /** * Returns a table with all beacons affecting this effect receiver. Can only be used when the entity has an effect receiver (AssemblingMachine, Furnace, Lab, MiningDrills) - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_beacons Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_beacons Online documentation} */ get_beacons(): LuaEntity[] | nil /** * The same as {@link LuaInventory#supports_bar LuaInventory::supports_bar} but also works for ghosts where the inventory is not available through {@link LuaControl#get_inventory LuaControl::get_inventory}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#inventory_supports_bar Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#inventory_supports_bar Online documentation} */ inventory_supports_bar(inventory_index: defines.inventory): boolean /** * The same as {@link LuaInventory#get_bar LuaInventory::get_bar} but also works for ghosts where the inventory is not available through {@link LuaControl#get_inventory LuaControl::get_inventory}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_inventory_bar Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_inventory_bar Online documentation} */ get_inventory_bar(inventory_index: defines.inventory): uint32 /** * The same as {@link LuaInventory#set_bar LuaInventory::set_bar} but also works for ghosts where the inventory is not available through {@link LuaControl#get_inventory LuaControl::get_inventory}. * @param bar The new limit. Omitting this parameter or passing `nil` will clear the limit. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#set_inventory_bar Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#set_inventory_bar Online documentation} */ set_inventory_bar(inventory_index: defines.inventory, bar?: uint32): void /** * The same as {@link LuaInventory#supports_filters LuaInventory::supports_filters} but also works for ghosts where the inventory is not available through {@link LuaControl#get_inventory LuaControl::get_inventory}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#inventory_supports_filters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#inventory_supports_filters Online documentation} */ inventory_supports_filters(inventory_index: defines.inventory): boolean /** * The same as {@link LuaInventory#is_filtered LuaInventory::is_filtered} but also works for ghosts where the inventory is not available through {@link LuaControl#get_inventory LuaControl::get_inventory}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#is_inventory_filtered Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#is_inventory_filtered Online documentation} */ is_inventory_filtered(inventory_index: defines.inventory): boolean /** * The same as {@link LuaInventory#can_set_filter LuaInventory::can_set_filter} but also works for ghosts where the inventory is not available through {@link LuaControl#get_inventory LuaControl::get_inventory}. * @param index The item stack index * @param filter The item filter - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#can_set_inventory_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#can_set_inventory_filter Online documentation} */ can_set_inventory_filter(inventory_index: defines.inventory, index: uint32, filter: ItemFilterWrite): boolean /** * The same as {@link LuaInventory#get_filter LuaInventory::get_filter} but also works for ghosts where the inventory is not available through {@link LuaControl#get_inventory LuaControl::get_inventory}. * @param index The item stack index * @returns The current filter or `nil` if none. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_inventory_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_inventory_filter Online documentation} */ get_inventory_filter(inventory_index: defines.inventory, index: uint32): ItemFilter | nil /** @@ -7102,59 +7113,59 @@ declare module "factorio:runtime" { * @param index The item stack index. * @param filter The new filter. `nil` erases any existing filter. * @returns If the filter was allowed to be set. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#set_inventory_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#set_inventory_filter Online documentation} */ set_inventory_filter(inventory_index: defines.inventory, index: uint32, filter: ItemFilterWrite | nil): boolean /** * Gives logistic sections of this entity if it uses logistic sections. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_logistic_sections Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_logistic_sections Online documentation} */ get_logistic_sections(): LuaLogisticSections | nil /** * Removes all runtime tooltip fields attached to this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#clear_tooltip_fields Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#clear_tooltip_fields Online documentation} */ clear_tooltip_fields(): void /** * Gets all runtime tooltip fields attached to this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_tooltip_fields Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_tooltip_fields Online documentation} */ get_tooltip_fields(): RuntimeTooltipField[] /** * Removes selected runtime tooltip field. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#clear_tooltip_field Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#clear_tooltip_field Online documentation} */ clear_tooltip_field(id: uint32): void /** * Gets selected runtime tooltip field. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_tooltip_field Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_tooltip_field Online documentation} */ get_tooltip_field(id: uint32): RuntimeTooltipField | nil /** * Adds or changes runtime tooltip field. If `id` is not given a new one will be allocated in a way that makes it unique within this entity. If a value is given that is already used, existing line will be updated. * @returns Identifier of the record that was given or allocated. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#set_tooltip_field Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#set_tooltip_field Online documentation} */ set_tooltip_field(field: RuntimeTooltipField): uint32 /** * Returns count of fluid storages. This includes fluid storages provided by fluidboxes but also covers other fluid storages like fluid turret's internal buffer and fluid wagon's fluid. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#fluids_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#fluids_count Online documentation} */ readonly fluids_count: uint32 /** * Name of the entity prototype. E.g. "inserter" or "fast-inserter". - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#name Online documentation} */ readonly name: string /** * Localised name of the entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#localised_name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#localised_name Online documentation} */ readonly localised_name: LocalisedString readonly localised_description: LocalisedString /** * The entity prototype type of this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#type Online documentation} */ readonly type: EntityType /** @@ -7163,77 +7174,77 @@ declare module "factorio:runtime" { * Reading from this returns `false` if the entity is deactivated in at least one of the following ways: {@link LuaEntity#disabled_by_script by script}, {@link LuaEntity#disabled_by_control_behavior by circuit network}, {@link LuaEntity#disabled_by_recipe by recipe}, {@link LuaEntity#frozen by freezing}, or by being marked for deconstruction. * * If this entity is not considered {@link LuaEntity#is_updatable updatable} then this always returns `false`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#active Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#active Online documentation} */ readonly active: boolean /** * If set to `false`, this entity can't be damaged and won't be attacked automatically. It can however still be mined. * * Entities that are indestructible naturally (they have no health, like smoke, resource etc) can't be set to be destructible. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#destructible Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#destructible Online documentation} */ destructible: boolean /** * Not minable entities can still be destroyed. * * Tells if entity reports as being minable right now. This takes into account `minable_flag` and entity specific conditions (for example rail under rolling stocks is not minable, vehicle with passenger is not minable). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#minable Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#minable Online documentation} */ readonly minable: boolean /** * Script controlled flag that allows entity to be mined. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#minable_flag Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#minable_flag Online documentation} */ minable_flag: boolean /** * When entity is not to be rotatable (inserter, transport belt etc), it can't be rotated by player using the R key. * * Entities that are not rotatable naturally (like chest or furnace) can't be set to be rotatable. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#rotatable Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#rotatable Online documentation} */ rotatable: boolean /** * Player can't open gui of this entity and he can't quick insert/input stuff in to the entity when it is not operable. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#operable Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#operable Online documentation} */ operable: boolean /** * Automated weapons won't target protected entities. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#protected Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#protected Online documentation} */ protected: boolean /** * The current health of the entity, if any. Health is automatically clamped to be between `0` and max health (inclusive). Entities with a health of `0` can not be attacked. * * To get the maximum possible health of this entity, see {@link LuaEntity#max_health LuaEntity::max_health}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#health Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#health Online documentation} */ health?: float /** * Max health of this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#max_health Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#max_health Online documentation} */ readonly max_health: float /** * The current direction this entity is facing. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#direction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#direction Online documentation} */ direction: defines.direction /** * Whether the entity is currently mirrored. This state is referred to as `flipped` elsewhere, such as on the {@link OnPlayerFlippedEntityEvent on_player_flipped_entity} event. * * If an entity is mirrored, it is flipped over the axis that is pointing in the entity's direction. For example if a mirrored entity is facing north, everything that was defined to be facing east in the prototype now faces west. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#mirroring Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#mirroring Online documentation} */ mirroring: boolean /** * Whether the entity has direction. When it is false for this entity, it will always return north direction when asked for. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#supports_direction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#supports_direction Online documentation} */ readonly supports_direction: boolean /** * The smooth orientation of this entity. For turrets this is the orientation of the weapon. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#orientation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#orientation Online documentation} */ orientation: RealOrientation /** @@ -7242,19 +7253,19 @@ declare module "factorio:runtime" { * Writing does nothing if the vehicle doesn't have a turret. * * For the turret orientation of non-artillery turrets, use {@link LuaEntity#orientation LuaEntity::orientation}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#relative_turret_orientation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#relative_turret_orientation Online documentation} */ relative_turret_orientation?: RealOrientation /** * The current speed if this is a car, rolling stock, projectile or spidertron, or the maximum speed if this is a unit. The speed is in tiles per tick. `nil` if this is not a car, rolling stock, unit, projectile or spidertron. * * Only the speed of units, cars, and projectiles are writable. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#speed Online documentation} */ speed?: float /** * The entity prototype of this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#prototype Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#prototype Online documentation} */ readonly prototype: LuaEntityPrototype /** @@ -7263,13 +7274,13 @@ declare module "factorio:runtime" { * Mining drills and crafting machines can't have their drop position changed; inserters must have `allow_custom_vectors` set to true on their prototype to allow changing the drop position. * * Meaningful only for entities that put stuff somewhere, such as mining drills, crafting machines with a drop target or inserters. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#drop_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#drop_position Online documentation} */ get drop_position(): MapPosition set drop_position(value: MapPosition | MapPositionArray) /** * The entity this entity is putting its items to. If there are multiple possible entities at the drop-off point, writing to this attribute allows a mod to choose which one to drop off items to. The entity needs to collide with the tile box under the drop-off position. `nil` if there is no entity to put items to, or if this is not an entity that puts items somewhere. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#drop_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#drop_target Online documentation} */ drop_target?: LuaEntity /** @@ -7277,31 +7288,31 @@ declare module "factorio:runtime" { * @example * game.player.print("Machine energy: " .. game.player.selected.energy .. "J") * game.player.selected.energy = 3000 - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#energy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#energy Online documentation} */ energy: double /** * The temperature of this entity's heat energy source or this entity's heat buffer. `nil` if this entity does not use a heat energy source or does not have a heat buffer. * * The following entity types have a heat buffer: heat pipe, reactor and heat interface. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#temperature Online documentation} */ temperature?: double /** * The train this rolling stock belongs to, if any. `nil` if this is not a rolling stock. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#train Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#train Online documentation} */ readonly train?: LuaTrain /** * A list of neighbours connected to fluidboxes of this entity. Neighbours are grouped by index of fluid box of this entity to which they are connected. For more detailed informations please use {@link LuaEntity#get_fluid_box_neighbours LuaEntity::get_fluid_box_neighbours}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#fluidbox_neighbours Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#fluidbox_neighbours Online documentation} */ readonly fluidbox_neighbours: LuaEntity[][] /** * The entities connected to this entity's heat energy source or this entity's heat buffer. * * The following entity types have a heat buffer: heat pipe, reactor and heat interface. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#heat_neighbours Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#heat_neighbours Online documentation} */ readonly heat_neighbours: LuaEntity[] /** @@ -7311,7 +7322,7 @@ declare module "factorio:runtime" { * * ## Raised events * - {@link OnEntityRenamedEvent on_entity_renamed} _instantly_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#backer_name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#backer_name Online documentation} */ backer_name?: string /** @@ -7319,14 +7330,14 @@ declare module "factorio:runtime" { * * ## Raised events * - {@link OnEntityRenamedEvent on_entity_renamed} _instantly_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#entity_label Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#entity_label Online documentation} */ entity_label?: string /** * The color of this character, rolling stock, corpse, character corpse, train stop, simple-entity-with-owner, car, spider-vehicle, or lamp. `nil` if this entity doesn't use custom colors. * * Car color is overridden by the color of the current driver/passenger, if there is one. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#color Online documentation} */ get color(): Color | nil set color(value: Color | ColorArray | nil) @@ -7334,118 +7345,118 @@ declare module "factorio:runtime" { * The productivity bonus of this entity. * * This includes force based bonuses as well as beacon/module bonuses. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#productivity_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#productivity_bonus Online documentation} */ readonly productivity_bonus: double /** * The pollution bonus of this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#pollution_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#pollution_bonus Online documentation} */ readonly pollution_bonus: double /** * The speed bonus of this entity. * * This includes force based bonuses as well as beacon/module bonuses. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#speed_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#speed_bonus Online documentation} */ readonly speed_bonus: double /** * The consumption bonus of this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#consumption_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#consumption_bonus Online documentation} */ readonly consumption_bonus: double /** * The logistic network this entity is a part of, or `nil` if this entity is not a part of any logistic network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#logistic_network Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#logistic_network Online documentation} */ logistic_network: LuaLogisticNetwork | nil /** * The logistic cell this entity is a part of. Will be `nil` if this entity is not a part of any logistic cell. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#logistic_cell Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#logistic_cell Online documentation} */ readonly logistic_cell: LuaLogisticCell | nil /** * Items this ghost will request when revived or items this item request proxy is requesting. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#item_requests Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#item_requests Online documentation} */ readonly item_requests: ItemWithQualityCount[] /** * The buffer size for the electric energy source. `nil` if the entity doesn't have an electric energy source. * * Write access is limited to the ElectricEnergyInterface type. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#electric_buffer_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#electric_buffer_size Online documentation} */ electric_buffer_size?: double /** * The electric drain for the electric energy source. `nil` if the entity doesn't have an electric energy source. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#electric_drain Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#electric_drain Online documentation} */ readonly electric_drain?: double /** * The table of emissions of this energy source in `pollution/Joule`, indexed by pollutant type. `nil` if the entity doesn't have an electric energy source. Multiplying values in the returned table by energy consumption in `Watt` gives `pollution/second`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#electric_emissions_per_joule Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#electric_emissions_per_joule Online documentation} */ readonly electric_emissions_per_joule?: Record /** * A unique number identifying this entity for the lifetime of the save. These are allocated sequentially, and not re-used (until overflow). * * Only entities inheriting from {@link import("factorio:prototype").EntityWithOwnerPrototype EntityWithOwnerPrototype}, as well as {@link import("factorio:prototype").ItemRequestProxyPrototype ItemRequestProxyPrototype} and {@link import("factorio:prototype").EntityGhostPrototype EntityGhostPrototype} are assigned a unit number. Returns `nil` otherwise. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#unit_number Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#unit_number Online documentation} */ readonly unit_number?: UnitNumber /** * The bonus mining progress for this mining drill. Read yields a number in range [0, mining_target.prototype.mineable_properties.mining_time]. `nil` if this isn't a mining drill. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#bonus_mining_progress Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#bonus_mining_progress Online documentation} */ bonus_mining_progress?: double /** * {@link LuaEntityPrototype#collision_box LuaEntityPrototype::collision_box} around entity's given position and respecting the current entity orientation. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#bounding_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#bounding_box Online documentation} */ readonly bounding_box: BoundingBox /** * The secondary bounding box of this entity or `nil` if it doesn't have one. This only exists for curved rails, and is automatically determined by the game. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#secondary_bounding_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#secondary_bounding_box Online documentation} */ readonly secondary_bounding_box?: BoundingBox /** * {@link LuaEntityPrototype#selection_box LuaEntityPrototype::selection_box} around entity's given position and respecting the current entity orientation. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#selection_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#selection_box Online documentation} */ readonly selection_box: BoundingBox /** * The secondary selection box of this entity or `nil` if it doesn't have one. This only exists for curved rails, and is automatically determined by the game. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#secondary_selection_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#secondary_selection_box Online documentation} */ readonly secondary_selection_box?: BoundingBox /** * The number of filter slots this inserter, loader, mining drill, asteroid collector or logistic storage container has. 0 if not one of those entities. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#filter_slot_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#filter_slot_count Online documentation} */ readonly filter_slot_count: uint32 /** * This entity's equipment grid, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#grid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#grid Online documentation} */ readonly grid?: LuaEquipmentGrid /** * The graphics variation for this entity. `nil` if this entity doesn't use graphics variations. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#graphics_variation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#graphics_variation Online documentation} */ graphics_variation?: uint8 /** * The burner energy source for this entity, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#burner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#burner Online documentation} */ readonly burner?: LuaBurner /** * The sticker entities attached to this entity, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#stickers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#stickers Online documentation} */ readonly stickers?: LuaEntity[] /** * The vehicle modifiers applied to this entity through the attached stickers. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#sticker_vehicle_modifiers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#sticker_vehicle_modifiers Online documentation} */ readonly sticker_vehicle_modifiers?: { readonly speed_modifier: double @@ -7454,46 +7465,46 @@ declare module "factorio:runtime" { } /** * The effects being applied to this entity, if any. For beacons, this is the effect the beacon is broadcasting. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#effects Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#effects Online documentation} */ readonly effects?: Effect /** * The effects that will be applied to this entity once all upgrades are resolved. Can only be used when the entity has an effect receiver (AssemblingMachine, Furnace, Lab, MiningDrill, AgriculturalTower). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#potential_effects Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#potential_effects Online documentation} */ readonly potential_effects?: Effect /** * Number of beacons affecting this effect receiver. Can only be used when the entity has an effect receiver (AssemblingMachine, Furnace, Lab, MiningDrills) - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#beacons_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#beacons_count Online documentation} */ readonly beacons_count?: uint32 /** * The status of this entity, if any. * * This is always the actual status of the entity, even if {@link LuaEntity#custom_status LuaEntity::custom_status} is set. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#status Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#status Online documentation} */ readonly status?: defines.entity_status /** * A custom status for this entity that will be displayed in the GUI. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#custom_status Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#custom_status Online documentation} */ custom_status?: CustomEntityStatus /** * The player that this `simple-entity-with-owner`, `simple-entity-with-force`, or `highlight-box` is visible to. `nil` when this entity is rendered for all players. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#render_player Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#render_player Online documentation} */ get render_player(): LuaPlayer | nil set render_player(value: PlayerIdentification | nil) /** * The forces that this `simple-entity-with-owner` or `simple-entity-with-force` is visible to. `nil` or an empty array when this entity is rendered for all forces. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#render_to_forces Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#render_to_forces Online documentation} */ get render_to_forces(): LuaForce[] | nil set render_to_forces(value: ForceSet | nil) /** * Returns the id of the electric network that this entity is connected to, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#electric_network_id Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#electric_network_id Online documentation} */ readonly electric_network_id?: uint32 /** @@ -7502,7 +7513,7 @@ declare module "factorio:runtime" { * This can be used with electric poles, in which case the network will be the same as the one obtained from copper wire connector. * * If this entity has an electric energy source, only a primary network will be provided. To also get other networks for entities in range of multiple networks, use {@link LuaEntity#electric_networks LuaEntity::electric_networks} instead. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#electric_network Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#electric_network Online documentation} */ readonly electric_network?: LuaElectricSubNetwork /** @@ -7513,14 +7524,14 @@ declare module "factorio:runtime" { * Empty array will be given if this entity is not in range of any networks. * * Compared to {@link LuaEntity#electric_network LuaEntity::electric_network}, this does not work with electric poles since they do not have an electric energy source and as such can only belong to one network at a time. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#electric_networks Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#electric_networks Online documentation} */ readonly electric_networks?: LuaElectricSubNetwork[] /** * The storage filter for this logistic storage container. * * Useable only on logistic containers with the `"storage"` {@link LuaEntityPrototype#logistic_mode logistic_mode}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#storage_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#storage_filter Online documentation} */ get storage_filter(): ItemIDAndQualityIDPair | nil set storage_filter(value: ItemWithQualityID | nil) @@ -7528,49 +7539,49 @@ declare module "factorio:runtime" { * Whether this requester chest is set to also request from buffer chests. * * Useable only on entities that have requester slots. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#request_from_buffers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#request_from_buffers Online documentation} */ request_from_buffers: boolean /** * The tags associated with this entity ghost. `nil` if this is not an entity ghost or when the ghost has no tags. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#tags Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#tags Online documentation} */ tags?: Tags /** * Whether this entity is a MilitaryTarget. Can be written to if {@link LuaEntityPrototype#allow_run_time_change_of_is_military_target LuaEntityPrototype::allow_run_time_change_of_is_military_target} returns `true`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#is_military_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#is_military_target Online documentation} */ is_military_target: boolean /** * If this entity is EntityWithOwner - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#is_entity_with_owner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#is_entity_with_owner Online documentation} */ readonly is_entity_with_owner: boolean /** * If this entity is EntityWithHealth - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#is_entity_with_health Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#is_entity_with_health Online documentation} */ readonly is_entity_with_health: boolean /** * The quality of this entity. * * Not all entities support quality and will give the "normal" quality back if they don't. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#quality Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#quality Online documentation} */ readonly quality: LuaQualityPrototype /** * Name tag of this entity. Returns `nil` if entity has no name tag. When name tag is already used by other entity, the name will be removed from the other entity. Entity name tags can also be set in the entity "extra settings" GUI in the map editor. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#name_tag Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#name_tag Online documentation} */ name_tag: string | nil /** * Specifies the tiling size of the entity, is used to decide, if the center should be in the center of the tile (odd tile size dimension) or on the tile border (even tile size dimension). Uses the current direction of the entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#tile_width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#tile_width Online documentation} */ readonly tile_width: uint32 /** * Specifies the tiling size of the entity, is used to decide, if the center should be in the center of the tile (odd tile size dimension) or on the tile border (even tile size dimension). Uses the current direction of the entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#tile_height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#tile_height Online documentation} */ readonly tile_height: uint32 /** @@ -7581,42 +7592,42 @@ declare module "factorio:runtime" { * * -- called on a LuaEntity on "custom-surface" it returns: * different_entity.gps_tag -- => "[gps=1,-5,custom-surface]" - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#gps_tag Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#gps_tag Online documentation} */ readonly gps_tag: string /** * Returns a LuaCommandable for this entity or nil if entity is not commandable. Units and SpiderUnits are commandable. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#commandable Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#commandable Online documentation} */ readonly commandable?: LuaCommandable /** * Whether the entity is updatable and considered an UpdatableEntity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#is_updatable Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#is_updatable Online documentation} */ readonly is_updatable: boolean /** * Whether the entity is freezable and considered a FreezableEntity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#is_freezable Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#is_freezable Online documentation} */ readonly is_freezable: boolean /** * The cargo hatches owned by this entity if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#cargo_hatches Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#cargo_hatches Online documentation} */ readonly cargo_hatches: LuaCargoHatch[] /** * The rocket silo rocket this cargo pod is attached to, or rocket silo rocket attached to this rocket silo - if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#rocket Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#rocket Online documentation} */ readonly rocket?: LuaEntity /** * The first found item request proxy targeting this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#item_request_proxy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#item_request_proxy Online documentation} */ readonly item_request_proxy?: LuaEntity /** * Additional effect applied to this entity with effect receiver. `nil` if this entity has no effect receiver. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#local_effect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#local_effect Online documentation} */ local_effect?: Effect /** @@ -7645,7 +7656,7 @@ declare module "factorio:runtime" { * @param source The entity that is directly dealing the damage (e.g. the projectile, flame, sticker, grenade, laser beam, etc.). Needs to be on the same surface as the entity being damaged. * @param cause The entity that originally triggered the events that led to this damage being dealt (e.g. the character, turret, enemy, etc. that pulled the trigger). Does not need to be on the same surface as the entity being damaged. * @returns the total damage actually applied after resistances. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#damage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#damage Online documentation} */ damage(damage: float, force: ForceID, type?: DamageTypeID, source?: LuaEntity, cause?: LuaEntity): float } @@ -7659,28 +7670,28 @@ declare module "factorio:runtime" { * _Can only be used if this is EntityGhost_ * @param flag The flag to test. * @returns `true` if the entity has the given flag set. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#ghost_has_flag Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#ghost_has_flag Online documentation} */ ghost_has_flag(flag: EntityPrototypeFlag): boolean /** * The insert plan for this ghost or item request proxy. * * _Can only be used if this is EntityGhost or ItemRequestProxy_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#insert_plan Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#insert_plan Online documentation} */ insert_plan: BlueprintInsertPlan[] /** * The {@link LuaEntity#unit_number unit_number} of the entity contained in this ghost. It is the same as the unit number of the {@link import("factorio:prototype").EntityWithOwnerPrototype EntityWithOwnerPrototype} that was destroyed to create this ghost. If it was created by other means, or if the inner entity does not support unit numbers, this property is `nil`. * * _Can only be used if this is EntityGhost_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#ghost_unit_number Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#ghost_unit_number Online documentation} */ readonly ghost_unit_number?: UnitNumber /** * The corpse that caused this entity ghost to be created, if any. * * _Can only be used if this is EntityGhost_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#created_by_corpse Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#created_by_corpse Online documentation} */ readonly created_by_corpse?: LuaEntity } @@ -7698,7 +7709,7 @@ declare module "factorio:runtime" { * @example * -- Adds market offer, 1 copper ore for 5 iron ore and 5 stone ore * market.add_market_item{price={{name = "iron-ore", count = 5}, {name = "stone", count = 5}}, offer={type="give-item", item="copper-ore"}} - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#add_market_item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#add_market_item Online documentation} */ add_market_item(offer: Offer): void /** @@ -7709,21 +7720,21 @@ declare module "factorio:runtime" { * _Can only be used if this is Market_ * @param offer Index of offer to remove. * @returns `true` if the offer was successfully removed; `false` when the given index was not valid. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#remove_market_item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#remove_market_item Online documentation} */ remove_market_item(offer: uint32): boolean /** * Get all offers in a market as an array. * * _Can only be used if this is Market_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_market_items Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_market_items Online documentation} */ get_market_items(): Offer[] /** * Removes all offers from a market. * * _Can only be used if this is Market_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#clear_market_items Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#clear_market_items Online documentation} */ clear_market_items(): void } @@ -7735,7 +7746,7 @@ declare module "factorio:runtime" { * Returns whether a craft is currently in process. It does not indicate whether progress is currently being made, but whether a crafting process has been started in this machine. * * _Can only be used if this is CraftingMachine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#is_crafting Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#is_crafting Online documentation} */ is_crafting(): boolean /** @@ -7744,28 +7755,28 @@ declare module "factorio:runtime" { * _Can only be used if this is CraftingMachine_ * @returns * @returns - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_recipe Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_recipe Online documentation} */ get_recipe(): LuaMultiReturn<[LuaRecipe | nil, LuaQualityPrototype | nil]> /** * The current crafting speed, including speed bonuses from modules and beacons. * * _Can only be used if this is CraftingMachine or Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#crafting_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#crafting_speed Online documentation} */ readonly crafting_speed: double /** * The current crafting progress, as a number in range `[0, 1]`. * * _Can only be used if this is CraftingMachine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#crafting_progress Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#crafting_progress Online documentation} */ crafting_progress: float /** * The current productivity bonus progress, as a number in range `[0, 1]`. * * _Can only be used if this is CraftingMachine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#bonus_progress Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#bonus_progress Online documentation} */ bonus_progress: double /** @@ -7774,7 +7785,7 @@ declare module "factorio:runtime" { * Note: Writing `nil` is not allowed. * * _Can only be used if this is CraftingMachine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#result_quality Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#result_quality Online documentation} */ get result_quality(): LuaQualityPrototype | nil set result_quality(value: QualityID | nil) @@ -7782,7 +7793,7 @@ declare module "factorio:runtime" { * The number of products this machine finished crafting in its lifetime. * * _Can only be used if this is CraftingMachine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#products_finished Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#products_finished Online documentation} */ products_finished: uint32 } @@ -7793,45 +7804,45 @@ declare module "factorio:runtime" { /** * _Can only be used if this is Gate_ * @returns `true` if this gate is currently opened. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#is_opened Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#is_opened Online documentation} */ is_opened(): boolean /** * _Can only be used if this is Gate_ * @returns `true` if this gate is currently opening. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#is_opening Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#is_opening Online documentation} */ is_opening(): boolean /** * _Can only be used if this is Gate_ * @returns `true` if this gate is currently closed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#is_closed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#is_closed Online documentation} */ is_closed(): boolean /** * _Can only be used if this is Gate_ * @returns `true` if this gate is currently closing - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#is_closing Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#is_closing Online documentation} */ is_closing(): boolean /** * _Can only be used if this is Gate_ * @param force The force that requests the gate to be open. * @param extra_time Extra ticks to stay open. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#request_to_open Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#request_to_open Online documentation} */ request_to_open(force: ForceID, extra_time?: uint32): void /** * _Can only be used if this is Gate_ * @param force The force that requests the gate to be closed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#request_to_close Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#request_to_close Online documentation} */ request_to_close(force: ForceID): void /** * Table of wall-connectable neighbours. * * _Can only be used if this is Wall or Gate_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#wall_neighbours Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#wall_neighbours Online documentation} */ readonly wall_neighbours: { readonly north?: LuaEntity @@ -7849,7 +7860,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is TransportBeltConnectable_ * @param index Index of the requested transport line. Transport lines are 1-indexed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_transport_line Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_transport_line Online documentation} */ get_transport_line(index: defines.transport_line): LuaTransportLine /** @@ -7860,7 +7871,7 @@ declare module "factorio:runtime" { * @param mirrored When inserting at position exactly in between lines, mirroring is used to choose line. * @returns Index of the transport line that is closest to the provided map position. * @returns Position along the transport line where item should be dropped. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_item_insert_specification Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_item_insert_specification Online documentation} */ get_item_insert_specification( position: MapPosition | MapPositionArray, @@ -7872,21 +7883,21 @@ declare module "factorio:runtime" { * _Can only be used if this is TransportBeltConnectable_ * @param index Index of the transport line. Transport lines are 1-indexed. * @param position Linear position along the transport line. Clamped to the transport line range. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_line_item_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_line_item_position Online documentation} */ get_line_item_position(index: defines.transport_line, position: float): MapPosition /** * Get the maximum transport line index of a belt or belt connectable entity. * * _Can only be used if this is TransportBeltConnectable_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_max_transport_line_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_max_transport_line_index Online documentation} */ get_max_transport_line_index(): defines.transport_line /** * The belt connectable neighbours of this belt connectable entity. Only entities that input to or are outputs of this entity. Does not contain the other end of an underground belt, see {@link LuaEntity#underground_belt_neighbour LuaEntity::underground_belt_neighbour} for that. * * _Can only be used if this is TransportBeltConnectable_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#belt_neighbours Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#belt_neighbours Online documentation} */ readonly belt_neighbours: { /** @@ -7910,7 +7921,7 @@ declare module "factorio:runtime" { * _Can only be used if this is RocketSilo_ * @param character If provided, must be of `character` type. * @returns `true` if the rocket was successfully launched. Return value of `false` means the silo is not ready for launch. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#launch_rocket Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#launch_rocket Online documentation} */ launch_rocket(destination?: CargoDestinationWrite, character?: LuaEntity): boolean /** @@ -7919,7 +7930,7 @@ declare module "factorio:runtime" { * Cargo pod will be created with {@link defines.cargo_destination.invalid invalid} destination type. Setting {@link LuaEntity#cargo_pod_destination cargo_pod_destination} will cause it to launch. * * _Can only be used if this is RocketSilo, CargoLandingPad or SpacePlatformHub_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#create_cargo_pod Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#create_cargo_pod Online documentation} */ create_cargo_pod(params?: { /** @@ -7937,35 +7948,35 @@ declare module "factorio:runtime" { * Setting the value will have no effect when the silo doesn't support logistics. * * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#use_transitional_requests Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#use_transitional_requests Online documentation} */ use_transitional_requests: boolean /** * The space platform in orbit this rocket silo is automatically requesting items for. * * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#transitional_request_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#transitional_request_target Online documentation} */ readonly transitional_request_target?: LuaSpacePlatform /** * Number of rocket parts in this rocket silo. * * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#rocket_parts Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#rocket_parts Online documentation} */ rocket_parts: uint32 /** * Whether this rocket silo is set to send items to orbit automatically. Only relevant if there is an item prototype with {@link LuaItemPrototype#rocket_launch_products launch products} with automated {@link LuaItemPrototype#send_to_orbit_mode send_to_orbit_mode}, such as the satellite in vanilla (without Space Age mod). * * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#send_to_orbit_automatically Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#send_to_orbit_automatically Online documentation} */ send_to_orbit_automatically: boolean /** * The status of this rocket silo entity. * * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#rocket_silo_status Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#rocket_silo_status Online documentation} */ readonly rocket_silo_status: defines.rocket_silo_status } @@ -7984,7 +7995,7 @@ declare module "factorio:runtime" { * @returns Any items the new real entity collided with or `nil` if the ghost could not be revived. * @returns The revived entity if an entity ghost was successfully revived. * @returns The item request proxy if one was created. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#revive Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#revive Online documentation} */ revive(params?: { /** @@ -8007,7 +8018,7 @@ declare module "factorio:runtime" { * @returns Any items the new real entity collided with or `nil` if the ghost could not be revived. * @returns The revived entity if an entity ghost was successfully revived. * @returns The item request proxy if one was created. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#silent_revive Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#silent_revive Online documentation} */ silent_revive(params?: { /** @@ -8023,33 +8034,33 @@ declare module "factorio:runtime" { * Name of the entity or tile contained in this ghost. * * _Can only be used if this is Ghost_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#ghost_name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#ghost_name Online documentation} */ readonly ghost_name: string /** * Localised name of the entity or tile contained in this ghost. * * _Can only be used if this is Ghost_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#ghost_localised_name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#ghost_localised_name Online documentation} */ readonly ghost_localised_name: LocalisedString /** * _Can only be used if this is Ghost_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#ghost_localised_description Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#ghost_localised_description Online documentation} */ readonly ghost_localised_description: LocalisedString /** * The prototype type of the entity or tile contained in this ghost. * * _Can only be used if this is Ghost_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#ghost_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#ghost_type Online documentation} */ readonly ghost_type: EntityType /** * The prototype of the entity or tile contained in this ghost. * * _Can only be used if this is Ghost_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#ghost_prototype Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#ghost_prototype Online documentation} */ readonly ghost_prototype: LuaEntityPrototype | LuaTilePrototype } @@ -8062,7 +8073,7 @@ declare module "factorio:runtime" { * @returns Rail connected in the specified manner to this one, `nil` if unsuccessful. * @returns Rail direction of the returned rail which points to origin rail * @returns Turn to be taken when going back from returned rail to origin rail - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_connected_rail Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_connected_rail Online documentation} */ get_connected_rail(params: { readonly rail_direction: defines.rail_direction @@ -8077,7 +8088,7 @@ declare module "factorio:runtime" { * @param direction The direction of travel relative to this rail. * @param in_else_out If true, gets the signal at the entrance of the rail segment, otherwise gets the signal at the exit of the rail segment. * @returns `nil` if the rail segment doesn't start/end with a signal. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_rail_segment_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_rail_segment_signal Online documentation} */ get_rail_segment_signal(direction: defines.rail_direction, in_else_out: boolean): LuaEntity | nil /** @@ -8088,7 +8099,7 @@ declare module "factorio:runtime" { * _Can only be used if this is Rail_ * @param direction The direction of travel relative to this rail. * @returns `nil` if the rail segment doesn't start/end with a train stop. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_rail_segment_stop Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_rail_segment_stop Online documentation} */ get_rail_segment_stop(direction: defines.rail_direction): LuaEntity | nil /** @@ -8099,7 +8110,7 @@ declare module "factorio:runtime" { * _Can only be used if this is Rail_ * @returns The rail entity. * @returns A rail direction pointing out of the rail segment from the end rail. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_rail_segment_end Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_rail_segment_end Online documentation} */ get_rail_segment_end(direction: defines.rail_direction): LuaMultiReturn<[LuaEntity, defines.rail_direction]> /** @@ -8110,7 +8121,7 @@ declare module "factorio:runtime" { * _Can only be used if this is Rail_ * @param direction Selects end of this rail that points to a rail segment end from which to start returning rails * @returns Rails of this rail segment - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_rail_segment_rails Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_rail_segment_rails Online documentation} */ get_rail_segment_rails(direction: defines.rail_direction): LuaEntity[] /** @@ -8119,7 +8130,7 @@ declare module "factorio:runtime" { * A rail segment is a continuous section of rail with no branches, signals, nor train stops. * * _Can only be used if this is Rail_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_rail_segment_length Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_rail_segment_length Online documentation} */ get_rail_segment_length(): double /** @@ -8128,56 +8139,56 @@ declare module "factorio:runtime" { * A rail segment is a continuous section of rail with no branches, signals, nor train stops. * * _Can only be used if this is Rail_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_rail_segment_overlaps Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_rail_segment_overlaps Online documentation} */ get_rail_segment_overlaps(): LuaEntity[] /** * Checks if this rail and other rail both belong to the same rail segment. * * _Can only be used if this is Rail_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#is_rail_in_same_rail_segment_as Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#is_rail_in_same_rail_segment_as Online documentation} */ is_rail_in_same_rail_segment_as(other_rail: LuaEntity): boolean /** * Checks if this rail and other rail both belong to the same rail block. * * _Can only be used if this is Rail_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#is_rail_in_same_rail_block_as Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#is_rail_in_same_rail_block_as Online documentation} */ is_rail_in_same_rail_block_as(other_rail: LuaEntity): boolean /** * Returns all signals guarding entrance to a rail block this rail belongs to. * * _Can only be used if this is Rail_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_inbound_signals Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_inbound_signals Online documentation} */ get_inbound_signals(): LuaEntity[] /** * Returns all signals guarding exit from a rail block this rail belongs to. * * _Can only be used if this is Rail_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_outbound_signals Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_outbound_signals Online documentation} */ get_outbound_signals(): LuaEntity[] /** * Gets a LuaRailEnd object for specified end of this rail * * _Can only be used if this is Rail_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_rail_end Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_rail_end Online documentation} */ get_rail_end(direction: defines.rail_direction): LuaRailEnd /** * Length of this rail piece. * * _Can only be used if this is Rail_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#rail_length Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#rail_length Online documentation} */ readonly rail_length: double /** * The number of trains in this rail block for this rail entity. * * _Can only be used if this is Rail_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#trains_in_block Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#trains_in_block Online documentation} */ readonly trains_in_block: uint32 } @@ -8189,28 +8200,28 @@ declare module "factorio:runtime" { * Get the rails that this signal is connected to. * * _Can only be used if this is RailSignal or RailChainSignal_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_connected_rails Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_connected_rails Online documentation} */ get_connected_rails(): LuaEntity[] /** * Returns all parent signals. Parent signals are always RailChainSignal. Parent signals are those signals that are checking state of this signal to determine their own chain state. * * _Can only be used if this is RailSignal or RailChainSignal_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_parent_signals Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_parent_signals Online documentation} */ get_parent_signals(): LuaEntity[] /** * The state of this rail signal. * * _Can only be used if this is RailSignal or RailChainSignal_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#signal_state Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#signal_state Online documentation} */ readonly signal_state: defines.signal_state /** * Gets rail layer of a given signal * * _Can only be used if this is RailSignal or RailChainSignal_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#rail_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#rail_layer Online documentation} */ readonly rail_layer: defines.rail_layer } @@ -8222,42 +8233,42 @@ declare module "factorio:runtime" { * Get the rails that this signal is connected to. * * _Can only be used if this is RailSignal or RailChainSignal_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_connected_rails Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_connected_rails Online documentation} */ get_connected_rails(): LuaEntity[] /** * Returns all parent signals. Parent signals are always RailChainSignal. Parent signals are those signals that are checking state of this signal to determine their own chain state. * * _Can only be used if this is RailSignal or RailChainSignal_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_parent_signals Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_parent_signals Online documentation} */ get_parent_signals(): LuaEntity[] /** * Returns all child signals. Child signals can be either RailSignal or RailChainSignal. Child signals are signals which are checked by this signal to determine a chain state. * * _Can only be used if this is RailChainSignal_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_child_signals Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_child_signals Online documentation} */ get_child_signals(): LuaEntity[] /** * The state of this rail signal. * * _Can only be used if this is RailSignal or RailChainSignal_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#signal_state Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#signal_state Online documentation} */ readonly signal_state: defines.signal_state /** * The state of this chain signal. * * _Can only be used if this is RailChainSignal_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#chain_signal_state Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#chain_signal_state Online documentation} */ readonly chain_signal_state: defines.chain_signal_state /** * Gets rail layer of a given signal * * _Can only be used if this is RailSignal or RailChainSignal_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#rail_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#rail_layer Online documentation} */ readonly rail_layer: defines.rail_layer } @@ -8270,7 +8281,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is InfinityContainer or InfinityCargoWagon_ * @param index The index to get. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_infinity_container_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_infinity_container_filter Online documentation} */ get_infinity_container_filter(index: uint32): InfinityInventoryFilter | nil /** @@ -8279,14 +8290,14 @@ declare module "factorio:runtime" { * _Can only be used if this is InfinityContainer or InfinityCargoWagon_ * @param index The index to set. * @param filter The new filter, or `nil` to clear the filter. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#set_infinity_container_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#set_infinity_container_filter Online documentation} */ set_infinity_container_filter(index: uint32, filter: InfinityInventoryFilterWrite | nil): void /** * The override logistic mode being used by this infinity container if it is overridden. * * _Can only be used if this is InfinityContainer_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#override_logistic_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#override_logistic_mode Online documentation} */ override_logistic_mode?: defines.logistic_mode /** @@ -8295,7 +8306,7 @@ declare module "factorio:runtime" { * The value exists when the infinity container was switched away from having the request from buffers option, for example by changing the {@link LuaEntity#override_logistic_mode logistic mode} away from requester. * * _Can only be used if this is InfinityContainer_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#saved_request_from_buffers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#saved_request_from_buffers Online documentation} */ saved_request_from_buffers?: boolean /** @@ -8304,7 +8315,7 @@ declare module "factorio:runtime" { * The value exists when the infinity container was switched away from having the set requests option, for example by changing the {@link LuaEntity#override_logistic_mode logistic mode} away from requester or buffer. * * _Can only be used if this is InfinityContainer_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#saved_set_requests Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#saved_set_requests Online documentation} */ saved_set_requests?: boolean /** @@ -8313,7 +8324,7 @@ declare module "factorio:runtime" { * They exist when the infinity container was switched away from having the option to set logistic requests, for example by changing the {@link LuaEntity#override_logistic_mode logistic mode} away from requester or buffer. * * _Can only be used if this is InfinityContainer_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#saved_request_filters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#saved_request_filters Online documentation} */ get saved_request_filters(): SavedLogisticFilters | nil set saved_request_filters(value: SavedLogisticFiltersWrite | nil) @@ -8323,7 +8334,7 @@ declare module "factorio:runtime" { * They exist when the infinity container was switched away from having the option to set storage filters, for example by changing the {@link LuaEntity#override_logistic_mode logistic mode} away from storage. * * _Can only be used if this is InfinityContainer_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#saved_storage_filters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#saved_storage_filters Online documentation} */ get saved_storage_filters(): SavedLogisticFilters | nil set saved_storage_filters(value: SavedLogisticFiltersWrite | nil) @@ -8331,7 +8342,7 @@ declare module "factorio:runtime" { * The filters for this infinity container. * * _Can only be used if this is InfinityContainer or InfinityCargoWagon_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#infinity_container_filters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#infinity_container_filters Online documentation} */ get infinity_container_filters(): InfinityInventoryFilter[] set infinity_container_filters(value: readonly InfinityInventoryFilterWrite[]) @@ -8339,7 +8350,7 @@ declare module "factorio:runtime" { * Whether items not included in this infinity container filters should be removed from the container. * * _Can only be used if this is InfinityContainer or InfinityCargoWagon_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#remove_unfiltered_items Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#remove_unfiltered_items Online documentation} */ remove_unfiltered_items: boolean } @@ -8352,7 +8363,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is InfinityContainer or InfinityCargoWagon_ * @param index The index to get. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_infinity_container_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_infinity_container_filter Online documentation} */ get_infinity_container_filter(index: uint32): InfinityInventoryFilter | nil /** @@ -8361,14 +8372,14 @@ declare module "factorio:runtime" { * _Can only be used if this is InfinityContainer or InfinityCargoWagon_ * @param index The index to set. * @param filter The new filter, or `nil` to clear the filter. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#set_infinity_container_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#set_infinity_container_filter Online documentation} */ set_infinity_container_filter(index: uint32, filter: InfinityInventoryFilterWrite | nil): void /** * The filters for this infinity container. * * _Can only be used if this is InfinityContainer or InfinityCargoWagon_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#infinity_container_filters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#infinity_container_filters Online documentation} */ get infinity_container_filters(): InfinityInventoryFilter[] set infinity_container_filters(value: readonly InfinityInventoryFilterWrite[]) @@ -8376,7 +8387,7 @@ declare module "factorio:runtime" { * Whether items not included in this infinity container filters should be removed from the container. * * _Can only be used if this is InfinityContainer or InfinityCargoWagon_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#remove_unfiltered_items Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#remove_unfiltered_items Online documentation} */ remove_unfiltered_items: boolean } @@ -8388,7 +8399,7 @@ declare module "factorio:runtime" { * Gets the filter for this infinity pipe, or `nil` if the filter is empty. * * _Can only be used if this is InfinityPipe_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_infinity_pipe_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_infinity_pipe_filter Online documentation} */ get_infinity_pipe_filter(): InfinityPipeFilter | nil /** @@ -8396,7 +8407,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is InfinityPipe_ * @param filter The new filter, or `nil` to clear the filter. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#set_infinity_pipe_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#set_infinity_pipe_filter Online documentation} */ set_infinity_pipe_filter(filter: InfinityPipeFilter | nil): void } @@ -8408,7 +8419,7 @@ declare module "factorio:runtime" { * Gets the heat setting for this heat interface. * * _Can only be used if this is HeatInterface_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_heat_setting Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_heat_setting Online documentation} */ get_heat_setting(): HeatSetting /** @@ -8416,7 +8427,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is HeatInterface_ * @param filter The new setting. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#set_heat_setting Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#set_heat_setting Online documentation} */ set_heat_setting(filter: HeatSetting): void } @@ -8429,18 +8440,18 @@ declare module "factorio:runtime" { * * _Can only be used if this is ProgrammableSpeaker_ * @returns Whether the request is valid. The sound may or may not be played depending on polyphony settings. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#play_note Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#play_note Online documentation} */ play_note(instrument: uint32, note: uint32, stop_playing_sounds?: boolean): boolean /** * _Can only be used if this is ProgrammableSpeaker_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#parameters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#parameters Online documentation} */ get parameters(): ProgrammableSpeakerParameters set parameters(value: ProgrammableSpeakerParametersWrite) /** * _Can only be used if this is ProgrammableSpeaker_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#alert_parameters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#alert_parameters Online documentation} */ get alert_parameters(): ProgrammableSpeakerAlertParameters set alert_parameters(value: ProgrammableSpeakerAlertParametersWrite) @@ -8454,7 +8465,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is RollingStock_ * @returns Whether any connection was made - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#connect_rolling_stock Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#connect_rolling_stock Online documentation} */ connect_rolling_stock(direction: defines.rail_direction): boolean /** @@ -8462,7 +8473,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is RollingStock_ * @returns If anything was disconnected - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#disconnect_rolling_stock Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#disconnect_rolling_stock Online documentation} */ disconnect_rolling_stock(direction: defines.rail_direction): boolean /** @@ -8471,7 +8482,7 @@ declare module "factorio:runtime" { * _Can only be used if this is RollingStock_ * @returns The rolling stock connected at the given end, `nil` if none is connected there. * @returns The rail direction of the connected rolling stock if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_connected_rolling_stock Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_connected_rolling_stock Online documentation} */ get_connected_rolling_stock( direction: defines.rail_direction, @@ -8480,21 +8491,21 @@ declare module "factorio:runtime" { * If this rolling stock has 'copy color from train stop' enabled. * * _Can only be used if this is RollingStock_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#copy_color_from_train_stop Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#copy_color_from_train_stop Online documentation} */ copy_color_from_train_stop: boolean /** * If the rolling stock is facing train's front. * * _Can only be used if this is RollingStock_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#is_headed_to_trains_front Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#is_headed_to_trains_front Online documentation} */ readonly is_headed_to_trains_front: boolean /** * Gives a draw data of the given entity if it supports such data. * * _Can only be used if this is RollingStock_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#draw_data Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#draw_data Online documentation} */ readonly draw_data: RollingStockDrawData } @@ -8509,14 +8520,14 @@ declare module "factorio:runtime" { * @param recipe The new recipe. Writing `nil` clears the recipe, if any. * @param quality The quality. If not provided `normal` is used. * @returns Any items removed from this entity as a result of setting the recipe. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#set_recipe Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#set_recipe Online documentation} */ set_recipe(recipe?: RecipeID, quality?: QualityID): ItemWithQualityCount[] /** * When locked; the recipe in this assembling machine can't be changed by the player. * * _Can only be used if this is AssemblingMachine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#recipe_locked Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#recipe_locked Online documentation} */ recipe_locked: boolean } @@ -8529,7 +8540,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is Vehicle_ * @returns `nil` if the vehicle contains no driver. To check if there's a passenger see {@link LuaEntity#get_passenger LuaEntity::get_passenger}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_driver Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_driver Online documentation} */ get_driver(): LuaEntity | LuaPlayer | nil /** @@ -8542,21 +8553,21 @@ declare module "factorio:runtime" { * * _Can only be used if this is Vehicle_ * @param driver The new driver. Writing `nil` ejects the current driver, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#set_driver Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#set_driver Online documentation} */ set_driver(driver: LuaEntity | PlayerIdentification | nil): void /** * Whether equipment grid logistics are enabled while this vehicle is moving. * * _Can only be used if this is Vehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#enable_logistics_while_moving Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#enable_logistics_while_moving Online documentation} */ enable_logistics_while_moving: boolean /** * Whether this entity's personal roboports are allowed to dispatch robots. * * _Can only be used if this is Character or Vehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#allow_dispatching_robots Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#allow_dispatching_robots Online documentation} */ allow_dispatching_robots: boolean } @@ -8571,7 +8582,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is Car, SpiderVehicle or CargoPod_ * @returns `nil` if the vehicle contains no passenger. To check if there's a driver see {@link LuaEntity#get_driver LuaEntity::get_driver}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_passenger Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_passenger Online documentation} */ get_passenger(): LuaEntity | LuaPlayer | nil /** @@ -8584,21 +8595,21 @@ declare module "factorio:runtime" { * * _Can only be used if this is Car, SpiderVehicle or CargoPod_ * @param passenger The new passenger. Writing `nil` ejects the current passenger, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#set_passenger Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#set_passenger Online documentation} */ set_passenger(passenger: LuaEntity | PlayerIdentification | nil): void /** * Multiplies the acceleration the car can create for one unit of energy. Defaults to `1`. * * _Can only be used if this is Car_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#effectivity_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#effectivity_modifier Online documentation} */ effectivity_modifier: float /** * Multiplies the energy consumption. * * _Can only be used if this is Car_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#consumption_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#consumption_modifier Online documentation} */ consumption_modifier: float /** @@ -8608,21 +8619,21 @@ declare module "factorio:runtime" { * @example * -- This will allow the car to go much faster * game.player.vehicle.friction_modifier = 0.5 - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#friction_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#friction_modifier Online documentation} */ friction_modifier: float /** * Whether the driver of this car or spidertron is the gunner. If `false`, the passenger is the gunner. `nil` if this is neither a car or a spidertron. * * _Can only be used if this is Car or SpiderVehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#driver_is_gunner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#driver_is_gunner Online documentation} */ driver_is_gunner?: boolean /** * Index of the currently selected weapon slot of this character, car, or spidertron. `nil` if this entity doesn't have guns. * * _Can only be used if this is Character, Car or SpiderVehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#selected_gun_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#selected_gun_index Online documentation} */ selected_gun_index?: uint32 } @@ -8637,7 +8648,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is Car, SpiderVehicle or CargoPod_ * @returns `nil` if the vehicle contains no passenger. To check if there's a driver see {@link LuaEntity#get_driver LuaEntity::get_driver}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_passenger Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_passenger Online documentation} */ get_passenger(): LuaEntity | LuaPlayer | nil /** @@ -8650,7 +8661,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is Car, SpiderVehicle or CargoPod_ * @param passenger The new passenger. Writing `nil` ejects the current passenger, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#set_passenger Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#set_passenger Online documentation} */ set_passenger(passenger: LuaEntity | PlayerIdentification | nil): void /** @@ -8659,56 +8670,56 @@ declare module "factorio:runtime" { * _Can only be used if this is SpiderVehicle_ * @param position The position the spidertron should move to. * @param attempt_patrol If the autopilot logic should attempt to initiate patrol mode at the given position. Defaults to `false`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#add_autopilot_destination Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#add_autopilot_destination Online documentation} */ add_autopilot_destination(position: MapPosition | MapPositionArray, attempt_patrol?: boolean): void /** * Gets legs of given SpiderVehicle. * * _Can only be used if this is SpiderVehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_spider_legs Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_spider_legs Online documentation} */ get_spider_legs(): LuaEntity[] /** * Sets the {@link LuaEntity#speed speed} of the given SpiderVehicle to zero. Notably does not clear its {@link LuaEntity#autopilot_destination autopilot_destination}, which it will continue moving towards if set. * * _Can only be used if this is SpiderVehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#stop_spider Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#stop_spider Online documentation} */ stop_spider(): void /** * The torso orientation of this spider vehicle. * * _Can only be used if this is SpiderVehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#torso_orientation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#torso_orientation Online documentation} */ torso_orientation: RealOrientation /** * Whether the driver of this car or spidertron is the gunner. If `false`, the passenger is the gunner. `nil` if this is neither a car or a spidertron. * * _Can only be used if this is Car or SpiderVehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#driver_is_gunner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#driver_is_gunner Online documentation} */ driver_is_gunner?: boolean /** * Read when this spidertron auto-targets enemies * * _Can only be used if this is SpiderVehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#vehicle_automatic_targeting_parameters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#vehicle_automatic_targeting_parameters Online documentation} */ vehicle_automatic_targeting_parameters: VehicleAutomaticTargetingParameters /** * Index of the currently selected weapon slot of this character, car, or spidertron. `nil` if this entity doesn't have guns. * * _Can only be used if this is Character, Car or SpiderVehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#selected_gun_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#selected_gun_index Online documentation} */ selected_gun_index?: uint32 /** * Destination of this spidertron's autopilot, if any. Writing `nil` clears all destinations. * * _Can only be used if this is SpiderVehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#autopilot_destination Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#autopilot_destination Online documentation} */ get autopilot_destination(): MapPosition | nil set autopilot_destination(value: MapPosition | MapPositionArray | nil) @@ -8718,28 +8729,28 @@ declare module "factorio:runtime" { * Setting this to 0 will disable patrolling. * * _Can only be used if this is SpiderVehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#autopilot_patrol_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#autopilot_patrol_size Online documentation} */ autopilot_patrol_size: uint32 /** * The queued destination positions of spidertron's autopilot. * * _Can only be used if this is SpiderVehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#autopilot_destinations Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#autopilot_destinations Online documentation} */ readonly autopilot_destinations: MapPosition[] /** * The follow target of this spidertron, if any. * * _Can only be used if this is SpiderVehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#follow_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#follow_target Online documentation} */ follow_target?: LuaEntity /** * The follow offset of this spidertron, if any entity is being followed. This is randomized each time the follow entity is set. * * _Can only be used if this is SpiderVehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#follow_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#follow_offset Online documentation} */ get follow_offset(): Vector | nil set follow_offset(value: Vector | VectorTable | nil) @@ -8755,7 +8766,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is Car, SpiderVehicle or CargoPod_ * @returns `nil` if the vehicle contains no passenger. To check if there's a driver see {@link LuaEntity#get_driver LuaEntity::get_driver}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_passenger Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_passenger Online documentation} */ get_passenger(): LuaEntity | LuaPlayer | nil /** @@ -8768,7 +8779,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is Car, SpiderVehicle or CargoPod_ * @param passenger The new passenger. Writing `nil` ejects the current passenger, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#set_passenger Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#set_passenger Online documentation} */ set_passenger(passenger: LuaEntity | PlayerIdentification | nil): void /** @@ -8778,7 +8789,7 @@ declare module "factorio:runtime" { * - {@link OnCargoPodFinishedAscendingEvent on_cargo_pod_finished_ascending} _instantly_ * * _Can only be used if this is CargoPod_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#force_finish_ascending Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#force_finish_ascending Online documentation} */ force_finish_ascending(): void /** @@ -8789,21 +8800,21 @@ declare module "factorio:runtime" { * - {@link OnCargoPodDeliveredCargoEvent on_cargo_pod_delivered_cargo}? _instantly_ Raised instantly if landing on the ground (i.e. destination type is {@link defines.cargo_destination.surface surface}. If landing in a {@link defines.cargo_destination.station station}, event will be raised after parking is complete. * * _Can only be used if this is CargoPod_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#force_finish_descending Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#force_finish_descending Online documentation} */ force_finish_descending(): void /** * how far into the current procession the cargo pod is. * * _Can only be used if this is CargoPod_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#procession_tick Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#procession_tick Online documentation} */ procession_tick: MapTick /** * The state of this cargo pod entity. * * _Can only be used if this is CargoPod_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#cargo_pod_state Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#cargo_pod_state Online documentation} */ readonly cargo_pod_state: "awaiting_launch" | "ascending" | "surface_transition" | "descending" | "parking" /** @@ -8812,7 +8823,7 @@ declare module "factorio:runtime" { * Use {@link LuaEntity#force_finish_ascending force_finish_ascending} if you want it to only descend from orbit. * * _Can only be used if this is CargoPod_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#cargo_pod_destination Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#cargo_pod_destination Online documentation} */ get cargo_pod_destination(): CargoDestination set cargo_pod_destination(value: CargoDestinationWrite) @@ -8820,7 +8831,7 @@ declare module "factorio:runtime" { * The origin of this cargo pod entity. (Must be a silo, hub or pad) * * _Can only be used if this is CargoPod_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#cargo_pod_origin Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#cargo_pod_origin Online documentation} */ cargo_pod_origin?: LuaEntity } @@ -8832,28 +8843,28 @@ declare module "factorio:runtime" { * The trains scheduled to stop at this train stop. * * _Can only be used if this is TrainStop_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_train_stop_trains Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_train_stop_trains Online documentation} */ get_train_stop_trains(): LuaTrain[] /** * The train currently stopped at this train stop, if any. * * _Can only be used if this is TrainStop_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_stopped_train Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_stopped_train Online documentation} */ get_stopped_train(): LuaTrain | nil /** * The rail entity this train stop is connected to, if any. * * _Can only be used if this is TrainStop_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#connected_rail Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#connected_rail Online documentation} */ readonly connected_rail?: LuaEntity /** * Rail direction to which this train stop is binding. This returns a value even when no rails are present. * * _Can only be used if this is TrainStop_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#connected_rail_direction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#connected_rail_direction Online documentation} */ readonly connected_rail_direction: defines.rail_direction /** @@ -8866,7 +8877,7 @@ declare module "factorio:runtime" { * This value is equal to LuaEntity::train_reservations_count + LuaEntity::script_reservations_count. * * _Can only be used if this is TrainStop_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#trains_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#trains_count Online documentation} */ readonly trains_count: uint32 /** @@ -8875,28 +8886,28 @@ declare module "factorio:runtime" { * When a train stop has a control behavior with wire connected and set_trains_limit enabled, this value will be overwritten by it. * * _Can only be used if this is TrainStop_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#trains_limit Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#trains_limit Online documentation} */ trains_limit: uint32 | nil /** * Amount of train stop reservations taken by trains. * * _Can only be used if this is TrainStop_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#train_reservations_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#train_reservations_count Online documentation} */ readonly train_reservations_count: uint32 /** * Amount of train stop reservations taken by script. * * _Can only be used if this is TrainStop_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#script_reservations_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#script_reservations_count Online documentation} */ script_reservations_count: uint32 /** * Priority of this train stop. * * _Can only be used if this is TrainStop_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#train_stop_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#train_stop_priority Online documentation} */ train_stop_priority: uint8 } @@ -8908,28 +8919,28 @@ declare module "factorio:runtime" { * Get the source of this beam. * * _Can only be used if this is Beam_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_beam_source Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_beam_source Online documentation} */ get_beam_source(): BeamTarget | nil /** * Set the source of this beam. * * _Can only be used if this is Beam_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#set_beam_source Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#set_beam_source Online documentation} */ set_beam_source(source: LuaEntity | (MapPosition | MapPositionArray)): void /** * Get the target of this beam. * * _Can only be used if this is Beam_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_beam_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_beam_target Online documentation} */ get_beam_target(): BeamTarget | nil /** * Set the target of this beam. * * _Can only be used if this is Beam_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#set_beam_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#set_beam_target Online documentation} */ set_beam_target(target: LuaEntity | (MapPosition | MapPositionArray)): void } @@ -8941,21 +8952,21 @@ declare module "factorio:runtime" { * Release the unit from the spawner which spawned it. This allows the spawner to continue spawning additional units. * * _Can only be used if this is Unit or SpiderUnit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#release_from_spawner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#release_from_spawner Online documentation} */ release_from_spawner(): void /** * The current speed of this unit in tiles per tick, taking into account any walking speed modifier given by the tile the unit is standing on. `nil` if this is not a unit. * * _Can only be used if this is Unit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#effective_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#effective_speed Online documentation} */ readonly effective_speed?: float /** * The AI settings of this unit. * * _Can only be used if this is Unit or SpiderUnit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#ai_settings Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#ai_settings Online documentation} */ readonly ai_settings: LuaAISettings } @@ -8967,14 +8978,14 @@ declare module "factorio:runtime" { * Release the unit from the spawner which spawned it. This allows the spawner to continue spawning additional units. * * _Can only be used if this is Unit or SpiderUnit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#release_from_spawner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#release_from_spawner Online documentation} */ release_from_spawner(): void /** * The AI settings of this unit. * * _Can only be used if this is Unit or SpiderUnit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#ai_settings Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#ai_settings Online documentation} */ readonly ai_settings: LuaAISettings } @@ -8986,28 +8997,28 @@ declare module "factorio:runtime" { * Whether this character can shoot the given entity or position. * * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#can_shoot Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#can_shoot Online documentation} */ can_shoot(target: LuaEntity, position: MapPosition | MapPositionArray): boolean /** * Index of the currently selected weapon slot of this character, car, or spidertron. `nil` if this entity doesn't have guns. * * _Can only be used if this is Character, Car or SpiderVehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#selected_gun_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#selected_gun_index Online documentation} */ selected_gun_index?: uint32 /** * The current crafting speed, including speed bonuses from modules and beacons. * * _Can only be used if this is CraftingMachine or Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#crafting_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#crafting_speed Online documentation} */ readonly crafting_speed: double /** * The player connected to this character, if any. * * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#player Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#player Online documentation} */ readonly player?: LuaPlayer /** @@ -9018,7 +9029,7 @@ declare module "factorio:runtime" { * A character associated with a player is not directly controlled by any player. * * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#associated_player Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#associated_player Online documentation} */ get associated_player(): LuaPlayer | nil set associated_player(value: PlayerIdentification | nil) @@ -9026,21 +9037,21 @@ declare module "factorio:runtime" { * The last tick this character entity was attacked. * * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#tick_of_last_attack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#tick_of_last_attack Online documentation} */ tick_of_last_attack: uint32 /** * The last tick this character entity was damaged. * * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#tick_of_last_damage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#tick_of_last_damage Online documentation} */ tick_of_last_damage: uint32 /** * Whether this entity's personal roboports are allowed to dispatch robots. * * _Can only be used if this is Character or Vehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#allow_dispatching_robots Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#allow_dispatching_robots Online documentation} */ allow_dispatching_robots: boolean } @@ -9052,7 +9063,7 @@ declare module "factorio:runtime" { * Only works if the entity is a speech-bubble, with an "effect" defined in its wrapper_flow_style. Starts animating the opacity of the speech bubble towards zero, and destroys the entity when it hits zero. * * _Can only be used if this is SpeechBubble_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#start_fading_out Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#start_fading_out Online documentation} */ start_fading_out(): void } @@ -9067,14 +9078,14 @@ declare module "factorio:runtime" { * - {@link OnResourceDepletedEvent on_resource_depleted} _instantly_ * * _Can only be used if this is ResourceEntity_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#deplete Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#deplete Online documentation} */ deplete(): void /** * Count of resource units contained. * * _Can only be used if this is ResourceEntity_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#amount Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#amount Online documentation} */ amount: uint32 /** @@ -9083,7 +9094,7 @@ declare module "factorio:runtime" { * If this is not an infinite resource, writing will produce an error. * * _Can only be used if this is ResourceEntity_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#initial_amount Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#initial_amount Online documentation} */ initial_amount?: uint32 } @@ -9098,14 +9109,14 @@ declare module "factorio:runtime" { * * _Can only be used if this is LinkedBelt_ * @param neighbour Another linked belt or entity ghost containing linked belt to connect or nil to disconnect - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#connect_linked_belts Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#connect_linked_belts Online documentation} */ connect_linked_belts(neighbour?: LuaEntity): void /** * Disconnects linked belt from its neighbour. * * _Can only be used if this is LinkedBelt_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#disconnect_linked_belts Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#disconnect_linked_belts Online documentation} */ disconnect_linked_belts(): void /** @@ -9114,7 +9125,7 @@ declare module "factorio:runtime" { * Can only be changed when linked belt is disconnected (has no neighbour set). * * _Can only be used if this is LinkedBelt_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#linked_belt_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#linked_belt_type Online documentation} */ linked_belt_type: BeltConnectionType /** @@ -9123,7 +9134,7 @@ declare module "factorio:runtime" { * May return entity ghost which contains linked belt to which connection is made. * * _Can only be used if this is LinkedBelt_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#linked_belt_neighbour Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#linked_belt_neighbour Online documentation} */ readonly linked_belt_neighbour?: LuaEntity } @@ -9135,7 +9146,7 @@ declare module "factorio:runtime" { * Returns a table with all entities affected by this beacon * * _Can only be used if this is Beacon_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_beacon_effect_receivers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_beacon_effect_receivers Online documentation} */ get_beacon_effect_receivers(): LuaEntity[] } @@ -9149,7 +9160,7 @@ declare module "factorio:runtime" { * Cargo pod will be created with {@link defines.cargo_destination.invalid invalid} destination type. Setting {@link LuaEntity#cargo_pod_destination cargo_pod_destination} will cause it to launch. * * _Can only be used if this is RocketSilo, CargoLandingPad or SpacePlatformHub_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#create_cargo_pod Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#create_cargo_pod Online documentation} */ create_cargo_pod(params?: { /** @@ -9165,7 +9176,7 @@ declare module "factorio:runtime" { * Gets the cargo bays connected to this cargo landing pad or space platform hub. * * _Can only be used if this is CargoLandingPad or SpacePlatformHub_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_cargo_bays Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_cargo_bays Online documentation} */ get_cargo_bays(): LuaEntity[] } @@ -9179,7 +9190,7 @@ declare module "factorio:runtime" { * Cargo pod will be created with {@link defines.cargo_destination.invalid invalid} destination type. Setting {@link LuaEntity#cargo_pod_destination cargo_pod_destination} will cause it to launch. * * _Can only be used if this is RocketSilo, CargoLandingPad or SpacePlatformHub_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#create_cargo_pod Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#create_cargo_pod Online documentation} */ create_cargo_pod(params?: { /** @@ -9195,21 +9206,21 @@ declare module "factorio:runtime" { * Gets the cargo bays connected to this cargo landing pad or space platform hub. * * _Can only be used if this is CargoLandingPad or SpacePlatformHub_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_cargo_bays Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_cargo_bays Online documentation} */ get_cargo_bays(): LuaEntity[] /** * If this space platform hub will automatically make logistic requests for any missing construction materials. * * _Can only be used if this is SpacePlatformHub_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#request_missing_construction_materials Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#request_missing_construction_materials Online documentation} */ request_missing_construction_materials: boolean /** * If this space platform hub will provide its contents to other requesting platforms. * * _Can only be used if this is SpacePlatformHub_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#providing_to_other_platforms Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#providing_to_other_platforms Online documentation} */ providing_to_other_platforms: boolean } @@ -9226,21 +9237,21 @@ declare module "factorio:runtime" { * * _Can only be used if this is AgriculturalTower_ * @returns If the tree was registered. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#register_tree Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#register_tree Online documentation} */ register_tree(tree: LuaEntity): boolean /** * Returns current position in 3D for the end of the crane of this entity. * * _Can only be used if this is AgriculturalTower_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#crane_end_position_3d Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#crane_end_position_3d Online documentation} */ readonly crane_end_position_3d: Vector3D /** * Destination of the crane of this entity. Throws when trying to set the destination out of range. * * _Can only be used if this is AgriculturalTower_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#crane_destination Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#crane_destination Online documentation} */ get crane_destination(): MapPosition set crane_destination(value: MapPosition | MapPositionArray) @@ -9248,7 +9259,7 @@ declare module "factorio:runtime" { * Destination of the crane of this entity in 3D. Throws when trying to set the destination out of range. * * _Can only be used if this is AgriculturalTower_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#crane_destination_3d Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#crane_destination_3d Online documentation} */ get crane_destination_3d(): Vector3D set crane_destination_3d(value: Vector3D | Vector3DArray) @@ -9256,21 +9267,21 @@ declare module "factorio:runtime" { * Will set destination for the grappler of crane of this entity. The crane grappler will start moving to reach the destination, but the rest of the arm will remain stationary. Throws when trying to set the destination out of range. * * _Can only be used if this is AgriculturalTower_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#crane_grappler_destination Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#crane_grappler_destination Online documentation} */ set crane_grappler_destination(value: MapPosition | MapPositionArray) /** * Will set destination in 3D for the grappler of crane of this entity. The crane grappler will start moving to reach the destination, but the rest of the arm will remain stationary. Throws when trying to set the destination out of range. * * _Can only be used if this is AgriculturalTower_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#crane_grappler_destination_3d Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#crane_grappler_destination_3d Online documentation} */ set crane_grappler_destination_3d(value: Vector3D | Vector3DArray) /** * Plants registered by this agricultural tower. One plant can be registered in multiple agricultural towers. * * _Can only be used if this is AgriculturalTower_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#owned_plants Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#owned_plants Online documentation} */ readonly owned_plants: LuaEntity[] } @@ -9284,7 +9295,7 @@ declare module "factorio:runtime" { * Note that for combat robots this does not include the constant drift in the direction they are facing. * * _Can only be used if this is CombatRobot or Asteroid_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_movement Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_movement Online documentation} */ get_movement(): Vector /** @@ -9295,21 +9306,21 @@ declare module "factorio:runtime" { * _Can only be used if this is CombatRobot or Asteroid_ * @param direction This normalized form of this vector is used for the movement direction. * @param speed Speed in tiles per tick. Cannot be less than 0. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#set_movement Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#set_movement Online documentation} */ set_movement(direction: Vector | VectorTable, speed: double): void /** * The ticks left before a combat robot, highlight box, smoke, or sticker entity is destroyed. * * _Can only be used if this is CombatRobot, HighlightBox, Smoke or Sticker_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#time_to_live Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#time_to_live Online documentation} */ time_to_live: uint64 /** * The owner of this combat robot, if any. * * _Can only be used if this is CombatRobot_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#combat_robot_owner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#combat_robot_owner Online documentation} */ combat_robot_owner?: LuaEntity } @@ -9323,7 +9334,7 @@ declare module "factorio:runtime" { * Note that for combat robots this does not include the constant drift in the direction they are facing. * * _Can only be used if this is CombatRobot or Asteroid_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_movement Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_movement Online documentation} */ get_movement(): Vector /** @@ -9334,7 +9345,7 @@ declare module "factorio:runtime" { * _Can only be used if this is CombatRobot or Asteroid_ * @param direction This normalized form of this vector is used for the movement direction. * @param speed Speed in tiles per tick. Cannot be less than 0. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#set_movement Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#set_movement Online documentation} */ set_movement(direction: Vector | VectorTable, speed: double): void } @@ -9347,7 +9358,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is ContainerEntity or CargoWagon_ * @param overflow Items that would be deleted due to change of inventory size will be transferred to this inventory. Must be a script inventory or inventory of other entity. Inventory references obtained from proxy container are not allowed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#set_inventory_size_override Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#set_inventory_size_override Online documentation} */ set_inventory_size_override( inventory_index: defines.inventory, @@ -9358,7 +9369,7 @@ declare module "factorio:runtime" { * Gets the inventory size override of the selected inventory if size override was set using {@link LuaEntity#set_inventory_size_override set_inventory_size_override}. * * _Can only be used if this is ContainerEntity or CargoWagon_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_inventory_size_override Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_inventory_size_override Online documentation} */ get_inventory_size_override(inventory_index: defines.inventory): uint16 | nil } @@ -9371,7 +9382,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is ContainerEntity or CargoWagon_ * @param overflow Items that would be deleted due to change of inventory size will be transferred to this inventory. Must be a script inventory or inventory of other entity. Inventory references obtained from proxy container are not allowed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#set_inventory_size_override Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#set_inventory_size_override Online documentation} */ set_inventory_size_override( inventory_index: defines.inventory, @@ -9382,7 +9393,7 @@ declare module "factorio:runtime" { * Gets the inventory size override of the selected inventory if size override was set using {@link LuaEntity#set_inventory_size_override set_inventory_size_override}. * * _Can only be used if this is ContainerEntity or CargoWagon_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_inventory_size_override Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_inventory_size_override Online documentation} */ get_inventory_size_override(inventory_index: defines.inventory): uint16 | nil } @@ -9394,7 +9405,7 @@ declare module "factorio:runtime" { * Gives TilePosition of a tile which this offshore pump uses to check what fluid should be produced. * * _Can only be used if this is OffshorePump_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_fluid_source_tile Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_fluid_source_tile Online documentation} */ get_fluid_source_tile(): TilePosition /** @@ -9402,14 +9413,14 @@ declare module "factorio:runtime" { * * _Can only be used if this is OffshorePump_ * @returns Name of fluid that should be produced by this offshore pump based on existing tiles. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_fluid_source_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_fluid_source_fluid Online documentation} */ get_fluid_source_fluid(): string | nil /** * The amount of fluid moved by this offshore pump or normal pump in the last tick. * * _Can only be used if this is OffshorePump or Pump_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#pumped_last_tick Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#pumped_last_tick Online documentation} */ readonly pumped_last_tick: double } @@ -9419,21 +9430,21 @@ declare module "factorio:runtime" { export interface LabEntity extends BaseEntity { /** * _Can only be used if this is Lab_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#clear_stored_durability Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#clear_stored_durability Online documentation} */ clear_stored_durability(): void /** * _Can only be used if this is Lab_ * @param item Item for which a stored durability is requested. * @returns Durability stored. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#get_stored_durability Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#get_stored_durability Online documentation} */ get_stored_durability(item: ItemID): LabStoredDurability /** * _Can only be used if this is Lab_ * @param item Item for which a stored durability is requested. * @param durability Durability to set. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#set_stored_durability Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#set_stored_durability Online documentation} */ set_stored_durability(item: ItemID, durability: LabStoredDurabilityWrite): void } @@ -9444,7 +9455,7 @@ declare module "factorio:runtime" { * This has no effect if the prototype does not support filters. * * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#use_filters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#use_filters Online documentation} */ use_filters: boolean /** @@ -9453,7 +9464,7 @@ declare module "factorio:runtime" { * Inserters must have `allow_custom_vectors` set to true on their prototype to allow changing the pickup position. * * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#pickup_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#pickup_position Online documentation} */ get pickup_position(): MapPosition set pickup_position(value: MapPosition | MapPositionArray) @@ -9461,21 +9472,21 @@ declare module "factorio:runtime" { * The entity this inserter will attempt to pick up items from. If there are multiple possible entities at the pick-up point, writing to this attribute allows a mod to choose which one to pick up items from. The entity needs to collide with the tile box under the pick-up position. `nil` if there is no entity to pull items from. * * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#pickup_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#pickup_target Online documentation} */ pickup_target?: LuaEntity /** * The item stack currently held in an inserter's hand. * * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#held_stack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#held_stack Online documentation} */ readonly held_stack: LuaItemStack /** * Current position of the inserter's "hand". * * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#held_stack_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#held_stack_position Online documentation} */ readonly held_stack_position: MapPosition /** @@ -9484,7 +9495,7 @@ declare module "factorio:runtime" { * This considers the circuit network, manual override and the inserter stack size limit based on technology. * * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#inserter_target_pickup_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#inserter_target_pickup_count Online documentation} */ readonly inserter_target_pickup_count: uint32 /** @@ -9493,35 +9504,35 @@ declare module "factorio:runtime" { * Set to `0` to reset. * * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#inserter_stack_size_override Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#inserter_stack_size_override Online documentation} */ inserter_stack_size_override: uint32 /** * The filter mode for this filter inserter. `nil` if this inserter doesn't use filters. * * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#inserter_filter_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#inserter_filter_mode Online documentation} */ inserter_filter_mode?: "whitelist" | "blacklist" /** * The spoil priority for this inserter. * * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#inserter_spoil_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#inserter_spoil_priority Online documentation} */ inserter_spoil_priority: SpoilPriority /** * For inserters taking items from transport belt connectables, this determines whether the inserter is allowed to take items from the left lane. * * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#pickup_from_left_lane Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#pickup_from_left_lane Online documentation} */ pickup_from_left_lane: boolean /** * For inserters taking items from transport belt connectables, this determines whether the inserter is allowed to take items from the right lane. * * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#pickup_from_right_lane Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#pickup_from_right_lane Online documentation} */ pickup_from_right_lane: boolean } @@ -9530,14 +9541,14 @@ declare module "factorio:runtime" { * The orientation of this cliff. * * _Can only be used if this is Cliff_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#cliff_orientation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#cliff_orientation Online documentation} */ readonly cliff_orientation: CliffOrientation /** * Table of cliff neighbours. * * _Can only be used if this is Cliff_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#cliff_neighbours Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#cliff_neighbours Online documentation} */ readonly cliff_neighbours: { readonly north?: LuaEntity @@ -9549,14 +9560,14 @@ declare module "factorio:runtime" { export interface ItemEntity extends BaseEntity { /** * _Can only be used if this is ItemEntity_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#stack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#stack Online documentation} */ readonly stack: LuaItemStack /** * Will this item entity be picked up automatically when the player walks over it? * * _Can only be used if this is ItemEntity_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#to_be_looted Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#to_be_looted Online documentation} */ to_be_looted: boolean } @@ -9565,7 +9576,7 @@ declare module "factorio:runtime" { * The previous recipe this furnace was using, if any. * * _Can only be used if this is Furnace_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#previous_recipe Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#previous_recipe Online documentation} */ readonly previous_recipe?: RecipeIDAndQualityIDPair } @@ -9574,14 +9585,14 @@ declare module "factorio:runtime" { * Neighbour underground belt connected to this underground belt through underground lines. * * _Can only be used if this is UndergroundBelt_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#underground_belt_neighbour Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#underground_belt_neighbour Online documentation} */ readonly underground_belt_neighbour?: LuaEntity /** * Whether this underground belt goes into or out of the ground. * * _Can only be used if this is UndergroundBelt_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#belt_to_ground_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#belt_to_ground_type Online documentation} */ readonly belt_to_ground_type: BeltConnectionType } @@ -9590,7 +9601,7 @@ declare module "factorio:runtime" { * Table of wall-connectable neighbours. * * _Can only be used if this is Wall or Gate_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#wall_neighbours Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#wall_neighbours Online documentation} */ readonly wall_neighbours: { readonly north?: LuaEntity @@ -9604,14 +9615,14 @@ declare module "factorio:runtime" { * Connections of a {@link LuaEntityPrototype#neighbour_connectable neighbour connectable} entity. Includes connections that aren't currently connected to another entity. * * _Can only be used if this is Reactor or FusionReactor_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#neighbour_connectable_connections Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#neighbour_connectable_connections Online documentation} */ readonly neighbour_connectable_connections: NeighbourConnectableConnection[] /** * The current total neighbour bonus of this reactor. * * _Can only be used if this is Reactor_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#neighbour_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#neighbour_bonus Online documentation} */ readonly neighbour_bonus: double } @@ -9620,7 +9631,7 @@ declare module "factorio:runtime" { * Connections of a {@link LuaEntityPrototype#neighbour_connectable neighbour connectable} entity. Includes connections that aren't currently connected to another entity. * * _Can only be used if this is Reactor or FusionReactor_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#neighbour_connectable_connections Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#neighbour_connectable_connections Online documentation} */ readonly neighbour_connectable_connections: NeighbourConnectableConnection[] } @@ -9629,21 +9640,21 @@ declare module "factorio:runtime" { * The ticks left before a combat robot, highlight box, smoke, or sticker entity is destroyed. * * _Can only be used if this is CombatRobot, HighlightBox, Smoke or Sticker_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#time_to_live Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#time_to_live Online documentation} */ time_to_live: uint64 /** * The highlight box type of this highlight box entity. * * _Can only be used if this is HighlightBox_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#highlight_box_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#highlight_box_type Online documentation} */ highlight_box_type: CursorBoxRenderType /** * The blink interval of this highlight box entity. `0` indicates no blink. * * _Can only be used if this is HighlightBox_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#highlight_box_blink_interval Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#highlight_box_blink_interval Online documentation} */ highlight_box_blink_interval: uint32 } @@ -9652,7 +9663,7 @@ declare module "factorio:runtime" { * The ticks left before a combat robot, highlight box, smoke, or sticker entity is destroyed. * * _Can only be used if this is CombatRobot, HighlightBox, Smoke or Sticker_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#time_to_live Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#time_to_live Online documentation} */ time_to_live: uint64 } @@ -9661,14 +9672,14 @@ declare module "factorio:runtime" { * The ticks left before a combat robot, highlight box, smoke, or sticker entity is destroyed. * * _Can only be used if this is CombatRobot, HighlightBox, Smoke or Sticker_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#time_to_live Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#time_to_live Online documentation} */ time_to_live: uint64 /** * The entity this sticker is sticked to. * * _Can only be used if this is Sticker_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#sticked_to Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#sticked_to Online documentation} */ readonly sticked_to: LuaEntity } @@ -9677,28 +9688,28 @@ declare module "factorio:runtime" { * Whether this loader gets items from or puts item into a container. * * _Can only be used if this is Loader_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#loader_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#loader_type Online documentation} */ loader_type: BeltConnectionType /** * The container entity this loader is pointing at/pulling from depending on the {@link LuaEntity#loader_type LuaEntity::loader_type}, if any. * * _Can only be used if this is Loader_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#loader_container Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#loader_container Online documentation} */ readonly loader_container?: LuaEntity /** * The filter mode for this loader. `nil` if this loader does not support filters. * * _Can only be used if this is Loader_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#loader_filter_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#loader_filter_mode Online documentation} */ loader_filter_mode?: PrototypeFilterMode /** * The belt stack size override for this loader. Set to `0` to disable. Writing this value requires {@link import("factorio:prototype").LoaderPrototype#adjustable_belt_stack_size LoaderPrototype::adjustable_belt_stack_size} to be `true`. * * _Can only be used if this is Loader_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#loader_belt_stack_size_override Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#loader_belt_stack_size_override Online documentation} */ loader_belt_stack_size_override: uint8 } @@ -9707,21 +9718,21 @@ declare module "factorio:runtime" { * The insert plan for this ghost or item request proxy. * * _Can only be used if this is EntityGhost or ItemRequestProxy_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#insert_plan Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#insert_plan Online documentation} */ insert_plan: BlueprintInsertPlan[] /** * The removal plan for this item request proxy. * * _Can only be used if this is ItemRequestProxy_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#removal_plan Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#removal_plan Online documentation} */ removal_plan: BlueprintInsertPlan[] /** * The target entity for this item-request-proxy, if any. * * _Can only be used if this is ItemRequestProxy_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#proxy_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#proxy_target Online documentation} */ readonly proxy_target?: LuaEntity } @@ -9730,35 +9741,35 @@ declare module "factorio:runtime" { * The damage dealt by this turret, artillery turret, or artillery wagon. * * _Can only be used if this is Turret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#damage_dealt Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#damage_dealt Online documentation} */ damage_dealt: double /** * The number of units killed by this turret, artillery turret, or artillery wagon. * * _Can only be used if this is Turret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#kills Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#kills Online documentation} */ kills: uint32 /** * Whether this turret shoots at targets that are not on its priority list. * * _Can only be used if this is Turret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#ignore_unprioritised_targets Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#ignore_unprioritised_targets Online documentation} */ ignore_unprioritised_targets: boolean /** * The shooting target for this turret, if any. Can't be set to `nil` via script. * * _Can only be used if this is Turret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#shooting_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#shooting_target Online documentation} */ shooting_target?: LuaEntity /** * The priority targets for this turret (if any). * * _Can only be used if this is Turret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#priority_targets Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#priority_targets Online documentation} */ readonly priority_targets: LuaEntityPrototype[] } @@ -9767,7 +9778,7 @@ declare module "factorio:runtime" { * The last player that changed any setting on this entity. This includes building the entity, changing its color, or configuring its circuit network. `nil` if the last user is not part of the save anymore. * * _Can only be used if this is EntityWithOwner, DeconstructibleTileProxy or TileGhost_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#last_user Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#last_user Online documentation} */ get last_user(): LuaPlayer | nil set last_user(value: PlayerIdentification | nil) @@ -9777,7 +9788,7 @@ declare module "factorio:runtime" { * The last player that changed any setting on this entity. This includes building the entity, changing its color, or configuring its circuit network. `nil` if the last user is not part of the save anymore. * * _Can only be used if this is EntityWithOwner, DeconstructibleTileProxy or TileGhost_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#last_user Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#last_user Online documentation} */ get last_user(): LuaPlayer | nil set last_user(value: PlayerIdentification | nil) @@ -9787,7 +9798,7 @@ declare module "factorio:runtime" { * The last player that changed any setting on this entity. This includes building the entity, changing its color, or configuring its circuit network. `nil` if the last user is not part of the save anymore. * * _Can only be used if this is EntityWithOwner, DeconstructibleTileProxy or TileGhost_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#last_user Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#last_user Online documentation} */ get last_user(): LuaPlayer | nil set last_user(value: PlayerIdentification | nil) @@ -9797,21 +9808,21 @@ declare module "factorio:runtime" { * Area in which this mining drill looks for resources to mine. * * _Can only be used if this is MiningDrill_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#mining_area Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#mining_area Online documentation} */ readonly mining_area: BoundingBox /** * The mining target, if any. * * _Can only be used if this is MiningDrill_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#mining_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#mining_target Online documentation} */ readonly mining_target?: LuaEntity /** * The filter mode for this mining drill. `nil` if this mining drill doesn't have filters. * * _Can only be used if this is MiningDrill_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#mining_drill_filter_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#mining_drill_filter_mode Online documentation} */ mining_drill_filter_mode?: "whitelist" | "blacklist" } @@ -9820,42 +9831,42 @@ declare module "factorio:runtime" { * Index of the tree color. * * _Can only be used if this is Tree_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#tree_color_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#tree_color_index Online documentation} */ tree_color_index: uint8 /** * Maximum index of the tree colors. * * _Can only be used if this is Tree_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#tree_color_index_max Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#tree_color_index_max Online documentation} */ readonly tree_color_index_max: uint8 /** * Index of the tree stage. * * _Can only be used if this is Tree_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#tree_stage_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#tree_stage_index Online documentation} */ tree_stage_index: uint8 /** * Maximum index of the tree stages. * * _Can only be used if this is Tree_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#tree_stage_index_max Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#tree_stage_index_max Online documentation} */ readonly tree_stage_index_max: uint8 /** * Index of the tree gray stage * * _Can only be used if this is Tree_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#tree_gray_stage_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#tree_gray_stage_index Online documentation} */ tree_gray_stage_index: uint8 /** * Maximum index of the tree gray stages. * * _Can only be used if this is Tree_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#tree_gray_stage_index_max Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#tree_gray_stage_index_max Online documentation} */ readonly tree_gray_stage_index_max: uint8 } @@ -9866,31 +9877,31 @@ declare module "factorio:runtime" { * If this electric pole becomes invalid, the flow statistics obtained from it will also become invalid. If this electric pole becomes part of a different electric network, the flow statistics will be for the new electric network this pole is part of. * * _Can only be used if this is ElectricPole_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#electric_network_statistics Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#electric_network_statistics Online documentation} */ readonly electric_network_statistics: LuaFlowStatistics } export interface SpawnerEntity extends BaseEntity { /** * _Can only be used if this is Spawner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#spawning_cooldown Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#spawning_cooldown Online documentation} */ readonly spawning_cooldown: double /** * _Can only be used if this is Spawner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#absorbed_pollution Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#absorbed_pollution Online documentation} */ readonly absorbed_pollution: double /** * _Can only be used if this is Spawner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#spawn_shift Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#spawn_shift Online documentation} */ readonly spawn_shift: double /** * The units associated with this spawner entity. * * _Can only be used if this is Spawner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#units Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#units Online documentation} */ readonly units: LuaEntity[] } @@ -9899,7 +9910,7 @@ declare module "factorio:runtime" { * The state of this power switch. * * _Can only be used if this is PowerSwitch_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#power_switch_state Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#power_switch_state Online documentation} */ power_switch_state: boolean } @@ -9908,7 +9919,7 @@ declare module "factorio:runtime" { * The description on this combinator. * * _Can only be used if this is ArithmeticCombinator, DeciderCombinator, SelectorCombinator or ConstantCombinator_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#combinator_description Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#combinator_description Online documentation} */ combinator_description: string } @@ -9917,7 +9928,7 @@ declare module "factorio:runtime" { * The description on this combinator. * * _Can only be used if this is ArithmeticCombinator, DeciderCombinator, SelectorCombinator or ConstantCombinator_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#combinator_description Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#combinator_description Online documentation} */ combinator_description: string } @@ -9926,7 +9937,7 @@ declare module "factorio:runtime" { * The description on this combinator. * * _Can only be used if this is ArithmeticCombinator, DeciderCombinator, SelectorCombinator or ConstantCombinator_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#combinator_description Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#combinator_description Online documentation} */ combinator_description: string } @@ -9935,7 +9946,7 @@ declare module "factorio:runtime" { * The description on this combinator. * * _Can only be used if this is ArithmeticCombinator, DeciderCombinator, SelectorCombinator or ConstantCombinator_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#combinator_description Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#combinator_description Online documentation} */ combinator_description: string } @@ -9946,21 +9957,21 @@ declare module "factorio:runtime" { * The index is not guaranteed to be valid so it should always be checked first if a player with that index actually exists. * * _Can only be used if this is CharacterCorpse_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#character_corpse_player_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#character_corpse_player_index Online documentation} */ character_corpse_player_index: uint32 /** * The tick this character corpse died at. * * _Can only be used if this is CharacterCorpse_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#character_corpse_tick_of_death Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#character_corpse_tick_of_death Online documentation} */ character_corpse_tick_of_death: uint32 /** * The reason this character corpse character died. `""` if there is no reason. * * _Can only be used if this is CharacterCorpse_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#character_corpse_death_cause Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#character_corpse_death_cause Online documentation} */ character_corpse_death_cause: LocalisedString } @@ -9969,7 +9980,7 @@ declare module "factorio:runtime" { * The filter for this splitter, if any is set. * * _Can only be used if this is Splitter or LaneSplitter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#splitter_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#splitter_filter Online documentation} */ get splitter_filter(): ItemFilter | nil set splitter_filter(value: ItemFilterWrite | nil) @@ -9977,14 +9988,14 @@ declare module "factorio:runtime" { * The input priority for this splitter. * * _Can only be used if this is Splitter or LaneSplitter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#splitter_input_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#splitter_input_priority Online documentation} */ splitter_input_priority: "left" | "none" | "right" /** * The output priority for this splitter. * * _Can only be used if this is Splitter or LaneSplitter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#splitter_output_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#splitter_output_priority Online documentation} */ splitter_output_priority: "left" | "none" | "right" } @@ -9993,7 +10004,7 @@ declare module "factorio:runtime" { * The filter for this splitter, if any is set. * * _Can only be used if this is Splitter or LaneSplitter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#splitter_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#splitter_filter Online documentation} */ get splitter_filter(): ItemFilter | nil set splitter_filter(value: ItemFilterWrite | nil) @@ -10001,14 +10012,14 @@ declare module "factorio:runtime" { * The input priority for this splitter. * * _Can only be used if this is Splitter or LaneSplitter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#splitter_input_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#splitter_input_priority Online documentation} */ splitter_input_priority: "left" | "none" | "right" /** * The output priority for this splitter. * * _Can only be used if this is Splitter or LaneSplitter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#splitter_output_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#splitter_output_priority Online documentation} */ splitter_output_priority: "left" | "none" | "right" } @@ -10017,14 +10028,14 @@ declare module "factorio:runtime" { * Whether this land mine is armed. * * _Can only be used if this is LandMine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#armed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#armed Online documentation} */ readonly armed: boolean /** * The timeout that's left on this landmine in ticks. It describes the time between the landmine being placed and it being armed. * * _Can only be used if this is LandMine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#timeout Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#timeout Online documentation} */ timeout: uint32 } @@ -10033,21 +10044,21 @@ declare module "factorio:runtime" { * The rail targets of this pump's input * * _Can only be used if this is Pump_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#pump_input_rail_targets Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#pump_input_rail_targets Online documentation} */ readonly pump_input_rail_targets: LuaEntity[] /** * The rail targets of this pump's output * * _Can only be used if this is Pump_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#pump_output_rail_targets Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#pump_output_rail_targets Online documentation} */ readonly pump_output_rail_targets: LuaEntity[] /** * The amount of fluid moved by this offshore pump or normal pump in the last tick. * * _Can only be used if this is OffshorePump or Pump_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#pumped_last_tick Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#pumped_last_tick Online documentation} */ readonly pumped_last_tick: double } @@ -10058,7 +10069,7 @@ declare module "factorio:runtime" { * If no override is defined, the threshold is taken from {@link LuaEntityPrototype#valve_threshold LuaEntityPrototype::valve_threshold}. * * _Can only be used if this is Valve_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#valve_threshold_override Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#valve_threshold_override Online documentation} */ valve_threshold_override?: float } @@ -10067,7 +10078,7 @@ declare module "factorio:runtime" { * How much energy this generator generated in the last tick. * * _Can only be used if this is Generator_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#energy_generated_last_tick Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#energy_generated_last_tick Online documentation} */ readonly energy_generated_last_tick: double } @@ -10076,14 +10087,14 @@ declare module "factorio:runtime" { * Whether this corpse will ever fade away. * * _Can only be used if this is Corpse_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#corpse_expires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#corpse_expires Online documentation} */ corpse_expires: boolean /** * If true, corpse won't be destroyed when entities are placed over it. If false, whether corpse will be removed or not depends on value of {@link import("factorio:prototype").CorpsePrototype#remove_on_entity_placement CorpsePrototype::remove_on_entity_placement}. * * _Can only be used if this is Corpse_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#corpse_immune_to_entity_placement Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#corpse_immune_to_entity_placement Online documentation} */ corpse_immune_to_entity_placement: boolean } @@ -10092,7 +10103,7 @@ declare module "factorio:runtime" { * The ticks until the next trigger effect of this smoke-with-trigger. * * _Can only be used if this is SmokeWithTrigger_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#time_to_next_effect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#time_to_next_effect Online documentation} */ time_to_next_effect: uint32 } @@ -10101,7 +10112,7 @@ declare module "factorio:runtime" { * The link ID this linked container is using. * * _Can only be used if this is LinkedContainer_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#link_id Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#link_id Online documentation} */ link_id: uint32 } @@ -10110,7 +10121,7 @@ declare module "factorio:runtime" { * The current radar scan progress, as a number in range `[0, 1]`. * * _Can only be used if this is Radar_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#radar_scan_progress Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#radar_scan_progress Online documentation} */ readonly radar_scan_progress: float } @@ -10119,7 +10130,7 @@ declare module "factorio:runtime" { * Gives what is the current shape of a transport-belt. * * _Can only be used if this is TransportBelt_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#belt_shape Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#belt_shape Online documentation} */ readonly belt_shape: "straight" | "left" | "right" } @@ -10128,7 +10139,7 @@ declare module "factorio:runtime" { * The tick when this plant is fully grown. * * _Can only be used if this is Plant_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#tick_grown Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#tick_grown Online documentation} */ tick_grown: MapTick } @@ -10137,7 +10148,7 @@ declare module "factorio:runtime" { * If the lamp is always on when not driven by control behavior. * * _Can only be used if this is Lamp_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#always_on Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#always_on Online documentation} */ always_on: boolean } @@ -10146,7 +10157,7 @@ declare module "factorio:runtime" { * If this artillery auto-targets enemies. * * _Can only be used if this is ArtilleryWagon or ArtilleryTurret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#artillery_auto_targeting Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#artillery_auto_targeting Online documentation} */ artillery_auto_targeting: boolean } @@ -10155,7 +10166,7 @@ declare module "factorio:runtime" { * If this artillery auto-targets enemies. * * _Can only be used if this is ArtilleryWagon or ArtilleryTurret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#artillery_auto_targeting Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#artillery_auto_targeting Online documentation} */ artillery_auto_targeting: boolean } @@ -10164,7 +10175,7 @@ declare module "factorio:runtime" { * Get the current queue of robot orders. * * _Can only be used if this is ConstructionRobot or LogisticRobot_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#robot_order_queue Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#robot_order_queue Online documentation} */ readonly robot_order_queue: WorkerRobotOrder[] } @@ -10173,7 +10184,7 @@ declare module "factorio:runtime" { * Get the current queue of robot orders. * * _Can only be used if this is ConstructionRobot or LogisticRobot_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#robot_order_queue Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#robot_order_queue Online documentation} */ readonly robot_order_queue: WorkerRobotOrder[] } @@ -10186,7 +10197,7 @@ declare module "factorio:runtime" { * If this entity is not considered {@link LuaEntity#is_updatable updatable} then this always returns `false` and writes will be ignored. * * _Can only be used if this is UpdatableEntity_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#disabled_by_script Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#disabled_by_script Online documentation} */ disabled_by_script: boolean /** @@ -10195,7 +10206,7 @@ declare module "factorio:runtime" { * Always returns `false` if this entity is not considered {@link LuaEntity#is_updatable updatable}. * * _Can only be used if this is UpdatableEntity_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#disabled_by_control_behavior Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#disabled_by_control_behavior Online documentation} */ readonly disabled_by_control_behavior: boolean /** @@ -10204,7 +10215,7 @@ declare module "factorio:runtime" { * Always returns `false` if this entity is not considered {@link LuaEntity#is_updatable updatable}. * * _Can only be used if this is UpdatableEntity_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#disabled_by_recipe Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#disabled_by_recipe Online documentation} */ readonly disabled_by_recipe: boolean } @@ -10215,7 +10226,7 @@ declare module "factorio:runtime" { * Always returns `false` if this entity is not considered {@link LuaEntity#is_freezable freezable}. * * _Can only be used if this is FreezableEntity_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#frozen Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#frozen Online documentation} */ readonly frozen: boolean } @@ -10224,19 +10235,19 @@ declare module "factorio:runtime" { * The cargo pod attached to this rocket silo rocket if any. * * _Can only be used if this is RocketSiloRocket_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#attached_cargo_pod Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#attached_cargo_pod Online documentation} */ readonly attached_cargo_pod?: LuaEntity } export interface ProjectileEntity extends BaseEntity { /** * _Can only be used if this is Projectile_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#base_damage_modifiers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#base_damage_modifiers Online documentation} */ base_damage_modifiers: TriggerModifierData /** * _Can only be used if this is Projectile_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#bonus_damage_modifiers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#bonus_damage_modifiers Online documentation} */ bonus_damage_modifiers: TriggerModifierData } @@ -10245,7 +10256,7 @@ declare module "factorio:runtime" { * The space platform hub or cargo landing pad this cargo bay is connected to if any. * * _Can only be used if this is CargoBay_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#cargo_bay_connection_owner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#cargo_bay_connection_owner Online documentation} */ readonly cargo_bay_connection_owner?: LuaEntity } @@ -10254,7 +10265,7 @@ declare module "factorio:runtime" { * The segmented unit object that the segment entity is a part of. * * _Can only be used if this is Segment_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#segmented_unit Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#segmented_unit Online documentation} */ readonly segmented_unit?: LuaSegmentedUnit } @@ -10263,14 +10274,14 @@ declare module "factorio:runtime" { * Entity of which inventory is exposed by this ProxyContainer * * _Can only be used if this is ProxyContainer_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#proxy_target_entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#proxy_target_entity Online documentation} */ proxy_target_entity?: LuaEntity /** * Inventory index of the inventory that is exposed by this ProxyContainer * * _Can only be used if this is ProxyContainer_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#proxy_target_inventory Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#proxy_target_inventory Online documentation} */ proxy_target_inventory: defines.inventory } @@ -10279,25 +10290,25 @@ declare module "factorio:runtime" { * Text visible on the display panel. Can be written only when it is not set by control behavior. * * _Can only be used if this is DisplayPanel_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#display_panel_text Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#display_panel_text Online documentation} */ display_panel_text: string /** * Icon visible on the display panel. Can be written only when it is not set by control behavior. * * _Can only be used if this is DisplayPanel_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#display_panel_icon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#display_panel_icon Online documentation} */ get display_panel_icon(): SignalID | nil set display_panel_icon(value: SignalIDWrite | nil) /** * _Can only be used if this is DisplayPanel_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#display_panel_always_show Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#display_panel_always_show Online documentation} */ display_panel_always_show: boolean /** * _Can only be used if this is DisplayPanel_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#display_panel_show_in_chart Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#display_panel_show_in_chart Online documentation} */ display_panel_show_in_chart: boolean } @@ -10306,41 +10317,41 @@ declare module "factorio:runtime" { * The power production specific to the ElectricEnergyInterface entity type. * * _Can only be used if this is ElectricEnergyInterface_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#power_production Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#power_production Online documentation} */ power_production: double /** * The power usage specific to the ElectricEnergyInterface entity type. * * _Can only be used if this is ElectricEnergyInterface_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#power_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#power_usage Online documentation} */ power_usage: double /** * Max amount of energy this ElectricEnergyInterface will take from electric network in one tick. * * _Can only be used if this is ElectricEnergyInterface_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#input_flow_limit Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#input_flow_limit Online documentation} */ input_flow_limit: double /** * Max amount of energy this ElectricEnergyInterface will provide to electric network in one tick. * * _Can only be used if this is ElectricEnergyInterface_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#output_flow_limit Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#output_flow_limit Online documentation} */ output_flow_limit: double /** * Mode this ElectricEnergyInterface is in. Mode changes how the interface interacts with electric network: if its an electric producer, consumer and what priority it has. * * _Can only be used if this is ElectricEnergyInterface_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntity.html#electric_interface_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntity.html#electric_interface_mode Online documentation} */ electric_interface_mode: defines.electric_interface_mode } /** * Prototype of an entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html Online documentation} * @noSelf */ export interface LuaEntityPrototype extends LuaPrototypeBase { @@ -10348,191 +10359,191 @@ declare module "factorio:runtime" { * Test whether this entity prototype has a certain flag set. * @param flag The flag to test. * @returns `true` if this prototype has the given flag set. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#has_flag Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#has_flag Online documentation} */ has_flag(flag: EntityPrototypeFlag): boolean /** * Gets the base size of the given inventory on this entity or `nil` if the given inventory doesn't exist. * @param quality Defaults to `"normal"`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_inventory_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_inventory_size Online documentation} */ get_inventory_size(index: defines.inventory, quality?: QualityID): ItemStackIndex | nil /** * The crafting speed of this crafting-machine or character. * * _Can only be used if this is CraftingMachine or Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_crafting_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_crafting_speed Online documentation} */ get_crafting_speed(quality?: QualityID): double | nil /** * The supply area of this electric pole or beacon prototype. * * _Can only be used if this is ElectricPole or Beacon_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_supply_area_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_supply_area_distance Online documentation} */ get_supply_area_distance(quality?: QualityID): double | nil /** * The maximum wire distance for this entity. 0 if the entity doesn't support wires. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_max_wire_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_max_wire_distance Online documentation} */ get_max_wire_distance(quality?: QualityID): double /** * The maximum circuit wire distance for this entity. 0 if the entity doesn't support circuit wires. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_max_circuit_wire_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_max_circuit_wire_distance Online documentation} */ get_max_circuit_wire_distance(quality?: QualityID): double /** * The theoretical maximum energy usage for this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_max_energy_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_max_energy_usage Online documentation} */ get_max_energy_usage(quality?: QualityID): double /** * The theoretical maximum energy production for this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_max_energy_production Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_max_energy_production Online documentation} */ get_max_energy_production(quality?: QualityID): double /** * The max energy for this flying robot prototype. * * _Can only be used if this is FlyingRobot_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_max_energy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_max_energy Online documentation} */ get_max_energy(quality?: QualityID): double | nil /** * The extension speed of this inserter. * * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_inserter_extension_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_inserter_extension_speed Online documentation} */ get_inserter_extension_speed(quality?: QualityID): double | nil /** * The rotation speed of this inserter. * * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_inserter_rotation_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_inserter_rotation_speed Online documentation} */ get_inserter_rotation_speed(quality?: QualityID): double | nil /** * The base researching speed of this lab prototype. * * _Can only be used if this is Lab_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_researching_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_researching_speed Online documentation} */ get_researching_speed(quality?: QualityID): double | nil /** * The radius of the area this radar can chart, in chunks. * * _Can only be used if this is Radar_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_max_distance_of_sector_revealed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_max_distance_of_sector_revealed Online documentation} */ get_max_distance_of_sector_revealed(quality?: QualityID): uint32 | nil /** * The radius of the area constantly revealed by this radar, or cargo landing pad, in chunks. * * _Can only be used if this is Radar or CargoLandingPad_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_max_distance_of_nearby_sector_revealed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_max_distance_of_nearby_sector_revealed Online documentation} */ get_max_distance_of_nearby_sector_revealed(quality?: QualityID): uint32 | nil /** * Max health of this entity. Will be `0` if this is not an entity with health. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_max_health Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_max_health Online documentation} */ get_max_health(quality?: QualityID): float /** * The fluid usage of this generator, fusion generator or fusion reactor prototype. * * _Can only be used if this is Generator, FusionGenerator or FusionReactor_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_fluid_usage_per_tick Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_fluid_usage_per_tick Online documentation} */ get_fluid_usage_per_tick(quality?: QualityID): double | nil /** * The maximum power output of this burner generator or generator prototype. * * _Can only be used if this is BurnerGenerator or Generator_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_max_power_output Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_max_power_output Online documentation} */ get_max_power_output(quality?: QualityID): double | nil /** * The pumping speed of this offshore pump or normal pump. * * _Can only be used if this is OffshorePump or Pump_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_pumping_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_pumping_speed Online documentation} */ get_pumping_speed(quality?: QualityID): double | nil /** * The maximum flow rate through this valve. * * _Can only be used if this is Valve_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_valve_flow_rate Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_valve_flow_rate Online documentation} */ get_valve_flow_rate(quality?: QualityID): double | nil /** * The maximum speed of this rolling stock if defined. * * _Can only be used if this is RollingStock_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_max_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_max_speed Online documentation} */ get_max_speed(quality?: QualityID): double | nil /** * _Can only be used if this is Sticker_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_duration Online documentation} */ get_duration(quality?: QualityID): uint32 | nil /** * _Can only be used if this is CargoBay_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_inventory_size_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_inventory_size_bonus Online documentation} */ get_inventory_size_bonus(quality?: QualityID): ItemStackIndex | nil /** * The mining radius of this mining drill prototype. * * _Can only be used if this is MiningDrill_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_mining_drill_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_mining_drill_radius Online documentation} */ get_mining_drill_radius(quality?: QualityID): double | nil /** * Gets the fluid capacity of this entity or 0 if this entity doesn't support fluids. * * Crafting machines will report 0 due to their fluid capacity being whatever a given recipe needs. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_fluid_capacity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_fluid_capacity Online documentation} */ get_fluid_capacity(quality?: QualityID): double /** * _Can only be used if this is LightningAttractor_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_attraction_range_elongation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_attraction_range_elongation Online documentation} */ get_attraction_range_elongation(quality?: QualityID): double | nil /** * _Can only be used if this is LightningAttractor_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_energy_distribution_efficiency Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_energy_distribution_efficiency Online documentation} */ get_energy_distribution_efficiency(quality?: QualityID): double | nil /** * Whether this resource is infinite. * * _Can only be used if this is ResourceEntity_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#infinite_resource Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#infinite_resource Online documentation} */ readonly infinite_resource?: boolean /** * Minimum amount of this resource. * * _Can only be used if this is ResourceEntity_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#minimum_resource_amount Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#minimum_resource_amount Online documentation} */ readonly minimum_resource_amount?: uint32 /** * The normal amount for this resource. * * _Can only be used if this is ResourceEntity_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#normal_resource_amount Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#normal_resource_amount Online documentation} */ readonly normal_resource_amount?: uint32 /** * Every time this infinite resource 'ticks' down, it is reduced by this amount. Meaningless if this isn't an infinite resource. * * _Can only be used if this is ResourceEntity_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#infinite_depletion_resource_amount Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#infinite_depletion_resource_amount Online documentation} */ readonly infinite_depletion_resource_amount?: uint32 /** @@ -10541,223 +10552,223 @@ declare module "factorio:runtime" { * During data stage, this property is named "category". * * _Can only be used if this is ResourceEntity_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#resource_category Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#resource_category Online documentation} */ readonly resource_category?: string /** * Whether this entity is minable and what can be obtained by mining it. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#mineable_properties Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#mineable_properties Online documentation} */ readonly mineable_properties: MineableProperties /** * Items that when placed will produce this entity, if any. Construction bots will choose the first item in the list to build this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#items_to_place_this Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#items_to_place_this Online documentation} */ readonly items_to_place_this?: ItemToPlace[] /** * The bounding box used for collision checking. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#collision_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#collision_box Online documentation} */ readonly collision_box: BoundingBox /** * The secondary bounding box used for collision checking, if any. This is only used in rails and rail remnants. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#secondary_collision_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#secondary_collision_box Online documentation} */ readonly secondary_collision_box?: BoundingBox /** * The bounding box used for map generator collision checking. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#map_generator_bounding_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#map_generator_bounding_box Online documentation} */ readonly map_generator_bounding_box: BoundingBox /** * The bounding box used for drawing selection. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#selection_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#selection_box Online documentation} */ readonly selection_box: BoundingBox /** * Extra vertical space needed to see the whole entity in GUIs. This is used to calculate the correct zoom and positioning in the entity info gui, for example in the entity tooltip. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#drawing_box_vertical_extension Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#drawing_box_vertical_extension Online documentation} */ readonly drawing_box_vertical_extension: double /** * The bounding box used to attach sticker type entities. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#sticker_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#sticker_box Online documentation} */ readonly sticker_box: BoundingBox /** * The collision masks this entity uses - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#collision_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#collision_mask Online documentation} */ readonly collision_mask: CollisionMask /** * The trigger target mask for this entity prototype type. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#trigger_target_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#trigger_target_mask Online documentation} */ readonly trigger_target_mask: Record /** * _Can only be used if this is Turret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#attack_target_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#attack_target_mask Online documentation} */ readonly attack_target_mask?: TriggerTargetMask /** * _Can only be used if this is Turret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#ignore_target_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#ignore_target_mask Online documentation} */ readonly ignore_target_mask?: TriggerTargetMask /** * Amount this entity can heal per tick, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#healing_per_tick Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#healing_per_tick Online documentation} */ readonly healing_per_tick?: float /** * A table of pollution emissions per second the entity will create, grouped by the name of the pollution type. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#emissions_per_second Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#emissions_per_second Online documentation} */ readonly emissions_per_second: Record /** * Corpses used when this entity is destroyed. It is a dictionary indexed by the corpse's prototype name. * * _Can only be used if this is EntityWithHealth_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#corpses Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#corpses Online documentation} */ readonly corpses?: Record /** * _Can only be used if this is Turret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#folded_turret_corpses Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#folded_turret_corpses Online documentation} */ readonly folded_turret_corpses?: Record /** * Is this entity selectable? - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#selectable_in_game Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#selectable_in_game Online documentation} */ readonly selectable_in_game: boolean /** * The selection priority of this entity - a value between `0` and `255`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#selection_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#selection_priority Online documentation} */ readonly selection_priority: uint32 /** * The weight of this vehicle prototype. * * _Can only be used if this is Vehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#weight Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#weight Online documentation} */ readonly weight?: double /** * Weight which this entity adds to total space platform weight when placed. * * _Can only be used if this is SpacePlatformHub_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#platform_weight Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#platform_weight Online documentation} */ readonly platform_weight?: Weight /** * List of resistances towards each damage type. It is a dictionary indexed by damage type names (see `data/base/prototypes/damage-type.lua`). * * _Can only be used if this is EntityWithHealth_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#resistances Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#resistances Online documentation} */ readonly resistances?: Record /** * The group of mutually fast-replaceable entities, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#fast_replaceable_group Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#fast_replaceable_group Online documentation} */ readonly fast_replaceable_group?: string /** * The next upgrade for this entity, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#next_upgrade Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#next_upgrade Online documentation} */ readonly next_upgrade?: LuaEntityPrototype /** * The icon positioning for inventories of this entity, if defined. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#icons_positioning Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#icons_positioning Online documentation} */ readonly icons_positioning?: IconSequencePositioning[] /** * The definition of where and how the alt-mode icons of this entity should be drawn. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#icon_draw_specification Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#icon_draw_specification Online documentation} */ readonly icon_draw_specification: IconDrawSpecification /** * Loot that will be dropped when this entity is killed, if any. * * _Can only be used if this is EntityWithHealth_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#loot Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#loot Online documentation} */ readonly loot?: ItemProduct[] /** * Repair-speed modifier for this entity, if any. Actual repair speed will be `tool_repair_speed * entity_repair_speed_modifier`. * * _Can only be used if this is EntityWithHealth_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#repair_speed_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#repair_speed_modifier Online documentation} */ readonly repair_speed_modifier?: float /** * Repair speed of entities is multiplied by this value when they are on a space platform with this hub prototype. * * _Can only be used if this is SpacePlatformHub_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#platform_repair_speed_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#platform_repair_speed_modifier Online documentation} */ readonly platform_repair_speed_modifier?: float /** * The range of this turret. * * _Can only be used if this is Turret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#turret_range Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#turret_range Online documentation} */ readonly turret_range?: uint32 /** * _Can only be used if this is Turret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#turret_prepare_range Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#turret_prepare_range Online documentation} */ readonly turret_prepare_range?: double /** * Autoplace specification for this entity prototype, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#autoplace_specification Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#autoplace_specification Online documentation} */ readonly autoplace_specification?: AutoplaceSpecification /** * The speed of this transport belt. * * _Can only be used if this is TransportBeltConnectable_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#belt_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#belt_speed Online documentation} */ readonly belt_speed?: double /** * The result units and spawn points with weight and evolution factor for a biter spawner entity. * * _Can only be used if this is Spawner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#result_units Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#result_units Online documentation} */ readonly result_units?: UnitSpawnDefinition[] /** * The attack result of this entity, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#attack_result Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#attack_result Online documentation} */ readonly attack_result?: TriggerItem[] /** * The final attack result for this entity if it has one. * * _Can only be used if this is Projectile or ArtilleryProjectile_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#final_attack_result Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#final_attack_result Online documentation} */ readonly final_attack_result?: TriggerItem[] /** * The attack parameters for this entity, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#attack_parameters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#attack_parameters Online documentation} */ readonly attack_parameters?: AttackParameters /** * The revenge attack parameters for this entity, if any. These attack parameters are used in addition to {@link LuaEntityPrototype#attack_parameters LuaEntityPrototype::attack_parameters} if the entity is attacking a target that has previously dealt damage to the entity. * * _Can only be used if this is SegmentedUnit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#revenge_attack_parameters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#revenge_attack_parameters Online documentation} */ readonly revenge_attack_parameters?: AttackParameters /** * The spawning cooldown for this enemy spawner prototype. * * _Can only be used if this is Spawner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#spawn_cooldown Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#spawn_cooldown Online documentation} */ readonly spawn_cooldown?: { readonly min: double @@ -10767,91 +10778,91 @@ declare module "factorio:runtime" { * The mining radius of this mining drill prototype. * * _Can only be used if this is MiningDrill_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#mining_drill_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#mining_drill_radius Online documentation} */ readonly mining_drill_radius?: double /** * If this mining drill puts full belt stacks onto belts. * * _Can only be used if this is MiningDrill_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#drops_full_belt_stacks Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#drops_full_belt_stacks Online documentation} */ readonly drops_full_belt_stacks?: boolean /** * _Can only be used if this is MiningDrill_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#quality_affects_mining_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#quality_affects_mining_radius Online documentation} */ readonly quality_affects_mining_radius?: boolean /** * The mining speed of this mining drill/character prototype. * * _Can only be used if this is MiningDrill or Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#mining_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#mining_speed Online documentation} */ readonly mining_speed?: double /** * The resource drain rate percent of this mining drill prototype. * * _Can only be used if this is MiningDrill_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#resource_drain_rate_percent Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#resource_drain_rate_percent Online documentation} */ readonly resource_drain_rate_percent?: uint8 /** * If this drill uses force productivity bonus * * _Can only be used if this is MiningDrill_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#uses_force_mining_productivity_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#uses_force_mining_productivity_bonus Online documentation} */ readonly uses_force_mining_productivity_bonus?: boolean /** * If this drill requires minable resources before it can be placed. * * _Can only be used if this is MiningDrill_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#require_resources_to_place Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#require_resources_to_place Online documentation} */ readonly require_resources_to_place?: boolean /** * The logistic mode of this logistic container. * * _Can only be used if this is LogisticContainer_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#logistic_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#logistic_mode Online documentation} */ readonly logistic_mode?: "requester" | "active-provider" | "passive-provider" | "buffer" | "storage" | "none" /** * The max underground distance for underground belts and underground pipes. * * _Can only be used if this is UndergroundBelt or PipeToGround_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#max_underground_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#max_underground_distance Online documentation} */ readonly max_underground_distance?: uint8 /** * The flags for this entity prototype. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#flags Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#flags Online documentation} */ readonly flags: EntityPrototypeFlags /** * The remains left behind when this entity is mined. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#remains_when_mined Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#remains_when_mined Online documentation} */ readonly remains_when_mined: LuaEntityPrototype[] /** * Entities this entity can be pasted onto in addition to the normal allowed ones. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#additional_pastable_entities Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#additional_pastable_entities Online documentation} */ readonly additional_pastable_entities: LuaEntityPrototype[] /** * When false copy-paste is not allowed for this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#allow_copy_paste Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#allow_copy_paste Online documentation} */ readonly allow_copy_paste: boolean /** * The cursor size used when shooting at this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#shooting_cursor_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#shooting_cursor_size Online documentation} */ readonly shooting_cursor_size: float /** * The smoke trigger run when this entity is built, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#created_smoke Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#created_smoke Online documentation} */ readonly created_smoke?: { readonly smoke_name: string @@ -10869,74 +10880,74 @@ declare module "factorio:runtime" { } /** * The trigger to run when this entity is created, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#created_effect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#created_effect Online documentation} */ readonly created_effect?: TriggerItem[] /** * The trigger effects to run every tick when on cooldown. * * _Can only be used if this is Segment or Sticker_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#update_effects Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#update_effects Online documentation} */ readonly update_effects?: TriggerEffectWithCooldown[] /** * The trigger effects to run every tick when on cooldown while the owning {@link LuaSegmentedUnit} is enraged. * * _Can only be used if this is Segment_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#update_effects_while_enraged Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#update_effects_while_enraged Online documentation} */ readonly update_effects_while_enraged?: TriggerEffectWithCooldown[] /** * The map color used when charting this entity if a friendly or enemy color isn't defined, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#map_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#map_color Online documentation} */ readonly map_color?: Color /** * The friendly map color used when charting this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#friendly_map_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#friendly_map_color Online documentation} */ readonly friendly_map_color: Color /** * The enemy map color used when charting this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#enemy_map_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#enemy_map_color Online documentation} */ readonly enemy_map_color: Color /** * The instruments for this programmable speaker. * * _Can only be used if this is ProgrammableSpeaker_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#instruments Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#instruments Online documentation} */ readonly instruments?: ProgrammableSpeakerInstrument[] /** * The maximum polyphony for this programmable speaker. * * _Can only be used if this is ProgrammableSpeaker_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#max_polyphony Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#max_polyphony Online documentation} */ readonly max_polyphony?: uint32 /** * The module inventory size. `nil` if this entity doesn't support modules. * * Returns the inventory size if this entity is of normal quality. Use {@link LuaEntityPrototype#get_inventory_size LuaEntityPrototype::get_inventory_size} for other qualities. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#module_inventory_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#module_inventory_size Online documentation} */ readonly module_inventory_size?: uint32 /** * _Can only be used if this is Beacon, CraftingMachine, MiningDrill or Lab_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#quality_affects_module_slots Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#quality_affects_module_slots Online documentation} */ readonly quality_affects_module_slots?: boolean /** * _Can only be used if this is CraftingMachine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#module_slots_quality_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#module_slots_quality_bonus Online documentation} */ readonly module_slots_quality_bonus?: Record /** * The inventory type this container or linked container uses. * * _Can only be used if this is ContainerEntity or LinkedContainer_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#inventory_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#inventory_type Online documentation} */ readonly inventory_type?: "normal" | "with_bar" | "with_filters" | "with_filters_and_bar" | "with_weight_limit" | "with_custom_stack_size" @@ -10944,38 +10955,38 @@ declare module "factorio:runtime" { * Weight limit of the inventory if inventory_type is `"with_weight_limit"`. * * _Can only be used if this is ContainerEntity or LinkedContainer_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#inventory_weight_limit Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#inventory_weight_limit Online documentation} */ readonly inventory_weight_limit?: Weight /** * _Can only be used if this is ContainerEntity or CargoWagon_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#quality_affects_inventory_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#quality_affects_inventory_size Online documentation} */ readonly quality_affects_inventory_size?: boolean /** * Properties of custom inventory. Only provided if `inventory_type` is `"with_custom_stack_size"`. * * _Can only be used if this is ContainerEntity or LinkedContainer_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#inventory_properties Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#inventory_properties Online documentation} */ readonly inventory_properties?: InventoryWithCustomStackSizeSpecification /** * The max number of ingredients this crafting machine prototype supports. * * _Can only be used if this is CraftingMachine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#ingredient_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#ingredient_count Online documentation} */ readonly ingredient_count?: uint32 /** * The max number of item products this crafting machine prototype supports. * * _Can only be used if this is CraftingMachine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#max_item_product_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#max_item_product_count Online documentation} */ readonly max_item_product_count?: uint32 /** * _Can only be used if this is CraftingMachine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#crafting_speed_quality_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#crafting_speed_quality_multiplier Online documentation} */ readonly crafting_speed_quality_multiplier?: Record /** @@ -10984,17 +10995,17 @@ declare module "factorio:runtime" { * The value in the dictionary is meaningless and exists just to allow for easy lookup. * * _Can only be used if this is CraftingMachine or Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#crafting_categories Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#crafting_categories Online documentation} */ readonly crafting_categories?: Record /** * _Can only be used if this is CraftingMachine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#quality_affects_energy_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#quality_affects_energy_usage Online documentation} */ readonly quality_affects_energy_usage?: boolean /** * _Can only be used if this is CraftingMachine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#energy_usage_quality_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#energy_usage_quality_multiplier Online documentation} */ readonly energy_usage_quality_multiplier?: Record /** @@ -11003,786 +11014,786 @@ declare module "factorio:runtime" { * The value in the dictionary is meaningless and exists just to allow for easy lookup. * * _Can only be used if this is MiningDrill or Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#resource_categories Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#resource_categories Online documentation} */ readonly resource_categories?: Record /** * The direct energy usage of this entity, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#energy_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#energy_usage Online documentation} */ readonly energy_usage?: double /** * The effectivity of this car prototype, generator prototype. * * _Can only be used if this is Car, Generator or FusionGenerator_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#effectivity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#effectivity Online documentation} */ readonly effectivity?: double /** * The energy consumption of this car prototype. * * _Can only be used if this is Car_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#consumption Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#consumption Online documentation} */ readonly consumption?: double /** * The friction of this vehicle prototype. * * _Can only be used if this is Vehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#friction_force Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#friction_force Online documentation} */ readonly friction_force?: double /** * The braking force of this vehicle prototype. * * _Can only be used if this is Vehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#braking_force Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#braking_force Online documentation} */ readonly braking_force?: double /** * The air resistance of this rolling stock prototype. * * _Can only be used if this is RollingStock_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#air_resistance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#air_resistance Online documentation} */ readonly air_resistance?: double /** * If this car prototype uses tank controls to drive. * * _Can only be used if this is Car_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#tank_driving Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#tank_driving Online documentation} */ readonly tank_driving?: boolean /** * The rotation speed of this car prototype. * * _Can only be used if this is Car_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#rotation_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#rotation_speed Online documentation} */ readonly rotation_speed?: double /** * The rotation snap angle of this car prototype. * * _Can only be used if this is Car_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#rotation_snap_angle Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#rotation_snap_angle Online documentation} */ readonly rotation_snap_angle?: double /** * The turret rotation speed of this prototype. * * _Can only be used if this is Car, ArtilleryTurret or ArtilleryWagon_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#turret_rotation_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#turret_rotation_speed Online documentation} */ readonly turret_rotation_speed?: float /** * A mapping of the gun name to the gun prototype this prototype uses. `nil` if this entity prototype doesn't use guns. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#guns Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#guns Online documentation} */ readonly guns?: Record /** * A vector of the gun prototypes of this car, spider vehicle, artillery wagon, or turret. * * _Can only be used if this is Car, SpiderVehicle, ArtilleryTurret or ArtilleryWagon_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#indexed_guns Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#indexed_guns Online documentation} */ readonly indexed_guns?: LuaItemPrototype[] /** * The default speed of this flying robot, or unit. * * _Can only be used if this is FlyingRobot or Unit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#speed Online documentation} */ readonly speed?: double /** * The speed multiplier when this flying robot is out of energy. * * _Can only be used if this is FlyingRobot_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#speed_multiplier_when_out_of_energy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#speed_multiplier_when_out_of_energy Online documentation} */ readonly speed_multiplier_when_out_of_energy?: float /** * The cargo carrying capacity of this logistics or construction robot. * * _Can only be used if this is RobotWithLogisticsInterface_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#max_payload_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#max_payload_size Online documentation} */ readonly max_payload_size?: uint32 /** * The maximum possible cargo carrying capacity of this logistics or construction robot. Bonuses from technologies/forces can't increase the carrying capacity beyond this number. * * _Can only be used if this is RobotWithLogisticsInterface_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#max_payload_size_after_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#max_payload_size_after_bonus Online documentation} */ readonly max_payload_size_after_bonus?: uint32 /** * If this robot with logistic interface requires it be charged to manually mine. * * _Can only be used if this is RobotWithLogisticsInterface_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#require_charge_to_mine Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#require_charge_to_mine Online documentation} */ readonly require_charge_to_mine?: boolean /** * Whether this logistics or construction robot renders its cargo when flying. * * _Can only be used if this is RobotWithLogisticsInterface_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#draw_cargo Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#draw_cargo Online documentation} */ readonly draw_cargo?: boolean /** * The energy consumed per tile moved for this flying robot. * * _Can only be used if this is FlyingRobot_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#energy_per_move Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#energy_per_move Online documentation} */ readonly energy_per_move?: double /** * The energy consumed per tick for this flying robot. * * _Can only be used if this is FlyingRobot_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#energy_per_tick Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#energy_per_tick Online documentation} */ readonly energy_per_tick?: double /** * The minimum energy for this flying robot before it tries to recharge. * * _Can only be used if this is FlyingRobot_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#min_to_charge Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#min_to_charge Online documentation} */ readonly min_to_charge?: float /** * The maximum energy for this flying robot above which it won't try to recharge when stationing. * * _Can only be used if this is FlyingRobot_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#max_to_charge Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#max_to_charge Online documentation} */ readonly max_to_charge?: float /** * The burner energy source prototype this entity uses, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#burner_prototype Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#burner_prototype Online documentation} */ readonly burner_prototype?: LuaBurnerPrototype /** * The electric energy source prototype this entity uses, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#electric_energy_source_prototype Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#electric_energy_source_prototype Online documentation} */ readonly electric_energy_source_prototype?: LuaElectricEnergySourcePrototype /** * The heat energy source prototype this entity uses, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#heat_energy_source_prototype Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#heat_energy_source_prototype Online documentation} */ readonly heat_energy_source_prototype?: LuaHeatEnergySourcePrototype /** * The fluid energy source prototype this entity uses, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#fluid_energy_source_prototype Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#fluid_energy_source_prototype Online documentation} */ readonly fluid_energy_source_prototype?: LuaFluidEnergySourcePrototype /** * The void energy source prototype this entity uses, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#void_energy_source_prototype Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#void_energy_source_prototype Online documentation} */ readonly void_energy_source_prototype?: LuaVoidEnergySourcePrototype /** * The heat buffer prototype this entity uses, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#heat_buffer_prototype Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#heat_buffer_prototype Online documentation} */ readonly heat_buffer_prototype?: LuaHeatBufferPrototype /** * The {@link import("factorio:prototype").EntityPrototype#build_grid_size grid size} of the building. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#build_grid_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#build_grid_size Online documentation} */ readonly build_grid_size: uint32 /** * The maximum fluid temperature of this generator prototype. * * _Can only be used if this is Generator_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#maximum_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#maximum_temperature Online documentation} */ readonly maximum_temperature?: double /** * Whether this generator prototype burns fluid. * * _Can only be used if this is Generator or FusionGenerator_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#burns_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#burns_fluid Online documentation} */ readonly burns_fluid?: boolean /** * Whether this generator prototype scales fluid usage. * * _Can only be used if this is Generator_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#scale_fluid_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#scale_fluid_usage Online documentation} */ readonly scale_fluid_usage?: boolean /** * Whether this generator prototype destroys non-fuel fluids. * * _Can only be used if this is Generator_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#destroy_non_fuel_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#destroy_non_fuel_fluid Online documentation} */ readonly destroy_non_fuel_fluid?: boolean /** * _Can only be used if this is Generator_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#spent_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#spent_fluid Online documentation} */ readonly spent_fluid?: SpentFluidSpecification /** * The minimum input temperature that this prototype accepts, if specified. An input fluid below this temperature will cause the machine to stop working. * * _Can only be used if this is Boiler, FusionGenerator, FusionReactor, Generator or MiningDrill_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#minimum_input_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#minimum_input_temperature Online documentation} */ readonly minimum_input_temperature?: float /** * The maximum input temperature that this prototype accepts, if specified. An input fluid above this temperature will cause the machine to stop working. * * _Can only be used if this is Boiler, FusionGenerator, FusionReactor, Generator or MiningDrill_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#maximum_input_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#maximum_input_temperature Online documentation} */ readonly maximum_input_temperature?: float /** * The minimum fuel temperature that this thruster accepts, if specified. Fuel below this temperature will cause the thruster to stop working. * * _Can only be used if this is Thruster_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#minimum_fuel_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#minimum_fuel_temperature Online documentation} */ readonly minimum_fuel_temperature?: float /** * The maximum fuel temperature that this thruster accepts, if specified. Fuel above this temperature will cause the thruster to stop working. * * _Can only be used if this is Thruster_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#maximum_fuel_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#maximum_fuel_temperature Online documentation} */ readonly maximum_fuel_temperature?: float /** * The minimum oxidizer temperature that this thruster accepts, if specified. Oxidizer below this temperature will cause the thruster to stop working. * * _Can only be used if this is Thruster_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#minimum_oxidizer_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#minimum_oxidizer_temperature Online documentation} */ readonly minimum_oxidizer_temperature?: float /** * The maximum oxidizer temperature that this thruster accepts, if specified. Oxidizer above this temperature will cause the thruster to stop working. * * _Can only be used if this is Thruster_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#maximum_oxidizer_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#maximum_oxidizer_temperature Online documentation} */ readonly maximum_oxidizer_temperature?: float /** * The target temperature of this boiler or fusion reactor prototype. If `nil` on a fusion reactor, the target temperature is the default temperature of the output fluid. If specified on a boiler, an input fluid above this temperature will cause the boiler to stop working. * * _Can only be used if this is Boiler or FusionReactor_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#target_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#target_temperature Online documentation} */ readonly target_temperature?: float /** * The boiler operation mode of this boiler prototype. * * _Can only be used if this is Boiler_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#boiler_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#boiler_mode Online documentation} */ readonly boiler_mode?: "heat-fluid-inside" | "output-to-separate-pipe" /** * The fluid capacity of this entity or 0 if this entity doesn't support fluids. * * Crafting machines will report 0 due to their fluid capacity being whatever a given recipe needs. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#fluid_capacity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#fluid_capacity Online documentation} */ readonly fluid_capacity: double /** * The mode of operation of this valve. * * _Can only be used if this is Valve_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#valve_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#valve_mode Online documentation} */ readonly valve_mode?: ValveMode /** * The default threshold of this valve. * * _Can only be used if this is Valve_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#valve_threshold Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#valve_threshold Online documentation} */ readonly valve_threshold?: float /** * Whether this inserter is a bulk-type. * * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#bulk Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#bulk Online documentation} */ readonly bulk?: boolean /** * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#uses_inserter_stack_size_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#uses_inserter_stack_size_bonus Online documentation} */ readonly uses_inserter_stack_size_bonus?: boolean /** * _Can only be used if this is OffshorePump_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#fluid_source_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#fluid_source_offset Online documentation} */ readonly fluid_source_offset?: Vector /** * _Can only be used if this is Pump_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#flow_scaling Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#flow_scaling Online documentation} */ readonly flow_scaling?: boolean /** * Whether this inserter allows custom pickup and drop vectors. * * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#allow_custom_vectors Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#allow_custom_vectors Online documentation} */ readonly allow_custom_vectors?: boolean /** * Whether this inserter allows burner leeching. * * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#allow_burner_leech Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#allow_burner_leech Online documentation} */ readonly allow_burner_leech?: boolean /** * The pickup position for this inserter. * * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#inserter_pickup_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#inserter_pickup_position Online documentation} */ readonly inserter_pickup_position?: Vector /** * The drop position for this inserter. * * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#inserter_drop_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#inserter_drop_position Online documentation} */ readonly inserter_drop_position?: Vector /** * True if this inserter chases items on belts for pickup. * * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#inserter_chases_belt_items Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#inserter_chases_belt_items Online documentation} */ readonly inserter_chases_belt_items?: boolean /** * The max belt stack size for this inserter. * * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#inserter_max_belt_stack_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#inserter_max_belt_stack_size Online documentation} */ readonly inserter_max_belt_stack_size?: uint8 /** * The max belt stack size for this loader. * * _Can only be used if this is Loader_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#loader_max_belt_stack_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#loader_max_belt_stack_size Online documentation} */ readonly loader_max_belt_stack_size?: uint8 /** * True if this loader supports a runtime-adjustable belt stack size. * * _Can only be used if this is Loader_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#loader_adjustable_belt_stack_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#loader_adjustable_belt_stack_size Online documentation} */ readonly loader_adjustable_belt_stack_size?: boolean /** * True if this loader will not drop items for which total amount is less than a full belt stack. * * _Can only be used if this is Loader_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#loader_wait_for_full_stack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#loader_wait_for_full_stack Online documentation} */ readonly loader_wait_for_full_stack?: boolean /** * _Can only be used if this is Loader_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#loader_respect_insert_limits Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#loader_respect_insert_limits Online documentation} */ readonly loader_respect_insert_limits?: boolean /** * If this simple-entity is counted as a rock for the deconstruction planner "trees and rocks only" filter. * * _Can only be used if this is SimpleEntity_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#count_as_rock_for_filtered_deconstruction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#count_as_rock_for_filtered_deconstruction Online documentation} */ readonly count_as_rock_for_filtered_deconstruction?: boolean /** * The filter count of this inserter, loader, mining drill, roboport or logistic chest. For logistic containers, `nil` means no limit. * * _Can only be used if this is Inserter, Loader, LogisticContainer, MiningDrill or Roboport_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#filter_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#filter_count Online documentation} */ readonly filter_count?: uint32 /** * The time to live for this prototype or `0` if prototype doesn't have time_to_live or time_before_removed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#time_to_live Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#time_to_live Online documentation} */ readonly time_to_live: MapTick /** * _Can only be used if this is TemporaryContainer_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#alert_after_time Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#alert_after_time Online documentation} */ readonly alert_after_time?: uint32 /** * The distribution effectivity for this beacon prototype. * * _Can only be used if this is Beacon_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#distribution_effectivity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#distribution_effectivity Online documentation} */ readonly distribution_effectivity?: double /** * The distribution effectivity bonus per quality level for this beacon prototype. * * _Can only be used if this is Beacon_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#distribution_effectivity_bonus_per_quality_level Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#distribution_effectivity_bonus_per_quality_level Online documentation} */ readonly distribution_effectivity_bonus_per_quality_level?: double /** * The beacon profile: extra multiplier applied to the effects received from beacon by the effect receiver based on amount of beacons that reach that effect receiver * * _Can only be used if this is Beacon_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#profile Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#profile Online documentation} */ readonly profile?: double[] /** * The beacon counter used by effect receiver when deciding which sample to take from beacon profile. * * _Can only be used if this is Beacon_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#beacon_counter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#beacon_counter Online documentation} */ readonly beacon_counter?: "total" | "same_type" /** * _Can only be used if this is Beacon_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#quality_affects_supply_area_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#quality_affects_supply_area_distance Online documentation} */ readonly quality_affects_supply_area_distance?: boolean /** * Whether this explosion has a beam. * * _Can only be used if this is Explosion_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#explosion_beam Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#explosion_beam Online documentation} */ readonly explosion_beam?: double /** * Whether this explosion rotates. * * _Can only be used if this is Explosion_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#explosion_rotate Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#explosion_rotate Online documentation} */ readonly explosion_rotate?: double /** * If it is a tree, return the number of colors it supports. * * _Can only be used if this is Tree_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#tree_color_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#tree_color_count Online documentation} */ readonly tree_color_count?: uint8 /** * Whether this entity raises an alert when damaged. * * _Can only be used if this is EntityWithHealth_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#alert_when_damaged Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#alert_when_damaged Online documentation} */ readonly alert_when_damaged?: boolean /** * Whether this turret raises an alert when attacking * * _Can only be used if this is Turret or ArtilleryTurret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#alert_when_attacking Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#alert_when_attacking Online documentation} */ readonly alert_when_attacking?: boolean /** * The color of the prototype, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#color Online documentation} */ readonly color?: Color /** * Does this prototype collision mask collide with itself? - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#collision_mask_collides_with_self Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#collision_mask_collides_with_self Online documentation} */ readonly collision_mask_collides_with_self: boolean /** * Does this prototype collision mask collide with tiles only? - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#collision_mask_collides_with_tiles_only Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#collision_mask_collides_with_tiles_only Online documentation} */ readonly collision_mask_collides_with_tiles_only: boolean /** * Does this prototype collision mask consider tile transitions? - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#collision_mask_considers_tile_transitions Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#collision_mask_considers_tile_transitions Online documentation} */ readonly collision_mask_considers_tile_transitions: boolean /** * The allowed module effects for this entity, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#allowed_effects Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#allowed_effects Online documentation} */ readonly allowed_effects?: Record /** * The allowed module categories for this entity, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#allowed_module_categories Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#allowed_module_categories Online documentation} */ readonly allowed_module_categories?: Record /** * The rocket parts required for this rocket silo prototype. * * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#rocket_parts_required Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#rocket_parts_required Online documentation} */ readonly rocket_parts_required?: uint32 /** * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#lift_weight Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#lift_weight Online documentation} */ readonly lift_weight?: Weight /** * The rocket rising delay for this rocket silo prototype. * * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#rocket_rising_delay Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#rocket_rising_delay Online documentation} */ readonly rocket_rising_delay?: uint8 /** * The rocket launch delay for this rocket silo prototype. * * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#launch_wait_time Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#launch_wait_time Online documentation} */ readonly launch_wait_time?: uint8 /** * The light blinking speed for this rocket silo prototype. * * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#light_blinking_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#light_blinking_speed Online documentation} */ readonly light_blinking_speed?: double /** * The door opening speed for this rocket silo prototype. * * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#door_opening_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#door_opening_speed Online documentation} */ readonly door_opening_speed?: double /** * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#launch_to_space_platforms Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#launch_to_space_platforms Online documentation} */ readonly launch_to_space_platforms?: boolean /** * The rising speed for this rocket silo rocket prototype. * * _Can only be used if this is RocketSiloRocket_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#rising_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#rising_speed Online documentation} */ readonly rising_speed?: double /** * The engine starting speed for this rocket silo rocket prototype. * * _Can only be used if this is RocketSiloRocket_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#engine_starting_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#engine_starting_speed Online documentation} */ readonly engine_starting_speed?: double /** * The flying speed for this rocket silo rocket prototype. * * _Can only be used if this is RocketSiloRocket_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#flying_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#flying_speed Online documentation} */ readonly flying_speed?: double /** * The flying acceleration for this rocket silo rocket prototype. * * _Can only be used if this is RocketSiloRocket_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#flying_acceleration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#flying_acceleration Online documentation} */ readonly flying_acceleration?: double /** * The fixed recipe for this assembling machine prototype, if any. * * _Can only be used if this is AssemblingMachine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#fixed_recipe Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#fixed_recipe Online documentation} */ readonly fixed_recipe?: LuaRecipePrototype /** * The fixed recipe quality for this assembling machine prototype, if any. * * _Can only be used if this is AssemblingMachine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#fixed_quality Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#fixed_quality Online documentation} */ readonly fixed_quality?: LuaQualityPrototype /** * The construction radius for this roboport prototype. * * _Can only be used if this is Roboport_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#construction_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#construction_radius Online documentation} */ readonly construction_radius?: double /** * The logistic radius for this roboport prototype. * * _Can only be used if this is Roboport_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#logistic_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#logistic_radius Online documentation} */ readonly logistic_radius?: double /** * The energy used per hit point taken for this vehicle during collisions. * * _Can only be used if this is Vehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#energy_per_hit_point Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#energy_per_hit_point Online documentation} */ readonly energy_per_hit_point?: double /** * If this prototype will attempt to create a ghost of itself on death. * * If this is false then a ghost will never be made, if it's true a ghost may be made. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#create_ghost_on_death Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#create_ghost_on_death Online documentation} */ readonly create_ghost_on_death: boolean /** * Name of the ammo category of this land mine. * * _Can only be used if this is LandMine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#ammo_category Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#ammo_category Online documentation} */ readonly ammo_category?: string /** * The time it takes this land mine to arm. * * _Can only be used if this is LandMine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#timeout Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#timeout Online documentation} */ readonly timeout?: uint32 /** * The collision mask entities must collide with to make this landmine blow up. * * _Can only be used if this is LandMine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#trigger_collision_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#trigger_collision_mask Online documentation} */ readonly trigger_collision_mask?: CollisionMask /** * The fluidbox prototypes for this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#fluidbox_prototypes Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#fluidbox_prototypes Online documentation} */ readonly fluidbox_prototypes: LuaFluidBoxPrototype[] /** * _Can only be used if this is Reactor or FusionReactor_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#neighbour_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#neighbour_bonus Online documentation} */ readonly neighbour_bonus?: double /** * _Can only be used if this is Loader_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#container_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#container_distance Online documentation} */ readonly container_distance?: double /** * _Can only be used if this is Loader_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#belt_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#belt_distance Online documentation} */ readonly belt_distance?: double /** * _Can only be used if this is Loader_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#belt_length Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#belt_length Online documentation} */ readonly belt_length?: double /** * _Can only be used if this is Loader_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#per_lane_filters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#per_lane_filters Online documentation} */ readonly per_lane_filters?: boolean /** - * {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#is_building > These are the objects that are considered buildings:} - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#is_building Online documentation} + * {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#is_building > These are the objects that are considered buildings:} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#is_building Online documentation} */ readonly is_building: boolean /** * The amount of ammo that inserters automatically insert into this ammo turret, artillery turret or artillery wagon. * * _Can only be used if this is ArtilleryTurret, ArtilleryWagon or AmmoTurret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#automated_ammo_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#automated_ammo_count Online documentation} */ readonly automated_ammo_count?: uint32 /** * The max speed of this projectile or flying robot prototype. * * _Can only be used if this is Projectile or FlyingRobot_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#max_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#max_speed Online documentation} */ readonly max_speed?: double /** * Value between 0 and 1 darkness where all lamps of this lamp prototype are on. * * _Can only be used if this is Lamp_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#darkness_for_all_lamps_on Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#darkness_for_all_lamps_on Online documentation} */ readonly darkness_for_all_lamps_on?: float /** * Value between 0 and 1 darkness where all lamps of this lamp prototype are off. * * _Can only be used if this is Lamp_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#darkness_for_all_lamps_off Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#darkness_for_all_lamps_off Online documentation} */ readonly darkness_for_all_lamps_off?: float /** * Whether the lamp is always on (except when out of power or turned off by the circuit network). * * _Can only be used if this is Lamp_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#always_on Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#always_on Online documentation} */ readonly always_on?: boolean /** * The minimum darkness at which this unit spawner can spawn entities. * * _Can only be used if this is Spawner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#min_darkness_to_spawn Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#min_darkness_to_spawn Online documentation} */ readonly min_darkness_to_spawn?: float /** * The maximum darkness at which this unit spawner can spawn entities. * * _Can only be used if this is Spawner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#max_darkness_to_spawn Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#max_darkness_to_spawn Online documentation} */ readonly max_darkness_to_spawn?: float /** * _Can only be used if this is Spawner or Turret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#call_for_help_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#call_for_help_radius Online documentation} */ readonly call_for_help_radius?: double /** * Count of enemies this spawner can sustain. * * _Can only be used if this is Spawner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#max_count_of_owned_units Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#max_count_of_owned_units Online documentation} */ readonly max_count_of_owned_units?: double /** * Count of defensive enemies this spawner can sustain. * * _Can only be used if this is Spawner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#max_count_of_owned_defensive_units Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#max_count_of_owned_defensive_units Online documentation} */ readonly max_count_of_owned_defensive_units?: double /** * How many friendly units are required within the spawning_radius of this spawner for it to stop producing more units. * * _Can only be used if this is Spawner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#max_friends_around_to_spawn Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#max_friends_around_to_spawn Online documentation} */ readonly max_friends_around_to_spawn?: double /** * How many defensive friendly units are required within the spawning_radius of this spawner for it to stop producing more units. * * _Can only be used if this is Spawner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#max_defensive_friends_around_to_spawn Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#max_defensive_friends_around_to_spawn Online documentation} */ readonly max_defensive_friends_around_to_spawn?: double /** * How far from the spawner can the units be spawned. * * _Can only be used if this is Spawner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#spawning_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#spawning_radius Online documentation} */ readonly spawning_radius?: double /** * What spaces should be between the spawned units. * * _Can only be used if this is Spawner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#spawning_spacing Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#spawning_spacing Online documentation} */ readonly spawning_spacing?: double /** * The radius of this entity prototype. The radius is defined as half the distance between the top left corner and bottom right corner of the collision box. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#radius Online documentation} */ readonly radius: double readonly show_fluid_visualization_when_in_cursor: boolean @@ -11790,211 +11801,211 @@ declare module "factorio:runtime" { * The item prototype name used to destroy this cliff. * * _Can only be used if this is Cliff_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#cliff_explosive_prototype Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#cliff_explosive_prototype Online documentation} */ readonly cliff_explosive_prototype?: string /** * The rocket entity prototype associated with this rocket silo prototype. * * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#rocket_entity_prototype Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#rocket_entity_prototype Online documentation} */ readonly rocket_entity_prototype?: LuaEntityPrototype /** * Whether this unit, car, or character prototype has belt immunity. * * _Can only be used if this is Unit, Car or Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#has_belt_immunity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#has_belt_immunity Online documentation} */ readonly has_belt_immunity?: boolean /** * The vision distance of this unit prototype. * * _Can only be used if this is SpiderUnit, Unit or SegmentedUnit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#vision_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#vision_distance Online documentation} */ readonly vision_distance?: double /** * A table of pollutions amounts that has to be absorbed by the unit's spawner before the unit will leave the spawner and attack the source of the pollution, indexed by the name of each absorbed pollution type. * * _Can only be used if this is SpiderUnit or Unit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#absorptions_to_join_attack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#absorptions_to_join_attack Online documentation} */ readonly absorptions_to_join_attack?: Record /** * The minimum pursue time of this unit prototype. * * _Can only be used if this is SpiderUnit or Unit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#min_pursue_time Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#min_pursue_time Online documentation} */ readonly min_pursue_time?: uint32 /** * The maximum pursue distance of this unit prototype. * * _Can only be used if this is SpiderUnit or Unit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#max_pursue_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#max_pursue_distance Online documentation} */ readonly max_pursue_distance?: double /** * _Can only be used if this is SpiderUnit, Unit or Roboport_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#radar_range Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#radar_range Online documentation} */ readonly radar_range?: uint32 /** * Whether this unit prototype can move while shooting. * * _Can only be used if this is Unit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#move_while_shooting Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#move_while_shooting Online documentation} */ readonly move_while_shooting?: boolean /** * Whether this unit prototype can open gates. * * _Can only be used if this is Unit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#can_open_gates Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#can_open_gates Online documentation} */ readonly can_open_gates?: boolean /** * Whether this unit prototype is affected by tile walking speed modifiers. * * _Can only be used if this is Unit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#affected_by_tiles Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#affected_by_tiles Online documentation} */ readonly affected_by_tiles?: boolean /** * The distraction cooldown of this unit prototype. * * _Can only be used if this is SpiderUnit or Unit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#distraction_cooldown Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#distraction_cooldown Online documentation} */ readonly distraction_cooldown?: uint32 /** * The spawning time modifier of this unit prototype. * * _Can only be used if this is SpiderUnit or Unit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#spawning_time_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#spawning_time_modifier Online documentation} */ readonly spawning_time_modifier?: double /** * The alert icon shift of this entity prototype. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#alert_icon_shift Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#alert_icon_shift Online documentation} */ readonly alert_icon_shift: Vector /** * The alert icon scale of this entity prototype. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#alert_icon_scale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#alert_icon_scale Online documentation} */ readonly alert_icon_scale: float /** * The item prototype names that are the inputs of this lab prototype. * * _Can only be used if this is Lab_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#lab_inputs Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#lab_inputs Online documentation} */ readonly lab_inputs?: string[] /** * If this lab uses the quality drain modifier when consuming science packs. * * _Can only be used if this is Lab_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#uses_quality_drain_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#uses_quality_drain_modifier Online documentation} */ readonly uses_quality_drain_modifier?: boolean /** * How much science pack durability is required to research one science point. * * _Can only be used if this is Lab_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#science_pack_drain_rate_percent Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#science_pack_drain_rate_percent Online documentation} */ readonly science_pack_drain_rate_percent?: uint8 /** * _Can only be used if this is Lab_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_technology_level_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_technology_level_signal Online documentation} */ readonly default_technology_level_signal?: SignalID /** * Effect receiver prototype of crafting machine, lab, mining drill, or agricultural tower. * * _Can only be used if this is CraftingMachine, Lab, MiningDrill or AgriculturalTower_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#effect_receiver Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#effect_receiver Online documentation} */ readonly effect_receiver?: EffectReceiver /** * Whether this market allows access to all forces or just friendly ones. * * _Can only be used if this is Market_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#allow_access_to_all_forces Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#allow_access_to_all_forces Online documentation} */ readonly allow_access_to_all_forces?: boolean /** * Whether this entity prototype could possibly ever be rotated. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#supports_direction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#supports_direction Online documentation} */ readonly supports_direction: boolean /** * The terrain friction modifier for this vehicle. * * _Can only be used if this is Vehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#terrain_friction_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#terrain_friction_modifier Online documentation} */ readonly terrain_friction_modifier?: float /** * Whether this vehicle allows passengers. * * _Can only be used if this is Vehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#allow_passengers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#allow_passengers Online documentation} */ readonly allow_passengers?: boolean /** * The equipment grid prototype for this entity, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#grid_prototype Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#grid_prototype Online documentation} */ readonly grid_prototype?: LuaEquipmentGridPrototype /** * Whether this entity should remove decoratives that collide with it when this entity is built. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#remove_decoratives Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#remove_decoratives Online documentation} */ readonly remove_decoratives: "automatic" | "true" | "false" /** * _Can only be used if this is TransportBelt_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#related_underground_belt Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#related_underground_belt Online documentation} */ readonly related_underground_belt?: LuaEntityPrototype /** * The built-in stack size bonus of this inserter prototype. * * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#inserter_stack_size_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#inserter_stack_size_bonus Online documentation} */ readonly inserter_stack_size_bonus?: uint32 /** * True if this entity prototype should be included during tile collision checks with {@link LuaTilePrototype#check_collision_with_entities LuaTilePrototype::check_collision_with_entities} enabled. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#protected_from_tile_building Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#protected_from_tile_building Online documentation} */ readonly protected_from_tile_building: boolean /** * True if this is entity-with-owner - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#is_entity_with_owner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#is_entity_with_owner Online documentation} */ readonly is_entity_with_owner: boolean /** * True if this entity-with-owner is military target * * _Can only be used if this is EntityWithOwner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#is_military_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#is_military_target Online documentation} */ readonly is_military_target?: boolean /** * True if this entity-with-owner's is_military_target can be changed run-time (on the entity, not on the prototype itself) * * _Can only be used if this is EntityWithOwner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#allow_run_time_change_of_is_military_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#allow_run_time_change_of_is_military_target Online documentation} */ readonly allow_run_time_change_of_is_military_target?: boolean /** * The logistic parameters for this roboport. * * _Can only be used if this is Roboport_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#logistic_parameters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#logistic_parameters Online documentation} */ readonly logistic_parameters?: { readonly spawn_and_station_height: float @@ -12018,668 +12029,668 @@ declare module "factorio:runtime" { * The height of this spider unit, spider vehicle or projectile. * * _Can only be used if this is SpiderUnit, SpiderVehicle or Projectile_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#height Online documentation} */ readonly height?: double /** * The torso rotation speed of this spider vehicle prototype. * * _Can only be used if this is SpiderUnit or SpiderVehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#torso_rotation_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#torso_rotation_speed Online documentation} */ readonly torso_rotation_speed?: double /** * The torso bob speed of this spider vehicle prototype. * * _Can only be used if this is SpiderUnit or SpiderVehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#torso_bob_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#torso_bob_speed Online documentation} */ readonly torso_bob_speed?: double /** * Whether this spider vehicle prototype automatically cycles weapons. * * _Can only be used if this is SpiderVehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#automatic_weapon_cycling Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#automatic_weapon_cycling Online documentation} */ readonly automatic_weapon_cycling?: boolean /** * The chain shooting cooldown modifier of this spider vehicle prototype. * * _Can only be used if this is SpiderVehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#chain_shooting_cooldown_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#chain_shooting_cooldown_modifier Online documentation} */ readonly chain_shooting_cooldown_modifier?: double /** * _Can only be used if this is SpiderVehicle or SpiderUnit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#spider_engine Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#spider_engine Online documentation} */ readonly spider_engine?: SpiderEngineSpecification /** * The chunk exploration radius of this vehicle prototype. * * _Can only be used if this is Vehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#chunk_exploration_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#chunk_exploration_radius Online documentation} */ readonly chunk_exploration_radius?: double /** * The animation speed coefficient of this belt connectable prototype. * * _Can only be used if this is BeltConnectable_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#animation_speed_coefficient Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#animation_speed_coefficient Online documentation} */ readonly animation_speed_coefficient?: double /** * The manual range modifier for this artillery turret or wagon prototype. * * _Can only be used if this is ArtilleryWagon or ArtilleryTurret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#manual_range_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#manual_range_modifier Online documentation} */ readonly manual_range_modifier?: double /** * If automatic firing is disabled for this artillery turret or artillery wagon. * * _Can only be used if this is ArtilleryWagon or ArtilleryTurret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#disable_automatic_firing Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#disable_automatic_firing Online documentation} */ readonly disable_automatic_firing?: boolean /** * The max stack size of ammo in this artillery turret or artillery wagon. * * _Can only be used if this is ArtilleryWagon or ArtilleryTurret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#ammo_stack_limit Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#ammo_stack_limit Online documentation} */ readonly ammo_stack_limit?: ItemCountType /** * The dying time of this corpse prototype. * * _Can only be used if this is Corpse_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#dying_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#dying_speed Online documentation} */ readonly dying_speed?: float /** * The active energy usage of this rocket silo or combinator prototype. * * _Can only be used if this is RocketSilo or Combinator_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#active_energy_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#active_energy_usage Online documentation} */ readonly active_energy_usage?: double /** * The lamp energy usage of this rocket silo prototype. * * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#lamp_energy_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#lamp_energy_usage Online documentation} */ readonly lamp_energy_usage?: double /** * The crane energy usage of this agricultural tower prototype. * * _Can only be used if this is AgriculturalTower_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#crane_energy_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#crane_energy_usage Online documentation} */ readonly crane_energy_usage?: double /** * Whether this logistic container prototype uses exact mode * * _Can only be used if this is LogisticContainer_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#use_exact_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#use_exact_mode Online documentation} */ readonly use_exact_mode?: boolean /** * Specifies the tiling size of the entity, is used to decide, if the center should be in the center of the tile (odd tile size dimension) or on the tile border (even tile size dimension) - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#tile_width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#tile_width Online documentation} */ readonly tile_width: uint32 /** * Specifies the tiling size of the entity, is used to decide, if the center should be in the center of the tile (odd tile size dimension) or on the tile border (even tile size dimension) - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#tile_height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#tile_height Online documentation} */ readonly tile_height: uint32 /** * Vertical selection shift used by rolling stocks. It affects selection box vertical position but is also used to shift rolling stock graphics along the rails to fine tune train's look. * * _Can only be used if this is RollingStock_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#vertical_selection_shift Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#vertical_selection_shift Online documentation} */ readonly vertical_selection_shift?: double /** * _Can only be used if this is Spawner or Turret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#spawn_decoration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#spawn_decoration Online documentation} */ readonly spawn_decoration?: TriggerEffectItem[] /** * _Can only be used if this is Spawner or Turret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#spawn_decorations_on_expansion Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#spawn_decorations_on_expansion Online documentation} */ readonly spawn_decorations_on_expansion?: boolean /** * _Can only be used if this is RollingStock_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#connection_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#connection_distance Online documentation} */ readonly connection_distance?: double /** * _Can only be used if this is RollingStock_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#joint_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#joint_distance Online documentation} */ readonly joint_distance?: double readonly radius_visualisation_specification?: RadiusVisualisationSpecification /** * _Can only be used if this is Plant_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#growth_ticks Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#growth_ticks Online documentation} */ readonly growth_ticks?: uint32 /** * A table of pollutants that this plant will release when it is harvested. * * _Can only be used if this is Plant_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#harvest_emissions Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#harvest_emissions Online documentation} */ readonly harvest_emissions?: Record /** * _Can only be used if this is AgriculturalTower_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#agricultural_tower_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#agricultural_tower_radius Online documentation} */ readonly agricultural_tower_radius?: double /** * _Can only be used if this is AgriculturalTower_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#growth_area_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#growth_area_radius Online documentation} */ readonly growth_area_radius?: double /** * _Can only be used if this is AgriculturalTower_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#growth_grid_tile_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#growth_grid_tile_size Online documentation} */ readonly growth_grid_tile_size?: uint32 /** * _Can only be used if this is AgriculturalTower_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#randomize_planting_tile Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#randomize_planting_tile Online documentation} */ readonly randomize_planting_tile?: boolean /** * _Can only be used if this is AgriculturalTower_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#random_growth_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#random_growth_offset Online documentation} */ readonly random_growth_offset?: double /** * _Can only be used if this is MiningDrill or CraftingMachine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#vector_to_place_result Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#vector_to_place_result Online documentation} */ readonly vector_to_place_result?: Vector /** * The surface conditions required to build this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#surface_conditions Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#surface_conditions Online documentation} */ readonly surface_conditions?: SurfaceCondition[] /** * The energy required to keep this entity from freezing. Zero energy means it doesn't freeze. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#heating_energy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#heating_energy Online documentation} */ readonly heating_energy: double /** * _Can only be used if this is Corpse_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#auto_setup_collision_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#auto_setup_collision_box Online documentation} */ readonly auto_setup_collision_box?: boolean /** * An alternative prototype that will be used to display info about this prototype in Factoriopedia. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#factoriopedia_alternative Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#factoriopedia_alternative Online documentation} */ readonly factoriopedia_alternative?: LuaEntityPrototype /** * _Can only be used if this is ElectricPole_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#rewire_neighbours_when_destroying Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#rewire_neighbours_when_destroying Online documentation} */ readonly rewire_neighbours_when_destroying?: boolean /** * _Can only be used if this is SolarPanel_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#solar_panel_performance_at_day Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#solar_panel_performance_at_day Online documentation} */ readonly solar_panel_performance_at_day?: double /** * _Can only be used if this is SolarPanel_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#solar_panel_performance_at_night Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#solar_panel_performance_at_night Online documentation} */ readonly solar_panel_performance_at_night?: double /** * _Can only be used if this is SolarPanel_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#solar_panel_solar_coefficient_property Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#solar_panel_solar_coefficient_property Online documentation} */ readonly solar_panel_solar_coefficient_property?: LuaSurfacePropertyPrototype /** * _Can only be used if this is AgriculturalTower_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#accepted_seeds Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#accepted_seeds Online documentation} */ readonly accepted_seeds?: string[] /** * _Can only be used if this is Spawner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#captured_spawner_entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#captured_spawner_entity Online documentation} */ readonly captured_spawner_entity?: LuaEntityPrototype /** * _Can only be used if this is ThrusterPrototype_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#min_performance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#min_performance Online documentation} */ readonly min_performance?: ThrusterPerformancePoint /** * _Can only be used if this is ThrusterPrototype_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#max_performance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#max_performance Online documentation} */ readonly max_performance?: ThrusterPerformancePoint /** * _Can only be used if this is StorageTank, FusionReactor or Generator_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#two_direction_only Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#two_direction_only Online documentation} */ readonly two_direction_only?: boolean /** * _Can only be used if this is FusionReactor_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#perceived_performance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#perceived_performance Online documentation} */ readonly perceived_performance?: PerceivedPerformance /** * _Can only be used if this is EntityWithHealth_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#overkill_fraction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#overkill_fraction Online documentation} */ readonly overkill_fraction?: float /** * _Can only be used if this is EntityWithHealth_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#dying_explosion Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#dying_explosion Online documentation} */ readonly dying_explosion?: ExplosionDefinition[] /** * _Can only be used if this is RocketSiloRocket_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#rocket_dying_explosion Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#rocket_dying_explosion Online documentation} */ readonly rocket_dying_explosion?: LuaEntityPrototype /** * _Can only be used if this is EntityWithHealth_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#dying_trigger_effect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#dying_trigger_effect Online documentation} */ readonly dying_trigger_effect?: TriggerEffectItem[] /** * _Can only be used if this is EntityWithHealth_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#damaged_trigger_effect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#damaged_trigger_effect Online documentation} */ readonly damaged_trigger_effect?: TriggerEffectItem[] /** * _Can only be used if this is EntityWithHealth_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#attack_reaction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#attack_reaction Online documentation} */ readonly attack_reaction?: AttackReactionItem[] /** * _Can only be used if this is EntityWithHealth_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#hide_resistances Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#hide_resistances Online documentation} */ readonly hide_resistances?: boolean /** * _Can only be used if this is EntityWithHealth_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#random_corpse_variation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#random_corpse_variation Online documentation} */ readonly random_corpse_variation?: boolean /** * _Can only be used if this is Reactor or FusionReactor_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#neighbour_connectable Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#neighbour_connectable Online documentation} */ readonly neighbour_connectable?: NeighbourConnectable readonly tile_buildability_rules?: TileBuildabilityRule[] /** * _Can only be used if this is RailSupport or RailRamp_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#support_range Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#support_range Online documentation} */ readonly support_range?: float /** * _Can only be used if this is Locomotive_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#reversing_power_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#reversing_power_modifier Online documentation} */ readonly reversing_power_modifier?: double /** * _Can only be used if this is CraftingMachine, MiningDrill or Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#use_mirroring Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#use_mirroring Online documentation} */ readonly use_mirroring?: boolean /** * When this entity is part of blueprint, will it allow flipping of the blueprint? - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#allows_flipping Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#allows_flipping Online documentation} */ readonly allows_flipping: boolean /** * _Can only be used if this is SegmentedUnit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#territory_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#territory_radius Online documentation} */ readonly territory_radius?: uint32 /** * _Can only be used if this is SegmentedUnit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#enraged_duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#enraged_duration Online documentation} */ readonly enraged_duration?: MapTick /** * _Can only be used if this is SegmentedUnit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#patrolling_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#patrolling_speed Online documentation} */ readonly patrolling_speed?: double /** * _Can only be used if this is SegmentedUnit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#investigating_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#investigating_speed Online documentation} */ readonly investigating_speed?: double /** * _Can only be used if this is SegmentedUnit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#attacking_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#attacking_speed Online documentation} */ readonly attacking_speed?: double /** * _Can only be used if this is SegmentedUnit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#enraged_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#enraged_speed Online documentation} */ readonly enraged_speed?: double /** * _Can only be used if this is SegmentedUnit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#acceleration_rate Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#acceleration_rate Online documentation} */ readonly acceleration_rate?: double /** * _Can only be used if this is SegmentedUnit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#turn_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#turn_radius Online documentation} */ readonly turn_radius?: double /** * _Can only be used if this is SegmentedUnit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#patrolling_turn_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#patrolling_turn_radius Online documentation} */ readonly patrolling_turn_radius?: double /** * _Can only be used if this is SegmentedUnit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#turn_smoothing Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#turn_smoothing Online documentation} */ readonly turn_smoothing?: double /** * _Can only be used if this is SegmentedUnit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#ticks_per_scan Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#ticks_per_scan Online documentation} */ readonly ticks_per_scan?: uint32 /** * _Can only be used if this is SegmentedUnit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#segment_engine Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#segment_engine Online documentation} */ readonly segment_engine?: SegmentEngineSpecification /** * The movement speed of this character prototype. * * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#running_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#running_speed Online documentation} */ readonly running_speed?: double /** * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#maximum_corner_sliding_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#maximum_corner_sliding_distance Online documentation} */ readonly maximum_corner_sliding_distance?: double /** * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#build_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#build_distance Online documentation} */ readonly build_distance?: uint32 /** * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#drop_item_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#drop_item_distance Online documentation} */ readonly drop_item_distance?: uint32 /** * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#reach_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#reach_distance Online documentation} */ readonly reach_distance?: uint32 /** * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#reach_resource_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#reach_resource_distance Online documentation} */ readonly reach_resource_distance?: double /** * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#item_pickup_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#item_pickup_distance Online documentation} */ readonly item_pickup_distance?: double /** * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#loot_pickup_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#loot_pickup_distance Online documentation} */ readonly loot_pickup_distance?: double /** * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#enter_vehicle_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#enter_vehicle_distance Online documentation} */ readonly enter_vehicle_distance?: double /** * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#ticks_to_keep_gun Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#ticks_to_keep_gun Online documentation} */ readonly ticks_to_keep_gun?: uint32 /** * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#ticks_to_keep_aiming_direction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#ticks_to_keep_aiming_direction Online documentation} */ readonly ticks_to_keep_aiming_direction?: uint32 /** * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#ticks_to_stay_in_combat Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#ticks_to_stay_in_combat Online documentation} */ readonly ticks_to_stay_in_combat?: uint32 /** * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#respawn_time Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#respawn_time Online documentation} */ readonly respawn_time?: uint32 /** * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#damage_hit_tint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#damage_hit_tint Online documentation} */ readonly damage_hit_tint?: Color /** * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#character_corpse Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#character_corpse Online documentation} */ readonly character_corpse?: LuaEntityPrototype /** * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#grounded_landing_search_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#grounded_landing_search_radius Online documentation} */ readonly grounded_landing_search_radius?: double /** * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#tool_attack_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#tool_attack_distance Online documentation} */ readonly tool_attack_distance?: double /** * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#flying_collision_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#flying_collision_mask Online documentation} */ readonly flying_collision_mask?: CollisionMask /** * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#tool_attack_result Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#tool_attack_result Online documentation} */ readonly tool_attack_result?: TriggerItem[] /** * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#footstep_particle_triggers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#footstep_particle_triggers Online documentation} */ readonly footstep_particle_triggers?: LuaTable /** * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#synced_footstep_particle_triggers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#synced_footstep_particle_triggers Online documentation} */ readonly synced_footstep_particle_triggers?: LuaTable /** * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#footprint_particles Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#footprint_particles Online documentation} */ readonly footprint_particles?: LuaTable /** * _Can only be used if this is AsteroidCollector_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#arm_inventory_size_quality_increase Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#arm_inventory_size_quality_increase Online documentation} */ readonly arm_inventory_size_quality_increase?: ItemStackIndex /** * _Can only be used if this is AsteroidCollector_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#inventory_size_quality_increase Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#inventory_size_quality_increase Online documentation} */ readonly inventory_size_quality_increase?: ItemStackIndex /** * _Can only be used if this is AsteroidCollector_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#passive_energy_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#passive_energy_usage Online documentation} */ readonly passive_energy_usage?: double /** * _Can only be used if this is AsteroidCollector_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#arm_energy_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#arm_energy_usage Online documentation} */ readonly arm_energy_usage?: double /** * _Can only be used if this is AsteroidCollector_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#arm_slow_energy_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#arm_slow_energy_usage Online documentation} */ readonly arm_slow_energy_usage?: double /** * _Can only be used if this is AsteroidCollector_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#energy_usage_quality_scaling Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#energy_usage_quality_scaling Online documentation} */ readonly energy_usage_quality_scaling?: float /** * _Can only be used if this is AsteroidCollector_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#arm_count_base Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#arm_count_base Online documentation} */ readonly arm_count_base?: uint32 /** * _Can only be used if this is AsteroidCollector_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#arm_count_quality_scaling Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#arm_count_quality_scaling Online documentation} */ readonly arm_count_quality_scaling?: uint32 /** * _Can only be used if this is AsteroidCollector_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#head_collection_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#head_collection_radius Online documentation} */ readonly head_collection_radius?: float /** * _Can only be used if this is AsteroidCollector_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#collection_box_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#collection_box_offset Online documentation} */ readonly collection_box_offset?: float /** * _Can only be used if this is AsteroidCollector_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#deposit_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#deposit_radius Online documentation} */ readonly deposit_radius?: float /** * _Can only be used if this is AsteroidCollector_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#arm_speed_base Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#arm_speed_base Online documentation} */ readonly arm_speed_base?: float /** * _Can only be used if this is AsteroidCollector_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#arm_speed_quality_scaling Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#arm_speed_quality_scaling Online documentation} */ readonly arm_speed_quality_scaling?: float /** * _Can only be used if this is AsteroidCollector_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#arm_angular_speed_cap_base Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#arm_angular_speed_cap_base Online documentation} */ readonly arm_angular_speed_cap_base?: float /** * _Can only be used if this is AsteroidCollector_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#arm_angular_speed_cap_quality_scaling Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#arm_angular_speed_cap_quality_scaling Online documentation} */ readonly arm_angular_speed_cap_quality_scaling?: float /** * _Can only be used if this is AsteroidCollector_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#tether_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#tether_size Online documentation} */ readonly tether_size?: float /** * _Can only be used if this is AsteroidCollector_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#unpowered_arm_speed_scale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#unpowered_arm_speed_scale Online documentation} */ readonly unpowered_arm_speed_scale?: float /** * _Can only be used if this is AsteroidCollector_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#minimal_arm_swing_segment_retraction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#minimal_arm_swing_segment_retraction Online documentation} */ readonly minimal_arm_swing_segment_retraction?: uint32 /** * _Can only be used if this is AsteroidCollector_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#held_items_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#held_items_offset Online documentation} */ readonly held_items_offset?: float /** * _Can only be used if this is AsteroidCollector_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#held_items_spread Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#held_items_spread Online documentation} */ readonly held_items_spread?: float /** * _Can only be used if this is AsteroidCollector_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#held_items_display_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#held_items_display_count Online documentation} */ readonly held_items_display_count?: uint8 /** * _Can only be used if this is AsteroidCollector_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#arm_color_gradient Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#arm_color_gradient Online documentation} */ readonly arm_color_gradient?: Color[] /** * _Can only be used if this is FluidTurret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#fluid_buffer_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#fluid_buffer_size Online documentation} */ readonly fluid_buffer_size?: FluidAmount /** * _Can only be used if this is FluidTurret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#activation_buffer_ratio Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#activation_buffer_ratio Online documentation} */ readonly activation_buffer_ratio?: FluidAmount /** * _Can only be used if this is FluidTurret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#fluid_buffer_input_flow Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#fluid_buffer_input_flow Online documentation} */ readonly fluid_buffer_input_flow?: FluidAmount /** * _Can only be used if this is CombatRobot_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#range_from_player Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#range_from_player Online documentation} */ readonly range_from_player?: double /** * _Can only be used if this is CombatRobot_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#combat_robot_friction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#combat_robot_friction Online documentation} */ readonly combat_robot_friction?: double /** * _Can only be used if this is CombatRobot, CaptureRobot or RobotWithLogisticInterface_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#destroy_action Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#destroy_action Online documentation} */ readonly destroy_action?: TriggerItem[] /** * _Can only be used if this is CombatRobot_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#follows_player Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#follows_player Online documentation} */ readonly follows_player?: boolean /** * _Can only be used if this is CombatRobot_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#separation_range Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#separation_range Online documentation} */ readonly separation_range?: double /** * _Can only be used if this is CombatRobot_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#max_separation_force Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#max_separation_force Online documentation} */ readonly max_separation_force?: double /** * _Can only be used if this is CombatRobot_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#separation_force_factor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#separation_force_factor Online documentation} */ readonly separation_force_factor?: double /** * _Can only be used if this is Lightning_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#strike_effect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#strike_effect Online documentation} */ readonly strike_effect?: TriggerItem[] /** * _Can only be used if this is Lightning_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#attractor_hit_effect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#attractor_hit_effect Online documentation} */ readonly attractor_hit_effect?: TriggerItem[] /** @@ -12688,274 +12699,274 @@ declare module "factorio:runtime" { * For stickers the damage is applied every {@link LuaEntityPrototype#damage_interval LuaEntityPrototype::damage_interval} ticks. * * _Can only be used if this is Lightning or Sticker_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#damage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#damage Online documentation} */ readonly damage?: DamageParameters /** * When lightning hits a lightning attractor this amount of energy is transferred to the lightning attractor. * * _Can only be used if this is Lightning_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#energy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#energy Online documentation} */ readonly energy?: double /** * _Can only be used if this is Lightning_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#source_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#source_offset Online documentation} */ readonly source_offset?: Vector /** * _Can only be used if this is Lightning_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#source_variance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#source_variance Online documentation} */ readonly source_variance?: Vector /** * _Can only be used if this is Lightning_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#time_to_damage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#time_to_damage Online documentation} */ readonly time_to_damage?: uint16 /** * _Can only be used if this is Lightning_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#effect_duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#effect_duration Online documentation} */ readonly effect_duration?: uint16 /** * _Can only be used if this is FluidWagon_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#connection_category Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#connection_category Online documentation} */ readonly connection_category?: string[] /** * _Can only be used if this is FluidWagon_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#quality_affects_capacity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#quality_affects_capacity Online documentation} */ readonly quality_affects_capacity?: boolean /** * _Can only be used if this is Accumulator_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_output_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_output_signal Online documentation} */ readonly default_output_signal?: SignalID /** * _Can only be used if this is AmmoTurret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#energy_per_shot Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#energy_per_shot Online documentation} */ readonly energy_per_shot?: double /** * _Can only be used if this is AmmoTurret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#prepare_with_no_ammo Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#prepare_with_no_ammo Online documentation} */ readonly prepare_with_no_ammo?: boolean /** * _Can only be used if this is ArtilleryFlare_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#life_time Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#life_time Online documentation} */ readonly life_time?: uint16 /** * _Can only be used if this is ArtilleryFlare_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#regular_trigger_effect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#regular_trigger_effect Online documentation} */ readonly regular_trigger_effect?: TriggerEffectItem[] /** * _Can only be used if this is ArtilleryFlare_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#regular_trigger_effect_frequency Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#regular_trigger_effect_frequency Online documentation} */ readonly regular_trigger_effect_frequency?: uint32 /** * _Can only be used if this is ArtilleryFlare_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#ended_in_water_trigger_effect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#ended_in_water_trigger_effect Online documentation} */ readonly ended_in_water_trigger_effect?: TriggerEffectItem[] /** * _Can only be used if this is ArtilleryFlare_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#movement_modifier_when_on_ground Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#movement_modifier_when_on_ground Online documentation} */ readonly movement_modifier_when_on_ground?: double /** * _Can only be used if this is ArtilleryFlare_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#movement_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#movement_modifier Online documentation} */ readonly movement_modifier?: double /** * _Can only be used if this is ArtilleryFlare_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#creation_shift Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#creation_shift Online documentation} */ readonly creation_shift?: Vector /** * _Can only be used if this is ArtilleryFlare_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#initial_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#initial_speed Online documentation} */ readonly initial_speed?: Vector /** * _Can only be used if this is ArtilleryFlare_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#initial_height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#initial_height Online documentation} */ readonly initial_height?: float /** * _Can only be used if this is ArtilleryFlare_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#initial_vertical_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#initial_vertical_speed Online documentation} */ readonly initial_vertical_speed?: float /** * _Can only be used if this is ArtilleryFlare_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#shots_per_flare Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#shots_per_flare Online documentation} */ readonly shots_per_flare?: uint32 /** * _Can only be used if this is ArtilleryFlare_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#early_death_ticks Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#early_death_ticks Online documentation} */ readonly early_death_ticks?: uint32 /** * _Can only be used if this is ArtilleryFlare_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#shot_category Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#shot_category Online documentation} */ readonly shot_category?: LuaAmmoCategoryPrototype /** * _Can only be used if this is ArtilleryProjectile_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#height_from_ground Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#height_from_ground Online documentation} */ readonly height_from_ground?: float /** * _Can only be used if this is ArtilleryProjectile_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#reveal_map Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#reveal_map Online documentation} */ readonly reveal_map?: boolean /** * _Can only be used if this is AssemblingMachine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#gui_title_key Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#gui_title_key Online documentation} */ readonly gui_title_key?: string /** * _Can only be used if this is AssemblingMachine or Furnace_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_recipe_finished_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_recipe_finished_signal Online documentation} */ readonly default_recipe_finished_signal?: SignalID /** * _Can only be used if this is AssemblingMachine or Furnace_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_working_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_working_signal Online documentation} */ readonly default_working_signal?: SignalID /** * _Can only be used if this is AssemblingMachine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#disabled_when_recipe_not_researched Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#disabled_when_recipe_not_researched Online documentation} */ readonly disabled_when_recipe_not_researched?: boolean /** * _Can only be used if this is AssemblingMachine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#fluid_boxes_off_when_no_fluid_recipe Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#fluid_boxes_off_when_no_fluid_recipe Online documentation} */ readonly fluid_boxes_off_when_no_fluid_recipe?: boolean /** * _Can only be used if this is Asteroid_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#damage_per_hp Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#damage_per_hp Online documentation} */ readonly damage_per_hp?: float /** * _Can only be used if this is Beam or Stream_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#width Online documentation} */ readonly width?: float /** * _Can only be used if this is Beam or Sticker_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#damage_interval Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#damage_interval Online documentation} */ readonly damage_interval?: uint32 /** * _Can only be used if this is Beam_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#action_triggered_automatically Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#action_triggered_automatically Online documentation} */ readonly action_triggered_automatically?: boolean /** * _Can only be used if this is SpiderUnit or Unit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#steering_settings Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#steering_settings Online documentation} */ readonly steering_settings?: SteeringSettings /** * _Can only be used if this is SpiderUnit or Unit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#ai_settings Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#ai_settings Online documentation} */ readonly ai_settings?: UnitAISettings /** * _Can only be used if this is CaptureRobot_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#capture_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#capture_speed Online documentation} */ readonly capture_speed?: double /** * _Can only be used if this is CaptureRobot_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#search_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#search_radius Online documentation} */ readonly search_radius?: double /** * _Can only be used if this is Car_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#auto_sort_inventory Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#auto_sort_inventory Online documentation} */ readonly auto_sort_inventory?: boolean /** * _Can only be used if this is Car_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#immune_to_tree_impacts Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#immune_to_tree_impacts Online documentation} */ readonly immune_to_tree_impacts?: boolean /** * _Can only be used if this is Car_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#immune_to_rock_impacts Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#immune_to_rock_impacts Online documentation} */ readonly immune_to_rock_impacts?: boolean /** * _Can only be used if this is Car_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#immune_to_cliff_impacts Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#immune_to_cliff_impacts Online documentation} */ readonly immune_to_cliff_impacts?: boolean /** * _Can only be used if this is Car_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#immune_to_all_impacts Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#immune_to_all_impacts Online documentation} */ readonly immune_to_all_impacts?: boolean /** * _Can only be used if this is Car_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#track_particle_triggers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#track_particle_triggers Online documentation} */ readonly track_particle_triggers?: LuaTable /** * _Can only be used if this is TemporaryContainer_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#destroy_on_empty Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#destroy_on_empty Online documentation} */ readonly destroy_on_empty?: boolean /** * _Can only be used if this is CargoBay_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#has_direction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#has_direction Online documentation} */ readonly has_direction?: boolean /** * _Can only be used if this is CargoBay_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#allow_unloading Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#allow_unloading Online documentation} */ readonly allow_unloading?: boolean /** * _Can only be used if this is CargoBay_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#use_unloading_distance_limit Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#use_unloading_distance_limit Online documentation} */ readonly use_unloading_distance_limit?: boolean /** * _Can only be used if this is CargoBay_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#hatch_definitions Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#hatch_definitions Online documentation} */ readonly hatch_definitions?: CargoHatchDefinition[] /** * _Can only be used if this is CargoBay or CargoLandingPad_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#connectable_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#connectable_box Online documentation} */ readonly connectable_box?: BoundingBox /** * _Can only be used if this is CargoLandingPad or SpacePlatformHub_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#cargo_station_parameters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#cargo_station_parameters Online documentation} */ readonly cargo_station_parameters?: CargoStationParameters /** * _Can only be used if this is CargoPod or RocketSiloRocket_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#shadow_slave_entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#shadow_slave_entity Online documentation} */ readonly shadow_slave_entity?: LuaEntityPrototype /** * _Can only be used if this is Sticker_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#sticker_movement_modifiers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#sticker_movement_modifiers Online documentation} */ readonly sticker_movement_modifiers?: { readonly target_movement_modifier_from: float @@ -12965,7 +12976,7 @@ declare module "factorio:runtime" { } /** * _Can only be used if this is Sticker_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#sticker_vehicle_modifiers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#sticker_vehicle_modifiers Online documentation} */ readonly sticker_vehicle_modifiers?: { readonly vehicle_speed_modifier_from: float @@ -12977,922 +12988,922 @@ declare module "factorio:runtime" { } /** * _Can only be used if this is Sticker_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#fire_spread_entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#fire_spread_entity Online documentation} */ readonly fire_spread_entity?: LuaEntityPrototype /** * _Can only be used if this is Sticker_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#fire_spread_cooldown Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#fire_spread_cooldown Online documentation} */ readonly fire_spread_cooldown?: uint8 /** * _Can only be used if this is Sticker_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#fire_spread_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#fire_spread_radius Online documentation} */ readonly fire_spread_radius?: float /** * _Can only be used if this is Sticker_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#stickers_per_square_meter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#stickers_per_square_meter Online documentation} */ readonly stickers_per_square_meter?: float /** * _Can only be used if this is Sticker_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#should_ground_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#should_ground_target Online documentation} */ readonly should_ground_target?: boolean /** * _Can only be used if this is Sticker, Projectile or SimpleEntityWithOwner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#force_visibility Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#force_visibility Online documentation} */ readonly force_visibility?: ForceCondition /** * _Can only be used if this is Sticker_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#use_damage_substitute Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#use_damage_substitute Online documentation} */ readonly use_damage_substitute?: boolean /** * _Can only be used if this is Cliff_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#orientations Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#orientations Online documentation} */ readonly orientations?: OrientedCliffPrototypeSet /** * _Can only be used if this is Cliff_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#grid_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#grid_size Online documentation} */ readonly grid_size?: Vector /** * _Can only be used if this is Cliff_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#grid_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#grid_offset Online documentation} */ readonly grid_offset?: Vector /** * _Can only be used if this is Cliff_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#place_as_crater Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#place_as_crater Online documentation} */ readonly place_as_crater?: CraterPlacementDefinition /** * _Can only be used if this is ConstantCombinator_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#pulse_duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#pulse_duration Online documentation} */ readonly pulse_duration?: uint32 /** * _Can only be used if this is Container or ProxyContainer_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#direction_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#direction_count Online documentation} */ readonly direction_count?: uint8 /** * _Can only be used if this is Container_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_status Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_status Online documentation} */ readonly default_status?: defines.entity_status /** * _Can only be used if this is Container, LinkedContainer, ProxyContainer, SpacePlatformHub or CargoLandingPad_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_empty_slots_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_empty_slots_signal Online documentation} */ readonly default_empty_slots_signal?: SignalID /** * _Can only be used if this is Corpse_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#expires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#expires Online documentation} */ readonly expires?: boolean /** * _Can only be used if this is Corpse_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#remove_on_entity_placement Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#remove_on_entity_placement Online documentation} */ readonly remove_on_entity_placement?: boolean /** * _Can only be used if this is Corpse_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#remove_on_tile_placement Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#remove_on_tile_placement Online documentation} */ readonly remove_on_tile_placement?: boolean /** * _Can only be used if this is Combinator_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#input_connection_bounding_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#input_connection_bounding_box Online documentation} */ readonly input_connection_bounding_box?: BoundingBox /** * _Can only be used if this is Combinator_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#output_connection_bounding_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#output_connection_bounding_box Online documentation} */ readonly output_connection_bounding_box?: BoundingBox /** * _Can only be used if this is DisplayPanel_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#max_text_width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#max_text_width Online documentation} */ readonly max_text_width?: uint32 /** * _Can only be used if this is DisplayPanel_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#max_text_length Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#max_text_length Online documentation} */ readonly max_text_length?: uint32 /** * _Can only be used if this is DisplayPanel_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#max_records_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#max_records_count Online documentation} */ readonly max_records_count?: uint32 /** * _Can only be used if this is InfinityContainer, InfinityPipe, InfinityCargoWagon, HeatInterface or LinkedContainer_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#gui_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#gui_mode Online documentation} */ readonly gui_mode?: "all" | "none" | "admins" /** * _Can only be used if this is ElectricPole_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#track_coverage_during_drag_building Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#track_coverage_during_drag_building Online documentation} */ readonly track_coverage_during_drag_building?: boolean /** * _Can only be used if this is ElectricPole_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#auto_connect_up_to_n_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#auto_connect_up_to_n_wires Online documentation} */ readonly auto_connect_up_to_n_wires?: uint8 /** * _Can only be used if this is Turret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#start_attacking_only_when_can_shoot Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#start_attacking_only_when_can_shoot Online documentation} */ readonly start_attacking_only_when_can_shoot?: boolean /** * _Can only be used if this is Turret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#leave_attacking_if_shoot_fails Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#leave_attacking_if_shoot_fails Online documentation} */ readonly leave_attacking_if_shoot_fails?: boolean /** * _Can only be used if this is Turret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#shoot_in_prepare_state Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#shoot_in_prepare_state Online documentation} */ readonly shoot_in_prepare_state?: boolean /** * _Can only be used if this is Turret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#allow_turning_when_starting_attack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#allow_turning_when_starting_attack Online documentation} */ readonly allow_turning_when_starting_attack?: boolean /** * _Can only be used if this is Turret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#can_retarget_while_starting_attack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#can_retarget_while_starting_attack Online documentation} */ readonly can_retarget_while_starting_attack?: boolean /** * _Can only be used if this is Turret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#turret_base_has_direction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#turret_base_has_direction Online documentation} */ readonly turret_base_has_direction?: boolean /** * _Can only be used if this is Spawner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#max_richness_for_spawn_shift Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#max_richness_for_spawn_shift Online documentation} */ readonly max_richness_for_spawn_shift?: double /** * _Can only be used if this is Spawner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#absorptions_per_second Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#absorptions_per_second Online documentation} */ readonly absorptions_per_second?: Record /** * _Can only be used if this is Spawner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#time_to_capture Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#time_to_capture Online documentation} */ readonly time_to_capture?: MapTick /** * _Can only be used if this is Spawner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#spawn_blocked_trigger Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#spawn_blocked_trigger Online documentation} */ readonly spawn_blocked_trigger?: TriggerItem[] /** * _Can only be used if this is Explosion_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#smoke Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#smoke Online documentation} */ readonly smoke?: LuaTrivialSmokePrototype /** * _Can only be used if this is Explosion_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#smoke_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#smoke_count Online documentation} */ readonly smoke_count?: uint16 /** * _Can only be used if this is Explosion_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#explosion_effect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#explosion_effect Online documentation} */ readonly explosion_effect?: TriggerItem[] /** * _Can only be used if this is Fire_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#spawn_entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#spawn_entity Online documentation} */ readonly spawn_entity?: LuaEntityPrototype /** * _Can only be used if this is Fire_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#damage_per_tick Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#damage_per_tick Online documentation} */ readonly damage_per_tick?: DamageParameters /** * _Can only be used if this is Fire_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#maximum_spread_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#maximum_spread_count Online documentation} */ readonly maximum_spread_count?: uint16 /** * _Can only be used if this is Fire_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#initial_flame_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#initial_flame_count Online documentation} */ readonly initial_flame_count?: uint8 /** * _Can only be used if this is Fire_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#uses_alternative_behavior Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#uses_alternative_behavior Online documentation} */ readonly uses_alternative_behavior?: boolean /** * _Can only be used if this is Fire_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#limit_overlapping_particles Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#limit_overlapping_particles Online documentation} */ readonly limit_overlapping_particles?: boolean /** * _Can only be used if this is Fire_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#spread_delay Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#spread_delay Online documentation} */ readonly spread_delay?: uint32 /** * _Can only be used if this is Fire_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#spread_delay_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#spread_delay_deviation Online documentation} */ readonly spread_delay_deviation?: uint32 /** * _Can only be used if this is Fire_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#tree_dying_factor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#tree_dying_factor Online documentation} */ readonly tree_dying_factor?: float /** * _Can only be used if this is Fire_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#initial_lifetime Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#initial_lifetime Online documentation} */ readonly initial_lifetime?: uint32 /** * _Can only be used if this is Fire_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#damage_multiplier_decrease_per_tick Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#damage_multiplier_decrease_per_tick Online documentation} */ readonly damage_multiplier_decrease_per_tick?: float /** * _Can only be used if this is Fire_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#damage_multiplier_increase_per_added_fuel Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#damage_multiplier_increase_per_added_fuel Online documentation} */ readonly damage_multiplier_increase_per_added_fuel?: float /** * _Can only be used if this is Fire_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#maximum_damage_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#maximum_damage_multiplier Online documentation} */ readonly maximum_damage_multiplier?: float /** * _Can only be used if this is Fire_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#lifetime_increase_by Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#lifetime_increase_by Online documentation} */ readonly lifetime_increase_by?: uint32 /** * _Can only be used if this is Fire_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#lifetime_increase_cooldown Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#lifetime_increase_cooldown Online documentation} */ readonly lifetime_increase_cooldown?: uint32 /** * _Can only be used if this is Fire_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#maximum_lifetime Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#maximum_lifetime Online documentation} */ readonly maximum_lifetime?: uint32 /** * _Can only be used if this is Fire_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#add_fuel_cooldown Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#add_fuel_cooldown Online documentation} */ readonly add_fuel_cooldown?: uint32 /** * _Can only be used if this is Fire_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#delay_between_initial_flames Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#delay_between_initial_flames Online documentation} */ readonly delay_between_initial_flames?: uint32 /** * _Can only be used if this is Fire_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#on_fuel_added_action Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#on_fuel_added_action Online documentation} */ readonly on_fuel_added_action?: TriggerItem[] /** * _Can only be used if this is Fire_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#on_damage_tick_effect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#on_damage_tick_effect Online documentation} */ readonly on_damage_tick_effect?: TriggerItem[] /** * _Can only be used if this is Fire, Stream, Generator, ParticleSource or Projectile_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#smoke_sources Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#smoke_sources Online documentation} */ readonly smoke_sources?: SmokeSource[] /** * _Can only be used if this is Stream_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#initial_action Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#initial_action Online documentation} */ readonly initial_action?: TriggerItem[] /** * _Can only be used if this is Stream_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#special_neutral_target_damage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#special_neutral_target_damage Online documentation} */ readonly special_neutral_target_damage?: DamageParameters /** * _Can only be used if this is Stream_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#particle_buffer_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#particle_buffer_size Online documentation} */ readonly particle_buffer_size?: uint16 /** * _Can only be used if this is Stream_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#particle_spawn_interval Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#particle_spawn_interval Online documentation} */ readonly particle_spawn_interval?: uint16 /** * _Can only be used if this is Stream_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#particle_spawn_timeout Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#particle_spawn_timeout Online documentation} */ readonly particle_spawn_timeout?: uint16 /** * _Can only be used if this is Stream_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#stream_particle_horizontal_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#stream_particle_horizontal_speed Online documentation} */ readonly stream_particle_horizontal_speed?: float /** * _Can only be used if this is Stream_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#stream_particle_horizontal_speed_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#stream_particle_horizontal_speed_deviation Online documentation} */ readonly stream_particle_horizontal_speed_deviation?: float /** * _Can only be used if this is Stream_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#particle_vertical_acceleration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#particle_vertical_acceleration Online documentation} */ readonly particle_vertical_acceleration?: float /** * _Can only be used if this is Stream_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#progress_to_create_smoke Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#progress_to_create_smoke Online documentation} */ readonly progress_to_create_smoke?: float /** * _Can only be used if this is Stream_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#target_position_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#target_position_deviation Online documentation} */ readonly target_position_deviation?: double /** * _Can only be used if this is Stream_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#target_initial_position_only Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#target_initial_position_only Online documentation} */ readonly target_initial_position_only?: boolean /** * _Can only be used if this is RollingStock_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#drive_over_tie_trigger Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#drive_over_tie_trigger Online documentation} */ readonly drive_over_tie_trigger?: TriggerEffectItem[] /** * _Can only be used if this is RollingStock_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#drive_over_tie_trigger_minimal_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#drive_over_tie_trigger_minimal_speed Online documentation} */ readonly drive_over_tie_trigger_minimal_speed?: double /** * _Can only be used if this is RollingStock_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#tie_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#tie_distance Online documentation} */ readonly tie_distance?: double /** * _Can only be used if this is RollingStock_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#allow_manual_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#allow_manual_color Online documentation} */ readonly allow_manual_color?: boolean /** * _Can only be used if this is RollingStock_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#allow_robot_dispatch_in_automatic_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#allow_robot_dispatch_in_automatic_mode Online documentation} */ readonly allow_robot_dispatch_in_automatic_mode?: boolean /** * _Can only be used if this is RollingStock_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_copy_color_from_train_stop Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_copy_color_from_train_stop Online documentation} */ readonly default_copy_color_from_train_stop?: boolean /** * _Can only be used if this is RollingStock_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#quality_affects_max_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#quality_affects_max_speed Online documentation} */ readonly quality_affects_max_speed?: boolean /** * _Can only be used if this is RollingStock_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#transition_collision_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#transition_collision_mask Online documentation} */ readonly transition_collision_mask?: CollisionMask /** * _Can only be used if this is RollingStock or RailSignalBase_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#elevated_collision_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#elevated_collision_mask Online documentation} */ readonly elevated_collision_mask?: CollisionMask /** * _Can only be used if this is RollingStock or RailSignalBase_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#elevated_selection_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#elevated_selection_priority Online documentation} */ readonly elevated_selection_priority?: uint8 /** * _Can only be used if this is RollingStock_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#drive_over_elevated_tie_trigger Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#drive_over_elevated_tie_trigger Online documentation} */ readonly drive_over_elevated_tie_trigger?: TriggerEffectItem[] /** * _Can only be used if this is Furnace_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#cant_insert_at_source_message_key Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#cant_insert_at_source_message_key Online documentation} */ readonly cant_insert_at_source_message_key?: string /** * _Can only be used if this is Furnace_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#custom_input_slot_tooltip_key Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#custom_input_slot_tooltip_key Online documentation} */ readonly custom_input_slot_tooltip_key?: string /** * _Can only be used if this is Gate_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#opening_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#opening_speed Online documentation} */ readonly opening_speed?: float /** * _Can only be used if this is Gate_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#activation_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#activation_distance Online documentation} */ readonly activation_distance?: double /** * _Can only be used if this is Gate_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#timeout_to_close Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#timeout_to_close Online documentation} */ readonly timeout_to_close?: uint32 /** * _Can only be used if this is Gate_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#opened_collision_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#opened_collision_mask Online documentation} */ readonly opened_collision_mask?: CollisionMask /** * _Can only be used if this is HeatPipe, HeatInterface or Reactor_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#heating_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#heating_radius Online documentation} */ readonly heating_radius?: float /** * _Can only be used if this is InfinityCargoWagon or InfinityChest_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#erase_contents_when_mined Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#erase_contents_when_mined Online documentation} */ readonly erase_contents_when_mined?: boolean /** * _Can only be used if this is InfinityCargoWagon or InfinityChest_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#preserve_contents_when_created Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#preserve_contents_when_created Online documentation} */ readonly preserve_contents_when_created?: boolean /** * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#energy_per_movement Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#energy_per_movement Online documentation} */ readonly energy_per_movement?: double /** * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#energy_per_rotation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#energy_per_rotation Online documentation} */ readonly energy_per_rotation?: double /** * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#use_easter_egg Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#use_easter_egg Online documentation} */ readonly use_easter_egg?: boolean /** * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#grab_less_to_match_belt_stack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#grab_less_to_match_belt_stack Online documentation} */ readonly grab_less_to_match_belt_stack?: boolean /** * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#wait_for_full_hand Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#wait_for_full_hand Online documentation} */ readonly wait_for_full_hand?: boolean /** * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#enter_drop_mode_if_held_stack_spoiled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#enter_drop_mode_if_held_stack_spoiled Online documentation} */ readonly enter_drop_mode_if_held_stack_spoiled?: boolean /** * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_stack_control_input_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_stack_control_input_signal Online documentation} */ readonly default_stack_control_input_signal?: SignalID /** * _Can only be used if this is Lamp_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_red_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_red_signal Online documentation} */ readonly default_red_signal?: SignalID /** * _Can only be used if this is Lamp_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_green_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_green_signal Online documentation} */ readonly default_green_signal?: SignalID /** * _Can only be used if this is Lamp_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_blue_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_blue_signal Online documentation} */ readonly default_blue_signal?: SignalID /** * _Can only be used if this is Lamp_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_rgb_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_rgb_signal Online documentation} */ readonly default_rgb_signal?: SignalID /** * _Can only be used if this is Landmine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#trigger_interval Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#trigger_interval Online documentation} */ readonly trigger_interval?: uint32 /** * _Can only be used if this is Landmine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#trigger_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#trigger_radius Online documentation} */ readonly trigger_radius?: double /** * _Can only be used if this is Landmine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#force_die_on_attack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#force_die_on_attack Online documentation} */ readonly force_die_on_attack?: boolean /** * _Can only be used if this is Landmine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#trigger_force Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#trigger_force Online documentation} */ readonly trigger_force?: ForceCondition /** * _Can only be used if this is LinkedBelt_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#allow_clone_connection Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#allow_clone_connection Online documentation} */ readonly allow_clone_connection?: boolean /** * _Can only be used if this is LinkedBelt_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#allow_blueprint_connection Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#allow_blueprint_connection Online documentation} */ readonly allow_blueprint_connection?: boolean /** * _Can only be used if this is LinkedBelt_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#allow_side_loading Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#allow_side_loading Online documentation} */ readonly allow_side_loading?: boolean /** * _Can only be used if this is Loader_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#allow_rail_interaction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#allow_rail_interaction Online documentation} */ readonly allow_rail_interaction?: boolean /** * _Can only be used if this is Loader_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#allow_container_interaction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#allow_container_interaction Online documentation} */ readonly allow_container_interaction?: boolean /** * _Can only be used if this is Loader_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#energy_per_item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#energy_per_item Online documentation} */ readonly energy_per_item?: double /** * _Can only be used if this is Locomotive_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#max_snap_to_train_stop_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#max_snap_to_train_stop_distance Online documentation} */ readonly max_snap_to_train_stop_distance?: float /** * _Can only be used if this is MiningDrill_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#shuffle_resources_to_mine Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#shuffle_resources_to_mine Online documentation} */ readonly shuffle_resources_to_mine?: boolean /** * _Can only be used if this is OffshorePump_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#remove_on_tile_collision Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#remove_on_tile_collision Online documentation} */ readonly remove_on_tile_collision?: boolean /** * _Can only be used if this is ParticleSource_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#particle Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#particle Online documentation} */ readonly particle?: LuaParticlePrototype /** * _Can only be used if this is ParticleSource_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#particle_time_to_live Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#particle_time_to_live Online documentation} */ readonly particle_time_to_live?: DeviatedValue /** * _Can only be used if this is ParticleSource_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#particle_time_before_start Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#particle_time_before_start Online documentation} */ readonly particle_time_before_start?: DeviatedValue /** * _Can only be used if this is ParticleSource_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#particle_height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#particle_height Online documentation} */ readonly particle_height?: DeviatedValue /** * _Can only be used if this is ParticleSource_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#particle_vertical_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#particle_vertical_speed Online documentation} */ readonly particle_vertical_speed?: DeviatedValue /** * _Can only be used if this is ParticleSource_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#particle_horizontal_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#particle_horizontal_speed Online documentation} */ readonly particle_horizontal_speed?: DeviatedValue /** * _Can only be used if this is Projectile_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#rotatable Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#rotatable Online documentation} */ readonly rotatable?: boolean /** * _Can only be used if this is Projectile_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#direction_only Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#direction_only Online documentation} */ readonly direction_only?: boolean /** * _Can only be used if this is Projectile_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#hit_at_collision_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#hit_at_collision_position Online documentation} */ readonly hit_at_collision_position?: boolean /** * _Can only be used if this is Projectile_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#piercing_damage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#piercing_damage Online documentation} */ readonly piercing_damage?: float /** * _Can only be used if this is Projectile_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#acceleration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#acceleration Online documentation} */ readonly acceleration?: double /** * _Can only be used if this is Projectile_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#turn_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#turn_speed Online documentation} */ readonly turn_speed?: float /** * _Can only be used if this is Projectile_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#speed_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#speed_modifier Online documentation} */ readonly speed_modifier?: Vector /** * _Can only be used if this is Projectile_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#hit_collision_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#hit_collision_mask Online documentation} */ readonly hit_collision_mask?: CollisionMask /** * _Can only be used if this is Projectile_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#turning_speed_increases_exponentially_with_projectile_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#turning_speed_increases_exponentially_with_projectile_speed Online documentation} */ readonly turning_speed_increases_exponentially_with_projectile_speed?: boolean /** * _Can only be used if this is Pump_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#fluid_wagon_connector_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#fluid_wagon_connector_speed Online documentation} */ readonly fluid_wagon_connector_speed?: double /** * _Can only be used if this is Pump_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#fluid_wagon_tank_valve_max_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#fluid_wagon_tank_valve_max_distance Online documentation} */ readonly fluid_wagon_tank_valve_max_distance?: double /** * _Can only be used if this is Radar_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#energy_per_sector Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#energy_per_sector Online documentation} */ readonly energy_per_sector?: double /** * _Can only be used if this is Radar_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#energy_per_nearby_scan Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#energy_per_nearby_scan Online documentation} */ readonly energy_per_nearby_scan?: double /** * _Can only be used if this is Radar_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#connects_to_other_radars Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#connects_to_other_radars Online documentation} */ readonly connects_to_other_radars?: boolean /** * _Can only be used if this is Radar_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#energy_fraction_to_connect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#energy_fraction_to_connect Online documentation} */ readonly energy_fraction_to_connect?: float /** * _Can only be used if this is Radar_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#energy_fraction_to_disconnect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#energy_fraction_to_disconnect Online documentation} */ readonly energy_fraction_to_disconnect?: float /** * _Can only be used if this is Radar_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_universe_channel Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_universe_channel Online documentation} */ readonly default_universe_channel?: SignalID /** * _Can only be used if this is RailSignalBase_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_red_output_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_red_output_signal Online documentation} */ readonly default_red_output_signal?: SignalID /** * _Can only be used if this is RailSignalBase_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_orange_output_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_orange_output_signal Online documentation} */ readonly default_orange_output_signal?: SignalID /** * _Can only be used if this is RailSignalBase_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_green_output_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_green_output_signal Online documentation} */ readonly default_green_output_signal?: SignalID /** * _Can only be used if this is RailSignalBase_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_blue_output_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_blue_output_signal Online documentation} */ readonly default_blue_output_signal?: SignalID /** * _Can only be used if this is RailRamp or RailSupport_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#collision_mask_allow_on_deep_oil_ocean Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#collision_mask_allow_on_deep_oil_ocean Online documentation} */ readonly collision_mask_allow_on_deep_oil_ocean?: CollisionMask /** * _Can only be used if this is RailRemnants_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#related_rail Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#related_rail Online documentation} */ readonly related_rail?: LuaEntityPrototype /** * _Can only be used if this is RailSupport_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#not_buildable_if_no_rails Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#not_buildable_if_no_rails Online documentation} */ readonly not_buildable_if_no_rails?: boolean /** * _Can only be used if this is RailSupport_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#snap_to_spots_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#snap_to_spots_distance Online documentation} */ readonly snap_to_spots_distance?: float /** * _Can only be used if this is RailSupport_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#elevated_selection_boxes Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#elevated_selection_boxes Online documentation} */ readonly elevated_selection_boxes?: BoundingBox[] /** * _Can only be used if this is Reactor_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#meltdown_action Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#meltdown_action Online documentation} */ readonly meltdown_action?: TriggerItem[] /** * _Can only be used if this is Reactor_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#scale_energy_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#scale_energy_usage Online documentation} */ readonly scale_energy_usage?: boolean /** * _Can only be used if this is Reactor_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_temperature_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_temperature_signal Online documentation} */ readonly default_temperature_signal?: SignalID /** * _Can only be used if this is ResourceEntity_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#map_grid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#map_grid Online documentation} */ readonly map_grid?: boolean /** * _Can only be used if this is ResourceEntity_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#resource_patch_search_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#resource_patch_search_radius Online documentation} */ readonly resource_patch_search_radius?: uint32 /** * _Can only be used if this is ResourceEntity_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#tree_removal_probability Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#tree_removal_probability Online documentation} */ readonly tree_removal_probability?: double /** * _Can only be used if this is ResourceEntity_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#cliff_removal_probability Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#cliff_removal_probability Online documentation} */ readonly cliff_removal_probability?: double /** * _Can only be used if this is ResourceEntity_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#tree_removal_max_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#tree_removal_max_distance Online documentation} */ readonly tree_removal_max_distance?: double /** * _Can only be used if this is Roboport_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#recharge_minimum Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#recharge_minimum Online documentation} */ readonly recharge_minimum?: double /** * _Can only be used if this is Roboport_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#open_door_trigger_effect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#open_door_trigger_effect Online documentation} */ readonly open_door_trigger_effect?: TriggerEffectItem[] /** * _Can only be used if this is Roboport_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#close_door_trigger_effect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#close_door_trigger_effect Online documentation} */ readonly close_door_trigger_effect?: TriggerEffectItem[] /** * _Can only be used if this is Roboport_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_available_logistic_output_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_available_logistic_output_signal Online documentation} */ readonly default_available_logistic_output_signal?: SignalID /** * _Can only be used if this is Roboport_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_total_logistic_output_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_total_logistic_output_signal Online documentation} */ readonly default_total_logistic_output_signal?: SignalID /** * _Can only be used if this is Roboport_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_available_construction_output_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_available_construction_output_signal Online documentation} */ readonly default_available_construction_output_signal?: SignalID /** * _Can only be used if this is Roboport_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_total_construction_output_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_total_construction_output_signal Online documentation} */ readonly default_total_construction_output_signal?: SignalID /** * _Can only be used if this is Roboport_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_roboport_count_output_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_roboport_count_output_signal Online documentation} */ readonly default_roboport_count_output_signal?: SignalID /** * _Can only be used if this is RocketSiloRocket_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#cargo_pod_entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#cargo_pod_entity Online documentation} */ readonly cargo_pod_entity?: LuaEntityPrototype /** * _Can only be used if this is RocketSiloRocket_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#flying_trigger Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#flying_trigger Online documentation} */ readonly flying_trigger?: TriggerEffectItem[] /** * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#rocket_parts_storage_cap Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#rocket_parts_storage_cap Online documentation} */ readonly rocket_parts_storage_cap?: uint32 /** * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#rocket_quick_relaunch_start_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#rocket_quick_relaunch_start_offset Online documentation} */ readonly rocket_quick_relaunch_start_offset?: double /** * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#rocket_rising_speed_modifier_per_quality_level Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#rocket_rising_speed_modifier_per_quality_level Online documentation} */ readonly rocket_rising_speed_modifier_per_quality_level?: double /** * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#rocket_engine_starting_speed_modifier_per_quality_level Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#rocket_engine_starting_speed_modifier_per_quality_level Online documentation} */ readonly rocket_engine_starting_speed_modifier_per_quality_level?: double /** * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#arms_speed_modifier_per_quality_level Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#arms_speed_modifier_per_quality_level Online documentation} */ readonly arms_speed_modifier_per_quality_level?: double /** * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#alarm_trigger Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#alarm_trigger Online documentation} */ readonly alarm_trigger?: TriggerEffectItem[] /** * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#clamps_on_trigger Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#clamps_on_trigger Online documentation} */ readonly clamps_on_trigger?: TriggerEffectItem[] /** * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#clamps_off_trigger Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#clamps_off_trigger Online documentation} */ readonly clamps_off_trigger?: TriggerEffectItem[] /** * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#doors_trigger Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#doors_trigger Online documentation} */ readonly doors_trigger?: TriggerEffectItem[] /** * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#raise_rocket_trigger Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#raise_rocket_trigger Online documentation} */ readonly raise_rocket_trigger?: TriggerEffectItem[] /** * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#can_launch_without_landing_pads Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#can_launch_without_landing_pads Online documentation} */ readonly can_launch_without_landing_pads?: boolean /** * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_launched_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_launched_signal Online documentation} */ readonly default_launched_signal?: SignalID /** * _Can only be used if this is SelectorCombinator_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_game_tick_output_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_game_tick_output_signal Online documentation} */ readonly default_game_tick_output_signal?: SignalID /** * _Can only be used if this is SelectorCombinator_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_day_tick_output_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_day_tick_output_signal Online documentation} */ readonly default_day_tick_output_signal?: SignalID /** * _Can only be used if this is SelectorCombinator_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_day_length_output_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_day_length_output_signal Online documentation} */ readonly default_day_length_output_signal?: SignalID /** * _Can only be used if this is SmokeWithTrigger_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#action Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#action Online documentation} */ readonly action?: TriggerItem[] /** * _Can only be used if this is SmokeWithTrigger_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#action_cooldown Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#action_cooldown Online documentation} */ readonly action_cooldown?: uint32 /** * _Can only be used if this is SmokeWithTrigger_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#particle_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#particle_count Online documentation} */ readonly particle_count?: uint8 /** * _Can only be used if this is SmokeWithTrigger_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#attach_to_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#attach_to_target Online documentation} */ readonly attach_to_target?: boolean /** @@ -13912,180 +13923,180 @@ declare module "factorio:runtime" { * Test whether this entity prototype has a certain flag set. * @param flag The flag to test. * @returns `true` if this prototype has the given flag set. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#has_flag Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#has_flag Online documentation} */ has_flag(flag: EntityPrototypeFlag): boolean /** * Gets the base size of the given inventory on this entity or `nil` if the given inventory doesn't exist. * @param quality Defaults to `"normal"`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_inventory_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_inventory_size Online documentation} */ get_inventory_size(index: defines.inventory, quality?: QualityID): ItemStackIndex | nil /** * The maximum wire distance for this entity. 0 if the entity doesn't support wires. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_max_wire_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_max_wire_distance Online documentation} */ get_max_wire_distance(quality?: QualityID): double /** * The maximum circuit wire distance for this entity. 0 if the entity doesn't support circuit wires. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_max_circuit_wire_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_max_circuit_wire_distance Online documentation} */ get_max_circuit_wire_distance(quality?: QualityID): double /** * The theoretical maximum energy usage for this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_max_energy_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_max_energy_usage Online documentation} */ get_max_energy_usage(quality?: QualityID): double /** * The theoretical maximum energy production for this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_max_energy_production Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_max_energy_production Online documentation} */ get_max_energy_production(quality?: QualityID): double /** * Max health of this entity. Will be `0` if this is not an entity with health. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_max_health Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_max_health Online documentation} */ get_max_health(quality?: QualityID): float /** * Gets the fluid capacity of this entity or 0 if this entity doesn't support fluids. * * Crafting machines will report 0 due to their fluid capacity being whatever a given recipe needs. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_fluid_capacity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_fluid_capacity Online documentation} */ get_fluid_capacity(quality?: QualityID): double /** * Whether this entity is minable and what can be obtained by mining it. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#mineable_properties Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#mineable_properties Online documentation} */ readonly mineable_properties: MineableProperties /** * Items that when placed will produce this entity, if any. Construction bots will choose the first item in the list to build this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#items_to_place_this Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#items_to_place_this Online documentation} */ readonly items_to_place_this?: ItemToPlace[] /** * The bounding box used for collision checking. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#collision_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#collision_box Online documentation} */ readonly collision_box: BoundingBox /** * The secondary bounding box used for collision checking, if any. This is only used in rails and rail remnants. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#secondary_collision_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#secondary_collision_box Online documentation} */ readonly secondary_collision_box?: BoundingBox /** * The bounding box used for map generator collision checking. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#map_generator_bounding_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#map_generator_bounding_box Online documentation} */ readonly map_generator_bounding_box: BoundingBox /** * The bounding box used for drawing selection. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#selection_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#selection_box Online documentation} */ readonly selection_box: BoundingBox /** * Extra vertical space needed to see the whole entity in GUIs. This is used to calculate the correct zoom and positioning in the entity info gui, for example in the entity tooltip. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#drawing_box_vertical_extension Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#drawing_box_vertical_extension Online documentation} */ readonly drawing_box_vertical_extension: double /** * The bounding box used to attach sticker type entities. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#sticker_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#sticker_box Online documentation} */ readonly sticker_box: BoundingBox /** * The collision masks this entity uses - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#collision_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#collision_mask Online documentation} */ readonly collision_mask: CollisionMask /** * The trigger target mask for this entity prototype type. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#trigger_target_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#trigger_target_mask Online documentation} */ readonly trigger_target_mask: Record /** * Amount this entity can heal per tick, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#healing_per_tick Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#healing_per_tick Online documentation} */ readonly healing_per_tick?: float /** * A table of pollution emissions per second the entity will create, grouped by the name of the pollution type. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#emissions_per_second Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#emissions_per_second Online documentation} */ readonly emissions_per_second: Record /** * Is this entity selectable? - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#selectable_in_game Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#selectable_in_game Online documentation} */ readonly selectable_in_game: boolean /** * The selection priority of this entity - a value between `0` and `255`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#selection_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#selection_priority Online documentation} */ readonly selection_priority: uint32 /** * The group of mutually fast-replaceable entities, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#fast_replaceable_group Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#fast_replaceable_group Online documentation} */ readonly fast_replaceable_group?: string /** * The next upgrade for this entity, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#next_upgrade Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#next_upgrade Online documentation} */ readonly next_upgrade?: LuaEntityPrototype /** * The icon positioning for inventories of this entity, if defined. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#icons_positioning Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#icons_positioning Online documentation} */ readonly icons_positioning?: IconSequencePositioning[] /** * The definition of where and how the alt-mode icons of this entity should be drawn. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#icon_draw_specification Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#icon_draw_specification Online documentation} */ readonly icon_draw_specification: IconDrawSpecification /** * Autoplace specification for this entity prototype, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#autoplace_specification Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#autoplace_specification Online documentation} */ readonly autoplace_specification?: AutoplaceSpecification /** * The attack result of this entity, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#attack_result Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#attack_result Online documentation} */ readonly attack_result?: TriggerItem[] /** * The attack parameters for this entity, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#attack_parameters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#attack_parameters Online documentation} */ readonly attack_parameters?: AttackParameters /** * The flags for this entity prototype. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#flags Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#flags Online documentation} */ readonly flags: EntityPrototypeFlags /** * The remains left behind when this entity is mined. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#remains_when_mined Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#remains_when_mined Online documentation} */ readonly remains_when_mined: LuaEntityPrototype[] /** * Entities this entity can be pasted onto in addition to the normal allowed ones. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#additional_pastable_entities Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#additional_pastable_entities Online documentation} */ readonly additional_pastable_entities: LuaEntityPrototype[] /** * When false copy-paste is not allowed for this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#allow_copy_paste Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#allow_copy_paste Online documentation} */ readonly allow_copy_paste: boolean /** * The cursor size used when shooting at this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#shooting_cursor_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#shooting_cursor_size Online documentation} */ readonly shooting_cursor_size: float /** * The smoke trigger run when this entity is built, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#created_smoke Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#created_smoke Online documentation} */ readonly created_smoke?: { readonly smoke_name: string @@ -14103,206 +14114,206 @@ declare module "factorio:runtime" { } /** * The trigger to run when this entity is created, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#created_effect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#created_effect Online documentation} */ readonly created_effect?: TriggerItem[] /** * The map color used when charting this entity if a friendly or enemy color isn't defined, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#map_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#map_color Online documentation} */ readonly map_color?: Color /** * The friendly map color used when charting this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#friendly_map_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#friendly_map_color Online documentation} */ readonly friendly_map_color: Color /** * The enemy map color used when charting this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#enemy_map_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#enemy_map_color Online documentation} */ readonly enemy_map_color: Color /** * The module inventory size. `nil` if this entity doesn't support modules. * * Returns the inventory size if this entity is of normal quality. Use {@link LuaEntityPrototype#get_inventory_size LuaEntityPrototype::get_inventory_size} for other qualities. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#module_inventory_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#module_inventory_size Online documentation} */ readonly module_inventory_size?: uint32 /** * The direct energy usage of this entity, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#energy_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#energy_usage Online documentation} */ readonly energy_usage?: double /** * A mapping of the gun name to the gun prototype this prototype uses. `nil` if this entity prototype doesn't use guns. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#guns Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#guns Online documentation} */ readonly guns?: Record /** * The burner energy source prototype this entity uses, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#burner_prototype Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#burner_prototype Online documentation} */ readonly burner_prototype?: LuaBurnerPrototype /** * The electric energy source prototype this entity uses, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#electric_energy_source_prototype Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#electric_energy_source_prototype Online documentation} */ readonly electric_energy_source_prototype?: LuaElectricEnergySourcePrototype /** * The heat energy source prototype this entity uses, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#heat_energy_source_prototype Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#heat_energy_source_prototype Online documentation} */ readonly heat_energy_source_prototype?: LuaHeatEnergySourcePrototype /** * The fluid energy source prototype this entity uses, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#fluid_energy_source_prototype Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#fluid_energy_source_prototype Online documentation} */ readonly fluid_energy_source_prototype?: LuaFluidEnergySourcePrototype /** * The void energy source prototype this entity uses, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#void_energy_source_prototype Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#void_energy_source_prototype Online documentation} */ readonly void_energy_source_prototype?: LuaVoidEnergySourcePrototype /** * The heat buffer prototype this entity uses, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#heat_buffer_prototype Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#heat_buffer_prototype Online documentation} */ readonly heat_buffer_prototype?: LuaHeatBufferPrototype /** * The {@link import("factorio:prototype").EntityPrototype#build_grid_size grid size} of the building. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#build_grid_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#build_grid_size Online documentation} */ readonly build_grid_size: uint32 /** * The fluid capacity of this entity or 0 if this entity doesn't support fluids. * * Crafting machines will report 0 due to their fluid capacity being whatever a given recipe needs. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#fluid_capacity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#fluid_capacity Online documentation} */ readonly fluid_capacity: double /** * The time to live for this prototype or `0` if prototype doesn't have time_to_live or time_before_removed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#time_to_live Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#time_to_live Online documentation} */ readonly time_to_live: MapTick /** * The color of the prototype, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#color Online documentation} */ readonly color?: Color /** * Does this prototype collision mask collide with itself? - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#collision_mask_collides_with_self Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#collision_mask_collides_with_self Online documentation} */ readonly collision_mask_collides_with_self: boolean /** * Does this prototype collision mask collide with tiles only? - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#collision_mask_collides_with_tiles_only Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#collision_mask_collides_with_tiles_only Online documentation} */ readonly collision_mask_collides_with_tiles_only: boolean /** * Does this prototype collision mask consider tile transitions? - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#collision_mask_considers_tile_transitions Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#collision_mask_considers_tile_transitions Online documentation} */ readonly collision_mask_considers_tile_transitions: boolean /** * The allowed module effects for this entity, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#allowed_effects Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#allowed_effects Online documentation} */ readonly allowed_effects?: Record /** * The allowed module categories for this entity, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#allowed_module_categories Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#allowed_module_categories Online documentation} */ readonly allowed_module_categories?: Record /** * If this prototype will attempt to create a ghost of itself on death. * * If this is false then a ghost will never be made, if it's true a ghost may be made. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#create_ghost_on_death Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#create_ghost_on_death Online documentation} */ readonly create_ghost_on_death: boolean /** * The fluidbox prototypes for this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#fluidbox_prototypes Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#fluidbox_prototypes Online documentation} */ readonly fluidbox_prototypes: LuaFluidBoxPrototype[] /** - * {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#is_building > These are the objects that are considered buildings:} - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#is_building Online documentation} + * {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#is_building > These are the objects that are considered buildings:} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#is_building Online documentation} */ readonly is_building: boolean /** * The radius of this entity prototype. The radius is defined as half the distance between the top left corner and bottom right corner of the collision box. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#radius Online documentation} */ readonly radius: double readonly show_fluid_visualization_when_in_cursor: boolean /** * The alert icon shift of this entity prototype. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#alert_icon_shift Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#alert_icon_shift Online documentation} */ readonly alert_icon_shift: Vector /** * The alert icon scale of this entity prototype. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#alert_icon_scale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#alert_icon_scale Online documentation} */ readonly alert_icon_scale: float /** * Whether this entity prototype could possibly ever be rotated. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#supports_direction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#supports_direction Online documentation} */ readonly supports_direction: boolean /** * The equipment grid prototype for this entity, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#grid_prototype Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#grid_prototype Online documentation} */ readonly grid_prototype?: LuaEquipmentGridPrototype /** * Whether this entity should remove decoratives that collide with it when this entity is built. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#remove_decoratives Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#remove_decoratives Online documentation} */ readonly remove_decoratives: "automatic" | "true" | "false" /** * True if this entity prototype should be included during tile collision checks with {@link LuaTilePrototype#check_collision_with_entities LuaTilePrototype::check_collision_with_entities} enabled. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#protected_from_tile_building Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#protected_from_tile_building Online documentation} */ readonly protected_from_tile_building: boolean /** * True if this is entity-with-owner - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#is_entity_with_owner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#is_entity_with_owner Online documentation} */ readonly is_entity_with_owner: boolean /** * Specifies the tiling size of the entity, is used to decide, if the center should be in the center of the tile (odd tile size dimension) or on the tile border (even tile size dimension) - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#tile_width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#tile_width Online documentation} */ readonly tile_width: uint32 /** * Specifies the tiling size of the entity, is used to decide, if the center should be in the center of the tile (odd tile size dimension) or on the tile border (even tile size dimension) - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#tile_height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#tile_height Online documentation} */ readonly tile_height: uint32 readonly radius_visualisation_specification?: RadiusVisualisationSpecification /** * The surface conditions required to build this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#surface_conditions Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#surface_conditions Online documentation} */ readonly surface_conditions?: SurfaceCondition[] /** * The energy required to keep this entity from freezing. Zero energy means it doesn't freeze. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#heating_energy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#heating_energy Online documentation} */ readonly heating_energy: double /** * An alternative prototype that will be used to display info about this prototype in Factoriopedia. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#factoriopedia_alternative Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#factoriopedia_alternative Online documentation} */ readonly factoriopedia_alternative?: LuaEntityPrototype readonly tile_buildability_rules?: TileBuildabilityRule[] /** * When this entity is part of blueprint, will it allow flipping of the blueprint? - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#allows_flipping Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#allows_flipping Online documentation} */ readonly allows_flipping: boolean /** @@ -14322,36 +14333,36 @@ declare module "factorio:runtime" { * The crafting speed of this crafting-machine or character. * * _Can only be used if this is CraftingMachine or Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_crafting_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_crafting_speed Online documentation} */ get_crafting_speed(quality?: QualityID): double | nil /** * _Can only be used if this is Beacon, CraftingMachine, MiningDrill or Lab_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#quality_affects_module_slots Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#quality_affects_module_slots Online documentation} */ readonly quality_affects_module_slots?: boolean /** * _Can only be used if this is CraftingMachine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#module_slots_quality_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#module_slots_quality_bonus Online documentation} */ readonly module_slots_quality_bonus?: Record /** * The max number of ingredients this crafting machine prototype supports. * * _Can only be used if this is CraftingMachine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#ingredient_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#ingredient_count Online documentation} */ readonly ingredient_count?: uint32 /** * The max number of item products this crafting machine prototype supports. * * _Can only be used if this is CraftingMachine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#max_item_product_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#max_item_product_count Online documentation} */ readonly max_item_product_count?: uint32 /** * _Can only be used if this is CraftingMachine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#crafting_speed_quality_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#crafting_speed_quality_multiplier Online documentation} */ readonly crafting_speed_quality_multiplier?: Record /** @@ -14360,34 +14371,34 @@ declare module "factorio:runtime" { * The value in the dictionary is meaningless and exists just to allow for easy lookup. * * _Can only be used if this is CraftingMachine or Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#crafting_categories Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#crafting_categories Online documentation} */ readonly crafting_categories?: Record /** * _Can only be used if this is CraftingMachine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#quality_affects_energy_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#quality_affects_energy_usage Online documentation} */ readonly quality_affects_energy_usage?: boolean /** * _Can only be used if this is CraftingMachine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#energy_usage_quality_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#energy_usage_quality_multiplier Online documentation} */ readonly energy_usage_quality_multiplier?: Record /** * Effect receiver prototype of crafting machine, lab, mining drill, or agricultural tower. * * _Can only be used if this is CraftingMachine, Lab, MiningDrill or AgriculturalTower_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#effect_receiver Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#effect_receiver Online documentation} */ readonly effect_receiver?: EffectReceiver /** * _Can only be used if this is MiningDrill or CraftingMachine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#vector_to_place_result Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#vector_to_place_result Online documentation} */ readonly vector_to_place_result?: Vector /** * _Can only be used if this is CraftingMachine, MiningDrill or Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#use_mirroring Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#use_mirroring Online documentation} */ readonly use_mirroring?: boolean } @@ -14399,14 +14410,14 @@ declare module "factorio:runtime" { * The crafting speed of this crafting-machine or character. * * _Can only be used if this is CraftingMachine or Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_crafting_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_crafting_speed Online documentation} */ get_crafting_speed(quality?: QualityID): double | nil /** * The mining speed of this mining drill/character prototype. * * _Can only be used if this is MiningDrill or Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#mining_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#mining_speed Online documentation} */ readonly mining_speed?: double /** @@ -14415,7 +14426,7 @@ declare module "factorio:runtime" { * The value in the dictionary is meaningless and exists just to allow for easy lookup. * * _Can only be used if this is CraftingMachine or Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#crafting_categories Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#crafting_categories Online documentation} */ readonly crafting_categories?: Record /** @@ -14424,126 +14435,126 @@ declare module "factorio:runtime" { * The value in the dictionary is meaningless and exists just to allow for easy lookup. * * _Can only be used if this is MiningDrill or Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#resource_categories Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#resource_categories Online documentation} */ readonly resource_categories?: Record /** * Whether this unit, car, or character prototype has belt immunity. * * _Can only be used if this is Unit, Car or Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#has_belt_immunity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#has_belt_immunity Online documentation} */ readonly has_belt_immunity?: boolean /** * The movement speed of this character prototype. * * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#running_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#running_speed Online documentation} */ readonly running_speed?: double /** * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#maximum_corner_sliding_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#maximum_corner_sliding_distance Online documentation} */ readonly maximum_corner_sliding_distance?: double /** * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#build_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#build_distance Online documentation} */ readonly build_distance?: uint32 /** * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#drop_item_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#drop_item_distance Online documentation} */ readonly drop_item_distance?: uint32 /** * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#reach_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#reach_distance Online documentation} */ readonly reach_distance?: uint32 /** * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#reach_resource_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#reach_resource_distance Online documentation} */ readonly reach_resource_distance?: double /** * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#item_pickup_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#item_pickup_distance Online documentation} */ readonly item_pickup_distance?: double /** * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#loot_pickup_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#loot_pickup_distance Online documentation} */ readonly loot_pickup_distance?: double /** * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#enter_vehicle_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#enter_vehicle_distance Online documentation} */ readonly enter_vehicle_distance?: double /** * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#ticks_to_keep_gun Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#ticks_to_keep_gun Online documentation} */ readonly ticks_to_keep_gun?: uint32 /** * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#ticks_to_keep_aiming_direction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#ticks_to_keep_aiming_direction Online documentation} */ readonly ticks_to_keep_aiming_direction?: uint32 /** * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#ticks_to_stay_in_combat Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#ticks_to_stay_in_combat Online documentation} */ readonly ticks_to_stay_in_combat?: uint32 /** * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#respawn_time Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#respawn_time Online documentation} */ readonly respawn_time?: uint32 /** * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#damage_hit_tint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#damage_hit_tint Online documentation} */ readonly damage_hit_tint?: Color /** * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#character_corpse Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#character_corpse Online documentation} */ readonly character_corpse?: LuaEntityPrototype /** * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#grounded_landing_search_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#grounded_landing_search_radius Online documentation} */ readonly grounded_landing_search_radius?: double /** * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#tool_attack_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#tool_attack_distance Online documentation} */ readonly tool_attack_distance?: double /** * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#flying_collision_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#flying_collision_mask Online documentation} */ readonly flying_collision_mask?: CollisionMask /** * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#tool_attack_result Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#tool_attack_result Online documentation} */ readonly tool_attack_result?: TriggerItem[] /** * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#footstep_particle_triggers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#footstep_particle_triggers Online documentation} */ readonly footstep_particle_triggers?: LuaTable /** * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#synced_footstep_particle_triggers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#synced_footstep_particle_triggers Online documentation} */ readonly synced_footstep_particle_triggers?: LuaTable /** * _Can only be used if this is Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#footprint_particles Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#footprint_particles Online documentation} */ readonly footprint_particles?: LuaTable } @@ -14555,22 +14566,22 @@ declare module "factorio:runtime" { * The supply area of this electric pole or beacon prototype. * * _Can only be used if this is ElectricPole or Beacon_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_supply_area_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_supply_area_distance Online documentation} */ get_supply_area_distance(quality?: QualityID): double | nil /** * _Can only be used if this is ElectricPole_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#rewire_neighbours_when_destroying Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#rewire_neighbours_when_destroying Online documentation} */ readonly rewire_neighbours_when_destroying?: boolean /** * _Can only be used if this is ElectricPole_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#track_coverage_during_drag_building Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#track_coverage_during_drag_building Online documentation} */ readonly track_coverage_during_drag_building?: boolean /** * _Can only be used if this is ElectricPole_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#auto_connect_up_to_n_wires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#auto_connect_up_to_n_wires Online documentation} */ readonly auto_connect_up_to_n_wires?: uint8 } @@ -14582,45 +14593,45 @@ declare module "factorio:runtime" { * The supply area of this electric pole or beacon prototype. * * _Can only be used if this is ElectricPole or Beacon_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_supply_area_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_supply_area_distance Online documentation} */ get_supply_area_distance(quality?: QualityID): double | nil /** * _Can only be used if this is Beacon, CraftingMachine, MiningDrill or Lab_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#quality_affects_module_slots Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#quality_affects_module_slots Online documentation} */ readonly quality_affects_module_slots?: boolean /** * The distribution effectivity for this beacon prototype. * * _Can only be used if this is Beacon_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#distribution_effectivity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#distribution_effectivity Online documentation} */ readonly distribution_effectivity?: double /** * The distribution effectivity bonus per quality level for this beacon prototype. * * _Can only be used if this is Beacon_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#distribution_effectivity_bonus_per_quality_level Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#distribution_effectivity_bonus_per_quality_level Online documentation} */ readonly distribution_effectivity_bonus_per_quality_level?: double /** * The beacon profile: extra multiplier applied to the effects received from beacon by the effect receiver based on amount of beacons that reach that effect receiver * * _Can only be used if this is Beacon_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#profile Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#profile Online documentation} */ readonly profile?: double[] /** * The beacon counter used by effect receiver when deciding which sample to take from beacon profile. * * _Can only be used if this is Beacon_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#beacon_counter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#beacon_counter Online documentation} */ readonly beacon_counter?: "total" | "same_type" /** * _Can only be used if this is Beacon_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#quality_affects_supply_area_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#quality_affects_supply_area_distance Online documentation} */ readonly quality_affects_supply_area_distance?: boolean } @@ -14632,56 +14643,56 @@ declare module "factorio:runtime" { * The max energy for this flying robot prototype. * * _Can only be used if this is FlyingRobot_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_max_energy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_max_energy Online documentation} */ get_max_energy(quality?: QualityID): double | nil /** * The default speed of this flying robot, or unit. * * _Can only be used if this is FlyingRobot or Unit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#speed Online documentation} */ readonly speed?: double /** * The speed multiplier when this flying robot is out of energy. * * _Can only be used if this is FlyingRobot_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#speed_multiplier_when_out_of_energy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#speed_multiplier_when_out_of_energy Online documentation} */ readonly speed_multiplier_when_out_of_energy?: float /** * The energy consumed per tile moved for this flying robot. * * _Can only be used if this is FlyingRobot_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#energy_per_move Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#energy_per_move Online documentation} */ readonly energy_per_move?: double /** * The energy consumed per tick for this flying robot. * * _Can only be used if this is FlyingRobot_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#energy_per_tick Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#energy_per_tick Online documentation} */ readonly energy_per_tick?: double /** * The minimum energy for this flying robot before it tries to recharge. * * _Can only be used if this is FlyingRobot_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#min_to_charge Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#min_to_charge Online documentation} */ readonly min_to_charge?: float /** * The maximum energy for this flying robot above which it won't try to recharge when stationing. * * _Can only be used if this is FlyingRobot_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#max_to_charge Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#max_to_charge Online documentation} */ readonly max_to_charge?: float /** * The max speed of this projectile or flying robot prototype. * * _Can only be used if this is Projectile or FlyingRobot_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#max_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#max_speed Online documentation} */ readonly max_speed?: double } @@ -14693,122 +14704,122 @@ declare module "factorio:runtime" { * The extension speed of this inserter. * * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_inserter_extension_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_inserter_extension_speed Online documentation} */ get_inserter_extension_speed(quality?: QualityID): double | nil /** * The rotation speed of this inserter. * * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_inserter_rotation_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_inserter_rotation_speed Online documentation} */ get_inserter_rotation_speed(quality?: QualityID): double | nil /** * Whether this inserter is a bulk-type. * * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#bulk Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#bulk Online documentation} */ readonly bulk?: boolean /** * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#uses_inserter_stack_size_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#uses_inserter_stack_size_bonus Online documentation} */ readonly uses_inserter_stack_size_bonus?: boolean /** * Whether this inserter allows custom pickup and drop vectors. * * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#allow_custom_vectors Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#allow_custom_vectors Online documentation} */ readonly allow_custom_vectors?: boolean /** * Whether this inserter allows burner leeching. * * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#allow_burner_leech Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#allow_burner_leech Online documentation} */ readonly allow_burner_leech?: boolean /** * The pickup position for this inserter. * * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#inserter_pickup_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#inserter_pickup_position Online documentation} */ readonly inserter_pickup_position?: Vector /** * The drop position for this inserter. * * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#inserter_drop_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#inserter_drop_position Online documentation} */ readonly inserter_drop_position?: Vector /** * True if this inserter chases items on belts for pickup. * * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#inserter_chases_belt_items Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#inserter_chases_belt_items Online documentation} */ readonly inserter_chases_belt_items?: boolean /** * The max belt stack size for this inserter. * * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#inserter_max_belt_stack_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#inserter_max_belt_stack_size Online documentation} */ readonly inserter_max_belt_stack_size?: uint8 /** * The filter count of this inserter, loader, mining drill, roboport or logistic chest. For logistic containers, `nil` means no limit. * * _Can only be used if this is Inserter, Loader, LogisticContainer, MiningDrill or Roboport_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#filter_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#filter_count Online documentation} */ readonly filter_count?: uint32 /** * The built-in stack size bonus of this inserter prototype. * * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#inserter_stack_size_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#inserter_stack_size_bonus Online documentation} */ readonly inserter_stack_size_bonus?: uint32 /** * _Can only be used if this is CraftingMachine, MiningDrill or Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#use_mirroring Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#use_mirroring Online documentation} */ readonly use_mirroring?: boolean /** * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#energy_per_movement Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#energy_per_movement Online documentation} */ readonly energy_per_movement?: double /** * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#energy_per_rotation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#energy_per_rotation Online documentation} */ readonly energy_per_rotation?: double /** * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#use_easter_egg Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#use_easter_egg Online documentation} */ readonly use_easter_egg?: boolean /** * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#grab_less_to_match_belt_stack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#grab_less_to_match_belt_stack Online documentation} */ readonly grab_less_to_match_belt_stack?: boolean /** * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#wait_for_full_hand Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#wait_for_full_hand Online documentation} */ readonly wait_for_full_hand?: boolean /** * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#enter_drop_mode_if_held_stack_spoiled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#enter_drop_mode_if_held_stack_spoiled Online documentation} */ readonly enter_drop_mode_if_held_stack_spoiled?: boolean /** * _Can only be used if this is Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_stack_control_input_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_stack_control_input_signal Online documentation} */ readonly default_stack_control_input_signal?: SignalID } @@ -14820,45 +14831,45 @@ declare module "factorio:runtime" { * The base researching speed of this lab prototype. * * _Can only be used if this is Lab_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_researching_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_researching_speed Online documentation} */ get_researching_speed(quality?: QualityID): double | nil /** * _Can only be used if this is Beacon, CraftingMachine, MiningDrill or Lab_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#quality_affects_module_slots Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#quality_affects_module_slots Online documentation} */ readonly quality_affects_module_slots?: boolean /** * The item prototype names that are the inputs of this lab prototype. * * _Can only be used if this is Lab_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#lab_inputs Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#lab_inputs Online documentation} */ readonly lab_inputs?: string[] /** * If this lab uses the quality drain modifier when consuming science packs. * * _Can only be used if this is Lab_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#uses_quality_drain_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#uses_quality_drain_modifier Online documentation} */ readonly uses_quality_drain_modifier?: boolean /** * How much science pack durability is required to research one science point. * * _Can only be used if this is Lab_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#science_pack_drain_rate_percent Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#science_pack_drain_rate_percent Online documentation} */ readonly science_pack_drain_rate_percent?: uint8 /** * _Can only be used if this is Lab_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_technology_level_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_technology_level_signal Online documentation} */ readonly default_technology_level_signal?: SignalID /** * Effect receiver prototype of crafting machine, lab, mining drill, or agricultural tower. * * _Can only be used if this is CraftingMachine, Lab, MiningDrill or AgriculturalTower_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#effect_receiver Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#effect_receiver Online documentation} */ readonly effect_receiver?: EffectReceiver } @@ -14870,44 +14881,44 @@ declare module "factorio:runtime" { * The radius of the area this radar can chart, in chunks. * * _Can only be used if this is Radar_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_max_distance_of_sector_revealed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_max_distance_of_sector_revealed Online documentation} */ get_max_distance_of_sector_revealed(quality?: QualityID): uint32 | nil /** * The radius of the area constantly revealed by this radar, or cargo landing pad, in chunks. * * _Can only be used if this is Radar or CargoLandingPad_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_max_distance_of_nearby_sector_revealed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_max_distance_of_nearby_sector_revealed Online documentation} */ get_max_distance_of_nearby_sector_revealed(quality?: QualityID): uint32 | nil /** * _Can only be used if this is Radar_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#energy_per_sector Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#energy_per_sector Online documentation} */ readonly energy_per_sector?: double /** * _Can only be used if this is Radar_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#energy_per_nearby_scan Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#energy_per_nearby_scan Online documentation} */ readonly energy_per_nearby_scan?: double /** * _Can only be used if this is Radar_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#connects_to_other_radars Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#connects_to_other_radars Online documentation} */ readonly connects_to_other_radars?: boolean /** * _Can only be used if this is Radar_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#energy_fraction_to_connect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#energy_fraction_to_connect Online documentation} */ readonly energy_fraction_to_connect?: float /** * _Can only be used if this is Radar_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#energy_fraction_to_disconnect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#energy_fraction_to_disconnect Online documentation} */ readonly energy_fraction_to_disconnect?: float /** * _Can only be used if this is Radar_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_universe_channel Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_universe_channel Online documentation} */ readonly default_universe_channel?: SignalID } @@ -14919,22 +14930,22 @@ declare module "factorio:runtime" { * The radius of the area constantly revealed by this radar, or cargo landing pad, in chunks. * * _Can only be used if this is Radar or CargoLandingPad_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_max_distance_of_nearby_sector_revealed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_max_distance_of_nearby_sector_revealed Online documentation} */ get_max_distance_of_nearby_sector_revealed(quality?: QualityID): uint32 | nil /** * _Can only be used if this is CargoBay or CargoLandingPad_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#connectable_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#connectable_box Online documentation} */ readonly connectable_box?: BoundingBox /** * _Can only be used if this is CargoLandingPad or SpacePlatformHub_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#cargo_station_parameters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#cargo_station_parameters Online documentation} */ readonly cargo_station_parameters?: CargoStationParameters /** * _Can only be used if this is Container, LinkedContainer, ProxyContainer, SpacePlatformHub or CargoLandingPad_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_empty_slots_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_empty_slots_signal Online documentation} */ readonly default_empty_slots_signal?: SignalID } @@ -14946,78 +14957,78 @@ declare module "factorio:runtime" { * The fluid usage of this generator, fusion generator or fusion reactor prototype. * * _Can only be used if this is Generator, FusionGenerator or FusionReactor_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_fluid_usage_per_tick Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_fluid_usage_per_tick Online documentation} */ get_fluid_usage_per_tick(quality?: QualityID): double | nil /** * The maximum power output of this burner generator or generator prototype. * * _Can only be used if this is BurnerGenerator or Generator_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_max_power_output Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_max_power_output Online documentation} */ get_max_power_output(quality?: QualityID): double | nil /** * The effectivity of this car prototype, generator prototype. * * _Can only be used if this is Car, Generator or FusionGenerator_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#effectivity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#effectivity Online documentation} */ readonly effectivity?: double /** * The maximum fluid temperature of this generator prototype. * * _Can only be used if this is Generator_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#maximum_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#maximum_temperature Online documentation} */ readonly maximum_temperature?: double /** * Whether this generator prototype burns fluid. * * _Can only be used if this is Generator or FusionGenerator_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#burns_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#burns_fluid Online documentation} */ readonly burns_fluid?: boolean /** * Whether this generator prototype scales fluid usage. * * _Can only be used if this is Generator_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#scale_fluid_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#scale_fluid_usage Online documentation} */ readonly scale_fluid_usage?: boolean /** * Whether this generator prototype destroys non-fuel fluids. * * _Can only be used if this is Generator_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#destroy_non_fuel_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#destroy_non_fuel_fluid Online documentation} */ readonly destroy_non_fuel_fluid?: boolean /** * _Can only be used if this is Generator_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#spent_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#spent_fluid Online documentation} */ readonly spent_fluid?: SpentFluidSpecification /** * The minimum input temperature that this prototype accepts, if specified. An input fluid below this temperature will cause the machine to stop working. * * _Can only be used if this is Boiler, FusionGenerator, FusionReactor, Generator or MiningDrill_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#minimum_input_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#minimum_input_temperature Online documentation} */ readonly minimum_input_temperature?: float /** * The maximum input temperature that this prototype accepts, if specified. An input fluid above this temperature will cause the machine to stop working. * * _Can only be used if this is Boiler, FusionGenerator, FusionReactor, Generator or MiningDrill_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#maximum_input_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#maximum_input_temperature Online documentation} */ readonly maximum_input_temperature?: float /** * _Can only be used if this is StorageTank, FusionReactor or Generator_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#two_direction_only Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#two_direction_only Online documentation} */ readonly two_direction_only?: boolean /** * _Can only be used if this is Fire, Stream, Generator, ParticleSource or Projectile_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#smoke_sources Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#smoke_sources Online documentation} */ readonly smoke_sources?: SmokeSource[] } @@ -15029,35 +15040,35 @@ declare module "factorio:runtime" { * The fluid usage of this generator, fusion generator or fusion reactor prototype. * * _Can only be used if this is Generator, FusionGenerator or FusionReactor_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_fluid_usage_per_tick Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_fluid_usage_per_tick Online documentation} */ get_fluid_usage_per_tick(quality?: QualityID): double | nil /** * The effectivity of this car prototype, generator prototype. * * _Can only be used if this is Car, Generator or FusionGenerator_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#effectivity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#effectivity Online documentation} */ readonly effectivity?: double /** * Whether this generator prototype burns fluid. * * _Can only be used if this is Generator or FusionGenerator_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#burns_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#burns_fluid Online documentation} */ readonly burns_fluid?: boolean /** * The minimum input temperature that this prototype accepts, if specified. An input fluid below this temperature will cause the machine to stop working. * * _Can only be used if this is Boiler, FusionGenerator, FusionReactor, Generator or MiningDrill_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#minimum_input_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#minimum_input_temperature Online documentation} */ readonly minimum_input_temperature?: float /** * The maximum input temperature that this prototype accepts, if specified. An input fluid above this temperature will cause the machine to stop working. * * _Can only be used if this is Boiler, FusionGenerator, FusionReactor, Generator or MiningDrill_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#maximum_input_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#maximum_input_temperature Online documentation} */ readonly maximum_input_temperature?: float } @@ -15069,48 +15080,48 @@ declare module "factorio:runtime" { * The fluid usage of this generator, fusion generator or fusion reactor prototype. * * _Can only be used if this is Generator, FusionGenerator or FusionReactor_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_fluid_usage_per_tick Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_fluid_usage_per_tick Online documentation} */ get_fluid_usage_per_tick(quality?: QualityID): double | nil /** * The minimum input temperature that this prototype accepts, if specified. An input fluid below this temperature will cause the machine to stop working. * * _Can only be used if this is Boiler, FusionGenerator, FusionReactor, Generator or MiningDrill_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#minimum_input_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#minimum_input_temperature Online documentation} */ readonly minimum_input_temperature?: float /** * The maximum input temperature that this prototype accepts, if specified. An input fluid above this temperature will cause the machine to stop working. * * _Can only be used if this is Boiler, FusionGenerator, FusionReactor, Generator or MiningDrill_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#maximum_input_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#maximum_input_temperature Online documentation} */ readonly maximum_input_temperature?: float /** * The target temperature of this boiler or fusion reactor prototype. If `nil` on a fusion reactor, the target temperature is the default temperature of the output fluid. If specified on a boiler, an input fluid above this temperature will cause the boiler to stop working. * * _Can only be used if this is Boiler or FusionReactor_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#target_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#target_temperature Online documentation} */ readonly target_temperature?: float /** * _Can only be used if this is Reactor or FusionReactor_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#neighbour_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#neighbour_bonus Online documentation} */ readonly neighbour_bonus?: double /** * _Can only be used if this is StorageTank, FusionReactor or Generator_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#two_direction_only Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#two_direction_only Online documentation} */ readonly two_direction_only?: boolean /** * _Can only be used if this is FusionReactor_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#perceived_performance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#perceived_performance Online documentation} */ readonly perceived_performance?: PerceivedPerformance /** * _Can only be used if this is Reactor or FusionReactor_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#neighbour_connectable Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#neighbour_connectable Online documentation} */ readonly neighbour_connectable?: NeighbourConnectable } @@ -15122,7 +15133,7 @@ declare module "factorio:runtime" { * The maximum power output of this burner generator or generator prototype. * * _Can only be used if this is BurnerGenerator or Generator_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_max_power_output Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_max_power_output Online documentation} */ get_max_power_output(quality?: QualityID): double | nil } @@ -15134,17 +15145,17 @@ declare module "factorio:runtime" { * The pumping speed of this offshore pump or normal pump. * * _Can only be used if this is OffshorePump or Pump_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_pumping_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_pumping_speed Online documentation} */ get_pumping_speed(quality?: QualityID): double | nil /** * _Can only be used if this is OffshorePump_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#fluid_source_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#fluid_source_offset Online documentation} */ readonly fluid_source_offset?: Vector /** * _Can only be used if this is OffshorePump_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#remove_on_tile_collision Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#remove_on_tile_collision Online documentation} */ readonly remove_on_tile_collision?: boolean } @@ -15156,22 +15167,22 @@ declare module "factorio:runtime" { * The pumping speed of this offshore pump or normal pump. * * _Can only be used if this is OffshorePump or Pump_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_pumping_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_pumping_speed Online documentation} */ get_pumping_speed(quality?: QualityID): double | nil /** * _Can only be used if this is Pump_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#flow_scaling Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#flow_scaling Online documentation} */ readonly flow_scaling?: boolean /** * _Can only be used if this is Pump_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#fluid_wagon_connector_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#fluid_wagon_connector_speed Online documentation} */ readonly fluid_wagon_connector_speed?: double /** * _Can only be used if this is Pump_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#fluid_wagon_tank_valve_max_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#fluid_wagon_tank_valve_max_distance Online documentation} */ readonly fluid_wagon_tank_valve_max_distance?: double } @@ -15183,21 +15194,21 @@ declare module "factorio:runtime" { * The maximum flow rate through this valve. * * _Can only be used if this is Valve_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_valve_flow_rate Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_valve_flow_rate Online documentation} */ get_valve_flow_rate(quality?: QualityID): double | nil /** * The mode of operation of this valve. * * _Can only be used if this is Valve_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#valve_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#valve_mode Online documentation} */ readonly valve_mode?: ValveMode /** * The default threshold of this valve. * * _Can only be used if this is Valve_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#valve_threshold Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#valve_threshold Online documentation} */ readonly valve_threshold?: float } @@ -15209,86 +15220,86 @@ declare module "factorio:runtime" { * The maximum speed of this rolling stock if defined. * * _Can only be used if this is RollingStock_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_max_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_max_speed Online documentation} */ get_max_speed(quality?: QualityID): double | nil /** * The air resistance of this rolling stock prototype. * * _Can only be used if this is RollingStock_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#air_resistance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#air_resistance Online documentation} */ readonly air_resistance?: double /** * Vertical selection shift used by rolling stocks. It affects selection box vertical position but is also used to shift rolling stock graphics along the rails to fine tune train's look. * * _Can only be used if this is RollingStock_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#vertical_selection_shift Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#vertical_selection_shift Online documentation} */ readonly vertical_selection_shift?: double /** * _Can only be used if this is RollingStock_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#connection_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#connection_distance Online documentation} */ readonly connection_distance?: double /** * _Can only be used if this is RollingStock_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#joint_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#joint_distance Online documentation} */ readonly joint_distance?: double /** * _Can only be used if this is RollingStock_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#drive_over_tie_trigger Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#drive_over_tie_trigger Online documentation} */ readonly drive_over_tie_trigger?: TriggerEffectItem[] /** * _Can only be used if this is RollingStock_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#drive_over_tie_trigger_minimal_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#drive_over_tie_trigger_minimal_speed Online documentation} */ readonly drive_over_tie_trigger_minimal_speed?: double /** * _Can only be used if this is RollingStock_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#tie_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#tie_distance Online documentation} */ readonly tie_distance?: double /** * _Can only be used if this is RollingStock_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#allow_manual_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#allow_manual_color Online documentation} */ readonly allow_manual_color?: boolean /** * _Can only be used if this is RollingStock_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#allow_robot_dispatch_in_automatic_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#allow_robot_dispatch_in_automatic_mode Online documentation} */ readonly allow_robot_dispatch_in_automatic_mode?: boolean /** * _Can only be used if this is RollingStock_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_copy_color_from_train_stop Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_copy_color_from_train_stop Online documentation} */ readonly default_copy_color_from_train_stop?: boolean /** * _Can only be used if this is RollingStock_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#quality_affects_max_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#quality_affects_max_speed Online documentation} */ readonly quality_affects_max_speed?: boolean /** * _Can only be used if this is RollingStock_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#transition_collision_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#transition_collision_mask Online documentation} */ readonly transition_collision_mask?: CollisionMask /** * _Can only be used if this is RollingStock or RailSignalBase_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#elevated_collision_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#elevated_collision_mask Online documentation} */ readonly elevated_collision_mask?: CollisionMask /** * _Can only be used if this is RollingStock or RailSignalBase_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#elevated_selection_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#elevated_selection_priority Online documentation} */ readonly elevated_selection_priority?: uint8 /** * _Can only be used if this is RollingStock_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#drive_over_elevated_tie_trigger Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#drive_over_elevated_tie_trigger Online documentation} */ readonly drive_over_elevated_tie_trigger?: TriggerEffectItem[] } @@ -15298,14 +15309,14 @@ declare module "factorio:runtime" { export interface StickerEntityPrototype extends BaseEntityPrototype { /** * _Can only be used if this is Sticker_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_duration Online documentation} */ get_duration(quality?: QualityID): uint32 | nil /** * The trigger effects to run every tick when on cooldown. * * _Can only be used if this is Segment or Sticker_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#update_effects Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#update_effects Online documentation} */ readonly update_effects?: TriggerEffectWithCooldown[] /** @@ -15314,17 +15325,17 @@ declare module "factorio:runtime" { * For stickers the damage is applied every {@link LuaEntityPrototype#damage_interval LuaEntityPrototype::damage_interval} ticks. * * _Can only be used if this is Lightning or Sticker_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#damage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#damage Online documentation} */ readonly damage?: DamageParameters /** * _Can only be used if this is Beam or Sticker_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#damage_interval Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#damage_interval Online documentation} */ readonly damage_interval?: uint32 /** * _Can only be used if this is Sticker_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#sticker_movement_modifiers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#sticker_movement_modifiers Online documentation} */ readonly sticker_movement_modifiers?: { readonly target_movement_modifier_from: float @@ -15334,7 +15345,7 @@ declare module "factorio:runtime" { } /** * _Can only be used if this is Sticker_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#sticker_vehicle_modifiers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#sticker_vehicle_modifiers Online documentation} */ readonly sticker_vehicle_modifiers?: { readonly vehicle_speed_modifier_from: float @@ -15346,37 +15357,37 @@ declare module "factorio:runtime" { } /** * _Can only be used if this is Sticker_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#fire_spread_entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#fire_spread_entity Online documentation} */ readonly fire_spread_entity?: LuaEntityPrototype /** * _Can only be used if this is Sticker_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#fire_spread_cooldown Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#fire_spread_cooldown Online documentation} */ readonly fire_spread_cooldown?: uint8 /** * _Can only be used if this is Sticker_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#fire_spread_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#fire_spread_radius Online documentation} */ readonly fire_spread_radius?: float /** * _Can only be used if this is Sticker_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#stickers_per_square_meter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#stickers_per_square_meter Online documentation} */ readonly stickers_per_square_meter?: float /** * _Can only be used if this is Sticker_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#should_ground_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#should_ground_target Online documentation} */ readonly should_ground_target?: boolean /** * _Can only be used if this is Sticker, Projectile or SimpleEntityWithOwner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#force_visibility Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#force_visibility Online documentation} */ readonly force_visibility?: ForceCondition /** * _Can only be used if this is Sticker_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#use_damage_substitute Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#use_damage_substitute Online documentation} */ readonly use_damage_substitute?: boolean } @@ -15386,32 +15397,32 @@ declare module "factorio:runtime" { export interface CargoBayEntityPrototype extends BaseEntityPrototype { /** * _Can only be used if this is CargoBay_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_inventory_size_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_inventory_size_bonus Online documentation} */ get_inventory_size_bonus(quality?: QualityID): ItemStackIndex | nil /** * _Can only be used if this is CargoBay_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#has_direction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#has_direction Online documentation} */ readonly has_direction?: boolean /** * _Can only be used if this is CargoBay_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#allow_unloading Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#allow_unloading Online documentation} */ readonly allow_unloading?: boolean /** * _Can only be used if this is CargoBay_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#use_unloading_distance_limit Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#use_unloading_distance_limit Online documentation} */ readonly use_unloading_distance_limit?: boolean /** * _Can only be used if this is CargoBay_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#hatch_definitions Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#hatch_definitions Online documentation} */ readonly hatch_definitions?: CargoHatchDefinition[] /** * _Can only be used if this is CargoBay or CargoLandingPad_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#connectable_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#connectable_box Online documentation} */ readonly connectable_box?: BoundingBox } @@ -15423,59 +15434,59 @@ declare module "factorio:runtime" { * The mining radius of this mining drill prototype. * * _Can only be used if this is MiningDrill_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_mining_drill_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_mining_drill_radius Online documentation} */ get_mining_drill_radius(quality?: QualityID): double | nil /** * The mining radius of this mining drill prototype. * * _Can only be used if this is MiningDrill_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#mining_drill_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#mining_drill_radius Online documentation} */ readonly mining_drill_radius?: double /** * If this mining drill puts full belt stacks onto belts. * * _Can only be used if this is MiningDrill_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#drops_full_belt_stacks Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#drops_full_belt_stacks Online documentation} */ readonly drops_full_belt_stacks?: boolean /** * _Can only be used if this is MiningDrill_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#quality_affects_mining_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#quality_affects_mining_radius Online documentation} */ readonly quality_affects_mining_radius?: boolean /** * The mining speed of this mining drill/character prototype. * * _Can only be used if this is MiningDrill or Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#mining_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#mining_speed Online documentation} */ readonly mining_speed?: double /** * The resource drain rate percent of this mining drill prototype. * * _Can only be used if this is MiningDrill_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#resource_drain_rate_percent Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#resource_drain_rate_percent Online documentation} */ readonly resource_drain_rate_percent?: uint8 /** * If this drill uses force productivity bonus * * _Can only be used if this is MiningDrill_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#uses_force_mining_productivity_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#uses_force_mining_productivity_bonus Online documentation} */ readonly uses_force_mining_productivity_bonus?: boolean /** * If this drill requires minable resources before it can be placed. * * _Can only be used if this is MiningDrill_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#require_resources_to_place Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#require_resources_to_place Online documentation} */ readonly require_resources_to_place?: boolean /** * _Can only be used if this is Beacon, CraftingMachine, MiningDrill or Lab_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#quality_affects_module_slots Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#quality_affects_module_slots Online documentation} */ readonly quality_affects_module_slots?: boolean /** @@ -15484,50 +15495,50 @@ declare module "factorio:runtime" { * The value in the dictionary is meaningless and exists just to allow for easy lookup. * * _Can only be used if this is MiningDrill or Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#resource_categories Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#resource_categories Online documentation} */ readonly resource_categories?: Record /** * The minimum input temperature that this prototype accepts, if specified. An input fluid below this temperature will cause the machine to stop working. * * _Can only be used if this is Boiler, FusionGenerator, FusionReactor, Generator or MiningDrill_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#minimum_input_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#minimum_input_temperature Online documentation} */ readonly minimum_input_temperature?: float /** * The maximum input temperature that this prototype accepts, if specified. An input fluid above this temperature will cause the machine to stop working. * * _Can only be used if this is Boiler, FusionGenerator, FusionReactor, Generator or MiningDrill_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#maximum_input_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#maximum_input_temperature Online documentation} */ readonly maximum_input_temperature?: float /** * The filter count of this inserter, loader, mining drill, roboport or logistic chest. For logistic containers, `nil` means no limit. * * _Can only be used if this is Inserter, Loader, LogisticContainer, MiningDrill or Roboport_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#filter_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#filter_count Online documentation} */ readonly filter_count?: uint32 /** * Effect receiver prototype of crafting machine, lab, mining drill, or agricultural tower. * * _Can only be used if this is CraftingMachine, Lab, MiningDrill or AgriculturalTower_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#effect_receiver Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#effect_receiver Online documentation} */ readonly effect_receiver?: EffectReceiver /** * _Can only be used if this is MiningDrill or CraftingMachine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#vector_to_place_result Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#vector_to_place_result Online documentation} */ readonly vector_to_place_result?: Vector /** * _Can only be used if this is CraftingMachine, MiningDrill or Inserter_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#use_mirroring Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#use_mirroring Online documentation} */ readonly use_mirroring?: boolean /** * _Can only be used if this is MiningDrill_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#shuffle_resources_to_mine Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#shuffle_resources_to_mine Online documentation} */ readonly shuffle_resources_to_mine?: boolean } @@ -15537,12 +15548,12 @@ declare module "factorio:runtime" { export interface LightningAttractorEntityPrototype extends BaseEntityPrototype { /** * _Can only be used if this is LightningAttractor_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_attraction_range_elongation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_attraction_range_elongation Online documentation} */ get_attraction_range_elongation(quality?: QualityID): double | nil /** * _Can only be used if this is LightningAttractor_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#get_energy_distribution_efficiency Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#get_energy_distribution_efficiency Online documentation} */ get_energy_distribution_efficiency(quality?: QualityID): double | nil } @@ -15551,28 +15562,28 @@ declare module "factorio:runtime" { * Whether this resource is infinite. * * _Can only be used if this is ResourceEntity_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#infinite_resource Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#infinite_resource Online documentation} */ readonly infinite_resource?: boolean /** * Minimum amount of this resource. * * _Can only be used if this is ResourceEntity_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#minimum_resource_amount Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#minimum_resource_amount Online documentation} */ readonly minimum_resource_amount?: uint32 /** * The normal amount for this resource. * * _Can only be used if this is ResourceEntity_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#normal_resource_amount Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#normal_resource_amount Online documentation} */ readonly normal_resource_amount?: uint32 /** * Every time this infinite resource 'ticks' down, it is reduced by this amount. Meaningless if this isn't an infinite resource. * * _Can only be used if this is ResourceEntity_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#infinite_depletion_resource_amount Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#infinite_depletion_resource_amount Online documentation} */ readonly infinite_depletion_resource_amount?: uint32 /** @@ -15581,113 +15592,113 @@ declare module "factorio:runtime" { * During data stage, this property is named "category". * * _Can only be used if this is ResourceEntity_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#resource_category Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#resource_category Online documentation} */ readonly resource_category?: string /** * _Can only be used if this is ResourceEntity_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#map_grid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#map_grid Online documentation} */ readonly map_grid?: boolean /** * _Can only be used if this is ResourceEntity_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#resource_patch_search_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#resource_patch_search_radius Online documentation} */ readonly resource_patch_search_radius?: uint32 /** * _Can only be used if this is ResourceEntity_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#tree_removal_probability Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#tree_removal_probability Online documentation} */ readonly tree_removal_probability?: double /** * _Can only be used if this is ResourceEntity_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#cliff_removal_probability Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#cliff_removal_probability Online documentation} */ readonly cliff_removal_probability?: double /** * _Can only be used if this is ResourceEntity_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#tree_removal_max_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#tree_removal_max_distance Online documentation} */ readonly tree_removal_max_distance?: double } export interface TurretEntityPrototype extends BaseEntityPrototype { /** * _Can only be used if this is Turret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#attack_target_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#attack_target_mask Online documentation} */ readonly attack_target_mask?: TriggerTargetMask /** * _Can only be used if this is Turret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#ignore_target_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#ignore_target_mask Online documentation} */ readonly ignore_target_mask?: TriggerTargetMask /** * _Can only be used if this is Turret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#folded_turret_corpses Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#folded_turret_corpses Online documentation} */ readonly folded_turret_corpses?: Record /** * The range of this turret. * * _Can only be used if this is Turret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#turret_range Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#turret_range Online documentation} */ readonly turret_range?: uint32 /** * _Can only be used if this is Turret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#turret_prepare_range Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#turret_prepare_range Online documentation} */ readonly turret_prepare_range?: double /** * Whether this turret raises an alert when attacking * * _Can only be used if this is Turret or ArtilleryTurret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#alert_when_attacking Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#alert_when_attacking Online documentation} */ readonly alert_when_attacking?: boolean /** * _Can only be used if this is Spawner or Turret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#call_for_help_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#call_for_help_radius Online documentation} */ readonly call_for_help_radius?: double /** * _Can only be used if this is Spawner or Turret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#spawn_decoration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#spawn_decoration Online documentation} */ readonly spawn_decoration?: TriggerEffectItem[] /** * _Can only be used if this is Spawner or Turret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#spawn_decorations_on_expansion Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#spawn_decorations_on_expansion Online documentation} */ readonly spawn_decorations_on_expansion?: boolean /** * _Can only be used if this is Turret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#start_attacking_only_when_can_shoot Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#start_attacking_only_when_can_shoot Online documentation} */ readonly start_attacking_only_when_can_shoot?: boolean /** * _Can only be used if this is Turret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#leave_attacking_if_shoot_fails Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#leave_attacking_if_shoot_fails Online documentation} */ readonly leave_attacking_if_shoot_fails?: boolean /** * _Can only be used if this is Turret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#shoot_in_prepare_state Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#shoot_in_prepare_state Online documentation} */ readonly shoot_in_prepare_state?: boolean /** * _Can only be used if this is Turret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#allow_turning_when_starting_attack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#allow_turning_when_starting_attack Online documentation} */ readonly allow_turning_when_starting_attack?: boolean /** * _Can only be used if this is Turret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#can_retarget_while_starting_attack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#can_retarget_while_starting_attack Online documentation} */ readonly can_retarget_while_starting_attack?: boolean /** * _Can only be used if this is Turret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#turret_base_has_direction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#turret_base_has_direction Online documentation} */ readonly turret_base_has_direction?: boolean } @@ -15696,70 +15707,70 @@ declare module "factorio:runtime" { * Corpses used when this entity is destroyed. It is a dictionary indexed by the corpse's prototype name. * * _Can only be used if this is EntityWithHealth_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#corpses Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#corpses Online documentation} */ readonly corpses?: Record /** * List of resistances towards each damage type. It is a dictionary indexed by damage type names (see `data/base/prototypes/damage-type.lua`). * * _Can only be used if this is EntityWithHealth_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#resistances Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#resistances Online documentation} */ readonly resistances?: Record /** * Loot that will be dropped when this entity is killed, if any. * * _Can only be used if this is EntityWithHealth_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#loot Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#loot Online documentation} */ readonly loot?: ItemProduct[] /** * Repair-speed modifier for this entity, if any. Actual repair speed will be `tool_repair_speed * entity_repair_speed_modifier`. * * _Can only be used if this is EntityWithHealth_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#repair_speed_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#repair_speed_modifier Online documentation} */ readonly repair_speed_modifier?: float /** * Whether this entity raises an alert when damaged. * * _Can only be used if this is EntityWithHealth_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#alert_when_damaged Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#alert_when_damaged Online documentation} */ readonly alert_when_damaged?: boolean /** * _Can only be used if this is EntityWithHealth_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#overkill_fraction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#overkill_fraction Online documentation} */ readonly overkill_fraction?: float /** * _Can only be used if this is EntityWithHealth_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#dying_explosion Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#dying_explosion Online documentation} */ readonly dying_explosion?: ExplosionDefinition[] /** * _Can only be used if this is EntityWithHealth_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#dying_trigger_effect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#dying_trigger_effect Online documentation} */ readonly dying_trigger_effect?: TriggerEffectItem[] /** * _Can only be used if this is EntityWithHealth_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#damaged_trigger_effect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#damaged_trigger_effect Online documentation} */ readonly damaged_trigger_effect?: TriggerEffectItem[] /** * _Can only be used if this is EntityWithHealth_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#attack_reaction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#attack_reaction Online documentation} */ readonly attack_reaction?: AttackReactionItem[] /** * _Can only be used if this is EntityWithHealth_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#hide_resistances Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#hide_resistances Online documentation} */ readonly hide_resistances?: boolean /** * _Can only be used if this is EntityWithHealth_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#random_corpse_variation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#random_corpse_variation Online documentation} */ readonly random_corpse_variation?: boolean } @@ -15768,49 +15779,49 @@ declare module "factorio:runtime" { * The weight of this vehicle prototype. * * _Can only be used if this is Vehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#weight Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#weight Online documentation} */ readonly weight?: double /** * The friction of this vehicle prototype. * * _Can only be used if this is Vehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#friction_force Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#friction_force Online documentation} */ readonly friction_force?: double /** * The braking force of this vehicle prototype. * * _Can only be used if this is Vehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#braking_force Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#braking_force Online documentation} */ readonly braking_force?: double /** * The energy used per hit point taken for this vehicle during collisions. * * _Can only be used if this is Vehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#energy_per_hit_point Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#energy_per_hit_point Online documentation} */ readonly energy_per_hit_point?: double /** * The terrain friction modifier for this vehicle. * * _Can only be used if this is Vehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#terrain_friction_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#terrain_friction_modifier Online documentation} */ readonly terrain_friction_modifier?: float /** * Whether this vehicle allows passengers. * * _Can only be used if this is Vehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#allow_passengers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#allow_passengers Online documentation} */ readonly allow_passengers?: boolean /** * The chunk exploration radius of this vehicle prototype. * * _Can only be used if this is Vehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#chunk_exploration_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#chunk_exploration_radius Online documentation} */ readonly chunk_exploration_radius?: double } @@ -15819,24 +15830,24 @@ declare module "factorio:runtime" { * Weight which this entity adds to total space platform weight when placed. * * _Can only be used if this is SpacePlatformHub_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#platform_weight Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#platform_weight Online documentation} */ readonly platform_weight?: Weight /** * Repair speed of entities is multiplied by this value when they are on a space platform with this hub prototype. * * _Can only be used if this is SpacePlatformHub_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#platform_repair_speed_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#platform_repair_speed_modifier Online documentation} */ readonly platform_repair_speed_modifier?: float /** * _Can only be used if this is CargoLandingPad or SpacePlatformHub_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#cargo_station_parameters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#cargo_station_parameters Online documentation} */ readonly cargo_station_parameters?: CargoStationParameters /** * _Can only be used if this is Container, LinkedContainer, ProxyContainer, SpacePlatformHub or CargoLandingPad_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_empty_slots_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_empty_slots_signal Online documentation} */ readonly default_empty_slots_signal?: SignalID } @@ -15845,7 +15856,7 @@ declare module "factorio:runtime" { * The speed of this transport belt. * * _Can only be used if this is TransportBeltConnectable_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#belt_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#belt_speed Online documentation} */ readonly belt_speed?: double } @@ -15854,14 +15865,14 @@ declare module "factorio:runtime" { * The result units and spawn points with weight and evolution factor for a biter spawner entity. * * _Can only be used if this is Spawner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#result_units Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#result_units Online documentation} */ readonly result_units?: UnitSpawnDefinition[] /** * The spawning cooldown for this enemy spawner prototype. * * _Can only be used if this is Spawner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#spawn_cooldown Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#spawn_cooldown Online documentation} */ readonly spawn_cooldown?: { readonly min: double @@ -15871,96 +15882,96 @@ declare module "factorio:runtime" { * The minimum darkness at which this unit spawner can spawn entities. * * _Can only be used if this is Spawner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#min_darkness_to_spawn Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#min_darkness_to_spawn Online documentation} */ readonly min_darkness_to_spawn?: float /** * The maximum darkness at which this unit spawner can spawn entities. * * _Can only be used if this is Spawner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#max_darkness_to_spawn Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#max_darkness_to_spawn Online documentation} */ readonly max_darkness_to_spawn?: float /** * _Can only be used if this is Spawner or Turret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#call_for_help_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#call_for_help_radius Online documentation} */ readonly call_for_help_radius?: double /** * Count of enemies this spawner can sustain. * * _Can only be used if this is Spawner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#max_count_of_owned_units Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#max_count_of_owned_units Online documentation} */ readonly max_count_of_owned_units?: double /** * Count of defensive enemies this spawner can sustain. * * _Can only be used if this is Spawner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#max_count_of_owned_defensive_units Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#max_count_of_owned_defensive_units Online documentation} */ readonly max_count_of_owned_defensive_units?: double /** * How many friendly units are required within the spawning_radius of this spawner for it to stop producing more units. * * _Can only be used if this is Spawner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#max_friends_around_to_spawn Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#max_friends_around_to_spawn Online documentation} */ readonly max_friends_around_to_spawn?: double /** * How many defensive friendly units are required within the spawning_radius of this spawner for it to stop producing more units. * * _Can only be used if this is Spawner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#max_defensive_friends_around_to_spawn Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#max_defensive_friends_around_to_spawn Online documentation} */ readonly max_defensive_friends_around_to_spawn?: double /** * How far from the spawner can the units be spawned. * * _Can only be used if this is Spawner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#spawning_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#spawning_radius Online documentation} */ readonly spawning_radius?: double /** * What spaces should be between the spawned units. * * _Can only be used if this is Spawner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#spawning_spacing Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#spawning_spacing Online documentation} */ readonly spawning_spacing?: double /** * _Can only be used if this is Spawner or Turret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#spawn_decoration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#spawn_decoration Online documentation} */ readonly spawn_decoration?: TriggerEffectItem[] /** * _Can only be used if this is Spawner or Turret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#spawn_decorations_on_expansion Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#spawn_decorations_on_expansion Online documentation} */ readonly spawn_decorations_on_expansion?: boolean /** * _Can only be used if this is Spawner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#captured_spawner_entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#captured_spawner_entity Online documentation} */ readonly captured_spawner_entity?: LuaEntityPrototype /** * _Can only be used if this is Spawner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#max_richness_for_spawn_shift Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#max_richness_for_spawn_shift Online documentation} */ readonly max_richness_for_spawn_shift?: double /** * _Can only be used if this is Spawner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#absorptions_per_second Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#absorptions_per_second Online documentation} */ readonly absorptions_per_second?: Record /** * _Can only be used if this is Spawner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#time_to_capture Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#time_to_capture Online documentation} */ readonly time_to_capture?: MapTick /** * _Can only be used if this is Spawner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#spawn_blocked_trigger Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#spawn_blocked_trigger Online documentation} */ readonly spawn_blocked_trigger?: TriggerItem[] } @@ -15969,76 +15980,76 @@ declare module "factorio:runtime" { * The final attack result for this entity if it has one. * * _Can only be used if this is Projectile or ArtilleryProjectile_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#final_attack_result Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#final_attack_result Online documentation} */ readonly final_attack_result?: TriggerItem[] /** * The max speed of this projectile or flying robot prototype. * * _Can only be used if this is Projectile or FlyingRobot_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#max_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#max_speed Online documentation} */ readonly max_speed?: double /** * The height of this spider unit, spider vehicle or projectile. * * _Can only be used if this is SpiderUnit, SpiderVehicle or Projectile_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#height Online documentation} */ readonly height?: double /** * _Can only be used if this is Sticker, Projectile or SimpleEntityWithOwner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#force_visibility Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#force_visibility Online documentation} */ readonly force_visibility?: ForceCondition /** * _Can only be used if this is Fire, Stream, Generator, ParticleSource or Projectile_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#smoke_sources Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#smoke_sources Online documentation} */ readonly smoke_sources?: SmokeSource[] /** * _Can only be used if this is Projectile_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#rotatable Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#rotatable Online documentation} */ readonly rotatable?: boolean /** * _Can only be used if this is Projectile_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#direction_only Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#direction_only Online documentation} */ readonly direction_only?: boolean /** * _Can only be used if this is Projectile_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#hit_at_collision_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#hit_at_collision_position Online documentation} */ readonly hit_at_collision_position?: boolean /** * _Can only be used if this is Projectile_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#piercing_damage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#piercing_damage Online documentation} */ readonly piercing_damage?: float /** * _Can only be used if this is Projectile_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#acceleration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#acceleration Online documentation} */ readonly acceleration?: double /** * _Can only be used if this is Projectile_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#turn_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#turn_speed Online documentation} */ readonly turn_speed?: float /** * _Can only be used if this is Projectile_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#speed_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#speed_modifier Online documentation} */ readonly speed_modifier?: Vector /** * _Can only be used if this is Projectile_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#hit_collision_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#hit_collision_mask Online documentation} */ readonly hit_collision_mask?: CollisionMask /** * _Can only be used if this is Projectile_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#turning_speed_increases_exponentially_with_projectile_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#turning_speed_increases_exponentially_with_projectile_speed Online documentation} */ readonly turning_speed_increases_exponentially_with_projectile_speed?: boolean } @@ -16047,17 +16058,17 @@ declare module "factorio:runtime" { * The final attack result for this entity if it has one. * * _Can only be used if this is Projectile or ArtilleryProjectile_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#final_attack_result Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#final_attack_result Online documentation} */ readonly final_attack_result?: TriggerItem[] /** * _Can only be used if this is ArtilleryProjectile_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#height_from_ground Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#height_from_ground Online documentation} */ readonly height_from_ground?: float /** * _Can only be used if this is ArtilleryProjectile_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#reveal_map Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#reveal_map Online documentation} */ readonly reveal_map?: boolean } @@ -16066,74 +16077,74 @@ declare module "factorio:runtime" { * The revenge attack parameters for this entity, if any. These attack parameters are used in addition to {@link LuaEntityPrototype#attack_parameters LuaEntityPrototype::attack_parameters} if the entity is attacking a target that has previously dealt damage to the entity. * * _Can only be used if this is SegmentedUnit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#revenge_attack_parameters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#revenge_attack_parameters Online documentation} */ readonly revenge_attack_parameters?: AttackParameters /** * The vision distance of this unit prototype. * * _Can only be used if this is SpiderUnit, Unit or SegmentedUnit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#vision_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#vision_distance Online documentation} */ readonly vision_distance?: double /** * _Can only be used if this is SegmentedUnit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#territory_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#territory_radius Online documentation} */ readonly territory_radius?: uint32 /** * _Can only be used if this is SegmentedUnit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#enraged_duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#enraged_duration Online documentation} */ readonly enraged_duration?: MapTick /** * _Can only be used if this is SegmentedUnit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#patrolling_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#patrolling_speed Online documentation} */ readonly patrolling_speed?: double /** * _Can only be used if this is SegmentedUnit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#investigating_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#investigating_speed Online documentation} */ readonly investigating_speed?: double /** * _Can only be used if this is SegmentedUnit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#attacking_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#attacking_speed Online documentation} */ readonly attacking_speed?: double /** * _Can only be used if this is SegmentedUnit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#enraged_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#enraged_speed Online documentation} */ readonly enraged_speed?: double /** * _Can only be used if this is SegmentedUnit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#acceleration_rate Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#acceleration_rate Online documentation} */ readonly acceleration_rate?: double /** * _Can only be used if this is SegmentedUnit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#turn_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#turn_radius Online documentation} */ readonly turn_radius?: double /** * _Can only be used if this is SegmentedUnit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#patrolling_turn_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#patrolling_turn_radius Online documentation} */ readonly patrolling_turn_radius?: double /** * _Can only be used if this is SegmentedUnit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#turn_smoothing Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#turn_smoothing Online documentation} */ readonly turn_smoothing?: double /** * _Can only be used if this is SegmentedUnit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#ticks_per_scan Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#ticks_per_scan Online documentation} */ readonly ticks_per_scan?: uint32 /** * _Can only be used if this is SegmentedUnit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#segment_engine Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#segment_engine Online documentation} */ readonly segment_engine?: SegmentEngineSpecification } @@ -16142,21 +16153,21 @@ declare module "factorio:runtime" { * The logistic mode of this logistic container. * * _Can only be used if this is LogisticContainer_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#logistic_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#logistic_mode Online documentation} */ readonly logistic_mode?: "requester" | "active-provider" | "passive-provider" | "buffer" | "storage" | "none" /** * The filter count of this inserter, loader, mining drill, roboport or logistic chest. For logistic containers, `nil` means no limit. * * _Can only be used if this is Inserter, Loader, LogisticContainer, MiningDrill or Roboport_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#filter_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#filter_count Online documentation} */ readonly filter_count?: uint32 /** * Whether this logistic container prototype uses exact mode * * _Can only be used if this is LogisticContainer_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#use_exact_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#use_exact_mode Online documentation} */ readonly use_exact_mode?: boolean } @@ -16165,7 +16176,7 @@ declare module "factorio:runtime" { * The max underground distance for underground belts and underground pipes. * * _Can only be used if this is UndergroundBelt or PipeToGround_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#max_underground_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#max_underground_distance Online documentation} */ readonly max_underground_distance?: uint8 } @@ -16174,7 +16185,7 @@ declare module "factorio:runtime" { * The max underground distance for underground belts and underground pipes. * * _Can only be used if this is UndergroundBelt or PipeToGround_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#max_underground_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#max_underground_distance Online documentation} */ readonly max_underground_distance?: uint8 } @@ -16183,14 +16194,14 @@ declare module "factorio:runtime" { * The trigger effects to run every tick when on cooldown. * * _Can only be used if this is Segment or Sticker_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#update_effects Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#update_effects Online documentation} */ readonly update_effects?: TriggerEffectWithCooldown[] /** * The trigger effects to run every tick when on cooldown while the owning {@link LuaSegmentedUnit} is enraged. * * _Can only be used if this is Segment_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#update_effects_while_enraged Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#update_effects_while_enraged Online documentation} */ readonly update_effects_while_enraged?: TriggerEffectWithCooldown[] } @@ -16199,14 +16210,14 @@ declare module "factorio:runtime" { * The instruments for this programmable speaker. * * _Can only be used if this is ProgrammableSpeaker_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#instruments Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#instruments Online documentation} */ readonly instruments?: ProgrammableSpeakerInstrument[] /** * The maximum polyphony for this programmable speaker. * * _Can only be used if this is ProgrammableSpeaker_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#max_polyphony Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#max_polyphony Online documentation} */ readonly max_polyphony?: uint32 } @@ -16215,7 +16226,7 @@ declare module "factorio:runtime" { * The inventory type this container or linked container uses. * * _Can only be used if this is ContainerEntity or LinkedContainer_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#inventory_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#inventory_type Online documentation} */ readonly inventory_type?: "normal" | "with_bar" | "with_filters" | "with_filters_and_bar" | "with_weight_limit" | "with_custom_stack_size" @@ -16223,34 +16234,34 @@ declare module "factorio:runtime" { * Weight limit of the inventory if inventory_type is `"with_weight_limit"`. * * _Can only be used if this is ContainerEntity or LinkedContainer_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#inventory_weight_limit Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#inventory_weight_limit Online documentation} */ readonly inventory_weight_limit?: Weight /** * _Can only be used if this is ContainerEntity or CargoWagon_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#quality_affects_inventory_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#quality_affects_inventory_size Online documentation} */ readonly quality_affects_inventory_size?: boolean /** * Properties of custom inventory. Only provided if `inventory_type` is `"with_custom_stack_size"`. * * _Can only be used if this is ContainerEntity or LinkedContainer_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#inventory_properties Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#inventory_properties Online documentation} */ readonly inventory_properties?: InventoryWithCustomStackSizeSpecification /** * _Can only be used if this is Container or ProxyContainer_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#direction_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#direction_count Online documentation} */ readonly direction_count?: uint8 /** * _Can only be used if this is Container_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_status Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_status Online documentation} */ readonly default_status?: defines.entity_status /** * _Can only be used if this is Container, LinkedContainer, ProxyContainer, SpacePlatformHub or CargoLandingPad_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_empty_slots_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_empty_slots_signal Online documentation} */ readonly default_empty_slots_signal?: SignalID } @@ -16259,7 +16270,7 @@ declare module "factorio:runtime" { * The inventory type this container or linked container uses. * * _Can only be used if this is ContainerEntity or LinkedContainer_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#inventory_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#inventory_type Online documentation} */ readonly inventory_type?: "normal" | "with_bar" | "with_filters" | "with_filters_and_bar" | "with_weight_limit" | "with_custom_stack_size" @@ -16267,31 +16278,31 @@ declare module "factorio:runtime" { * Weight limit of the inventory if inventory_type is `"with_weight_limit"`. * * _Can only be used if this is ContainerEntity or LinkedContainer_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#inventory_weight_limit Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#inventory_weight_limit Online documentation} */ readonly inventory_weight_limit?: Weight /** * Properties of custom inventory. Only provided if `inventory_type` is `"with_custom_stack_size"`. * * _Can only be used if this is ContainerEntity or LinkedContainer_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#inventory_properties Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#inventory_properties Online documentation} */ readonly inventory_properties?: InventoryWithCustomStackSizeSpecification /** * _Can only be used if this is Container, LinkedContainer, ProxyContainer, SpacePlatformHub or CargoLandingPad_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_empty_slots_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_empty_slots_signal Online documentation} */ readonly default_empty_slots_signal?: SignalID /** * _Can only be used if this is InfinityContainer, InfinityPipe, InfinityCargoWagon, HeatInterface or LinkedContainer_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#gui_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#gui_mode Online documentation} */ readonly gui_mode?: "all" | "none" | "admins" } export interface CargoWagonEntityPrototype extends BaseEntityPrototype { /** * _Can only be used if this is ContainerEntity or CargoWagon_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#quality_affects_inventory_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#quality_affects_inventory_size Online documentation} */ readonly quality_affects_inventory_size?: boolean } @@ -16300,86 +16311,86 @@ declare module "factorio:runtime" { * The effectivity of this car prototype, generator prototype. * * _Can only be used if this is Car, Generator or FusionGenerator_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#effectivity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#effectivity Online documentation} */ readonly effectivity?: double /** * The energy consumption of this car prototype. * * _Can only be used if this is Car_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#consumption Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#consumption Online documentation} */ readonly consumption?: double /** * If this car prototype uses tank controls to drive. * * _Can only be used if this is Car_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#tank_driving Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#tank_driving Online documentation} */ readonly tank_driving?: boolean /** * The rotation speed of this car prototype. * * _Can only be used if this is Car_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#rotation_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#rotation_speed Online documentation} */ readonly rotation_speed?: double /** * The rotation snap angle of this car prototype. * * _Can only be used if this is Car_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#rotation_snap_angle Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#rotation_snap_angle Online documentation} */ readonly rotation_snap_angle?: double /** * The turret rotation speed of this prototype. * * _Can only be used if this is Car, ArtilleryTurret or ArtilleryWagon_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#turret_rotation_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#turret_rotation_speed Online documentation} */ readonly turret_rotation_speed?: float /** * A vector of the gun prototypes of this car, spider vehicle, artillery wagon, or turret. * * _Can only be used if this is Car, SpiderVehicle, ArtilleryTurret or ArtilleryWagon_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#indexed_guns Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#indexed_guns Online documentation} */ readonly indexed_guns?: LuaItemPrototype[] /** * Whether this unit, car, or character prototype has belt immunity. * * _Can only be used if this is Unit, Car or Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#has_belt_immunity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#has_belt_immunity Online documentation} */ readonly has_belt_immunity?: boolean /** * _Can only be used if this is Car_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#auto_sort_inventory Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#auto_sort_inventory Online documentation} */ readonly auto_sort_inventory?: boolean /** * _Can only be used if this is Car_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#immune_to_tree_impacts Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#immune_to_tree_impacts Online documentation} */ readonly immune_to_tree_impacts?: boolean /** * _Can only be used if this is Car_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#immune_to_rock_impacts Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#immune_to_rock_impacts Online documentation} */ readonly immune_to_rock_impacts?: boolean /** * _Can only be used if this is Car_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#immune_to_cliff_impacts Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#immune_to_cliff_impacts Online documentation} */ readonly immune_to_cliff_impacts?: boolean /** * _Can only be used if this is Car_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#immune_to_all_impacts Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#immune_to_all_impacts Online documentation} */ readonly immune_to_all_impacts?: boolean /** * _Can only be used if this is Car_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#track_particle_triggers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#track_particle_triggers Online documentation} */ readonly track_particle_triggers?: LuaTable } @@ -16388,49 +16399,49 @@ declare module "factorio:runtime" { * The turret rotation speed of this prototype. * * _Can only be used if this is Car, ArtilleryTurret or ArtilleryWagon_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#turret_rotation_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#turret_rotation_speed Online documentation} */ readonly turret_rotation_speed?: float /** * A vector of the gun prototypes of this car, spider vehicle, artillery wagon, or turret. * * _Can only be used if this is Car, SpiderVehicle, ArtilleryTurret or ArtilleryWagon_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#indexed_guns Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#indexed_guns Online documentation} */ readonly indexed_guns?: LuaItemPrototype[] /** * Whether this turret raises an alert when attacking * * _Can only be used if this is Turret or ArtilleryTurret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#alert_when_attacking Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#alert_when_attacking Online documentation} */ readonly alert_when_attacking?: boolean /** * The amount of ammo that inserters automatically insert into this ammo turret, artillery turret or artillery wagon. * * _Can only be used if this is ArtilleryTurret, ArtilleryWagon or AmmoTurret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#automated_ammo_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#automated_ammo_count Online documentation} */ readonly automated_ammo_count?: uint32 /** * The manual range modifier for this artillery turret or wagon prototype. * * _Can only be used if this is ArtilleryWagon or ArtilleryTurret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#manual_range_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#manual_range_modifier Online documentation} */ readonly manual_range_modifier?: double /** * If automatic firing is disabled for this artillery turret or artillery wagon. * * _Can only be used if this is ArtilleryWagon or ArtilleryTurret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#disable_automatic_firing Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#disable_automatic_firing Online documentation} */ readonly disable_automatic_firing?: boolean /** * The max stack size of ammo in this artillery turret or artillery wagon. * * _Can only be used if this is ArtilleryWagon or ArtilleryTurret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#ammo_stack_limit Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#ammo_stack_limit Online documentation} */ readonly ammo_stack_limit?: ItemCountType } @@ -16439,42 +16450,42 @@ declare module "factorio:runtime" { * The turret rotation speed of this prototype. * * _Can only be used if this is Car, ArtilleryTurret or ArtilleryWagon_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#turret_rotation_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#turret_rotation_speed Online documentation} */ readonly turret_rotation_speed?: float /** * A vector of the gun prototypes of this car, spider vehicle, artillery wagon, or turret. * * _Can only be used if this is Car, SpiderVehicle, ArtilleryTurret or ArtilleryWagon_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#indexed_guns Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#indexed_guns Online documentation} */ readonly indexed_guns?: LuaItemPrototype[] /** * The amount of ammo that inserters automatically insert into this ammo turret, artillery turret or artillery wagon. * * _Can only be used if this is ArtilleryTurret, ArtilleryWagon or AmmoTurret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#automated_ammo_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#automated_ammo_count Online documentation} */ readonly automated_ammo_count?: uint32 /** * The manual range modifier for this artillery turret or wagon prototype. * * _Can only be used if this is ArtilleryWagon or ArtilleryTurret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#manual_range_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#manual_range_modifier Online documentation} */ readonly manual_range_modifier?: double /** * If automatic firing is disabled for this artillery turret or artillery wagon. * * _Can only be used if this is ArtilleryWagon or ArtilleryTurret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#disable_automatic_firing Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#disable_automatic_firing Online documentation} */ readonly disable_automatic_firing?: boolean /** * The max stack size of ammo in this artillery turret or artillery wagon. * * _Can only be used if this is ArtilleryWagon or ArtilleryTurret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#ammo_stack_limit Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#ammo_stack_limit Online documentation} */ readonly ammo_stack_limit?: ItemCountType } @@ -16483,47 +16494,47 @@ declare module "factorio:runtime" { * A vector of the gun prototypes of this car, spider vehicle, artillery wagon, or turret. * * _Can only be used if this is Car, SpiderVehicle, ArtilleryTurret or ArtilleryWagon_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#indexed_guns Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#indexed_guns Online documentation} */ readonly indexed_guns?: LuaItemPrototype[] /** * The height of this spider unit, spider vehicle or projectile. * * _Can only be used if this is SpiderUnit, SpiderVehicle or Projectile_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#height Online documentation} */ readonly height?: double /** * The torso rotation speed of this spider vehicle prototype. * * _Can only be used if this is SpiderUnit or SpiderVehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#torso_rotation_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#torso_rotation_speed Online documentation} */ readonly torso_rotation_speed?: double /** * The torso bob speed of this spider vehicle prototype. * * _Can only be used if this is SpiderUnit or SpiderVehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#torso_bob_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#torso_bob_speed Online documentation} */ readonly torso_bob_speed?: double /** * Whether this spider vehicle prototype automatically cycles weapons. * * _Can only be used if this is SpiderVehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#automatic_weapon_cycling Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#automatic_weapon_cycling Online documentation} */ readonly automatic_weapon_cycling?: boolean /** * The chain shooting cooldown modifier of this spider vehicle prototype. * * _Can only be used if this is SpiderVehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#chain_shooting_cooldown_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#chain_shooting_cooldown_modifier Online documentation} */ readonly chain_shooting_cooldown_modifier?: double /** * _Can only be used if this is SpiderVehicle or SpiderUnit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#spider_engine Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#spider_engine Online documentation} */ readonly spider_engine?: SpiderEngineSpecification } @@ -16532,92 +16543,92 @@ declare module "factorio:runtime" { * The default speed of this flying robot, or unit. * * _Can only be used if this is FlyingRobot or Unit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#speed Online documentation} */ readonly speed?: double /** * Whether this unit, car, or character prototype has belt immunity. * * _Can only be used if this is Unit, Car or Character_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#has_belt_immunity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#has_belt_immunity Online documentation} */ readonly has_belt_immunity?: boolean /** * The vision distance of this unit prototype. * * _Can only be used if this is SpiderUnit, Unit or SegmentedUnit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#vision_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#vision_distance Online documentation} */ readonly vision_distance?: double /** * A table of pollutions amounts that has to be absorbed by the unit's spawner before the unit will leave the spawner and attack the source of the pollution, indexed by the name of each absorbed pollution type. * * _Can only be used if this is SpiderUnit or Unit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#absorptions_to_join_attack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#absorptions_to_join_attack Online documentation} */ readonly absorptions_to_join_attack?: Record /** * The minimum pursue time of this unit prototype. * * _Can only be used if this is SpiderUnit or Unit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#min_pursue_time Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#min_pursue_time Online documentation} */ readonly min_pursue_time?: uint32 /** * The maximum pursue distance of this unit prototype. * * _Can only be used if this is SpiderUnit or Unit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#max_pursue_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#max_pursue_distance Online documentation} */ readonly max_pursue_distance?: double /** * _Can only be used if this is SpiderUnit, Unit or Roboport_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#radar_range Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#radar_range Online documentation} */ readonly radar_range?: uint32 /** * Whether this unit prototype can move while shooting. * * _Can only be used if this is Unit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#move_while_shooting Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#move_while_shooting Online documentation} */ readonly move_while_shooting?: boolean /** * Whether this unit prototype can open gates. * * _Can only be used if this is Unit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#can_open_gates Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#can_open_gates Online documentation} */ readonly can_open_gates?: boolean /** * Whether this unit prototype is affected by tile walking speed modifiers. * * _Can only be used if this is Unit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#affected_by_tiles Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#affected_by_tiles Online documentation} */ readonly affected_by_tiles?: boolean /** * The distraction cooldown of this unit prototype. * * _Can only be used if this is SpiderUnit or Unit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#distraction_cooldown Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#distraction_cooldown Online documentation} */ readonly distraction_cooldown?: uint32 /** * The spawning time modifier of this unit prototype. * * _Can only be used if this is SpiderUnit or Unit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#spawning_time_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#spawning_time_modifier Online documentation} */ readonly spawning_time_modifier?: double /** * _Can only be used if this is SpiderUnit or Unit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#steering_settings Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#steering_settings Online documentation} */ readonly steering_settings?: SteeringSettings /** * _Can only be used if this is SpiderUnit or Unit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#ai_settings Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#ai_settings Online documentation} */ readonly ai_settings?: UnitAISettings } @@ -16626,28 +16637,28 @@ declare module "factorio:runtime" { * The cargo carrying capacity of this logistics or construction robot. * * _Can only be used if this is RobotWithLogisticsInterface_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#max_payload_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#max_payload_size Online documentation} */ readonly max_payload_size?: uint32 /** * The maximum possible cargo carrying capacity of this logistics or construction robot. Bonuses from technologies/forces can't increase the carrying capacity beyond this number. * * _Can only be used if this is RobotWithLogisticsInterface_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#max_payload_size_after_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#max_payload_size_after_bonus Online documentation} */ readonly max_payload_size_after_bonus?: uint32 /** * If this robot with logistic interface requires it be charged to manually mine. * * _Can only be used if this is RobotWithLogisticsInterface_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#require_charge_to_mine Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#require_charge_to_mine Online documentation} */ readonly require_charge_to_mine?: boolean /** * Whether this logistics or construction robot renders its cargo when flying. * * _Can only be used if this is RobotWithLogisticsInterface_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#draw_cargo Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#draw_cargo Online documentation} */ readonly draw_cargo?: boolean } @@ -16656,28 +16667,28 @@ declare module "factorio:runtime" { * The minimum input temperature that this prototype accepts, if specified. An input fluid below this temperature will cause the machine to stop working. * * _Can only be used if this is Boiler, FusionGenerator, FusionReactor, Generator or MiningDrill_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#minimum_input_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#minimum_input_temperature Online documentation} */ readonly minimum_input_temperature?: float /** * The maximum input temperature that this prototype accepts, if specified. An input fluid above this temperature will cause the machine to stop working. * * _Can only be used if this is Boiler, FusionGenerator, FusionReactor, Generator or MiningDrill_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#maximum_input_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#maximum_input_temperature Online documentation} */ readonly maximum_input_temperature?: float /** * The target temperature of this boiler or fusion reactor prototype. If `nil` on a fusion reactor, the target temperature is the default temperature of the output fluid. If specified on a boiler, an input fluid above this temperature will cause the boiler to stop working. * * _Can only be used if this is Boiler or FusionReactor_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#target_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#target_temperature Online documentation} */ readonly target_temperature?: float /** * The boiler operation mode of this boiler prototype. * * _Can only be used if this is Boiler_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#boiler_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#boiler_mode Online documentation} */ readonly boiler_mode?: "heat-fluid-inside" | "output-to-separate-pipe" } @@ -16686,38 +16697,38 @@ declare module "factorio:runtime" { * The minimum fuel temperature that this thruster accepts, if specified. Fuel below this temperature will cause the thruster to stop working. * * _Can only be used if this is Thruster_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#minimum_fuel_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#minimum_fuel_temperature Online documentation} */ readonly minimum_fuel_temperature?: float /** * The maximum fuel temperature that this thruster accepts, if specified. Fuel above this temperature will cause the thruster to stop working. * * _Can only be used if this is Thruster_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#maximum_fuel_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#maximum_fuel_temperature Online documentation} */ readonly maximum_fuel_temperature?: float /** * The minimum oxidizer temperature that this thruster accepts, if specified. Oxidizer below this temperature will cause the thruster to stop working. * * _Can only be used if this is Thruster_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#minimum_oxidizer_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#minimum_oxidizer_temperature Online documentation} */ readonly minimum_oxidizer_temperature?: float /** * The maximum oxidizer temperature that this thruster accepts, if specified. Oxidizer above this temperature will cause the thruster to stop working. * * _Can only be used if this is Thruster_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#maximum_oxidizer_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#maximum_oxidizer_temperature Online documentation} */ readonly maximum_oxidizer_temperature?: float /** * _Can only be used if this is ThrusterPrototype_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#min_performance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#min_performance Online documentation} */ readonly min_performance?: ThrusterPerformancePoint /** * _Can only be used if this is ThrusterPrototype_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#max_performance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#max_performance Online documentation} */ readonly max_performance?: ThrusterPerformancePoint } @@ -16726,68 +16737,68 @@ declare module "factorio:runtime" { * The max belt stack size for this loader. * * _Can only be used if this is Loader_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#loader_max_belt_stack_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#loader_max_belt_stack_size Online documentation} */ readonly loader_max_belt_stack_size?: uint8 /** * True if this loader supports a runtime-adjustable belt stack size. * * _Can only be used if this is Loader_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#loader_adjustable_belt_stack_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#loader_adjustable_belt_stack_size Online documentation} */ readonly loader_adjustable_belt_stack_size?: boolean /** * True if this loader will not drop items for which total amount is less than a full belt stack. * * _Can only be used if this is Loader_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#loader_wait_for_full_stack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#loader_wait_for_full_stack Online documentation} */ readonly loader_wait_for_full_stack?: boolean /** * _Can only be used if this is Loader_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#loader_respect_insert_limits Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#loader_respect_insert_limits Online documentation} */ readonly loader_respect_insert_limits?: boolean /** * The filter count of this inserter, loader, mining drill, roboport or logistic chest. For logistic containers, `nil` means no limit. * * _Can only be used if this is Inserter, Loader, LogisticContainer, MiningDrill or Roboport_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#filter_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#filter_count Online documentation} */ readonly filter_count?: uint32 /** * _Can only be used if this is Loader_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#container_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#container_distance Online documentation} */ readonly container_distance?: double /** * _Can only be used if this is Loader_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#belt_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#belt_distance Online documentation} */ readonly belt_distance?: double /** * _Can only be used if this is Loader_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#belt_length Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#belt_length Online documentation} */ readonly belt_length?: double /** * _Can only be used if this is Loader_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#per_lane_filters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#per_lane_filters Online documentation} */ readonly per_lane_filters?: boolean /** * _Can only be used if this is Loader_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#allow_rail_interaction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#allow_rail_interaction Online documentation} */ readonly allow_rail_interaction?: boolean /** * _Can only be used if this is Loader_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#allow_container_interaction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#allow_container_interaction Online documentation} */ readonly allow_container_interaction?: boolean /** * _Can only be used if this is Loader_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#energy_per_item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#energy_per_item Online documentation} */ readonly energy_per_item?: double } @@ -16796,7 +16807,7 @@ declare module "factorio:runtime" { * If this simple-entity is counted as a rock for the deconstruction planner "trees and rocks only" filter. * * _Can only be used if this is SimpleEntity_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#count_as_rock_for_filtered_deconstruction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#count_as_rock_for_filtered_deconstruction Online documentation} */ readonly count_as_rock_for_filtered_deconstruction?: boolean } @@ -16805,33 +16816,33 @@ declare module "factorio:runtime" { * The filter count of this inserter, loader, mining drill, roboport or logistic chest. For logistic containers, `nil` means no limit. * * _Can only be used if this is Inserter, Loader, LogisticContainer, MiningDrill or Roboport_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#filter_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#filter_count Online documentation} */ readonly filter_count?: uint32 /** * The construction radius for this roboport prototype. * * _Can only be used if this is Roboport_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#construction_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#construction_radius Online documentation} */ readonly construction_radius?: double /** * The logistic radius for this roboport prototype. * * _Can only be used if this is Roboport_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#logistic_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#logistic_radius Online documentation} */ readonly logistic_radius?: double /** * _Can only be used if this is SpiderUnit, Unit or Roboport_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#radar_range Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#radar_range Online documentation} */ readonly radar_range?: uint32 /** * The logistic parameters for this roboport. * * _Can only be used if this is Roboport_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#logistic_parameters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#logistic_parameters Online documentation} */ readonly logistic_parameters?: { readonly spawn_and_station_height: float @@ -16853,54 +16864,54 @@ declare module "factorio:runtime" { } /** * _Can only be used if this is Roboport_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#recharge_minimum Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#recharge_minimum Online documentation} */ readonly recharge_minimum?: double /** * _Can only be used if this is Roboport_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#open_door_trigger_effect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#open_door_trigger_effect Online documentation} */ readonly open_door_trigger_effect?: TriggerEffectItem[] /** * _Can only be used if this is Roboport_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#close_door_trigger_effect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#close_door_trigger_effect Online documentation} */ readonly close_door_trigger_effect?: TriggerEffectItem[] /** * _Can only be used if this is Roboport_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_available_logistic_output_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_available_logistic_output_signal Online documentation} */ readonly default_available_logistic_output_signal?: SignalID /** * _Can only be used if this is Roboport_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_total_logistic_output_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_total_logistic_output_signal Online documentation} */ readonly default_total_logistic_output_signal?: SignalID /** * _Can only be used if this is Roboport_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_available_construction_output_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_available_construction_output_signal Online documentation} */ readonly default_available_construction_output_signal?: SignalID /** * _Can only be used if this is Roboport_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_total_construction_output_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_total_construction_output_signal Online documentation} */ readonly default_total_construction_output_signal?: SignalID /** * _Can only be used if this is Roboport_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_roboport_count_output_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_roboport_count_output_signal Online documentation} */ readonly default_roboport_count_output_signal?: SignalID } export interface TemporaryContainerEntityPrototype extends BaseEntityPrototype { /** * _Can only be used if this is TemporaryContainer_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#alert_after_time Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#alert_after_time Online documentation} */ readonly alert_after_time?: uint32 /** * _Can only be used if this is TemporaryContainer_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#destroy_on_empty Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#destroy_on_empty Online documentation} */ readonly destroy_on_empty?: boolean } @@ -16909,29 +16920,29 @@ declare module "factorio:runtime" { * Whether this explosion has a beam. * * _Can only be used if this is Explosion_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#explosion_beam Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#explosion_beam Online documentation} */ readonly explosion_beam?: double /** * Whether this explosion rotates. * * _Can only be used if this is Explosion_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#explosion_rotate Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#explosion_rotate Online documentation} */ readonly explosion_rotate?: double /** * _Can only be used if this is Explosion_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#smoke Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#smoke Online documentation} */ readonly smoke?: LuaTrivialSmokePrototype /** * _Can only be used if this is Explosion_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#smoke_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#smoke_count Online documentation} */ readonly smoke_count?: uint16 /** * _Can only be used if this is Explosion_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#explosion_effect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#explosion_effect Online documentation} */ readonly explosion_effect?: TriggerItem[] } @@ -16940,7 +16951,7 @@ declare module "factorio:runtime" { * If it is a tree, return the number of colors it supports. * * _Can only be used if this is Tree_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#tree_color_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#tree_color_count Online documentation} */ readonly tree_color_count?: uint8 } @@ -16949,126 +16960,126 @@ declare module "factorio:runtime" { * The rocket parts required for this rocket silo prototype. * * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#rocket_parts_required Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#rocket_parts_required Online documentation} */ readonly rocket_parts_required?: uint32 /** * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#lift_weight Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#lift_weight Online documentation} */ readonly lift_weight?: Weight /** * The rocket rising delay for this rocket silo prototype. * * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#rocket_rising_delay Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#rocket_rising_delay Online documentation} */ readonly rocket_rising_delay?: uint8 /** * The rocket launch delay for this rocket silo prototype. * * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#launch_wait_time Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#launch_wait_time Online documentation} */ readonly launch_wait_time?: uint8 /** * The light blinking speed for this rocket silo prototype. * * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#light_blinking_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#light_blinking_speed Online documentation} */ readonly light_blinking_speed?: double /** * The door opening speed for this rocket silo prototype. * * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#door_opening_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#door_opening_speed Online documentation} */ readonly door_opening_speed?: double /** * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#launch_to_space_platforms Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#launch_to_space_platforms Online documentation} */ readonly launch_to_space_platforms?: boolean /** * The rocket entity prototype associated with this rocket silo prototype. * * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#rocket_entity_prototype Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#rocket_entity_prototype Online documentation} */ readonly rocket_entity_prototype?: LuaEntityPrototype /** * The active energy usage of this rocket silo or combinator prototype. * * _Can only be used if this is RocketSilo or Combinator_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#active_energy_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#active_energy_usage Online documentation} */ readonly active_energy_usage?: double /** * The lamp energy usage of this rocket silo prototype. * * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#lamp_energy_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#lamp_energy_usage Online documentation} */ readonly lamp_energy_usage?: double /** * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#rocket_parts_storage_cap Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#rocket_parts_storage_cap Online documentation} */ readonly rocket_parts_storage_cap?: uint32 /** * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#rocket_quick_relaunch_start_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#rocket_quick_relaunch_start_offset Online documentation} */ readonly rocket_quick_relaunch_start_offset?: double /** * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#rocket_rising_speed_modifier_per_quality_level Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#rocket_rising_speed_modifier_per_quality_level Online documentation} */ readonly rocket_rising_speed_modifier_per_quality_level?: double /** * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#rocket_engine_starting_speed_modifier_per_quality_level Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#rocket_engine_starting_speed_modifier_per_quality_level Online documentation} */ readonly rocket_engine_starting_speed_modifier_per_quality_level?: double /** * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#arms_speed_modifier_per_quality_level Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#arms_speed_modifier_per_quality_level Online documentation} */ readonly arms_speed_modifier_per_quality_level?: double /** * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#alarm_trigger Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#alarm_trigger Online documentation} */ readonly alarm_trigger?: TriggerEffectItem[] /** * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#clamps_on_trigger Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#clamps_on_trigger Online documentation} */ readonly clamps_on_trigger?: TriggerEffectItem[] /** * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#clamps_off_trigger Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#clamps_off_trigger Online documentation} */ readonly clamps_off_trigger?: TriggerEffectItem[] /** * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#doors_trigger Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#doors_trigger Online documentation} */ readonly doors_trigger?: TriggerEffectItem[] /** * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#raise_rocket_trigger Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#raise_rocket_trigger Online documentation} */ readonly raise_rocket_trigger?: TriggerEffectItem[] /** * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#can_launch_without_landing_pads Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#can_launch_without_landing_pads Online documentation} */ readonly can_launch_without_landing_pads?: boolean /** * _Can only be used if this is RocketSilo_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_launched_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_launched_signal Online documentation} */ readonly default_launched_signal?: SignalID } @@ -17077,48 +17088,48 @@ declare module "factorio:runtime" { * The rising speed for this rocket silo rocket prototype. * * _Can only be used if this is RocketSiloRocket_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#rising_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#rising_speed Online documentation} */ readonly rising_speed?: double /** * The engine starting speed for this rocket silo rocket prototype. * * _Can only be used if this is RocketSiloRocket_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#engine_starting_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#engine_starting_speed Online documentation} */ readonly engine_starting_speed?: double /** * The flying speed for this rocket silo rocket prototype. * * _Can only be used if this is RocketSiloRocket_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#flying_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#flying_speed Online documentation} */ readonly flying_speed?: double /** * The flying acceleration for this rocket silo rocket prototype. * * _Can only be used if this is RocketSiloRocket_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#flying_acceleration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#flying_acceleration Online documentation} */ readonly flying_acceleration?: double /** * _Can only be used if this is RocketSiloRocket_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#rocket_dying_explosion Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#rocket_dying_explosion Online documentation} */ readonly rocket_dying_explosion?: LuaEntityPrototype /** * _Can only be used if this is CargoPod or RocketSiloRocket_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#shadow_slave_entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#shadow_slave_entity Online documentation} */ readonly shadow_slave_entity?: LuaEntityPrototype /** * _Can only be used if this is RocketSiloRocket_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#cargo_pod_entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#cargo_pod_entity Online documentation} */ readonly cargo_pod_entity?: LuaEntityPrototype /** * _Can only be used if this is RocketSiloRocket_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#flying_trigger Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#flying_trigger Online documentation} */ readonly flying_trigger?: TriggerEffectItem[] } @@ -17127,39 +17138,39 @@ declare module "factorio:runtime" { * The fixed recipe for this assembling machine prototype, if any. * * _Can only be used if this is AssemblingMachine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#fixed_recipe Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#fixed_recipe Online documentation} */ readonly fixed_recipe?: LuaRecipePrototype /** * The fixed recipe quality for this assembling machine prototype, if any. * * _Can only be used if this is AssemblingMachine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#fixed_quality Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#fixed_quality Online documentation} */ readonly fixed_quality?: LuaQualityPrototype /** * _Can only be used if this is AssemblingMachine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#gui_title_key Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#gui_title_key Online documentation} */ readonly gui_title_key?: string /** * _Can only be used if this is AssemblingMachine or Furnace_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_recipe_finished_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_recipe_finished_signal Online documentation} */ readonly default_recipe_finished_signal?: SignalID /** * _Can only be used if this is AssemblingMachine or Furnace_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_working_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_working_signal Online documentation} */ readonly default_working_signal?: SignalID /** * _Can only be used if this is AssemblingMachine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#disabled_when_recipe_not_researched Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#disabled_when_recipe_not_researched Online documentation} */ readonly disabled_when_recipe_not_researched?: boolean /** * _Can only be used if this is AssemblingMachine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#fluid_boxes_off_when_no_fluid_recipe Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#fluid_boxes_off_when_no_fluid_recipe Online documentation} */ readonly fluid_boxes_off_when_no_fluid_recipe?: boolean } @@ -17168,73 +17179,73 @@ declare module "factorio:runtime" { * Name of the ammo category of this land mine. * * _Can only be used if this is LandMine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#ammo_category Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#ammo_category Online documentation} */ readonly ammo_category?: string /** * The time it takes this land mine to arm. * * _Can only be used if this is LandMine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#timeout Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#timeout Online documentation} */ readonly timeout?: uint32 /** * The collision mask entities must collide with to make this landmine blow up. * * _Can only be used if this is LandMine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#trigger_collision_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#trigger_collision_mask Online documentation} */ readonly trigger_collision_mask?: CollisionMask /** * _Can only be used if this is Landmine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#trigger_interval Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#trigger_interval Online documentation} */ readonly trigger_interval?: uint32 /** * _Can only be used if this is Landmine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#trigger_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#trigger_radius Online documentation} */ readonly trigger_radius?: double /** * _Can only be used if this is Landmine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#force_die_on_attack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#force_die_on_attack Online documentation} */ readonly force_die_on_attack?: boolean /** * _Can only be used if this is Landmine_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#trigger_force Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#trigger_force Online documentation} */ readonly trigger_force?: ForceCondition } export interface ReactorEntityPrototype extends BaseEntityPrototype { /** * _Can only be used if this is Reactor or FusionReactor_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#neighbour_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#neighbour_bonus Online documentation} */ readonly neighbour_bonus?: double /** * _Can only be used if this is Reactor or FusionReactor_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#neighbour_connectable Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#neighbour_connectable Online documentation} */ readonly neighbour_connectable?: NeighbourConnectable /** * _Can only be used if this is HeatPipe, HeatInterface or Reactor_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#heating_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#heating_radius Online documentation} */ readonly heating_radius?: float /** * _Can only be used if this is Reactor_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#meltdown_action Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#meltdown_action Online documentation} */ readonly meltdown_action?: TriggerItem[] /** * _Can only be used if this is Reactor_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#scale_energy_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#scale_energy_usage Online documentation} */ readonly scale_energy_usage?: boolean /** * _Can only be used if this is Reactor_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_temperature_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_temperature_signal Online documentation} */ readonly default_temperature_signal?: SignalID } @@ -17243,17 +17254,17 @@ declare module "factorio:runtime" { * The amount of ammo that inserters automatically insert into this ammo turret, artillery turret or artillery wagon. * * _Can only be used if this is ArtilleryTurret, ArtilleryWagon or AmmoTurret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#automated_ammo_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#automated_ammo_count Online documentation} */ readonly automated_ammo_count?: uint32 /** * _Can only be used if this is AmmoTurret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#energy_per_shot Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#energy_per_shot Online documentation} */ readonly energy_per_shot?: double /** * _Can only be used if this is AmmoTurret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#prepare_with_no_ammo Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#prepare_with_no_ammo Online documentation} */ readonly prepare_with_no_ammo?: boolean } @@ -17262,41 +17273,41 @@ declare module "factorio:runtime" { * Value between 0 and 1 darkness where all lamps of this lamp prototype are on. * * _Can only be used if this is Lamp_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#darkness_for_all_lamps_on Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#darkness_for_all_lamps_on Online documentation} */ readonly darkness_for_all_lamps_on?: float /** * Value between 0 and 1 darkness where all lamps of this lamp prototype are off. * * _Can only be used if this is Lamp_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#darkness_for_all_lamps_off Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#darkness_for_all_lamps_off Online documentation} */ readonly darkness_for_all_lamps_off?: float /** * Whether the lamp is always on (except when out of power or turned off by the circuit network). * * _Can only be used if this is Lamp_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#always_on Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#always_on Online documentation} */ readonly always_on?: boolean /** * _Can only be used if this is Lamp_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_red_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_red_signal Online documentation} */ readonly default_red_signal?: SignalID /** * _Can only be used if this is Lamp_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_green_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_green_signal Online documentation} */ readonly default_green_signal?: SignalID /** * _Can only be used if this is Lamp_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_blue_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_blue_signal Online documentation} */ readonly default_blue_signal?: SignalID /** * _Can only be used if this is Lamp_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_rgb_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_rgb_signal Online documentation} */ readonly default_rgb_signal?: SignalID } @@ -17305,27 +17316,27 @@ declare module "factorio:runtime" { * The item prototype name used to destroy this cliff. * * _Can only be used if this is Cliff_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#cliff_explosive_prototype Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#cliff_explosive_prototype Online documentation} */ readonly cliff_explosive_prototype?: string /** * _Can only be used if this is Cliff_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#orientations Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#orientations Online documentation} */ readonly orientations?: OrientedCliffPrototypeSet /** * _Can only be used if this is Cliff_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#grid_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#grid_size Online documentation} */ readonly grid_size?: Vector /** * _Can only be used if this is Cliff_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#grid_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#grid_offset Online documentation} */ readonly grid_offset?: Vector /** * _Can only be used if this is Cliff_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#place_as_crater Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#place_as_crater Online documentation} */ readonly place_as_crater?: CraterPlacementDefinition } @@ -17334,83 +17345,83 @@ declare module "factorio:runtime" { * The vision distance of this unit prototype. * * _Can only be used if this is SpiderUnit, Unit or SegmentedUnit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#vision_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#vision_distance Online documentation} */ readonly vision_distance?: double /** * A table of pollutions amounts that has to be absorbed by the unit's spawner before the unit will leave the spawner and attack the source of the pollution, indexed by the name of each absorbed pollution type. * * _Can only be used if this is SpiderUnit or Unit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#absorptions_to_join_attack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#absorptions_to_join_attack Online documentation} */ readonly absorptions_to_join_attack?: Record /** * The minimum pursue time of this unit prototype. * * _Can only be used if this is SpiderUnit or Unit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#min_pursue_time Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#min_pursue_time Online documentation} */ readonly min_pursue_time?: uint32 /** * The maximum pursue distance of this unit prototype. * * _Can only be used if this is SpiderUnit or Unit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#max_pursue_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#max_pursue_distance Online documentation} */ readonly max_pursue_distance?: double /** * _Can only be used if this is SpiderUnit, Unit or Roboport_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#radar_range Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#radar_range Online documentation} */ readonly radar_range?: uint32 /** * The distraction cooldown of this unit prototype. * * _Can only be used if this is SpiderUnit or Unit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#distraction_cooldown Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#distraction_cooldown Online documentation} */ readonly distraction_cooldown?: uint32 /** * The spawning time modifier of this unit prototype. * * _Can only be used if this is SpiderUnit or Unit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#spawning_time_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#spawning_time_modifier Online documentation} */ readonly spawning_time_modifier?: double /** * The height of this spider unit, spider vehicle or projectile. * * _Can only be used if this is SpiderUnit, SpiderVehicle or Projectile_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#height Online documentation} */ readonly height?: double /** * The torso rotation speed of this spider vehicle prototype. * * _Can only be used if this is SpiderUnit or SpiderVehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#torso_rotation_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#torso_rotation_speed Online documentation} */ readonly torso_rotation_speed?: double /** * The torso bob speed of this spider vehicle prototype. * * _Can only be used if this is SpiderUnit or SpiderVehicle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#torso_bob_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#torso_bob_speed Online documentation} */ readonly torso_bob_speed?: double /** * _Can only be used if this is SpiderVehicle or SpiderUnit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#spider_engine Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#spider_engine Online documentation} */ readonly spider_engine?: SpiderEngineSpecification /** * _Can only be used if this is SpiderUnit or Unit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#steering_settings Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#steering_settings Online documentation} */ readonly steering_settings?: SteeringSettings /** * _Can only be used if this is SpiderUnit or Unit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#ai_settings Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#ai_settings Online documentation} */ readonly ai_settings?: UnitAISettings } @@ -17419,44 +17430,44 @@ declare module "factorio:runtime" { * Effect receiver prototype of crafting machine, lab, mining drill, or agricultural tower. * * _Can only be used if this is CraftingMachine, Lab, MiningDrill or AgriculturalTower_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#effect_receiver Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#effect_receiver Online documentation} */ readonly effect_receiver?: EffectReceiver /** * The crane energy usage of this agricultural tower prototype. * * _Can only be used if this is AgriculturalTower_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#crane_energy_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#crane_energy_usage Online documentation} */ readonly crane_energy_usage?: double /** * _Can only be used if this is AgriculturalTower_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#agricultural_tower_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#agricultural_tower_radius Online documentation} */ readonly agricultural_tower_radius?: double /** * _Can only be used if this is AgriculturalTower_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#growth_area_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#growth_area_radius Online documentation} */ readonly growth_area_radius?: double /** * _Can only be used if this is AgriculturalTower_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#growth_grid_tile_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#growth_grid_tile_size Online documentation} */ readonly growth_grid_tile_size?: uint32 /** * _Can only be used if this is AgriculturalTower_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#randomize_planting_tile Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#randomize_planting_tile Online documentation} */ readonly randomize_planting_tile?: boolean /** * _Can only be used if this is AgriculturalTower_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#random_growth_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#random_growth_offset Online documentation} */ readonly random_growth_offset?: double /** * _Can only be used if this is AgriculturalTower_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#accepted_seeds Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#accepted_seeds Online documentation} */ readonly accepted_seeds?: string[] } @@ -17465,14 +17476,14 @@ declare module "factorio:runtime" { * Whether this market allows access to all forces or just friendly ones. * * _Can only be used if this is Market_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#allow_access_to_all_forces Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#allow_access_to_all_forces Online documentation} */ readonly allow_access_to_all_forces?: boolean } export interface TransportBeltEntityPrototype extends BaseEntityPrototype { /** * _Can only be used if this is TransportBelt_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#related_underground_belt Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#related_underground_belt Online documentation} */ readonly related_underground_belt?: LuaEntityPrototype } @@ -17481,14 +17492,14 @@ declare module "factorio:runtime" { * True if this entity-with-owner is military target * * _Can only be used if this is EntityWithOwner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#is_military_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#is_military_target Online documentation} */ readonly is_military_target?: boolean /** * True if this entity-with-owner's is_military_target can be changed run-time (on the entity, not on the prototype itself) * * _Can only be used if this is EntityWithOwner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#allow_run_time_change_of_is_military_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#allow_run_time_change_of_is_military_target Online documentation} */ readonly allow_run_time_change_of_is_military_target?: boolean } @@ -17497,7 +17508,7 @@ declare module "factorio:runtime" { * The animation speed coefficient of this belt connectable prototype. * * _Can only be used if this is BeltConnectable_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#animation_speed_coefficient Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#animation_speed_coefficient Online documentation} */ readonly animation_speed_coefficient?: double } @@ -17506,27 +17517,27 @@ declare module "factorio:runtime" { * The dying time of this corpse prototype. * * _Can only be used if this is Corpse_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#dying_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#dying_speed Online documentation} */ readonly dying_speed?: float /** * _Can only be used if this is Corpse_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#auto_setup_collision_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#auto_setup_collision_box Online documentation} */ readonly auto_setup_collision_box?: boolean /** * _Can only be used if this is Corpse_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#expires Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#expires Online documentation} */ readonly expires?: boolean /** * _Can only be used if this is Corpse_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#remove_on_entity_placement Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#remove_on_entity_placement Online documentation} */ readonly remove_on_entity_placement?: boolean /** * _Can only be used if this is Corpse_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#remove_on_tile_placement Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#remove_on_tile_placement Online documentation} */ readonly remove_on_tile_placement?: boolean } @@ -17535,308 +17546,308 @@ declare module "factorio:runtime" { * The active energy usage of this rocket silo or combinator prototype. * * _Can only be used if this is RocketSilo or Combinator_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#active_energy_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#active_energy_usage Online documentation} */ readonly active_energy_usage?: double /** * _Can only be used if this is Combinator_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#input_connection_bounding_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#input_connection_bounding_box Online documentation} */ readonly input_connection_bounding_box?: BoundingBox /** * _Can only be used if this is Combinator_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#output_connection_bounding_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#output_connection_bounding_box Online documentation} */ readonly output_connection_bounding_box?: BoundingBox } export interface PlantEntityPrototype extends BaseEntityPrototype { /** * _Can only be used if this is Plant_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#growth_ticks Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#growth_ticks Online documentation} */ readonly growth_ticks?: uint32 /** * A table of pollutants that this plant will release when it is harvested. * * _Can only be used if this is Plant_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#harvest_emissions Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#harvest_emissions Online documentation} */ readonly harvest_emissions?: Record } export interface SolarPanelEntityPrototype extends BaseEntityPrototype { /** * _Can only be used if this is SolarPanel_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#solar_panel_performance_at_day Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#solar_panel_performance_at_day Online documentation} */ readonly solar_panel_performance_at_day?: double /** * _Can only be used if this is SolarPanel_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#solar_panel_performance_at_night Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#solar_panel_performance_at_night Online documentation} */ readonly solar_panel_performance_at_night?: double /** * _Can only be used if this is SolarPanel_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#solar_panel_solar_coefficient_property Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#solar_panel_solar_coefficient_property Online documentation} */ readonly solar_panel_solar_coefficient_property?: LuaSurfacePropertyPrototype } export interface StorageTankEntityPrototype extends BaseEntityPrototype { /** * _Can only be used if this is StorageTank, FusionReactor or Generator_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#two_direction_only Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#two_direction_only Online documentation} */ readonly two_direction_only?: boolean } export interface RailSupportEntityPrototype extends BaseEntityPrototype { /** * _Can only be used if this is RailSupport or RailRamp_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#support_range Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#support_range Online documentation} */ readonly support_range?: float /** * _Can only be used if this is RailRamp or RailSupport_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#collision_mask_allow_on_deep_oil_ocean Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#collision_mask_allow_on_deep_oil_ocean Online documentation} */ readonly collision_mask_allow_on_deep_oil_ocean?: CollisionMask /** * _Can only be used if this is RailSupport_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#not_buildable_if_no_rails Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#not_buildable_if_no_rails Online documentation} */ readonly not_buildable_if_no_rails?: boolean /** * _Can only be used if this is RailSupport_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#snap_to_spots_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#snap_to_spots_distance Online documentation} */ readonly snap_to_spots_distance?: float /** * _Can only be used if this is RailSupport_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#elevated_selection_boxes Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#elevated_selection_boxes Online documentation} */ readonly elevated_selection_boxes?: BoundingBox[] } export interface RailRampEntityPrototype extends BaseEntityPrototype { /** * _Can only be used if this is RailSupport or RailRamp_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#support_range Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#support_range Online documentation} */ readonly support_range?: float /** * _Can only be used if this is RailRamp or RailSupport_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#collision_mask_allow_on_deep_oil_ocean Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#collision_mask_allow_on_deep_oil_ocean Online documentation} */ readonly collision_mask_allow_on_deep_oil_ocean?: CollisionMask } export interface LocomotiveEntityPrototype extends BaseEntityPrototype { /** * _Can only be used if this is Locomotive_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#reversing_power_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#reversing_power_modifier Online documentation} */ readonly reversing_power_modifier?: double /** * _Can only be used if this is Locomotive_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#max_snap_to_train_stop_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#max_snap_to_train_stop_distance Online documentation} */ readonly max_snap_to_train_stop_distance?: float } export interface AsteroidCollectorEntityPrototype extends BaseEntityPrototype { /** * _Can only be used if this is AsteroidCollector_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#arm_inventory_size_quality_increase Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#arm_inventory_size_quality_increase Online documentation} */ readonly arm_inventory_size_quality_increase?: ItemStackIndex /** * _Can only be used if this is AsteroidCollector_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#inventory_size_quality_increase Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#inventory_size_quality_increase Online documentation} */ readonly inventory_size_quality_increase?: ItemStackIndex /** * _Can only be used if this is AsteroidCollector_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#passive_energy_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#passive_energy_usage Online documentation} */ readonly passive_energy_usage?: double /** * _Can only be used if this is AsteroidCollector_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#arm_energy_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#arm_energy_usage Online documentation} */ readonly arm_energy_usage?: double /** * _Can only be used if this is AsteroidCollector_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#arm_slow_energy_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#arm_slow_energy_usage Online documentation} */ readonly arm_slow_energy_usage?: double /** * _Can only be used if this is AsteroidCollector_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#energy_usage_quality_scaling Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#energy_usage_quality_scaling Online documentation} */ readonly energy_usage_quality_scaling?: float /** * _Can only be used if this is AsteroidCollector_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#arm_count_base Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#arm_count_base Online documentation} */ readonly arm_count_base?: uint32 /** * _Can only be used if this is AsteroidCollector_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#arm_count_quality_scaling Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#arm_count_quality_scaling Online documentation} */ readonly arm_count_quality_scaling?: uint32 /** * _Can only be used if this is AsteroidCollector_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#head_collection_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#head_collection_radius Online documentation} */ readonly head_collection_radius?: float /** * _Can only be used if this is AsteroidCollector_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#collection_box_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#collection_box_offset Online documentation} */ readonly collection_box_offset?: float /** * _Can only be used if this is AsteroidCollector_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#deposit_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#deposit_radius Online documentation} */ readonly deposit_radius?: float /** * _Can only be used if this is AsteroidCollector_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#arm_speed_base Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#arm_speed_base Online documentation} */ readonly arm_speed_base?: float /** * _Can only be used if this is AsteroidCollector_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#arm_speed_quality_scaling Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#arm_speed_quality_scaling Online documentation} */ readonly arm_speed_quality_scaling?: float /** * _Can only be used if this is AsteroidCollector_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#arm_angular_speed_cap_base Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#arm_angular_speed_cap_base Online documentation} */ readonly arm_angular_speed_cap_base?: float /** * _Can only be used if this is AsteroidCollector_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#arm_angular_speed_cap_quality_scaling Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#arm_angular_speed_cap_quality_scaling Online documentation} */ readonly arm_angular_speed_cap_quality_scaling?: float /** * _Can only be used if this is AsteroidCollector_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#tether_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#tether_size Online documentation} */ readonly tether_size?: float /** * _Can only be used if this is AsteroidCollector_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#unpowered_arm_speed_scale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#unpowered_arm_speed_scale Online documentation} */ readonly unpowered_arm_speed_scale?: float /** * _Can only be used if this is AsteroidCollector_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#minimal_arm_swing_segment_retraction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#minimal_arm_swing_segment_retraction Online documentation} */ readonly minimal_arm_swing_segment_retraction?: uint32 /** * _Can only be used if this is AsteroidCollector_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#held_items_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#held_items_offset Online documentation} */ readonly held_items_offset?: float /** * _Can only be used if this is AsteroidCollector_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#held_items_spread Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#held_items_spread Online documentation} */ readonly held_items_spread?: float /** * _Can only be used if this is AsteroidCollector_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#held_items_display_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#held_items_display_count Online documentation} */ readonly held_items_display_count?: uint8 /** * _Can only be used if this is AsteroidCollector_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#arm_color_gradient Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#arm_color_gradient Online documentation} */ readonly arm_color_gradient?: Color[] } export interface FluidTurretEntityPrototype extends BaseEntityPrototype { /** * _Can only be used if this is FluidTurret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#fluid_buffer_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#fluid_buffer_size Online documentation} */ readonly fluid_buffer_size?: FluidAmount /** * _Can only be used if this is FluidTurret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#activation_buffer_ratio Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#activation_buffer_ratio Online documentation} */ readonly activation_buffer_ratio?: FluidAmount /** * _Can only be used if this is FluidTurret_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#fluid_buffer_input_flow Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#fluid_buffer_input_flow Online documentation} */ readonly fluid_buffer_input_flow?: FluidAmount } export interface CombatRobotEntityPrototype extends BaseEntityPrototype { /** * _Can only be used if this is CombatRobot_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#range_from_player Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#range_from_player Online documentation} */ readonly range_from_player?: double /** * _Can only be used if this is CombatRobot_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#combat_robot_friction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#combat_robot_friction Online documentation} */ readonly combat_robot_friction?: double /** * _Can only be used if this is CombatRobot, CaptureRobot or RobotWithLogisticInterface_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#destroy_action Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#destroy_action Online documentation} */ readonly destroy_action?: TriggerItem[] /** * _Can only be used if this is CombatRobot_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#follows_player Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#follows_player Online documentation} */ readonly follows_player?: boolean /** * _Can only be used if this is CombatRobot_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#separation_range Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#separation_range Online documentation} */ readonly separation_range?: double /** * _Can only be used if this is CombatRobot_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#max_separation_force Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#max_separation_force Online documentation} */ readonly max_separation_force?: double /** * _Can only be used if this is CombatRobot_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#separation_force_factor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#separation_force_factor Online documentation} */ readonly separation_force_factor?: double } export interface CaptureRobotEntityPrototype extends BaseEntityPrototype { /** * _Can only be used if this is CombatRobot, CaptureRobot or RobotWithLogisticInterface_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#destroy_action Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#destroy_action Online documentation} */ readonly destroy_action?: TriggerItem[] /** * _Can only be used if this is CaptureRobot_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#capture_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#capture_speed Online documentation} */ readonly capture_speed?: double /** * _Can only be used if this is CaptureRobot_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#search_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#search_radius Online documentation} */ readonly search_radius?: double } export interface RobotWithLogisticInterfaceEntityPrototype extends BaseEntityPrototype { /** * _Can only be used if this is CombatRobot, CaptureRobot or RobotWithLogisticInterface_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#destroy_action Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#destroy_action Online documentation} */ readonly destroy_action?: TriggerItem[] } export interface LightningEntityPrototype extends BaseEntityPrototype { /** * _Can only be used if this is Lightning_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#strike_effect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#strike_effect Online documentation} */ readonly strike_effect?: TriggerItem[] /** * _Can only be used if this is Lightning_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#attractor_hit_effect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#attractor_hit_effect Online documentation} */ readonly attractor_hit_effect?: TriggerItem[] /** @@ -17845,606 +17856,606 @@ declare module "factorio:runtime" { * For stickers the damage is applied every {@link LuaEntityPrototype#damage_interval LuaEntityPrototype::damage_interval} ticks. * * _Can only be used if this is Lightning or Sticker_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#damage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#damage Online documentation} */ readonly damage?: DamageParameters /** * When lightning hits a lightning attractor this amount of energy is transferred to the lightning attractor. * * _Can only be used if this is Lightning_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#energy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#energy Online documentation} */ readonly energy?: double /** * _Can only be used if this is Lightning_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#source_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#source_offset Online documentation} */ readonly source_offset?: Vector /** * _Can only be used if this is Lightning_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#source_variance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#source_variance Online documentation} */ readonly source_variance?: Vector /** * _Can only be used if this is Lightning_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#time_to_damage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#time_to_damage Online documentation} */ readonly time_to_damage?: uint16 /** * _Can only be used if this is Lightning_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#effect_duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#effect_duration Online documentation} */ readonly effect_duration?: uint16 } export interface FluidWagonEntityPrototype extends BaseEntityPrototype { /** * _Can only be used if this is FluidWagon_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#connection_category Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#connection_category Online documentation} */ readonly connection_category?: string[] /** * _Can only be used if this is FluidWagon_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#quality_affects_capacity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#quality_affects_capacity Online documentation} */ readonly quality_affects_capacity?: boolean } export interface AccumulatorEntityPrototype extends BaseEntityPrototype { /** * _Can only be used if this is Accumulator_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_output_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_output_signal Online documentation} */ readonly default_output_signal?: SignalID } export interface ArtilleryFlareEntityPrototype extends BaseEntityPrototype { /** * _Can only be used if this is ArtilleryFlare_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#life_time Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#life_time Online documentation} */ readonly life_time?: uint16 /** * _Can only be used if this is ArtilleryFlare_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#regular_trigger_effect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#regular_trigger_effect Online documentation} */ readonly regular_trigger_effect?: TriggerEffectItem[] /** * _Can only be used if this is ArtilleryFlare_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#regular_trigger_effect_frequency Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#regular_trigger_effect_frequency Online documentation} */ readonly regular_trigger_effect_frequency?: uint32 /** * _Can only be used if this is ArtilleryFlare_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#ended_in_water_trigger_effect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#ended_in_water_trigger_effect Online documentation} */ readonly ended_in_water_trigger_effect?: TriggerEffectItem[] /** * _Can only be used if this is ArtilleryFlare_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#movement_modifier_when_on_ground Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#movement_modifier_when_on_ground Online documentation} */ readonly movement_modifier_when_on_ground?: double /** * _Can only be used if this is ArtilleryFlare_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#movement_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#movement_modifier Online documentation} */ readonly movement_modifier?: double /** * _Can only be used if this is ArtilleryFlare_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#creation_shift Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#creation_shift Online documentation} */ readonly creation_shift?: Vector /** * _Can only be used if this is ArtilleryFlare_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#initial_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#initial_speed Online documentation} */ readonly initial_speed?: Vector /** * _Can only be used if this is ArtilleryFlare_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#initial_height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#initial_height Online documentation} */ readonly initial_height?: float /** * _Can only be used if this is ArtilleryFlare_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#initial_vertical_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#initial_vertical_speed Online documentation} */ readonly initial_vertical_speed?: float /** * _Can only be used if this is ArtilleryFlare_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#shots_per_flare Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#shots_per_flare Online documentation} */ readonly shots_per_flare?: uint32 /** * _Can only be used if this is ArtilleryFlare_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#early_death_ticks Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#early_death_ticks Online documentation} */ readonly early_death_ticks?: uint32 /** * _Can only be used if this is ArtilleryFlare_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#shot_category Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#shot_category Online documentation} */ readonly shot_category?: LuaAmmoCategoryPrototype } export interface FurnaceEntityPrototype extends BaseEntityPrototype { /** * _Can only be used if this is AssemblingMachine or Furnace_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_recipe_finished_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_recipe_finished_signal Online documentation} */ readonly default_recipe_finished_signal?: SignalID /** * _Can only be used if this is AssemblingMachine or Furnace_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_working_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_working_signal Online documentation} */ readonly default_working_signal?: SignalID /** * _Can only be used if this is Furnace_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#cant_insert_at_source_message_key Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#cant_insert_at_source_message_key Online documentation} */ readonly cant_insert_at_source_message_key?: string /** * _Can only be used if this is Furnace_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#custom_input_slot_tooltip_key Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#custom_input_slot_tooltip_key Online documentation} */ readonly custom_input_slot_tooltip_key?: string } export interface AsteroidEntityPrototype extends BaseEntityPrototype { /** * _Can only be used if this is Asteroid_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#damage_per_hp Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#damage_per_hp Online documentation} */ readonly damage_per_hp?: float } export interface BeamEntityPrototype extends BaseEntityPrototype { /** * _Can only be used if this is Beam or Stream_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#width Online documentation} */ readonly width?: float /** * _Can only be used if this is Beam or Sticker_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#damage_interval Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#damage_interval Online documentation} */ readonly damage_interval?: uint32 /** * _Can only be used if this is Beam_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#action_triggered_automatically Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#action_triggered_automatically Online documentation} */ readonly action_triggered_automatically?: boolean } export interface StreamEntityPrototype extends BaseEntityPrototype { /** * _Can only be used if this is Beam or Stream_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#width Online documentation} */ readonly width?: float /** * _Can only be used if this is Fire, Stream, Generator, ParticleSource or Projectile_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#smoke_sources Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#smoke_sources Online documentation} */ readonly smoke_sources?: SmokeSource[] /** * _Can only be used if this is Stream_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#initial_action Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#initial_action Online documentation} */ readonly initial_action?: TriggerItem[] /** * _Can only be used if this is Stream_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#special_neutral_target_damage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#special_neutral_target_damage Online documentation} */ readonly special_neutral_target_damage?: DamageParameters /** * _Can only be used if this is Stream_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#particle_buffer_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#particle_buffer_size Online documentation} */ readonly particle_buffer_size?: uint16 /** * _Can only be used if this is Stream_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#particle_spawn_interval Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#particle_spawn_interval Online documentation} */ readonly particle_spawn_interval?: uint16 /** * _Can only be used if this is Stream_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#particle_spawn_timeout Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#particle_spawn_timeout Online documentation} */ readonly particle_spawn_timeout?: uint16 /** * _Can only be used if this is Stream_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#stream_particle_horizontal_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#stream_particle_horizontal_speed Online documentation} */ readonly stream_particle_horizontal_speed?: float /** * _Can only be used if this is Stream_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#stream_particle_horizontal_speed_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#stream_particle_horizontal_speed_deviation Online documentation} */ readonly stream_particle_horizontal_speed_deviation?: float /** * _Can only be used if this is Stream_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#particle_vertical_acceleration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#particle_vertical_acceleration Online documentation} */ readonly particle_vertical_acceleration?: float /** * _Can only be used if this is Stream_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#progress_to_create_smoke Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#progress_to_create_smoke Online documentation} */ readonly progress_to_create_smoke?: float /** * _Can only be used if this is Stream_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#target_position_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#target_position_deviation Online documentation} */ readonly target_position_deviation?: double /** * _Can only be used if this is Stream_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#target_initial_position_only Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#target_initial_position_only Online documentation} */ readonly target_initial_position_only?: boolean } export interface CargoPodEntityPrototype extends BaseEntityPrototype { /** * _Can only be used if this is CargoPod or RocketSiloRocket_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#shadow_slave_entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#shadow_slave_entity Online documentation} */ readonly shadow_slave_entity?: LuaEntityPrototype } export interface SimpleEntityWithOwnerEntityPrototype extends BaseEntityPrototype { /** * _Can only be used if this is Sticker, Projectile or SimpleEntityWithOwner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#force_visibility Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#force_visibility Online documentation} */ readonly force_visibility?: ForceCondition } export interface ConstantCombinatorEntityPrototype extends BaseEntityPrototype { /** * _Can only be used if this is ConstantCombinator_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#pulse_duration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#pulse_duration Online documentation} */ readonly pulse_duration?: uint32 } export interface ProxyContainerEntityPrototype extends BaseEntityPrototype { /** * _Can only be used if this is Container or ProxyContainer_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#direction_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#direction_count Online documentation} */ readonly direction_count?: uint8 /** * _Can only be used if this is Container, LinkedContainer, ProxyContainer, SpacePlatformHub or CargoLandingPad_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_empty_slots_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_empty_slots_signal Online documentation} */ readonly default_empty_slots_signal?: SignalID } export interface DisplayPanelEntityPrototype extends BaseEntityPrototype { /** * _Can only be used if this is DisplayPanel_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#max_text_width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#max_text_width Online documentation} */ readonly max_text_width?: uint32 /** * _Can only be used if this is DisplayPanel_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#max_text_length Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#max_text_length Online documentation} */ readonly max_text_length?: uint32 /** * _Can only be used if this is DisplayPanel_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#max_records_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#max_records_count Online documentation} */ readonly max_records_count?: uint32 } export interface InfinityContainerEntityPrototype extends BaseEntityPrototype { /** * _Can only be used if this is InfinityContainer, InfinityPipe, InfinityCargoWagon, HeatInterface or LinkedContainer_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#gui_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#gui_mode Online documentation} */ readonly gui_mode?: "all" | "none" | "admins" } export interface InfinityPipeEntityPrototype extends BaseEntityPrototype { /** * _Can only be used if this is InfinityContainer, InfinityPipe, InfinityCargoWagon, HeatInterface or LinkedContainer_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#gui_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#gui_mode Online documentation} */ readonly gui_mode?: "all" | "none" | "admins" } export interface InfinityCargoWagonEntityPrototype extends BaseEntityPrototype { /** * _Can only be used if this is InfinityContainer, InfinityPipe, InfinityCargoWagon, HeatInterface or LinkedContainer_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#gui_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#gui_mode Online documentation} */ readonly gui_mode?: "all" | "none" | "admins" /** * _Can only be used if this is InfinityCargoWagon or InfinityChest_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#erase_contents_when_mined Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#erase_contents_when_mined Online documentation} */ readonly erase_contents_when_mined?: boolean /** * _Can only be used if this is InfinityCargoWagon or InfinityChest_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#preserve_contents_when_created Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#preserve_contents_when_created Online documentation} */ readonly preserve_contents_when_created?: boolean } export interface HeatInterfaceEntityPrototype extends BaseEntityPrototype { /** * _Can only be used if this is InfinityContainer, InfinityPipe, InfinityCargoWagon, HeatInterface or LinkedContainer_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#gui_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#gui_mode Online documentation} */ readonly gui_mode?: "all" | "none" | "admins" /** * _Can only be used if this is HeatPipe, HeatInterface or Reactor_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#heating_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#heating_radius Online documentation} */ readonly heating_radius?: float } export interface FireEntityPrototype extends BaseEntityPrototype { /** * _Can only be used if this is Fire_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#spawn_entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#spawn_entity Online documentation} */ readonly spawn_entity?: LuaEntityPrototype /** * _Can only be used if this is Fire_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#damage_per_tick Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#damage_per_tick Online documentation} */ readonly damage_per_tick?: DamageParameters /** * _Can only be used if this is Fire_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#maximum_spread_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#maximum_spread_count Online documentation} */ readonly maximum_spread_count?: uint16 /** * _Can only be used if this is Fire_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#initial_flame_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#initial_flame_count Online documentation} */ readonly initial_flame_count?: uint8 /** * _Can only be used if this is Fire_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#uses_alternative_behavior Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#uses_alternative_behavior Online documentation} */ readonly uses_alternative_behavior?: boolean /** * _Can only be used if this is Fire_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#limit_overlapping_particles Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#limit_overlapping_particles Online documentation} */ readonly limit_overlapping_particles?: boolean /** * _Can only be used if this is Fire_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#spread_delay Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#spread_delay Online documentation} */ readonly spread_delay?: uint32 /** * _Can only be used if this is Fire_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#spread_delay_deviation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#spread_delay_deviation Online documentation} */ readonly spread_delay_deviation?: uint32 /** * _Can only be used if this is Fire_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#tree_dying_factor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#tree_dying_factor Online documentation} */ readonly tree_dying_factor?: float /** * _Can only be used if this is Fire_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#initial_lifetime Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#initial_lifetime Online documentation} */ readonly initial_lifetime?: uint32 /** * _Can only be used if this is Fire_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#damage_multiplier_decrease_per_tick Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#damage_multiplier_decrease_per_tick Online documentation} */ readonly damage_multiplier_decrease_per_tick?: float /** * _Can only be used if this is Fire_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#damage_multiplier_increase_per_added_fuel Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#damage_multiplier_increase_per_added_fuel Online documentation} */ readonly damage_multiplier_increase_per_added_fuel?: float /** * _Can only be used if this is Fire_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#maximum_damage_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#maximum_damage_multiplier Online documentation} */ readonly maximum_damage_multiplier?: float /** * _Can only be used if this is Fire_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#lifetime_increase_by Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#lifetime_increase_by Online documentation} */ readonly lifetime_increase_by?: uint32 /** * _Can only be used if this is Fire_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#lifetime_increase_cooldown Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#lifetime_increase_cooldown Online documentation} */ readonly lifetime_increase_cooldown?: uint32 /** * _Can only be used if this is Fire_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#maximum_lifetime Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#maximum_lifetime Online documentation} */ readonly maximum_lifetime?: uint32 /** * _Can only be used if this is Fire_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#add_fuel_cooldown Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#add_fuel_cooldown Online documentation} */ readonly add_fuel_cooldown?: uint32 /** * _Can only be used if this is Fire_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#delay_between_initial_flames Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#delay_between_initial_flames Online documentation} */ readonly delay_between_initial_flames?: uint32 /** * _Can only be used if this is Fire_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#on_fuel_added_action Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#on_fuel_added_action Online documentation} */ readonly on_fuel_added_action?: TriggerItem[] /** * _Can only be used if this is Fire_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#on_damage_tick_effect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#on_damage_tick_effect Online documentation} */ readonly on_damage_tick_effect?: TriggerItem[] /** * _Can only be used if this is Fire, Stream, Generator, ParticleSource or Projectile_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#smoke_sources Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#smoke_sources Online documentation} */ readonly smoke_sources?: SmokeSource[] } export interface ParticleSourceEntityPrototype extends BaseEntityPrototype { /** * _Can only be used if this is Fire, Stream, Generator, ParticleSource or Projectile_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#smoke_sources Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#smoke_sources Online documentation} */ readonly smoke_sources?: SmokeSource[] /** * _Can only be used if this is ParticleSource_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#particle Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#particle Online documentation} */ readonly particle?: LuaParticlePrototype /** * _Can only be used if this is ParticleSource_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#particle_time_to_live Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#particle_time_to_live Online documentation} */ readonly particle_time_to_live?: DeviatedValue /** * _Can only be used if this is ParticleSource_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#particle_time_before_start Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#particle_time_before_start Online documentation} */ readonly particle_time_before_start?: DeviatedValue /** * _Can only be used if this is ParticleSource_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#particle_height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#particle_height Online documentation} */ readonly particle_height?: DeviatedValue /** * _Can only be used if this is ParticleSource_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#particle_vertical_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#particle_vertical_speed Online documentation} */ readonly particle_vertical_speed?: DeviatedValue /** * _Can only be used if this is ParticleSource_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#particle_horizontal_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#particle_horizontal_speed Online documentation} */ readonly particle_horizontal_speed?: DeviatedValue } export interface RailSignalBaseEntityPrototype extends BaseEntityPrototype { /** * _Can only be used if this is RollingStock or RailSignalBase_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#elevated_collision_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#elevated_collision_mask Online documentation} */ readonly elevated_collision_mask?: CollisionMask /** * _Can only be used if this is RollingStock or RailSignalBase_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#elevated_selection_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#elevated_selection_priority Online documentation} */ readonly elevated_selection_priority?: uint8 /** * _Can only be used if this is RailSignalBase_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_red_output_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_red_output_signal Online documentation} */ readonly default_red_output_signal?: SignalID /** * _Can only be used if this is RailSignalBase_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_orange_output_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_orange_output_signal Online documentation} */ readonly default_orange_output_signal?: SignalID /** * _Can only be used if this is RailSignalBase_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_green_output_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_green_output_signal Online documentation} */ readonly default_green_output_signal?: SignalID /** * _Can only be used if this is RailSignalBase_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_blue_output_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_blue_output_signal Online documentation} */ readonly default_blue_output_signal?: SignalID } export interface GateEntityPrototype extends BaseEntityPrototype { /** * _Can only be used if this is Gate_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#opening_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#opening_speed Online documentation} */ readonly opening_speed?: float /** * _Can only be used if this is Gate_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#activation_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#activation_distance Online documentation} */ readonly activation_distance?: double /** * _Can only be used if this is Gate_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#timeout_to_close Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#timeout_to_close Online documentation} */ readonly timeout_to_close?: uint32 /** * _Can only be used if this is Gate_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#opened_collision_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#opened_collision_mask Online documentation} */ readonly opened_collision_mask?: CollisionMask } export interface HeatPipeEntityPrototype extends BaseEntityPrototype { /** * _Can only be used if this is HeatPipe, HeatInterface or Reactor_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#heating_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#heating_radius Online documentation} */ readonly heating_radius?: float } export interface InfinityChestEntityPrototype extends BaseEntityPrototype { /** * _Can only be used if this is InfinityCargoWagon or InfinityChest_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#erase_contents_when_mined Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#erase_contents_when_mined Online documentation} */ readonly erase_contents_when_mined?: boolean /** * _Can only be used if this is InfinityCargoWagon or InfinityChest_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#preserve_contents_when_created Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#preserve_contents_when_created Online documentation} */ readonly preserve_contents_when_created?: boolean } export interface LinkedBeltEntityPrototype extends BaseEntityPrototype { /** * _Can only be used if this is LinkedBelt_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#allow_clone_connection Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#allow_clone_connection Online documentation} */ readonly allow_clone_connection?: boolean /** * _Can only be used if this is LinkedBelt_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#allow_blueprint_connection Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#allow_blueprint_connection Online documentation} */ readonly allow_blueprint_connection?: boolean /** * _Can only be used if this is LinkedBelt_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#allow_side_loading Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#allow_side_loading Online documentation} */ readonly allow_side_loading?: boolean } export interface RailRemnantsEntityPrototype extends BaseEntityPrototype { /** * _Can only be used if this is RailRemnants_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#related_rail Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#related_rail Online documentation} */ readonly related_rail?: LuaEntityPrototype } export interface SelectorCombinatorEntityPrototype extends BaseEntityPrototype { /** * _Can only be used if this is SelectorCombinator_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_game_tick_output_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_game_tick_output_signal Online documentation} */ readonly default_game_tick_output_signal?: SignalID /** * _Can only be used if this is SelectorCombinator_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_day_tick_output_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_day_tick_output_signal Online documentation} */ readonly default_day_tick_output_signal?: SignalID /** * _Can only be used if this is SelectorCombinator_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#default_day_length_output_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#default_day_length_output_signal Online documentation} */ readonly default_day_length_output_signal?: SignalID } export interface SmokeWithTriggerEntityPrototype extends BaseEntityPrototype { /** * _Can only be used if this is SmokeWithTrigger_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#action Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#action Online documentation} */ readonly action?: TriggerItem[] /** * _Can only be used if this is SmokeWithTrigger_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#action_cooldown Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#action_cooldown Online documentation} */ readonly action_cooldown?: uint32 /** * _Can only be used if this is SmokeWithTrigger_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#particle_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#particle_count Online documentation} */ readonly particle_count?: uint8 /** * _Can only be used if this is SmokeWithTrigger_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEntityPrototype.html#attach_to_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEntityPrototype.html#attach_to_target Online documentation} */ readonly attach_to_target?: boolean } @@ -18452,46 +18463,46 @@ declare module "factorio:runtime" { * An item in a {@link LuaEquipmentGrid}, for example a fusion reactor placed in one's power armor. * * An equipment reference becomes invalid once the equipment is removed or the equipment grid it resides in is destroyed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipment.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipment.html Online documentation} */ export interface LuaEquipment { /** * Name of this equipment. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipment.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipment.html#name Online documentation} */ readonly name: string /** * Name of the equipment contained in this ghost * * _Can only be used if this is Ghost_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipment.html#ghost_name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipment.html#ghost_name Online documentation} */ readonly ghost_name: string /** * Type of this equipment. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipment.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipment.html#type Online documentation} */ readonly type: EquipmentType /** * Type of the equipment contained in this ghost. * * _Can only be used if this is Ghost_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipment.html#ghost_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipment.html#ghost_type Online documentation} */ readonly ghost_type: EquipmentType /** * Quality of this equipment. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipment.html#quality Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipment.html#quality Online documentation} */ readonly quality: LuaQualityPrototype /** * Position of this equipment in the equipment grid. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipment.html#position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipment.html#position Online documentation} */ readonly position: EquipmentPosition /** * Shape of this equipment. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipment.html#shape Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipment.html#shape Online documentation} */ readonly shape: { readonly width: uint32 @@ -18501,42 +18512,42 @@ declare module "factorio:runtime" { * Current shield value of the equipment. Can't be set higher than {@link LuaEquipment#max_shield LuaEquipment::max_shield}. * * Trying to write this value on non-shield equipment will throw an error. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipment.html#shield Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipment.html#shield Online documentation} */ shield: double /** * Maximum shield value. `0` if this equipment doesn't have a shield. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipment.html#max_shield Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipment.html#max_shield Online documentation} */ readonly max_shield: double /** * Maximum energy per tick crated by this equipment on the current surface. Actual generated energy varies depending on the daylight levels. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipment.html#max_solar_power Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipment.html#max_solar_power Online documentation} */ readonly max_solar_power: double /** * Inventory size bonus. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipment.html#inventory_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipment.html#inventory_bonus Online documentation} */ readonly inventory_bonus: uint32 /** * Movement speed bonus. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipment.html#movement_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipment.html#movement_bonus Online documentation} */ readonly movement_bonus: double /** * Energy generated per tick. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipment.html#generator_power Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipment.html#generator_power Online documentation} */ readonly generator_power: double /** * Current available energy. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipment.html#energy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipment.html#energy Online documentation} */ energy: double /** * Maximum amount of energy that can be stored in this equipment. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipment.html#max_energy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipment.html#max_energy Online documentation} */ readonly max_energy: double readonly prototype: LuaEquipmentPrototype @@ -18544,38 +18555,38 @@ declare module "factorio:runtime" { * The prototype of the equipment contained in this ghost. * * _Can only be used if this is Ghost_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipment.html#ghost_prototype Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipment.html#ghost_prototype Online documentation} */ readonly ghost_prototype: LuaEquipmentPrototype /** * The burner energy source for this equipment, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipment.html#burner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipment.html#burner Online documentation} */ readonly burner?: LuaBurner /** * If this equipment is marked to be removed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipment.html#to_be_removed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipment.html#to_be_removed Online documentation} */ readonly to_be_removed: boolean /** * The power production specific to the ElectricEnergyInterfaceEquipment type. * * _Can only be used if this is ElectricEnergyInterfaceEquipment_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipment.html#power_production Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipment.html#power_production Online documentation} */ power_production: double /** * The power usage specific to the ElectricEnergyInterfaceEquipment type. * * _Can only be used if this is ElectricEnergyInterfaceEquipment_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipment.html#power_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipment.html#power_usage Online documentation} */ power_usage: double /** * The power buffer size of this ElectricEnergyInterfaceEquipment. * * _Can only be used if this is ElectricEnergyInterfaceEquipment_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipment.html#electric_buffer_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipment.html#electric_buffer_size Online documentation} */ electric_buffer_size: double /** @@ -18590,27 +18601,27 @@ declare module "factorio:runtime" { export interface BaseEquipment { /** * Name of this equipment. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipment.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipment.html#name Online documentation} */ readonly name: string /** * Type of this equipment. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipment.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipment.html#type Online documentation} */ readonly type: EquipmentType /** * Quality of this equipment. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipment.html#quality Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipment.html#quality Online documentation} */ readonly quality: LuaQualityPrototype /** * Position of this equipment in the equipment grid. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipment.html#position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipment.html#position Online documentation} */ readonly position: EquipmentPosition /** * Shape of this equipment. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipment.html#shape Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipment.html#shape Online documentation} */ readonly shape: { readonly width: uint32 @@ -18620,53 +18631,53 @@ declare module "factorio:runtime" { * Current shield value of the equipment. Can't be set higher than {@link LuaEquipment#max_shield LuaEquipment::max_shield}. * * Trying to write this value on non-shield equipment will throw an error. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipment.html#shield Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipment.html#shield Online documentation} */ shield: double /** * Maximum shield value. `0` if this equipment doesn't have a shield. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipment.html#max_shield Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipment.html#max_shield Online documentation} */ readonly max_shield: double /** * Maximum energy per tick crated by this equipment on the current surface. Actual generated energy varies depending on the daylight levels. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipment.html#max_solar_power Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipment.html#max_solar_power Online documentation} */ readonly max_solar_power: double /** * Inventory size bonus. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipment.html#inventory_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipment.html#inventory_bonus Online documentation} */ readonly inventory_bonus: uint32 /** * Movement speed bonus. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipment.html#movement_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipment.html#movement_bonus Online documentation} */ readonly movement_bonus: double /** * Energy generated per tick. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipment.html#generator_power Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipment.html#generator_power Online documentation} */ readonly generator_power: double /** * Current available energy. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipment.html#energy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipment.html#energy Online documentation} */ energy: double /** * Maximum amount of energy that can be stored in this equipment. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipment.html#max_energy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipment.html#max_energy Online documentation} */ readonly max_energy: double readonly prototype: LuaEquipmentPrototype /** * The burner energy source for this equipment, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipment.html#burner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipment.html#burner Online documentation} */ readonly burner?: LuaBurner /** * If this equipment is marked to be removed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipment.html#to_be_removed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipment.html#to_be_removed Online documentation} */ readonly to_be_removed: boolean /** @@ -18683,21 +18694,21 @@ declare module "factorio:runtime" { * Name of the equipment contained in this ghost * * _Can only be used if this is Ghost_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipment.html#ghost_name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipment.html#ghost_name Online documentation} */ readonly ghost_name: string /** * Type of the equipment contained in this ghost. * * _Can only be used if this is Ghost_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipment.html#ghost_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipment.html#ghost_type Online documentation} */ readonly ghost_type: EquipmentType /** * The prototype of the equipment contained in this ghost. * * _Can only be used if this is Ghost_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipment.html#ghost_prototype Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipment.html#ghost_prototype Online documentation} */ readonly ghost_prototype: LuaEquipmentPrototype } @@ -18706,27 +18717,27 @@ declare module "factorio:runtime" { * The power production specific to the ElectricEnergyInterfaceEquipment type. * * _Can only be used if this is ElectricEnergyInterfaceEquipment_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipment.html#power_production Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipment.html#power_production Online documentation} */ power_production: double /** * The power usage specific to the ElectricEnergyInterfaceEquipment type. * * _Can only be used if this is ElectricEnergyInterfaceEquipment_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipment.html#power_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipment.html#power_usage Online documentation} */ power_usage: double /** * The power buffer size of this ElectricEnergyInterfaceEquipment. * * _Can only be used if this is ElectricEnergyInterfaceEquipment_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipment.html#electric_buffer_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipment.html#electric_buffer_size Online documentation} */ electric_buffer_size: double } /** * Prototype of an equipment category. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentCategoryPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentCategoryPrototype.html Online documentation} */ export interface LuaEquipmentCategoryPrototype extends LuaPrototypeBase { /** @@ -18740,14 +18751,14 @@ declare module "factorio:runtime" { } /** * An equipment grid is for example the inside of a power armor. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentGrid.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentGrid.html Online documentation} * @noSelf */ export interface LuaEquipmentGrid { /** * Remove an equipment from the grid. * @returns The removed equipment, or `nil` if no equipment was removed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentGrid.html#take Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentGrid.html#take Online documentation} */ take(params: { /** @@ -18767,19 +18778,19 @@ declare module "factorio:runtime" { * Remove all equipment from the grid. * @param by_player If provided, the action is done 'as' this player and {@link OnPlayerRemovedEquipmentEvent on_player_removed_equipment} is triggered. * @returns List of the equipment that has been removed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentGrid.html#take_all Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentGrid.html#take_all Online documentation} */ take_all(by_player?: PlayerIdentification): ItemWithQualityCount[] /** * Clear all equipment from the grid, removing it without actually returning it. * @param by_player If provided, the action is done 'as' this player and {@link OnPlayerRemovedEquipmentEvent on_player_removed_equipment} is triggered. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentGrid.html#clear Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentGrid.html#clear Online documentation} */ clear(by_player?: PlayerIdentification): void /** * Insert an equipment into the grid. * @returns The newly-added equipment, or `nil` if the equipment could not be added. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentGrid.html#put Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentGrid.html#put Online documentation} */ put(params: { /** @@ -18805,7 +18816,7 @@ declare module "factorio:runtime" { }): LuaEquipment | nil /** * Check whether moving an equipment would succeed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentGrid.html#can_move Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentGrid.html#can_move Online documentation} */ can_move(params: { /** @@ -18820,7 +18831,7 @@ declare module "factorio:runtime" { /** * Move an equipment within this grid. * @returns `true` if the equipment was successfully moved. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentGrid.html#move Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentGrid.html#move Online documentation} */ move(params: { /** @@ -18836,19 +18847,19 @@ declare module "factorio:runtime" { * Find equipment in the Equipment Grid colliding with this position. * @param position The position * @returns The found equipment, or `nil` if equipment occupying the given position could not be found. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentGrid.html#get Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentGrid.html#get Online documentation} */ get(position: EquipmentPosition | EquipmentPositionArray): LuaEquipment | nil /** * Get counts of all equipment in this grid. * @returns List of all equipment in the grid. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentGrid.html#get_contents Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentGrid.html#get_contents Online documentation} */ get_contents(): EquipmentWithQualityCounts[] /** * Total energy per tick generated by the equipment inside this grid. * @param quality Defaults to `"normal"`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentGrid.html#get_generator_energy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentGrid.html#get_generator_energy Online documentation} */ get_generator_energy(quality?: QualityID): double /** @@ -18856,111 +18867,111 @@ declare module "factorio:runtime" { * @param equipment Prototype of the equipment to find. * @param search_ghosts If ghosts inner equipment should be searched. Defaults to `false` * @returns The first found equipment, or `nil` if equipment could not be found. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentGrid.html#find Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentGrid.html#find Online documentation} */ find(equipment: EquipmentWithQualityID, search_ghosts?: boolean): LuaEquipment | nil /** * Get the number of all or some equipment in this grid. * @param equipment The equipment to count. If not specified, count all equipment. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentGrid.html#count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentGrid.html#count Online documentation} */ count(equipment?: EquipmentWithQualityID): uint32 /** * Revives the given equipment ghost if possible. * @param equipment The equipment ghost to revive. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentGrid.html#revive Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentGrid.html#revive Online documentation} */ revive(equipment: LuaEquipment): LuaEquipment /** * Marks the given equipment for removal. If the given equipment is a ghost it is removed. * @returns If the equipment was successfully marked for removal (or in the case of a ghost; removed.) - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentGrid.html#order_removal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentGrid.html#order_removal Online documentation} */ order_removal(equipment: LuaEquipment): boolean /** * Cancels removal for the given equipment. * @returns If the equipment removal was successfully cancelled. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentGrid.html#cancel_removal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentGrid.html#cancel_removal Online documentation} */ cancel_removal(equipment: LuaEquipment): boolean readonly prototype: LuaEquipmentGridPrototype /** * Width of the equipment grid. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentGrid.html#width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentGrid.html#width Online documentation} */ readonly width: uint32 /** * Height of the equipment grid. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentGrid.html#height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentGrid.html#height Online documentation} */ readonly height: uint32 /** * All the equipment in this grid. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentGrid.html#equipment Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentGrid.html#equipment Online documentation} */ readonly equipment: LuaEquipment[] /** * Maximum energy per tick that can be created by all solar panels in the equipment grid on the current surface. Actual generated energy varies depending on the daylight levels. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentGrid.html#max_solar_energy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentGrid.html#max_solar_energy Online documentation} */ readonly max_solar_energy: double /** * The total energy stored in all batteries in the equipment grid. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentGrid.html#available_in_batteries Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentGrid.html#available_in_batteries Online documentation} */ readonly available_in_batteries: double /** * Total energy storage capacity of all batteries in the equipment grid. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentGrid.html#battery_capacity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentGrid.html#battery_capacity Online documentation} */ readonly battery_capacity: double /** * The amount of shield hitpoints this equipment grid currently has across all shield equipment. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentGrid.html#shield Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentGrid.html#shield Online documentation} */ readonly shield: float /** * The maximum amount of shield hitpoints this equipment grid has across all shield equipment. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentGrid.html#max_shield Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentGrid.html#max_shield Online documentation} */ readonly max_shield: float /** * The total amount of inventory bonus this equipment grid gives. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentGrid.html#inventory_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentGrid.html#inventory_bonus Online documentation} */ readonly inventory_bonus: uint32 /** * The total amount of movement bonus this equipment grid gives. * * Returns `0` if {@link LuaEquipmentGrid#inhibit_movement_bonus LuaEquipmentGrid::inhibit_movement_bonus} is `true`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentGrid.html#movement_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentGrid.html#movement_bonus Online documentation} */ readonly movement_bonus: double /** * Whether this grid's equipment movement bonus is active. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentGrid.html#inhibit_movement_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentGrid.html#inhibit_movement_bonus Online documentation} */ inhibit_movement_bonus: boolean /** * Unique identifier of this equipment grid. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentGrid.html#unique_id Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentGrid.html#unique_id Online documentation} */ readonly unique_id: uint32 /** * The entity that this equipment grid is owned by (in some inventory or item stack.) * * If the owning entity is a character owned by some player and the player is disconnected this will return `nil`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentGrid.html#entity_owner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentGrid.html#entity_owner Online documentation} */ readonly entity_owner?: LuaEntity /** * The player that this equipment grid is owned by (in some inventory or item stack.) - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentGrid.html#player_owner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentGrid.html#player_owner Online documentation} */ readonly player_owner?: LuaPlayer /** * The item stack that this equipment grid is owned by. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentGrid.html#itemstack_owner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentGrid.html#itemstack_owner Online documentation} */ readonly itemstack_owner?: LuaItemStack /** @@ -18974,19 +18985,19 @@ declare module "factorio:runtime" { } /** * Prototype of an equipment grid. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentGridPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentGridPrototype.html Online documentation} */ export interface LuaEquipmentGridPrototype extends LuaPrototypeBase { /** * Equipment category names for the {@link LuaEquipmentPrototype#equipment_categories categories} that may be inserted into this equipment grid. The grid will accept any equipment that has at least one category in this list. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentGridPrototype.html#equipment_categories Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentGridPrototype.html#equipment_categories Online documentation} */ readonly equipment_categories: string[] readonly width: uint32 readonly height: uint32 /** * If the player can move equipment into or out of this grid. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentGridPrototype.html#locked Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentGridPrototype.html#locked Online documentation} */ readonly locked: boolean /** @@ -19000,29 +19011,29 @@ declare module "factorio:runtime" { } /** * Prototype of a modular equipment. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentPrototype.html Online documentation} * @noSelf */ export interface LuaEquipmentPrototype extends LuaPrototypeBase { /** * The shield value of this equipment. 0 for non-shield equipment. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentPrototype.html#get_shield Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentPrototype.html#get_shield Online documentation} */ get_shield(quality?: QualityID): float get_energy_consumption(quality?: QualityID): double /** * _Can only be used if this is InventoryBonusEquipment_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentPrototype.html#get_inventory_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentPrototype.html#get_inventory_bonus Online documentation} */ get_inventory_bonus(quality?: QualityID): uint32 | nil /** * _Can only be used if this is MovementBonusEquipment_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentPrototype.html#get_movement_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentPrototype.html#get_movement_bonus Online documentation} */ get_movement_bonus(quality?: QualityID): float | nil /** * Shape of this equipment prototype. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentPrototype.html#shape Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentPrototype.html#shape Online documentation} */ readonly shape: { readonly width: uint32 @@ -19034,24 +19045,24 @@ declare module "factorio:runtime" { } /** * The result item when taking this equipment out of an equipment grid, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentPrototype.html#take_result Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentPrototype.html#take_result Online documentation} */ readonly take_result?: LuaItemPrototype /** * The max power generated by this equipment. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentPrototype.html#energy_production Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentPrototype.html#energy_production Online documentation} */ readonly energy_production: double /** * The energy per shield point restored. 0 for non-shield equipment. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentPrototype.html#energy_per_shield Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentPrototype.html#energy_per_shield Online documentation} */ readonly energy_per_shield: double /** * The logistic parameters for this roboport equipment. * * _Can only be used if this is RoboportEquipment_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentPrototype.html#logistic_parameters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentPrototype.html#logistic_parameters Online documentation} */ readonly logistic_parameters?: { readonly spawn_and_station_height: float @@ -19073,69 +19084,69 @@ declare module "factorio:runtime" { } /** * The energy source prototype for the equipment. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentPrototype.html#energy_source Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentPrototype.html#energy_source Online documentation} */ readonly energy_source: LuaElectricEnergySourcePrototype /** * Category names for this equipment. These {@link LuaEquipmentGridPrototype#equipment_categories categories} will be used to determine whether this equipment is allowed in a particular equipment grid. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentPrototype.html#equipment_categories Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentPrototype.html#equipment_categories Online documentation} */ readonly equipment_categories: string[] /** * The burner energy source prototype this equipment uses, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentPrototype.html#burner_prototype Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentPrototype.html#burner_prototype Online documentation} */ readonly burner_prototype?: LuaBurnerPrototype /** * The electric energy source prototype this equipment uses, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentPrototype.html#electric_energy_source_prototype Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentPrototype.html#electric_energy_source_prototype Online documentation} */ readonly electric_energy_source_prototype?: LuaElectricEnergySourcePrototype /** * The background color of this equipment prototype. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentPrototype.html#background_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentPrototype.html#background_color Online documentation} */ readonly background_color: Color /** * The equipment attack parameters. * * _Can only be used if this is ActiveDefenseEquipment_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentPrototype.html#attack_parameters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentPrototype.html#attack_parameters Online documentation} */ readonly attack_parameters?: AttackParameters /** * Whether this active defense equipment is automatic. Returns false if not active defense equipment. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentPrototype.html#automatic Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentPrototype.html#automatic Online documentation} */ readonly automatic: boolean /** * _Can only be used if this is SolarPanelEquipment_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentPrototype.html#solar_panel_performance_at_day Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentPrototype.html#solar_panel_performance_at_day Online documentation} */ readonly solar_panel_performance_at_day?: double /** * _Can only be used if this is SolarPanelEquipment_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentPrototype.html#solar_panel_performance_at_night Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentPrototype.html#solar_panel_performance_at_night Online documentation} */ readonly solar_panel_performance_at_night?: double /** * _Can only be used if this is SolarPanelEquipment_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentPrototype.html#solar_panel_solar_coefficient_property Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentPrototype.html#solar_panel_solar_coefficient_property Online documentation} */ readonly solar_panel_solar_coefficient_property?: LuaSurfacePropertyPrototype /** * _Can only be used if this is ElectricEnergyInterfaceEquipment_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentPrototype.html#gui_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentPrototype.html#gui_mode Online documentation} */ readonly gui_mode?: "all" | "none" | "admins" /** * _Can only be used if this is NightVisionEquipment_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentPrototype.html#darkness_to_turn_on Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentPrototype.html#darkness_to_turn_on Online documentation} */ readonly darkness_to_turn_on?: float /** * _Can only be used if this is NightVisionEquipment_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentPrototype.html#sunglasses Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentPrototype.html#sunglasses Online documentation} */ readonly sunglasses?: boolean /** @@ -19153,13 +19164,13 @@ declare module "factorio:runtime" { export interface BaseEquipmentPrototype extends LuaPrototypeBase { /** * The shield value of this equipment. 0 for non-shield equipment. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentPrototype.html#get_shield Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentPrototype.html#get_shield Online documentation} */ get_shield(quality?: QualityID): float get_energy_consumption(quality?: QualityID): double /** * Shape of this equipment prototype. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentPrototype.html#shape Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentPrototype.html#shape Online documentation} */ readonly shape: { readonly width: uint32 @@ -19171,47 +19182,47 @@ declare module "factorio:runtime" { } /** * The result item when taking this equipment out of an equipment grid, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentPrototype.html#take_result Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentPrototype.html#take_result Online documentation} */ readonly take_result?: LuaItemPrototype /** * The max power generated by this equipment. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentPrototype.html#energy_production Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentPrototype.html#energy_production Online documentation} */ readonly energy_production: double /** * The energy per shield point restored. 0 for non-shield equipment. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentPrototype.html#energy_per_shield Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentPrototype.html#energy_per_shield Online documentation} */ readonly energy_per_shield: double /** * The energy source prototype for the equipment. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentPrototype.html#energy_source Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentPrototype.html#energy_source Online documentation} */ readonly energy_source: LuaElectricEnergySourcePrototype /** * Category names for this equipment. These {@link LuaEquipmentGridPrototype#equipment_categories categories} will be used to determine whether this equipment is allowed in a particular equipment grid. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentPrototype.html#equipment_categories Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentPrototype.html#equipment_categories Online documentation} */ readonly equipment_categories: string[] /** * The burner energy source prototype this equipment uses, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentPrototype.html#burner_prototype Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentPrototype.html#burner_prototype Online documentation} */ readonly burner_prototype?: LuaBurnerPrototype /** * The electric energy source prototype this equipment uses, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentPrototype.html#electric_energy_source_prototype Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentPrototype.html#electric_energy_source_prototype Online documentation} */ readonly electric_energy_source_prototype?: LuaElectricEnergySourcePrototype /** * The background color of this equipment prototype. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentPrototype.html#background_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentPrototype.html#background_color Online documentation} */ readonly background_color: Color /** * Whether this active defense equipment is automatic. Returns false if not active defense equipment. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentPrototype.html#automatic Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentPrototype.html#automatic Online documentation} */ readonly automatic: boolean /** @@ -19229,7 +19240,7 @@ declare module "factorio:runtime" { export interface InventoryBonusEquipmentPrototype extends BaseEquipmentPrototype { /** * _Can only be used if this is InventoryBonusEquipment_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentPrototype.html#get_inventory_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentPrototype.html#get_inventory_bonus Online documentation} */ get_inventory_bonus(quality?: QualityID): uint32 | nil } @@ -19239,7 +19250,7 @@ declare module "factorio:runtime" { export interface MovementBonusEquipmentPrototype extends BaseEquipmentPrototype { /** * _Can only be used if this is MovementBonusEquipment_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentPrototype.html#get_movement_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentPrototype.html#get_movement_bonus Online documentation} */ get_movement_bonus(quality?: QualityID): float | nil } @@ -19248,7 +19259,7 @@ declare module "factorio:runtime" { * The logistic parameters for this roboport equipment. * * _Can only be used if this is RoboportEquipment_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentPrototype.html#logistic_parameters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentPrototype.html#logistic_parameters Online documentation} */ readonly logistic_parameters?: { readonly spawn_and_station_height: float @@ -19274,43 +19285,43 @@ declare module "factorio:runtime" { * The equipment attack parameters. * * _Can only be used if this is ActiveDefenseEquipment_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentPrototype.html#attack_parameters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentPrototype.html#attack_parameters Online documentation} */ readonly attack_parameters?: AttackParameters } export interface SolarPanelEquipmentPrototype extends BaseEquipmentPrototype { /** * _Can only be used if this is SolarPanelEquipment_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentPrototype.html#solar_panel_performance_at_day Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentPrototype.html#solar_panel_performance_at_day Online documentation} */ readonly solar_panel_performance_at_day?: double /** * _Can only be used if this is SolarPanelEquipment_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentPrototype.html#solar_panel_performance_at_night Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentPrototype.html#solar_panel_performance_at_night Online documentation} */ readonly solar_panel_performance_at_night?: double /** * _Can only be used if this is SolarPanelEquipment_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentPrototype.html#solar_panel_solar_coefficient_property Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentPrototype.html#solar_panel_solar_coefficient_property Online documentation} */ readonly solar_panel_solar_coefficient_property?: LuaSurfacePropertyPrototype } export interface ElectricEnergyInterfaceEquipmentPrototype extends BaseEquipmentPrototype { /** * _Can only be used if this is ElectricEnergyInterfaceEquipment_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentPrototype.html#gui_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentPrototype.html#gui_mode Online documentation} */ readonly gui_mode?: "all" | "none" | "admins" } export interface NightVisionEquipmentPrototype extends BaseEquipmentPrototype { /** * _Can only be used if this is NightVisionEquipment_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentPrototype.html#darkness_to_turn_on Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentPrototype.html#darkness_to_turn_on Online documentation} */ readonly darkness_to_turn_on?: float /** * _Can only be used if this is NightVisionEquipment_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaEquipmentPrototype.html#sunglasses Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaEquipmentPrototype.html#sunglasses Online documentation} */ readonly sunglasses?: boolean } @@ -19324,7 +19335,7 @@ declare module "factorio:runtime" { * - The kills GUI shows "losses" on the right, so `output` describes how many of the force's entities were killed by enemies. * * - The electric network GUI shows "power consumption" on the left side, so in this case `input` describes the power consumption numbers. In addition, electric networks are currently the only ones that utilize the `storage` part of their statistics, showing accumulator charges to the far right of the GUI. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFlowStatistics.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFlowStatistics.html Online documentation} * @noSelf */ export interface LuaFlowStatistics { @@ -19333,7 +19344,7 @@ declare module "factorio:runtime" { * * These values get merged into the input counts at the end of the tick. * @param id The prototype ID. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFlowStatistics.html#get_current_input_sample Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFlowStatistics.html#get_current_input_sample Online documentation} */ get_current_input_sample(id: FlowStatisticsID): double /** @@ -19342,7 +19353,7 @@ declare module "factorio:runtime" { * These values get merged into the input counts at the end of the tick. * @param id The prototype ID. * @param count The new count. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFlowStatistics.html#set_current_input_sample Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFlowStatistics.html#set_current_input_sample Online documentation} */ set_current_input_sample(id: FlowStatisticsID, count: double): void /** @@ -19350,7 +19361,7 @@ declare module "factorio:runtime" { * * These values get merged into the output counts at the end of the tick. * @param id The prototype ID. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFlowStatistics.html#get_current_output_sample Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFlowStatistics.html#get_current_output_sample Online documentation} */ get_current_output_sample(id: FlowStatisticsID): double /** @@ -19359,46 +19370,46 @@ declare module "factorio:runtime" { * These values get merged into the output counts at the end of the tick. * @param id The prototype ID. * @param count The new count. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFlowStatistics.html#set_current_output_sample Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFlowStatistics.html#set_current_output_sample Online documentation} */ set_current_output_sample(id: FlowStatisticsID, count: double): void /** * Gets the total input count for a given prototype. * @param id The prototype ID. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFlowStatistics.html#get_input_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFlowStatistics.html#get_input_count Online documentation} */ get_input_count(id: FlowStatisticsID): uint64 | double /** * Sets the total input count for a given prototype. * @param id The prototype ID. * @param count The new count. The type depends on the instance of the statistics. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFlowStatistics.html#set_input_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFlowStatistics.html#set_input_count Online documentation} */ set_input_count(id: FlowStatisticsID, count: uint64 | double): void /** * Gets the total output count for a given prototype. * @param id The prototype ID. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFlowStatistics.html#get_output_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFlowStatistics.html#get_output_count Online documentation} */ get_output_count(id: FlowStatisticsID): uint64 | double /** * Sets the total output count for a given prototype. * @param id The prototype ID. * @param count The new count. The type depends on the instance of the statistics. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFlowStatistics.html#set_output_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFlowStatistics.html#set_output_count Online documentation} */ set_output_count(id: FlowStatisticsID, count: uint64 | double): void /** * Gets the total storage count for a given prototype. * @param id The prototype ID. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFlowStatistics.html#get_storage_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFlowStatistics.html#get_storage_count Online documentation} */ get_storage_count(id: FlowStatisticsID): uint64 | double /** * Sets the total storage count for a given prototype. * @param id The prototype ID. * @param count The new count. The type depends on the instance of the statistics. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFlowStatistics.html#set_storage_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFlowStatistics.html#set_storage_count Online documentation} */ set_storage_count(id: FlowStatisticsID, count: uint64 | double): void /** @@ -19407,7 +19418,7 @@ declare module "factorio:runtime" { * Use `sample_index` to access the data used to generate the statistics graphs. Each precision level contains 300 samples of data so at a precision of 1 minute, each sample contains data averaged across 60s / 300 = 0.2s = 12 ticks. * * All return values are normalized to be per-tick for electric networks and per-minute for all other types. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFlowStatistics.html#get_flow_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFlowStatistics.html#get_flow_count Online documentation} */ get_flow_count(params: { /** @@ -19435,57 +19446,57 @@ declare module "factorio:runtime" { * Adds a value to this flow statistics. * @param id The prototype ID. * @param count The count: positive or negative determines if the value goes in the input or output statistics. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFlowStatistics.html#on_flow Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFlowStatistics.html#on_flow Online documentation} */ on_flow(id: FlowStatisticsID, count: float): void /** * Reset all the statistics data to 0. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFlowStatistics.html#clear Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFlowStatistics.html#clear Online documentation} */ clear(): void /** * List of input counts indexed by prototype name. Represents the data that is shown on the left side of the GUI for the given statistics. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFlowStatistics.html#input_counts Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFlowStatistics.html#input_counts Online documentation} */ readonly input_counts: Record /** * A mapping of quality name to a list of input counts indexed by prototype name. Represents the data that is shown on the left side of the GUI for the given statistics. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFlowStatistics.html#input_quality_counts Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFlowStatistics.html#input_quality_counts Online documentation} */ readonly input_quality_counts: Record> /** * A mapping of quality name to a list of current tick input samples indexed by prototype name. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFlowStatistics.html#current_input_quality_samples Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFlowStatistics.html#current_input_quality_samples Online documentation} */ readonly current_input_quality_samples: Record> /** * List of output counts indexed by prototype name. Represents the data that is shown in the middle of the GUI for electric networks and on the right side for all other statistics types. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFlowStatistics.html#output_counts Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFlowStatistics.html#output_counts Online documentation} */ readonly output_counts: Record /** * A mapping of quality name to a list of output counts indexed by prototype name. Represents the data that is shown in the middle of the GUI for electric networks and on the right side for all other statistics types. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFlowStatistics.html#output_quality_counts Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFlowStatistics.html#output_quality_counts Online documentation} */ readonly output_quality_counts: Record> /** * A mapping of quality name to a list of current tick output samples indexed by prototype name. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFlowStatistics.html#current_output_quality_samples Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFlowStatistics.html#current_output_quality_samples Online documentation} */ readonly current_output_quality_samples: Record> /** * List of storage counts indexed by prototype name. Represents the data that is shown on the right side of the GUI for electric networks. For other statistics types these values are currently unused and hidden. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFlowStatistics.html#storage_counts Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFlowStatistics.html#storage_counts Online documentation} */ readonly storage_counts: Record /** * A mapping of quality name to a list of storage counts indexed by prototype name. Represents the data that is shown on the right side of the GUI for electric networks. For other statistics types these values are currently unused and hidden. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFlowStatistics.html#storage_quality_counts Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFlowStatistics.html#storage_quality_counts Online documentation} */ readonly storage_quality_counts: Record> /** * The force these statistics belong to. `nil` for pollution statistics. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFlowStatistics.html#force Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFlowStatistics.html#force Online documentation} */ readonly force?: LuaForce /** @@ -19499,48 +19510,48 @@ declare module "factorio:runtime" { } /** * A prototype of a fluidbox owned by some {@link LuaEntityPrototype}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFluidBoxPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFluidBoxPrototype.html Online documentation} * @noSelf */ export interface LuaFluidBoxPrototype { /** * Gets the volume of this fluidbox with the given quality. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFluidBoxPrototype.html#get_volume Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFluidBoxPrototype.html#get_volume Online documentation} */ get_volume(quality?: QualityID): double /** * The entity that this belongs to. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFluidBoxPrototype.html#entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFluidBoxPrototype.html#entity Online documentation} */ readonly entity: LuaEntityPrototype /** * The index of this fluidbox prototype in the owning entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFluidBoxPrototype.html#index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFluidBoxPrototype.html#index Online documentation} */ readonly index: uint32 /** * The pipe connection points. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFluidBoxPrototype.html#pipe_connections Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFluidBoxPrototype.html#pipe_connections Online documentation} */ readonly pipe_connections: PipeConnectionDefinition[] /** * The production type. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFluidBoxPrototype.html#production_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFluidBoxPrototype.html#production_type Online documentation} */ readonly production_type: ProductionType /** * The filter, if any is set. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFluidBoxPrototype.html#filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFluidBoxPrototype.html#filter Online documentation} */ readonly filter?: LuaFluidPrototype /** * The secondary draw orders for the 4 possible connection directions. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFluidBoxPrototype.html#secondary_draw_orders Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFluidBoxPrototype.html#secondary_draw_orders Online documentation} */ readonly secondary_draw_orders: int32[] /** * The render layer. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFluidBoxPrototype.html#render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFluidBoxPrototype.html#render_layer Online documentation} */ readonly render_layer: RenderLayer /** @@ -19554,12 +19565,12 @@ declare module "factorio:runtime" { } /** * Prototype of a fluid energy source. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFluidEnergySourcePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFluidEnergySourcePrototype.html Online documentation} */ export interface LuaFluidEnergySourcePrototype { /** * The table of emissions of this energy source in `pollution/Joule`, indexed by pollutant type. Multiplying it by energy consumption in `Watt` gives `pollution/second`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFluidEnergySourcePrototype.html#emissions_per_joule Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFluidEnergySourcePrototype.html#emissions_per_joule Online documentation} */ readonly emissions_per_joule: Record readonly render_no_network_icon: boolean @@ -19572,23 +19583,23 @@ declare module "factorio:runtime" { readonly fluid_usage_per_tick: double /** * The smoke sources for this prototype, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFluidEnergySourcePrototype.html#smoke Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFluidEnergySourcePrototype.html#smoke Online documentation} */ readonly smoke: SmokeSource[] readonly maximum_temperature?: float /** * The minimum input temperature that this energy source accepts, if specified. An input fluid below this temperature will cause the energy source to stop working. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFluidEnergySourcePrototype.html#minimum_input_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFluidEnergySourcePrototype.html#minimum_input_temperature Online documentation} */ readonly minimum_input_temperature?: float /** * The maximum input temperature that this energy source accepts, if specified. An input fluid above this temperature will cause the energy source to stop working. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFluidEnergySourcePrototype.html#maximum_input_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFluidEnergySourcePrototype.html#maximum_input_temperature Online documentation} */ readonly maximum_input_temperature?: float /** * The fluid box for this energy source. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFluidEnergySourcePrototype.html#fluid_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFluidEnergySourcePrototype.html#fluid_box Online documentation} */ readonly fluid_box: LuaFluidBoxPrototype readonly output_fluid_box?: LuaFluidBoxPrototype @@ -19604,22 +19615,22 @@ declare module "factorio:runtime" { } /** * Prototype of a fluid. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFluidPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFluidPrototype.html Online documentation} */ export interface LuaFluidPrototype extends LuaPrototypeBase { /** * Default temperature of this fluid. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFluidPrototype.html#default_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFluidPrototype.html#default_temperature Online documentation} */ readonly default_temperature: double /** * Maximum temperature this fluid can reach. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFluidPrototype.html#max_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFluidPrototype.html#max_temperature Online documentation} */ readonly max_temperature: double /** * The amount of energy in Joules required to heat one unit of this fluid by 1°C. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFluidPrototype.html#heat_capacity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFluidPrototype.html#heat_capacity Online documentation} */ readonly heat_capacity: double readonly base_color: Color @@ -19627,22 +19638,22 @@ declare module "factorio:runtime" { readonly visualization_color: Color /** * The temperature above which this fluid will be shown as gaseous inside tanks and pipes. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFluidPrototype.html#gas_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFluidPrototype.html#gas_temperature Online documentation} */ readonly gas_temperature: double /** * A multiplier on the amount of emissions produced when this fluid is burnt in a generator. A value above `1.0` increases emissions and vice versa. The multiplier can't be negative. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFluidPrototype.html#emissions_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFluidPrototype.html#emissions_multiplier Online documentation} */ readonly emissions_multiplier: double /** * The amount of energy in Joules one unit of this fluid will produce when burnt in a generator. A value of `0` means this fluid can't be used for energy generation. The value can't be negative. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFluidPrototype.html#fuel_value Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFluidPrototype.html#fuel_value Online documentation} */ readonly fuel_value: double /** * An alternative prototype that will be used to display info about this prototype in Factoriopedia. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFluidPrototype.html#factoriopedia_alternative Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFluidPrototype.html#factoriopedia_alternative Online documentation} */ readonly factoriopedia_alternative?: LuaFluidPrototype readonly spent_fluid?: SpentFluidSpecification @@ -19657,12 +19668,12 @@ declare module "factorio:runtime" { } /** * Prototype of a font. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFontPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFontPrototype.html Online documentation} */ export interface LuaFontPrototype { /** * Name of this prototype. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFontPrototype.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFontPrototype.html#name Online documentation} */ readonly name: string readonly from: string @@ -19672,7 +19683,7 @@ declare module "factorio:runtime" { readonly filtered: boolean /** * The border color, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFontPrototype.html#border_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFontPrototype.html#border_color Online documentation} */ readonly border_color?: Color /** @@ -19686,7 +19697,7 @@ declare module "factorio:runtime" { } /** * `LuaForce` encapsulates data local to each "force" or "faction" of the game. Default forces are player, enemy and neutral. Players and mods can create additional forces (up to 64 total). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html Online documentation} * @noSelf */ export interface LuaForce { @@ -19696,42 +19707,42 @@ declare module "factorio:runtime" { * This function has O(1) time complexity as entity counts are kept and maintained in the game engine. * @param name Prototype name of the entity. * @returns Number of entities of given prototype belonging to this force. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#get_entity_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#get_entity_count Online documentation} */ get_entity_count(name: EntityID): uint32 /** * Disable research for this force. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#disable_research Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#disable_research Online documentation} */ disable_research(): void /** * Enable research for this force. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#enable_research Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#enable_research Online documentation} */ enable_research(): void /** * Disable all recipes and technologies. Only recipes and technologies enabled explicitly will be useable from this point. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#disable_all_prototypes Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#disable_all_prototypes Online documentation} */ disable_all_prototypes(): void /** * Enables all recipes and technologies. The opposite of {@link LuaForce#disable_all_prototypes LuaForce::disable_all_prototypes}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#enable_all_prototypes Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#enable_all_prototypes Online documentation} */ enable_all_prototypes(): void /** * Load the original version of all recipes from the prototypes. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#reset_recipes Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#reset_recipes Online documentation} */ reset_recipes(): void /** * Unlock all recipes. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#enable_all_recipes Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#enable_all_recipes Online documentation} */ enable_all_recipes(): void /** * Unlock all technologies. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#enable_all_technologies Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#enable_all_technologies Online documentation} */ enable_all_technologies(): void /** @@ -19740,12 +19751,12 @@ declare module "factorio:runtime" { * ## Raised events * - {@link OnResearchFinishedEvent on_research_finished} _instantly_ * @param include_disabled_prototypes Whether technologies that are explicitly disabled in the prototype should also be researched. Defaults to `false`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#research_all_technologies Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#research_all_technologies Online documentation} */ research_all_technologies(include_disabled_prototypes?: boolean): void /** * Load the original versions of technologies from prototypes. Preserves research, enabled and visible_when_disabled state of technologies. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#reset_technologies Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#reset_technologies Online documentation} */ reset_technologies(): void /** @@ -19753,7 +19764,7 @@ declare module "factorio:runtime" { * * ## Raised events * - {@link OnForceResetEvent on_force_reset} _instantly_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#reset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#reset Online documentation} */ reset(): void /** @@ -19761,7 +19772,7 @@ declare module "factorio:runtime" { * * ## Raised events * - {@link OnTechnologyEffectsResetEvent on_technology_effects_reset} _instantly_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#reset_technology_effects Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#reset_technology_effects Online documentation} */ reset_technology_effects(): void /** @@ -19770,31 +19781,31 @@ declare module "factorio:runtime" { * @example * -- Charts a 2048x2048 rectangle centered around the origin. * game.player.force.chart(game.player.surface, {{x = -1024, y = -1024}, {x = 1024, y = 1024}}) - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#chart Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#chart Online documentation} */ chart(surface: SurfaceIdentification, area: BoundingBoxWrite | BoundingBoxArray): void /** * Erases chart data for this force. * @param surface Which surface to erase chart data for or if not provided all surfaces charts are erased. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#clear_chart Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#clear_chart Online documentation} */ clear_chart(surface?: SurfaceIdentification): void /** * Force a rechart of the whole chart. * @param surface Which surface to rechart or all if not given. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#rechart Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#rechart Online documentation} */ rechart(surface?: SurfaceIdentification): void /** * Chart all generated chunks. * @param surface Which surface to chart or all if not given. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#chart_all Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#chart_all Online documentation} */ chart_all(surface?: SurfaceIdentification): void /** * Copies all of the given changeable values (except charts) from the given force to this force. * @param force The force to copy from. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#copy_from Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#copy_from Online documentation} */ copy_from(force: ForceID): void /** @@ -19802,7 +19813,7 @@ declare module "factorio:runtime" { * @param source_force The force to copy from * @param source_surface The surface to copy from. * @param destination_surface The surface to copy to. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#copy_chart Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#copy_chart Online documentation} */ copy_chart( source_force: ForceID, @@ -19812,18 +19823,18 @@ declare module "factorio:runtime" { /** * Has a chunk been charted? * @param chunk_position Position of the chunk. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#is_chunk_charted Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#is_chunk_charted Online documentation} */ is_chunk_charted(surface: SurfaceIdentification, chunk_position: ChunkPosition | ChunkPositionArray): boolean /** * Is the given chunk currently charted and visible (not covered by fog of war) on the map. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#is_chunk_visible Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#is_chunk_visible Online documentation} */ is_chunk_visible(surface: SurfaceIdentification, chunk_position: ChunkPosition | ChunkPositionArray): boolean /** * Has a chunk been requested for charting? * @param chunk_position Position of the chunk. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#is_chunk_requested_for_charting Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#is_chunk_requested_for_charting Online documentation} */ is_chunk_requested_for_charting( surface: SurfaceIdentification, @@ -19831,37 +19842,37 @@ declare module "factorio:runtime" { ): boolean /** * Cancels pending chart requests for the given surface or all surfaces. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#cancel_charting Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#cancel_charting Online documentation} */ cancel_charting(surface?: SurfaceIdentification): void /** * @param ammo Ammo category - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#get_ammo_damage_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#get_ammo_damage_modifier Online documentation} */ get_ammo_damage_modifier(ammo: string): double /** * @param ammo Ammo category - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#set_ammo_damage_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#set_ammo_damage_modifier Online documentation} */ set_ammo_damage_modifier(ammo: string, modifier: double): void /** * @param ammo Ammo category - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#get_gun_speed_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#get_gun_speed_modifier Online documentation} */ get_gun_speed_modifier(ammo: string): double /** * @param ammo Ammo category - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#set_gun_speed_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#set_gun_speed_modifier Online documentation} */ set_gun_speed_modifier(ammo: string, modifier: double): void /** * @param turret Turret prototype name - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#get_turret_attack_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#get_turret_attack_modifier Online documentation} */ get_turret_attack_modifier(turret: EntityID): double /** * @param turret Turret prototype name - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#set_turret_attack_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#set_turret_attack_modifier Online documentation} */ set_turret_attack_modifier(turret: EntityID, modifier: double): void /** @@ -19869,12 +19880,12 @@ declare module "factorio:runtime" { * * ## Raised events * - {@link OnForceCeaseFireChangedEvent on_force_cease_fire_changed} _instantly_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#set_cease_fire Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#set_cease_fire Online documentation} */ set_cease_fire(other: ForceID, cease_fire: boolean): void /** * Is `other` force in this force's cease fire list? - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#get_cease_fire Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#get_cease_fire Online documentation} */ get_cease_fire(other: ForceID): boolean /** @@ -19882,29 +19893,29 @@ declare module "factorio:runtime" { * * ## Raised events * - {@link OnForceFriendsChangedEvent on_force_friends_changed} _instantly_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#set_friend Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#set_friend Online documentation} */ set_friend(other: ForceID, friend: boolean): void /** * Is `other` force in this force's friends list. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#get_friend Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#get_friend Online documentation} */ get_friend(other: ForceID): boolean /** * Is pathfinder busy? When the pathfinder is busy, it won't accept any more pathfinding requests. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#is_pathfinder_busy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#is_pathfinder_busy Online documentation} */ is_pathfinder_busy(): boolean /** * Kill all units and flush the pathfinder. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#kill_all_units Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#kill_all_units Online documentation} */ kill_all_units(): void /** * @param position Position to find a network for * @param surface Surface to search on * @returns The found network or `nil`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#find_logistic_network_by_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#find_logistic_network_by_position Online documentation} */ find_logistic_network_by_position( position: MapPosition | MapPositionArray, @@ -19913,42 +19924,42 @@ declare module "factorio:runtime" { /** * @param position The new position on the given surface. * @param surface Surface to set the spawn position for. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#set_spawn_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#set_spawn_position Online documentation} */ set_spawn_position(position: MapPosition | MapPositionArray, surface: SurfaceIdentification): void get_spawn_position(surface: SurfaceIdentification): MapPosition /** * @param surface Surface to set hidden for. * @param hidden Whether to hide the surface or not. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#set_surface_hidden Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#set_surface_hidden Online documentation} */ set_surface_hidden(surface: SurfaceIdentification, hidden: boolean): void get_surface_hidden(surface: SurfaceIdentification): boolean /** * @param chunk_position The chunk position to unchart. * @param surface Surface to unchart on. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#unchart_chunk Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#unchart_chunk Online documentation} */ unchart_chunk(chunk_position: ChunkPosition | ChunkPositionArray, surface: SurfaceIdentification): void /** * Gets the count of a given item launched in rockets. * @param item The item to get * @returns The count of the item that has been launched. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#get_item_launched Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#get_item_launched Online documentation} */ get_item_launched(item: ItemID): uint32 /** * Sets the count of a given item launched in rockets. * @param item The item to set * @param count The count to set - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#set_item_launched Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#set_item_launched Online documentation} */ set_item_launched(item: ItemID, count: uint32): void /** * Print text to the chat console of all players on this force. * * By default, messages that are identical to a message sent in the last 60 ticks are not printed again. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#print Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#print Online documentation} */ print(message: LocalisedString, print_settings?: PrintSettings): void /** @@ -19960,17 +19971,17 @@ declare module "factorio:runtime" { * - {@link OnChartTagAddedEvent on_chart_tag_added}? _instantly_ Raised if the chart tag was successfully added. * @param surface Which surface to add the tag to. * @param tag The tag to add. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#add_chart_tag Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#add_chart_tag Online documentation} */ add_chart_tag(surface: SurfaceIdentification, tag: ChartTagSpec): LuaCustomChartTag | nil /** * Finds all custom chart tags within a given area on the given surface. If no area is given all custom chart tags on the surface are returned. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#find_chart_tags Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#find_chart_tags Online documentation} */ find_chart_tags(surface: SurfaceIdentification, area?: BoundingBoxWrite | BoundingBoxArray): LuaCustomChartTag[] /** * Resets evolution for this force to zero. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#reset_evolution Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#reset_evolution Online documentation} */ reset_evolution(): void /** @@ -19978,23 +19989,23 @@ declare module "factorio:runtime" { * * The sound is not played if its location is not {@link LuaForce#chart charted} for this force. * @param sound_specification The sound to play. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#play_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#play_sound Online documentation} */ play_sound(sound_specification: PlaySoundSpecification): void /** * Play a music track for every player in this force. * @param music_specification The track to play. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#play_music Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#play_music Online documentation} */ play_music(music_specification: PlayMusicSpecification): void /** * Gets if the given recipe is explicitly disabled from being hand crafted. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#get_hand_crafting_disabled_for_recipe Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#get_hand_crafting_disabled_for_recipe Online documentation} */ get_hand_crafting_disabled_for_recipe(recipe: RecipeID): boolean /** * Sets if the given recipe can be hand-crafted. This is used to explicitly disable hand crafting a recipe - it won't allow hand-crafting otherwise not hand-craftable recipes. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#set_hand_crafting_disabled_for_recipe Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#set_hand_crafting_disabled_for_recipe Online documentation} */ set_hand_crafting_disabled_for_recipe(recipe: RecipeID, hand_crafting_disabled: boolean): void /** @@ -20003,98 +20014,98 @@ declare module "factorio:runtime" { * ## Raised events * - {@link OnResearchStartedEvent on_research_started}? _instantly_ Raised if the technology was successfully added. * @returns Whether the technology was successfully added. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#add_research Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#add_research Online documentation} */ add_research(technology: TechnologyID): boolean /** * Stop the research currently in progress. This will remove any dependent technologies from the research queue. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#cancel_current_research Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#cancel_current_research Online documentation} */ cancel_current_research(): void /** * Gets the linked inventory for the given prototype and link ID if it exists or `nil`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#get_linked_inventory Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#get_linked_inventory Online documentation} */ get_linked_inventory(prototype: EntityID, link_id: uint32): LuaInventory | nil /** * Is this force a friend? This differs from `get_friend` in that it is always true for neutral force. This is equivalent to checking the `friend` ForceCondition. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#is_friend Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#is_friend Online documentation} */ is_friend(other: ForceID): boolean /** * Is this force an enemy? This differs from `get_cease_fire` in that it is always false for neutral force. This is equivalent to checking the `enemy` ForceCondition. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#is_enemy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#is_enemy Online documentation} */ is_enemy(other: ForceID): boolean /** * Locks the planet to not be accessible to this force. * @param name Name of the planet. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#lock_space_location Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#lock_space_location Online documentation} */ lock_space_location(name: SpaceLocationID): void /** * Unlocks the planet to be accessible to this force. * @param name Name of the planet. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#unlock_space_location Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#unlock_space_location Online documentation} */ unlock_space_location(name: SpaceLocationID): void /** * Is the specified planet unlocked for this force? * @param name Name of the planet. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#is_space_location_unlocked Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#is_space_location_unlocked Online documentation} */ is_space_location_unlocked(name: SpaceLocationID): void /** * Is the given unlockable ID visible either through computed technologies or script set state. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#is_visible Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#is_visible Online documentation} */ is_visible(unlockable: UnlockableID): boolean /** * Sets the given unlockable ID state. When set to explicitly hidden or visible the value overrides the state computed through technologies. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#set_script_visible Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#set_script_visible Online documentation} */ set_script_visible(unlockable: UnlockableID, value?: boolean): void /** * Gets the unlockable script state for the given ID. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#get_script_visible Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#get_script_visible Online documentation} */ get_script_visible(unlockable: UnlockableID): boolean | nil /** * Locks the quality to not be accessible to this force. * @param quality Name of the quality. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#lock_quality Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#lock_quality Online documentation} */ lock_quality(quality: QualityID): void /** * Unlocks the quality to be accessible to this force. * @param quality Name of the quality. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#unlock_quality Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#unlock_quality Online documentation} */ unlock_quality(quality: QualityID): void /** * Is the specified quality unlocked for this force? * @param quality Name of the quality. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#is_quality_unlocked Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#is_quality_unlocked Online documentation} */ is_quality_unlocked(quality: QualityID): void /** * Locks the space platforms, which disables the space platforms button - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#lock_space_platforms Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#lock_space_platforms Online documentation} */ lock_space_platforms(): void /** * Unlocks the space platforms, which enables the space platforms button - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#unlock_space_platforms Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#unlock_space_platforms Online documentation} */ unlock_space_platforms(): void /** * Are the space platforms unlocked? This basically just controls the availability of the space platforms button. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#is_space_platforms_unlocked Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#is_space_platforms_unlocked Online documentation} */ is_space_platforms_unlocked(): boolean /** * Creates a new space platform on this force. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#create_space_platform Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#create_space_platform Online documentation} */ create_space_platform(params: { /** @@ -20114,99 +20125,99 @@ declare module "factorio:runtime" { * Gets the built space platforms at the given space location for this force. * * Note, this does not include platforms that have not yet been built. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#get_space_platforms Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#get_space_platforms Online documentation} */ get_space_platforms(location: SpaceLocationID): LuaSpacePlatform[] /** * Fetches the evolution factor of this force on the given surface. * @param surface Defaults to "nauvis". - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#get_evolution_factor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#get_evolution_factor Online documentation} */ get_evolution_factor(surface?: SurfaceIdentification): double /** * Fetches the pollution part of the evolution factor of this force on the given surface. * @param surface Defaults to "nauvis". - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#get_evolution_factor_by_pollution Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#get_evolution_factor_by_pollution Online documentation} */ get_evolution_factor_by_pollution(surface?: SurfaceIdentification): double /** * Fetches the time part of the evolution factor of this force on the given surface. * @param surface Defaults to "nauvis". - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#get_evolution_factor_by_time Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#get_evolution_factor_by_time Online documentation} */ get_evolution_factor_by_time(surface?: SurfaceIdentification): double /** * Fetches the spawner kill part of the evolution factor of this force on the given surface. * @param surface Defaults to "nauvis". - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#get_evolution_factor_by_killing_spawners Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#get_evolution_factor_by_killing_spawners Online documentation} */ get_evolution_factor_by_killing_spawners(surface?: SurfaceIdentification): double /** * Sets the evolution factor of this force on the given surface. * @param surface Defaults to "nauvis". - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#set_evolution_factor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#set_evolution_factor Online documentation} */ set_evolution_factor(factor: double, surface?: SurfaceIdentification): void /** * Sets the pollution part of the evolution factor of this force on the given surface. * @param surface Defaults to "nauvis". - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#set_evolution_factor_by_pollution Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#set_evolution_factor_by_pollution Online documentation} */ set_evolution_factor_by_pollution(factor: double, surface?: SurfaceIdentification): void /** * Sets the time part of the evolution factor of this force on the given surface. * @param surface Defaults to "nauvis". - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#set_evolution_factor_by_time Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#set_evolution_factor_by_time Online documentation} */ set_evolution_factor_by_time(factor: double, surface?: SurfaceIdentification): void /** * Sets the spawner kill part of the evolution factor of this force on the given surface. * @param surface Defaults to "nauvis". - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#set_evolution_factor_by_killing_spawners Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#set_evolution_factor_by_killing_spawners Online documentation} */ set_evolution_factor_by_killing_spawners(factor: double, surface?: SurfaceIdentification): void /** * The item production statistics for this force for the given surface. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#get_item_production_statistics Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#get_item_production_statistics Online documentation} */ get_item_production_statistics(surface: SurfaceIdentification): LuaFlowStatistics /** * The fluid production statistics for this force for the given surface. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#get_fluid_production_statistics Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#get_fluid_production_statistics Online documentation} */ get_fluid_production_statistics(surface: SurfaceIdentification): LuaFlowStatistics /** * The kill counter statistics for this force for the given surface. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#get_kill_count_statistics Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#get_kill_count_statistics Online documentation} */ get_kill_count_statistics(surface: SurfaceIdentification): LuaFlowStatistics /** * The entity build statistics for this force (built and mined) for the given surface. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#get_entity_build_count_statistics Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#get_entity_build_count_statistics Online documentation} */ get_entity_build_count_statistics(surface: SurfaceIdentification): LuaFlowStatistics /** * Gets the names of the current logistic groups. * @param type Defaults to `defines.logistic_group_type.with_trash`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#get_logistic_groups Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#get_logistic_groups Online documentation} */ get_logistic_groups(type?: defines.logistic_group_type): string[] /** * Gets the information about the given logistic group. * @param type Defaults to `defines.logistic_group_type.with_trash`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#get_logistic_group Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#get_logistic_group Online documentation} */ get_logistic_group(name: string, type?: defines.logistic_group_type): LogisticGroup | nil /** * Creates the given group if it doesn't already exist. * @param type Defaults to `defines.logistic_group_type.with_trash`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#create_logistic_group Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#create_logistic_group Online documentation} */ create_logistic_group(name: string, type?: defines.logistic_group_type): void /** * Deletes the given logistic group if it exists. * @param type Defaults to `defines.logistic_group_type.with_trash`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#delete_logistic_group Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#delete_logistic_group Online documentation} */ delete_logistic_group(name: string, type?: defines.logistic_group_type): void /** @@ -20216,35 +20227,35 @@ declare module "factorio:runtime" { * * Returns `nil` if the chunk has not been charted for this force. * @returns The raw pixel data. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#get_chunk_chart Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#get_chunk_chart Online documentation} */ get_chunk_chart(surface: SurfaceIdentification, chunk_position: ChunkPosition | ChunkPositionArray): string | nil /** * Trigger the "scripted" {@link ResearchTrigger research trigger} of a technology, researching it. Does nothing if the technology does not have a "scripted" research trigger. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#script_trigger_research Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#script_trigger_research Online documentation} */ script_trigger_research(technology: TechnologyID): void /** * Adds an alert to every connected player on this force. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#add_alert Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#add_alert Online documentation} */ add_alert(entity: LuaEntity, type: defines.alert_type): void /** * Adds a custom alert to every connected player on this force. * @param entity If the alert is clicked, the map will open at the position of this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#add_custom_alert Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#add_custom_alert Online documentation} */ add_custom_alert(entity: LuaEntity, icon: SignalIDWrite, message: LocalisedString, show_on_map: boolean): void /** * For every connected player on this force - removes all alerts matching the given filters or if an empty filters table is given all alerts are removed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#remove_alert Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#remove_alert Online documentation} */ remove_alert(filter: AlertFilter): void /** * Name of the force. * @example * game.player.print(game.player.force.name) -- => "player" - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#name Online documentation} */ readonly name: string /** @@ -20252,7 +20263,7 @@ declare module "factorio:runtime" { * @example * -- Researches the technology for the player's force * game.player.force.technologies["steel-processing"].researched = true - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#technologies Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#technologies Online documentation} */ readonly technologies: LuaCustomTable /** @@ -20260,7 +20271,7 @@ declare module "factorio:runtime" { * @example * -- Prints the category of the given recipe * game.player.print(game.player.force.recipes["transport-belt"].category) - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#recipes Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#recipes Online documentation} */ readonly recipes: LuaCustomTable /** @@ -20268,7 +20279,7 @@ declare module "factorio:runtime" { * @example * -- Double the player's mining speed * game.player.force.manual_mining_speed_modifier = 1 - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#manual_mining_speed_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#manual_mining_speed_modifier Online documentation} */ manual_mining_speed_modifier: double /** @@ -20276,7 +20287,7 @@ declare module "factorio:runtime" { * @example * -- Double the player's crafting speed * game.player.force.manual_crafting_speed_modifier = 1 - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#manual_crafting_speed_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#manual_crafting_speed_modifier Online documentation} */ manual_crafting_speed_modifier: double laboratory_speed_modifier: double @@ -20286,58 +20297,58 @@ declare module "factorio:runtime" { worker_robots_storage_bonus: double /** * The currently ongoing technology research, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#current_research Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#current_research Online documentation} */ readonly current_research?: LuaTechnology /** * Progress of current research, as a number in range `[0, 1]`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#research_progress Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#research_progress Online documentation} */ research_progress: double /** * The previous research, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#previous_research Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#previous_research Online documentation} */ previous_research?: LuaTechnology /** * The inserter stack size bonus for non stack inserters - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#inserter_stack_size_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#inserter_stack_size_bonus Online documentation} */ inserter_stack_size_bonus: double /** * Number of items that can be transferred by bulk inserters. When writing to this value, it must be >= 0 and <= 254. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#bulk_inserter_capacity_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#bulk_inserter_capacity_bonus Online documentation} */ bulk_inserter_capacity_bonus: uint32 /** * Belt stack size bonus. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#belt_stack_size_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#belt_stack_size_bonus Online documentation} */ belt_stack_size_bonus: uint32 /** * Number of character trash slots. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#character_trash_slot_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#character_trash_slot_count Online documentation} */ character_trash_slot_count: double /** * Maximum number of follower robots. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#maximum_following_robot_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#maximum_following_robot_count Online documentation} */ maximum_following_robot_count: uint32 /** * Additional lifetime for following robots. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#following_robots_lifetime_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#following_robots_lifetime_modifier Online documentation} */ following_robots_lifetime_modifier: double /** * When an entity dies, a ghost will be placed for automatic reconstruction. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#create_ghost_on_entity_death Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#create_ghost_on_entity_death Online documentation} */ create_ghost_on_entity_death: boolean circuit_network_enabled: boolean /** * When true, cliffs will be marked for deconstruction when trying to force-build things that collide. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#cliff_deconstruction_enabled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#cliff_deconstruction_enabled Online documentation} */ cliff_deconstruction_enabled: boolean mining_with_fluid: boolean @@ -20345,22 +20356,22 @@ declare module "factorio:runtime" { rail_planner_allow_elevated_rails: boolean /** * When true, cars/tanks that support logistics will be able to use them. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#vehicle_logistics Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#vehicle_logistics Online documentation} */ vehicle_logistics: boolean /** * When true, a "connect to logistic network" button will become enabled for entities that can connect to a logistic network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#unlock_logistic_network Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#unlock_logistic_network Online documentation} */ unlock_logistic_network: boolean /** * Whether traveling to space platforms via rockets is unlocked. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#unlock_travel_to_space_platforms Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#unlock_travel_to_space_platforms Online documentation} */ unlock_travel_to_space_platforms: boolean /** * Players belonging to this force. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#players Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#players Online documentation} */ readonly players: LuaPlayer[] /** @@ -20369,17 +20380,17 @@ declare module "factorio:runtime" { * Setting this to `false` does not turn off biters' AI. They will still move around and attack players who come close. * * It is necessary for a force to be AI controllable in order to be able to create unit groups or build bases from scripts. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#ai_controllable Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#ai_controllable Online documentation} */ ai_controllable: boolean /** * List of logistic networks, grouped by surface. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#logistic_networks Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#logistic_networks Online documentation} */ readonly logistic_networks: Record /** * Modifies the running speed of all characters in this force by the given value as a percentage. Setting the running modifier to `0.5` makes the character run 50% faster. The minimum value of `-1` reduces the movement speed by 100%, resulting in a speed of `0`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#character_running_speed_modifier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#character_running_speed_modifier Online documentation} */ character_running_speed_modifier: double artillery_range_modifier: double @@ -20392,12 +20403,12 @@ declare module "factorio:runtime" { character_loot_pickup_distance_bonus: double /** * The number of additional inventory slots the character main inventory has. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#character_inventory_slots_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#character_inventory_slots_bonus Online documentation} */ character_inventory_slots_bonus: uint32 /** * The time, in ticks, before a deconstruction order is removed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#deconstruction_time_to_live Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#deconstruction_time_to_live Online documentation} */ deconstruction_time_to_live: uint32 character_health_bonus: double @@ -20405,27 +20416,27 @@ declare module "factorio:runtime" { max_failed_attempts_per_tick_per_construction_queue: uint32 /** * `true` if character requester logistics is enabled. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#character_logistic_requests Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#character_logistic_requests Online documentation} */ character_logistic_requests: boolean /** * The maximum cargo landing pads that can be built per surface by this force. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#cargo_landing_pad_limit Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#cargo_landing_pad_limit Online documentation} */ cargo_landing_pad_limit: uint32 /** * Maximum distance between cargo bay from its connected cargo landing pad that allows unloading. Only relevant for cargo bays that have both {@link LuaEntityPrototype#allow_unloading LuaEntityPrototype::allow_unloading} and {@link LuaEntityPrototype#use_unloading_distance_limit LuaEntityPrototype::use_unloading_distance_limit} set to `true`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#max_cargo_bay_unloading_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#max_cargo_bay_unloading_distance Online documentation} */ max_cargo_bay_unloading_distance: double /** * The number of rockets launched. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#rockets_launched Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#rockets_launched Online documentation} */ rockets_launched: uint32 /** * All of the items that have been launched in rockets. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#items_launched Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#items_launched Online documentation} */ readonly items_launched: Record /** @@ -20434,24 +20445,24 @@ declare module "factorio:runtime" { * This is primarily useful when you want to do some action against all online players of this force. * * This does *not* index using player index. See {@link LuaPlayer#index LuaPlayer::index} on each player instance for the player index. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#connected_players Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#connected_players Online documentation} */ readonly connected_players: LuaPlayer[] mining_drill_productivity_bonus: double train_braking_force_bonus: double /** * If friendly fire is enabled for this force. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#friendly_fire Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#friendly_fire Online documentation} */ friendly_fire: boolean /** * If sharing chart data is enabled for this force. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#share_chart Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#share_chart Online documentation} */ share_chart: boolean /** * This force's index in {@link LuaGameScript#forces LuaGameScript::forces} (unique ID). It is assigned when a force is created, and remains so until it is {@link OnForcesMergedEvent merged} (ie. deleted). Indexes of merged forces can be reused. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#index Online documentation} */ readonly index: ForceIndex /** @@ -20460,31 +20471,31 @@ declare module "factorio:runtime" { * To write to this, the entire table must be written. Providing an empty table or `nil` will empty the research queue and cancel the current research. * * This only allows mods to queue research that this force is able to research in the first place. As an example, an already researched technology or one whose prerequisites are not fulfilled will not be queued, but dropped silently instead. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#research_queue Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#research_queue Online documentation} */ get research_queue(): LuaTechnologyPrototype[] | nil set research_queue(value: readonly TechnologyID[] | nil) /** * Whether research is enabled for this force, see {@link LuaForce#enable_research LuaForce::enable_research} and {@link LuaForce#disable_research LuaForce::disable_research}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#research_enabled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#research_enabled Online documentation} */ readonly research_enabled: boolean /** * The space platforms that belong to this force mapped by their index value. * * This will include platforms that are pending deletion. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#platforms Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#platforms Online documentation} */ readonly platforms: Record /** * Custom color for this force. If specified, will take priority over other sources of the force color. Writing `nil` clears custom color. Will return `nil` if it was not specified or if was set to `{0,0,0,0}`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#custom_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#custom_color Online documentation} */ get custom_color(): Color | nil set custom_color(value: Color | ColorArray | nil) /** * Effective color of this force. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaForce.html#color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaForce.html#color Online documentation} */ readonly color: Color /** @@ -20498,7 +20509,7 @@ declare module "factorio:runtime" { } /** * Prototype of a fuel category. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFuelCategoryPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFuelCategoryPrototype.html Online documentation} */ export interface LuaFuelCategoryPrototype extends LuaPrototypeBase { /** @@ -20512,48 +20523,48 @@ declare module "factorio:runtime" { } /** * Control behavior for furnaces. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFurnaceControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFurnaceControlBehavior.html Online documentation} */ export interface LuaFurnaceControlBehavior extends LuaGenericOnOffControlBehavior { /** * `true` if the furnace reads its ingredients contents, product contents and materials in crafting. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFurnaceControlBehavior.html#circuit_read_contents Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFurnaceControlBehavior.html#circuit_read_contents Online documentation} */ circuit_read_contents: boolean /** * `true` if the read contents should include items in crafting. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFurnaceControlBehavior.html#include_in_crafting Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFurnaceControlBehavior.html#include_in_crafting Online documentation} */ include_in_crafting: boolean /** * `true` if the fuel (content of energy source) should be read. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFurnaceControlBehavior.html#read_fuel Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFurnaceControlBehavior.html#read_fuel Online documentation} */ read_fuel: boolean /** * `true` if the furnace outputs ingredients of current recipe as a signals to circuit network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFurnaceControlBehavior.html#circuit_read_ingredients Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFurnaceControlBehavior.html#circuit_read_ingredients Online documentation} */ circuit_read_ingredients: boolean /** * `true` if the the furnace sends a signal when the recipe finishes. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFurnaceControlBehavior.html#circuit_read_recipe_finished Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFurnaceControlBehavior.html#circuit_read_recipe_finished Online documentation} */ circuit_read_recipe_finished: boolean /** * The signal sent when the furnace finishes a recipe. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFurnaceControlBehavior.html#circuit_recipe_finished_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFurnaceControlBehavior.html#circuit_recipe_finished_signal Online documentation} */ get circuit_recipe_finished_signal(): SignalID | nil set circuit_recipe_finished_signal(value: SignalIDWrite | nil) /** * `true` if the the furnace sends a signal when it is working. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFurnaceControlBehavior.html#circuit_read_working Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFurnaceControlBehavior.html#circuit_read_working Online documentation} */ circuit_read_working: boolean /** * The signal sent when the furnace is working. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaFurnaceControlBehavior.html#circuit_working_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaFurnaceControlBehavior.html#circuit_working_signal Online documentation} */ get circuit_working_signal(): SignalID | nil set circuit_working_signal(value: SignalIDWrite | nil) @@ -20568,13 +20579,13 @@ declare module "factorio:runtime" { } /** * Main toplevel type, provides access to most of the API though its members. An instance of LuaGameScript is available as the global object named `game`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html Online documentation} * @noSelf */ export interface LuaGameScript { /** * Set scenario state. Any parameters not provided do not change the current state. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#set_game_state Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#set_game_state Online documentation} */ set_game_state(params: { readonly game_finished?: boolean @@ -20584,12 +20595,12 @@ declare module "factorio:runtime" { }): void /** * Reset scenario state (game_finished, player_won, etc.). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#reset_game_state Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#reset_game_state Online documentation} */ reset_game_state(): void /** * Set winning ending information for the current scenario. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#set_win_ending_info Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#set_win_ending_info Online documentation} */ set_win_ending_info(params: { readonly title: LocalisedString @@ -20600,7 +20611,7 @@ declare module "factorio:runtime" { }): void /** * Set losing ending information for the current scenario. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#set_lose_ending_info Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#set_lose_ending_info Online documentation} */ set_lose_ending_info(params: { readonly title: LocalisedString @@ -20611,14 +20622,14 @@ declare module "factorio:runtime" { }): void /** * Gets an entity by its {@link LuaEntity#name_tag name tag}. Entity name tags can also be set in the entity "extra settings" GUI in the map editor. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#get_entity_by_tag Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#get_entity_by_tag Online documentation} */ get_entity_by_tag(tag: string): LuaEntity | nil /** * Show an in-game message dialog. * * Can only be used when the map contains exactly one player. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#show_message_dialog Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#show_message_dialog Online documentation} */ show_message_dialog(params: { /** @@ -20644,14 +20655,14 @@ declare module "factorio:runtime" { }): void /** * Is this the demo version of Factorio? - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#is_demo Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#is_demo Online documentation} */ is_demo(): boolean /** * Forces a reload of the scenario script from the original scenario location. * * This disables the replay if replay is enabled. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#reload_script Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#reload_script Online documentation} */ reload_script(): void /** @@ -20662,21 +20673,21 @@ declare module "factorio:runtime" { * This will do nothing if run in multiplayer. * * This disables the replay if replay is enabled. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#reload_mods Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#reload_mods Online documentation} */ reload_mods(): void /** * Saves the current configuration of Atlas to a file. This will result in huge file containing all of the game graphics moved to as small space as possible. * * Exists mainly for debugging reasons. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#save_atlas Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#save_atlas Online documentation} */ save_atlas(): void /** * Run internal consistency checks. Allegedly prints any errors it finds. * * Exists mainly for debugging reasons. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#check_consistency Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#check_consistency Online documentation} */ check_consistency(): void /** @@ -20684,14 +20695,14 @@ declare module "factorio:runtime" { * * All specified entity prototypes must be autoplacable. * @param entities Prototype names of entity or entities to autoplace. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#regenerate_entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#regenerate_entity Online documentation} */ regenerate_entity(entities: string | readonly string[]): void /** * Take a screenshot of the game and save it to the `script-output` folder, located in the game's {@linkplain https://wiki.factorio.com/User_data_directory user data directory}. The name of the image file can be specified via the `path` parameter. * * If Factorio is running headless, this function will do nothing. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#take_screenshot Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#take_screenshot Online documentation} */ take_screenshot(params: { /** @@ -20746,6 +20757,10 @@ declare module "factorio:runtime" { * If `true` fog effect and foreground space dust effect won't be rendered. Defaults to `false`. */ readonly hide_fog?: boolean + /** + * If `true` entity health bars won't be rendered. Defaults to `false`. + */ + readonly hide_health_bars?: boolean /** * The `.jpg` render quality as a percentage (from 0% to 100% inclusive), if used. A lower value means a more compressed image. Defaults to `80`. */ @@ -20769,12 +20784,12 @@ declare module "factorio:runtime" { }): void /** * Forces the screenshot saving system to wait until all queued screenshots have been written to disk. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#set_wait_for_screenshots_to_finish Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#set_wait_for_screenshots_to_finish Online documentation} */ set_wait_for_screenshots_to_finish(): void /** * Take a screenshot of the technology screen and save it to the `script-output` folder, located in the game's {@linkplain https://wiki.factorio.com/User_data_directory user data directory}. The name of the image file can be specified via the `path` parameter. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#take_technology_screenshot Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#take_technology_screenshot Online documentation} */ take_technology_screenshot(params: { /** @@ -20809,12 +20824,12 @@ declare module "factorio:runtime" { * - {@link OnPrePlayerRemovedEvent on_pre_player_removed} _instantly_ * - {@link OnPlayerRemovedEvent on_player_removed} _instantly_ * @param players List of players to remove. If not specified, remove all offline players. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#remove_offline_players Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#remove_offline_players Online documentation} */ remove_offline_players(players?: readonly PlayerIdentification[]): void /** * Force a CRC check. Tells all peers to calculate their current CRC, which are then compared to each other. If a mismatch is detected, the game desyncs and some peers are forced to reconnect. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#force_crc Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#force_crc Online documentation} */ force_crc(): void /** @@ -20826,7 +20841,7 @@ declare module "factorio:runtime" { * - {@link OnForceCreatedEvent on_force_created} _instantly_ * @param force Name of the new force * @returns The force that was just created - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#create_force Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#create_force Online documentation} */ create_force(force: string): LuaForce /** @@ -20841,7 +20856,7 @@ declare module "factorio:runtime" { * - {@link OnForcesMergedEvent on_forces_merged} _future_tick_ * @param source The force to remove. * @param destination The force to reassign all entities to. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#merge_forces Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#merge_forces Online documentation} */ merge_forces(source: ForceID, destination: ForceID): void /** @@ -20854,13 +20869,13 @@ declare module "factorio:runtime" { * @param name Name of the new surface. * @param settings Map generation settings. * @returns The surface that was just created. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#create_surface Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#create_surface Online documentation} */ create_surface(name: string, settings?: MapGenSettingsWrite): LuaSurface /** * Instruct the server to save the map. Only actually saves when in multiplayer. * @param name Save file name. If not specified, the currently running save is overwritten. If there is no current save, no save is made. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#server_save Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#server_save Online documentation} */ server_save(name?: string): void /** @@ -20869,7 +20884,7 @@ declare module "factorio:runtime" { * Only the server will save in multiplayer. In single player a standard auto-save is triggered. * @param name The autosave name if any. Saves will be named _autosave-*name* when provided. * @param allow_in_replay Whether to save the auto-save even during replay playback. Defaults to `false` - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#auto_save Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#auto_save Online documentation} */ auto_save(name?: string, allow_in_replay?: boolean): void /** @@ -20880,33 +20895,33 @@ declare module "factorio:runtime" { * - {@link OnSurfaceDeletedEvent on_surface_deleted} _future_tick_ * @param surface The surface to be deleted. Currently the primary surface (1, 'nauvis') cannot be deleted. * @returns If the surface was queued to be deleted. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#delete_surface Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#delete_surface Online documentation} */ delete_surface(surface: SurfaceIdentification): boolean /** * Deletes the blueprint library of the given player. * * Note: the player must be offline (disconnected). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#delete_blueprint_library Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#delete_blueprint_library Online documentation} */ delete_blueprint_library(player: PlayerIdentification): void /** * Disables replay saving for the current save file. Once done there's no way to re-enable replay saving for the save file without loading an old save. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#disable_replay Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#disable_replay Online documentation} */ disable_replay(): void /** * Print text to the chat console all players. * * By default, messages that are identical to a message sent in the last 60 ticks are not printed again. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#print Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#print Online documentation} */ print(message: LocalisedString, print_settings?: PrintSettings): void /** * Creates a deterministic standalone random generator with the given seed or if a seed is not provided the initial map seed is used. * * *Make sure* you actually want to use this over math.random(...) as this provides entirely different functionality over math.random(...). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#create_random_generator Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#create_random_generator Online documentation} */ create_random_generator(seed?: uint32): LuaRandomGenerator /** @@ -20914,13 +20929,13 @@ declare module "factorio:runtime" { * * The sound is not played if its location is not {@link LuaForce#chart charted} for that player. * @param sound_specification The sound to play. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#play_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#play_sound Online documentation} */ play_sound(sound_specification: PlaySoundSpecification): void /** * Play a music track for every player in the game. * @param music_specification The track to play. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#play_music Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#play_music Online documentation} */ play_music(music_specification: PlayMusicSpecification): void /** @@ -20931,7 +20946,7 @@ declare module "factorio:runtime" { * - {@link OnConsoleCommandEvent on_console_command} _instantly_ * @param player The player to kick. * @param reason The reason given if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#kick_player Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#kick_player Online documentation} */ kick_player(player: PlayerIdentification, reason?: string): void /** @@ -20942,7 +20957,7 @@ declare module "factorio:runtime" { * - {@link OnConsoleCommandEvent on_console_command} _instantly_ * @param player The player to ban. * @param reason The reason given if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#ban_player Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#ban_player Online documentation} */ ban_player(player: PlayerIdentification | string, reason?: string): void /** @@ -20952,7 +20967,7 @@ declare module "factorio:runtime" { * - {@link OnPlayerUnbannedEvent on_player_unbanned} _instantly_ * - {@link OnConsoleCommandEvent on_console_command} _instantly_ * @param player The player to unban. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#unban_player Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#unban_player Online documentation} */ unban_player(player: PlayerIdentification | string): void /** @@ -20961,7 +20976,7 @@ declare module "factorio:runtime" { * ## Raised events * - {@link OnConsoleCommandEvent on_console_command} _instantly_ * @param player The player to purge. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#purge_player Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#purge_player Online documentation} */ purge_player(player: PlayerIdentification): void /** @@ -20971,7 +20986,7 @@ declare module "factorio:runtime" { * - {@link OnPlayerMutedEvent on_player_muted} _instantly_ * - {@link OnConsoleCommandEvent on_console_command} _instantly_ * @param player The player to mute. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#mute_player Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#mute_player Online documentation} */ mute_player(player: PlayerIdentification): void /** @@ -20981,23 +20996,23 @@ declare module "factorio:runtime" { * - {@link OnPlayerUnmutedEvent on_player_unmuted} _instantly_ * - {@link OnConsoleCommandEvent on_console_command} _instantly_ * @param player The player to unmute. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#unmute_player Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#unmute_player Online documentation} */ unmute_player(player: PlayerIdentification): void /** * Whether the save is loaded as a multiplayer map. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#is_multiplayer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#is_multiplayer Online documentation} */ is_multiplayer(): boolean /** * Gets the map exchange string for the map generation settings that were used to create this map. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#get_map_exchange_string Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#get_map_exchange_string Online documentation} */ get_map_exchange_string(): string /** * Gets the given player or returns `nil` if no player is found. * @param player The player index or name. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#get_player Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#get_player Online documentation} */ get_player(player: PlayerIndex | string): LuaPlayer | nil /** @@ -21005,7 +21020,7 @@ declare module "factorio:runtime" { * * This is a shortcut for {@link LuaGameScript#surfaces LuaGameScript::surfaces}. * @param surface The surface index or name. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#get_surface Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#get_surface Online documentation} */ get_surface(surface: SurfaceIndex | string): LuaSurface | nil /** @@ -21016,7 +21031,7 @@ declare module "factorio:runtime" { * Make sure to destroy it when you are done with it using {@link LuaInventory#destroy LuaInventory::destroy}. * @param size The number of slots the inventory initially has. * @param gui_title The title of the GUI that is shown when this inventory is opened. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#create_inventory Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#create_inventory Online documentation} */ create_inventory(size: uint16, gui_title?: LocalisedString): LuaInventory /** @@ -21025,22 +21040,22 @@ declare module "factorio:runtime" { * Inventories created through console commands will be owned by `"core"`. * @param mod The mod whose inventories to get. If not provided all inventories are returned. * @returns A mapping of mod name to array of inventories owned by that mod. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#get_script_inventories Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#get_script_inventories Online documentation} */ get_script_inventories(mod?: string): Record /** * Resets the amount of time played for this map. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#reset_time_played Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#reset_time_played Online documentation} */ reset_time_played(): void /** * The pollution statistics for this the given surface. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#get_pollution_statistics Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#get_pollution_statistics Online documentation} */ get_pollution_statistics(surface: SurfaceIdentification): LuaFlowStatistics /** * Returns vehicles in game. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#get_vehicles Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#get_vehicles Online documentation} */ get_vehicles(params: { readonly unit_number?: UnitNumber @@ -21052,35 +21067,35 @@ declare module "factorio:runtime" { }): LuaEntity[] /** * Returns entity with a specified unit number or nil if entity with such number was not found or prototype does not have {@link EntityPrototypeFlags#get_by_unit_number EntityPrototypeFlags::get-by-unit-number} flag set. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#get_entity_by_unit_number Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#get_entity_by_unit_number Online documentation} */ get_entity_by_unit_number(unit_number: UnitNumber): LuaEntity | nil /** * Whether players who are not {@link LuaPlayer#admin admins} can access all debug settings. Set this to false to disallow access to most debug settings for non-admins. * * The following debug settings are always available to all players: `"show-fps"`, `"show-playtime"`, `"show-clock"`, `"show-time-to-next-autosave"`, `"show-detailed-info"`, `"show-time-usage"`, `"show-entity-time-usage"`, `"show-gpu-time-usage"`, `"show-sprite-counts"`, `"show-particle-counts"`, `"show-collector-navmesh-time-usage"`, `"show-lua-object-statistics"`, `"show-heat-buffer-info"`, `"show-multiplayer-ups"`, `"show-multiplayer-waiting-icon"`, `"show-multiplayer-statistics"`, `"show-multiplayer-server-name"`, `"show-debug-info-in-tooltips"`, `"show-resistances-in-tooltips-always"`, `"hide-mod-guis"`, `"show-tile-grid"`, `"show-blueprint-grid"`, `"show-intermediate-volume-of-working-sounds"`, `"show-decorative-names"`, `"allow-increased-zoom"`, `"show-train-no-path-details"`, `"show-entity-tick"`, `"show-update-tick"` - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#allow_debug_settings Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#allow_debug_settings Online documentation} */ allow_debug_settings: boolean /** * This property is only populated inside {@link LuaCommandProcessor custom command} handlers and when writing {@linkplain https://wiki.factorio.com/Console#Scripting_and_cheat_commands Lua console commands}. Returns the player that is typing the command, `nil` in all other instances. * * See {@link LuaGameScript#players LuaGameScript::players} for accessing all players. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#player Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#player Online documentation} */ readonly player?: LuaPlayer /** * Get a table of all the players that currently exist. This sparse table allows you to find players by indexing it with either their `name` or `index`. Iterating this table with `pairs()` will provide the `index`es as the keys. Iterating with `ipairs()` will not work at all. * * If only a single player is required, {@link LuaGameScript#get_player LuaGameScript::get_player} should be used instead, as it avoids the unnecessary overhead of passing the whole table to Lua. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#players Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#players Online documentation} */ readonly players: LuaCustomTable /** * The currently active set of map settings. Even though this property is marked as read-only, the members of the dictionary that is returned can be modified mid-game. * * This does not contain difficulty settings, use {@link LuaGameScript#difficulty_settings LuaGameScript::difficulty_settings} instead. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#map_settings Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#map_settings Online documentation} */ readonly map_settings: MapSettings /** @@ -21088,71 +21103,71 @@ declare module "factorio:runtime" { * @example * -- This will set the technology price multiplier to 12. * game.difficulty_settings.technology_price_multiplier = 12 - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#difficulty_settings Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#difficulty_settings Online documentation} */ readonly difficulty_settings: DifficultySettings /** * Current scenario difficulty. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#difficulty Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#difficulty Online documentation} */ readonly difficulty: defines.difficulty /** * Get a table of all the forces that currently exist. This sparse table allows you to find forces by indexing it with either their `name` or `index`. Iterating this table with `pairs()` will provide the `name`s as the keys. Iterating with `ipairs()` will not work at all. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#forces Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#forces Online documentation} */ readonly forces: LuaCustomTable /** * Whether a console command has been used. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#console_command_used Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#console_command_used Online documentation} */ readonly console_command_used: boolean /** * Simulation-related functions, or `nil` if the current game is not a simulation. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#simulation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#simulation Online documentation} */ readonly simulation: LuaSimulation | nil /** * Current map tick. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#tick Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#tick Online documentation} */ readonly tick: MapTick /** * The number of ticks since this game was created using either "new game" or "new game from scenario". Notably, this number progresses even when the game is {@link LuaGameScript#tick_paused tick_paused}. * * This differs from {@link LuaGameScript#tick LuaGameScript::tick} in that creating a game from a scenario always starts with this value at `0`, even if the scenario has its own level data where the `tick` has progressed past `0`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#ticks_played Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#ticks_played Online documentation} */ readonly ticks_played: MapTick /** * If the tick has been paused. This means that entity update has been paused. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#tick_paused Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#tick_paused Online documentation} */ tick_paused: boolean /** * The number of ticks to be run while the tick is paused. * * When {@link LuaGameScript#tick_paused LuaGameScript::tick_paused} is true, ticks_to_run behaves the following way: While this is > 0, the entity update is running normally and this value is decremented every tick. When this reaches 0, the game will pause again. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#ticks_to_run Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#ticks_to_run Online documentation} */ ticks_to_run: uint32 /** * True while the victory screen is shown. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#finished Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#finished Online documentation} */ readonly finished: boolean /** * True after players finished the game and clicked "continue". - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#finished_but_continuing Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#finished_but_continuing Online documentation} */ readonly finished_but_continuing: boolean /** * Speed to update the map at. 1.0 is normal speed -- 60 UPS. Minimum value is 0.01. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#speed Online documentation} */ speed: float /** * Get a table of all the surfaces that currently exist. This sparse table allows you to find surfaces by indexing it with either their `name` or `index`. Iterating this table with `pairs()` will provide the `name`s as the keys. Iterating with `ipairs()` will not work at all. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#surfaces Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#surfaces Online documentation} */ readonly surfaces: LuaCustomTable readonly planets: LuaCustomTable @@ -21160,63 +21175,63 @@ declare module "factorio:runtime" { * The players that are currently online. * * This does *not* index using player index. See {@link LuaPlayer#index LuaPlayer::index} on each player instance for the player index. This is primarily useful when you want to do some action against all online players. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#connected_players Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#connected_players Online documentation} */ readonly connected_players: LuaPlayer[] readonly permissions: LuaPermissionGroups /** * Array of the names of all the backers that supported the game development early on. These are used as names for labs, locomotives, radars, roboports, and train stops. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#backer_names Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#backer_names Online documentation} */ readonly backer_names: LuaCustomTable /** * The default map gen settings for this save. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#default_map_gen_settings Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#default_map_gen_settings Online documentation} */ readonly default_map_gen_settings: MapGenSettings /** * Determines if enemy land mines are completely invisible or not. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#enemy_has_vision_on_land_mines Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#enemy_has_vision_on_land_mines Online documentation} */ enemy_has_vision_on_land_mines: boolean /** * True by default. Can be used to disable autosaving. Make sure to turn it back on soon after. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#autosave_enabled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#autosave_enabled Online documentation} */ autosave_enabled: boolean /** * True by default. Can be used to disable the highlighting of resource patches when they are hovered on the map. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#draw_resource_selection Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#draw_resource_selection Online documentation} */ draw_resource_selection: boolean readonly train_manager: LuaTrainManager /** * Records contained in the "game blueprints" tab of the blueprint library. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#blueprints Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#blueprints Online documentation} */ readonly blueprints: LuaRecord[] /** * True by default. Can be used to prevent the game engine from printing certain messages. * - * {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#technology_notifications_enabled > Prevented messages:} - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#technology_notifications_enabled Online documentation} + * {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#technology_notifications_enabled > Prevented messages:} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#technology_notifications_enabled Online documentation} */ technology_notifications_enabled: boolean /** * True by default. Can be used to prevent the game engine from printing messages for player deaths and respawns. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#player_death_notifications_enabled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#player_death_notifications_enabled Online documentation} */ player_death_notifications_enabled: boolean /** * True by default. Can be used to prevent the game engine from printing messages for space platform deaths. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#space_platform_death_notifications_enabled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#space_platform_death_notifications_enabled Online documentation} */ space_platform_death_notifications_enabled: boolean /** * If the tips are allowed to be activated in this scenario, it is false by default. * * Can't be modified in a simulation (menu screen, tips and tricks simulation, factoriopedia simulation etc.) - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGameScript.html#allow_tip_activation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGameScript.html#allow_tip_activation Online documentation} */ allow_tip_activation: boolean /** @@ -21226,17 +21241,17 @@ declare module "factorio:runtime" { } /** * An abstract base class for behaviors that support switching the entity on or off based on some condition. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGenericOnOffControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGenericOnOffControlBehavior.html Online documentation} */ export interface LuaGenericOnOffControlBehavior extends LuaControlBehavior { /** * If the entity is currently disabled because of the control behavior. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGenericOnOffControlBehavior.html#disabled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGenericOnOffControlBehavior.html#disabled Online documentation} */ readonly disabled: boolean /** * `true` if this entity enable/disable state is controlled by circuit condition - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGenericOnOffControlBehavior.html#circuit_enable_disable Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGenericOnOffControlBehavior.html#circuit_enable_disable Online documentation} */ circuit_enable_disable: boolean /** @@ -21249,13 +21264,13 @@ declare module "factorio:runtime" { * first_signal={type="item", name="rail-chain-signal"}, * constant=4 * } - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGenericOnOffControlBehavior.html#circuit_condition Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGenericOnOffControlBehavior.html#circuit_condition Online documentation} */ get circuit_condition(): CircuitConditionDefinition | nil set circuit_condition(value: CircuitConditionDefinitionWrite | nil) /** * `true` if this should connect to the logistic network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGenericOnOffControlBehavior.html#connect_to_logistic_network Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGenericOnOffControlBehavior.html#connect_to_logistic_network Online documentation} */ connect_to_logistic_network: boolean /** @@ -21268,7 +21283,7 @@ declare module "factorio:runtime" { * first_signal={type="item", name="rail-chain-signal"}, * constant=4 * } - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGenericOnOffControlBehavior.html#logistic_condition Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGenericOnOffControlBehavior.html#logistic_condition Online documentation} */ get logistic_condition(): CircuitConditionDefinition | nil set logistic_condition(value: CircuitConditionDefinitionWrite | nil) @@ -21277,47 +21292,47 @@ declare module "factorio:runtime" { * The root of the GUI. This type houses the root elements, `top`, `left`, `center`, `goal`, and `screen`, to which other elements can be added to be displayed on screen. * * Every player can have a different GUI state. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGui.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGui.html Online documentation} */ export interface LuaGui { /** * The player who owns this gui. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGui.html#player Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGui.html#player Online documentation} */ readonly player: LuaPlayer /** * The children GUI elements mapped by name <> element. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGui.html#children Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGui.html#children Online documentation} */ readonly children: Record /** * The top part of the GUI. It is a flow element inside a scroll pane element. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGui.html#top Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGui.html#top Online documentation} */ readonly top: LuaGuiElement /** * The left part of the GUI. It is a flow element inside a scroll pane element. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGui.html#left Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGui.html#left Online documentation} */ readonly left: LuaGuiElement /** * The center part of the GUI. It is a flow element. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGui.html#center Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGui.html#center Online documentation} */ readonly center: LuaGuiElement /** * The flow used in the objectives window. It is a flow element. The objectives window is only visible when the flow is not empty or the objective text is set. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGui.html#goal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGui.html#goal Online documentation} */ readonly goal: LuaGuiElement /** * For showing a GUI somewhere on the entire screen. It is an empty-widget element. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGui.html#screen Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGui.html#screen Online documentation} */ readonly screen: LuaGuiElement /** * For showing a GUI somewhere relative to one of the game GUIs. It is an empty-widget element. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGui.html#relative Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGui.html#relative Online documentation} */ readonly relative: LuaGuiElement /** @@ -21875,7 +21890,7 @@ declare module "factorio:runtime" { export interface GuiElementIndexer { /** * The indexing operator. Gets children by name. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#index_operator Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#index_operator Online documentation} */ readonly [name: string]: LuaGuiElement | nil } @@ -21912,7 +21927,7 @@ declare module "factorio:runtime" { * - `"switch"`: {@link SwitchGuiSpec} * - `"inventory"`: {@link InventoryGuiSpec} * @returns The GUI element that was added. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#add Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#add Online documentation} */ add( element: GuiSpec & { @@ -21928,7 +21943,7 @@ declare module "factorio:runtime" { * Remove children of this element. Any {@link LuaGuiElement} objects referring to the destroyed elements become invalid after this operation. * @example * game.player.gui.top.clear() - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#clear Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#clear Online documentation} */ clear(): void /** @@ -21937,148 +21952,148 @@ declare module "factorio:runtime" { * The top-level GUI elements - {@link LuaGui#top LuaGui::top}, {@link LuaGui#left LuaGui::left}, {@link LuaGui#center LuaGui::center} and {@link LuaGui#screen LuaGui::screen} - can't be destroyed. * @example * game.player.gui.top.greeting.destroy() - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#destroy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#destroy Online documentation} */ destroy(): void /** * The mod that owns this GUI element or `nil` if it's owned by the scenario script. * * This has a not-super-expensive, but non-free cost to get. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#get_mod Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#get_mod Online documentation} */ get_mod(): string | nil /** * Gets the index that this element has in its parent element. * * This iterates through the children of the parent of this element, meaning this has a non-free cost to get, but is faster than doing the equivalent in Lua. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#get_index_in_parent Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#get_index_in_parent Online documentation} */ get_index_in_parent(): uint32 /** * Swaps the children at the given indices in this element. * @param index_1 The index of the first child. * @param index_2 The index of the second child. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#swap_children Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#swap_children Online documentation} */ swap_children(index_1: uint32, index_2: uint32): void /** * Focuses this GUI element if possible. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#focus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#focus Online documentation} */ focus(): void /** * Moves this GUI element to the "front" so it will draw over other elements. * * Only works for elements in {@link LuaGui#screen LuaGui::screen}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#bring_to_front Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#bring_to_front Online documentation} */ bring_to_front(): void /** * The index of this GUI element (unique amongst the GUI elements of a LuaPlayer). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#index Online documentation} */ readonly index: GuiElementIndex /** * The GUI this element is a child of. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#gui Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#gui Online documentation} */ readonly gui: LuaGui /** * The direct parent of this element. `nil` if this is a top-level element. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#parent Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#parent Online documentation} */ readonly parent?: LuaGuiElement /** * The name of this element. `""` if no name was set. * @example * game.player.gui.top.greeting.name == "greeting" - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#name Online documentation} */ name: string /** * The text displayed on this element. For frames, this is the "heading". For other elements, like buttons or labels, this is the content. * * Whilst this attribute may be used on all elements without producing an error, it doesn't make sense for tables and flows as they won't display it. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#caption Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#caption Online documentation} */ caption: LocalisedString /** * The style of this element. When read, this evaluates to a {@link LuaStyle}. For writing, it only accepts a string that specifies the textual identifier (prototype name) of the desired style. * * When writing, this clears all custom values set through {@link LuaStyle}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#style Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#style Online documentation} */ set style(style: LuaStyle | string) get style(): LuaStyle /** * Sets whether this GUI element is visible or completely hidden, taking no space in the layout. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#visible Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#visible Online documentation} */ visible: boolean /** * Names of all the children of this element. These are the identifiers that can be used to access the child as an attribute of this element. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#children_names Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#children_names Online documentation} */ readonly children_names: string[] /** * Index into {@link LuaGameScript#players LuaGameScript::players} specifying the player who owns this element. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#player_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#player_index Online documentation} */ readonly player_index: PlayerIndex /** * The text to display when hovering over this element. Writing `""` or `nil` will disable the tooltip. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#tooltip Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#tooltip Online documentation} */ tooltip: LocalisedString | nil /** * The element tooltip to display when hovering over this element, or `nil`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#elem_tooltip Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#elem_tooltip Online documentation} */ elem_tooltip?: ElemID /** * The type of this GUI element. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#type Online documentation} */ readonly type: GuiElementType /** * The child-elements of this GUI element. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#children Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#children Online documentation} */ readonly children: LuaGuiElement[] /** * The location of this widget when stored in {@link LuaGui#screen LuaGui::screen}. `nil` if not set or not in {@link LuaGui#screen LuaGui::screen}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#location Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#location Online documentation} */ get location(): GuiLocation | nil set location(value: GuiLocation | GuiLocationArray | nil) /** * How this element should interact with game controllers. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#game_controller_interaction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#game_controller_interaction Online documentation} */ game_controller_interaction: defines.game_controller_interaction /** * Whether this GUI element is enabled. Disabled GUI elements don't trigger events when clicked. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#enabled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#enabled Online documentation} */ enabled: boolean /** * Whether this GUI element is ignored by interaction. This makes clicks on this element 'go through' to the GUI element or even the game surface below it. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#ignored_by_interaction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#ignored_by_interaction Online documentation} */ ignored_by_interaction: boolean /** * The anchor for this relative widget, if any. Setting `nil` clears the anchor. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#anchor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#anchor Online documentation} */ anchor?: GuiAnchor /** * The tags associated with this LuaGuiElement. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#tags Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#tags Online documentation} */ tags: Tags /** * Whether this element will raise {@link OnGuiHoverEvent on_gui_hover} and {@link OnGuiLeaveEvent on_gui_leave}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#raise_hover_events Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#raise_hover_events Online documentation} */ raise_hover_events: boolean /** @@ -22093,28 +22108,28 @@ declare module "factorio:runtime" { export interface ButtonGuiElementMembers extends BaseGuiElement { /** * The type of this GUI element. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#type Online documentation} */ readonly type: "button" /** * Whether this button will automatically toggle when clicked. * * _Can only be used if this is button or sprite-button_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#auto_toggle Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#auto_toggle Online documentation} */ auto_toggle: boolean /** * Whether this button is currently toggled. When a button is toggled, it will use the `selected_graphical_set` and `selected_font_color` defined in its style. * * _Can only be used if this is button or sprite-button_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#toggled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#toggled Online documentation} */ toggled: boolean /** * The mouse button filters for this button or sprite-button. * * _Can only be used if this is button or sprite-button_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#mouse_button_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#mouse_button_filter Online documentation} */ get mouse_button_filter(): ActiveMouseButtonFlags set mouse_button_filter(value: MouseButtonFlags) @@ -22123,35 +22138,35 @@ declare module "factorio:runtime" { export interface SpriteButtonGuiElementMembers extends BaseGuiElement { /** * The type of this GUI element. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#type Online documentation} */ readonly type: "sprite-button" /** * The sprite to display on this sprite-button or sprite in the default state. * * _Can only be used if this is sprite-button or sprite_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#sprite Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#sprite Online documentation} */ sprite: SpritePath /** * The sprite to display on this sprite-button when it is hovered. * * _Can only be used if this is sprite-button_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#hovered_sprite Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#hovered_sprite Online documentation} */ hovered_sprite: SpritePath /** * The sprite to display on this sprite-button when it is clicked. * * _Can only be used if this is sprite-button_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#clicked_sprite Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#clicked_sprite Online documentation} */ clicked_sprite: SpritePath /** * The quality to be shown in the bottom left corner of this sprite-button, or `nil` to show nothing. * * _Can only be used if this is sprite-button_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#quality Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#quality Online documentation} */ get quality(): LuaQualityPrototype | nil set quality(value: QualityID | nil) @@ -22159,42 +22174,42 @@ declare module "factorio:runtime" { * The number to be shown in the bottom right corner of this sprite-button, or `nil` to show nothing. * * _Can only be used if this is sprite-button_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#number Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#number Online documentation} */ number?: double /** * The number to be shown on the right side of this sprite-button, directly above the regular {@link LuaGuiElement#number LuaGuiElement::number}, or `nil` to show nothing. * * _Can only be used if this is sprite-button_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#secondary_number Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#secondary_number Online documentation} */ secondary_number?: double /** * Related to the numbers to be shown in the bottom right corner of this sprite-button. When set to `true`, numbers that are non-zero and smaller than one are shown as a percentage rather than the value. For example, `0.5` will be shown as `50%` instead. * * _Can only be used if this is sprite-button_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#show_percent_for_small_numbers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#show_percent_for_small_numbers Online documentation} */ show_percent_for_small_numbers: boolean /** * Whether this button will automatically toggle when clicked. * * _Can only be used if this is button or sprite-button_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#auto_toggle Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#auto_toggle Online documentation} */ auto_toggle: boolean /** * Whether this button is currently toggled. When a button is toggled, it will use the `selected_graphical_set` and `selected_font_color` defined in its style. * * _Can only be used if this is button or sprite-button_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#toggled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#toggled Online documentation} */ toggled: boolean /** * The mouse button filters for this button or sprite-button. * * _Can only be used if this is button or sprite-button_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#mouse_button_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#mouse_button_filter Online documentation} */ get mouse_button_filter(): ActiveMouseButtonFlags set mouse_button_filter(value: MouseButtonFlags) @@ -22203,14 +22218,14 @@ declare module "factorio:runtime" { export interface CheckboxGuiElementMembers extends BaseGuiElement { /** * The type of this GUI element. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#type Online documentation} */ readonly type: "checkbox" /** * Is this checkbox or radiobutton checked? * * _Can only be used if this is checkbox or radiobutton_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#state Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#state Online documentation} */ state: boolean } @@ -22218,14 +22233,14 @@ declare module "factorio:runtime" { export interface FlowGuiElementMembers extends BaseGuiElement { /** * The type of this GUI element. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#type Online documentation} */ readonly type: "flow" /** * Direction of this element's layout. * * _Can only be used if this is frame, flow or line_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#direction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#direction Online documentation} */ readonly direction: GuiDirection /** @@ -22240,7 +22255,7 @@ declare module "factorio:runtime" { * local dragger = frame.add{type="empty-widget", style="draggable_space"} * dragger.style.size = {128, 24} * dragger.drag_target = frame - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#drag_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#drag_target Online documentation} */ drag_target?: FrameGuiElement } @@ -22251,7 +22266,7 @@ declare module "factorio:runtime" { export interface FrameGuiElementMembers extends BaseGuiElement { /** * The type of this GUI element. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#type Online documentation} */ readonly type: "frame" /** @@ -22261,21 +22276,21 @@ declare module "factorio:runtime" { * - {@link OnGuiLocationChangedEvent on_gui_location_changed} _future_tick_ * * _Can only be used if this is frame_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#force_auto_center Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#force_auto_center Online documentation} */ force_auto_center(): void /** * Direction of this element's layout. * * _Can only be used if this is frame, flow or line_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#direction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#direction Online documentation} */ readonly direction: GuiDirection /** * Whether this frame auto-centers on window resize when stored in {@link LuaGui#screen LuaGui::screen}. * * _Can only be used if this is frame_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#auto_center Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#auto_center Online documentation} */ auto_center: boolean /** @@ -22290,7 +22305,7 @@ declare module "factorio:runtime" { * local dragger = frame.add{type="empty-widget", style="draggable_space"} * dragger.style.size = {128, 24} * dragger.drag_target = frame - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#drag_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#drag_target Online documentation} */ drag_target?: FrameGuiElement } @@ -22298,7 +22313,7 @@ declare module "factorio:runtime" { export interface LabelGuiElementMembers extends BaseGuiElement { /** * The type of this GUI element. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#type Online documentation} */ readonly type: "label" /** @@ -22313,7 +22328,7 @@ declare module "factorio:runtime" { * local dragger = frame.add{type="empty-widget", style="draggable_space"} * dragger.style.size = {128, 24} * dragger.drag_target = frame - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#drag_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#drag_target Online documentation} */ drag_target?: FrameGuiElement } @@ -22321,14 +22336,14 @@ declare module "factorio:runtime" { export interface LineGuiElementMembers extends BaseGuiElement { /** * The type of this GUI element. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#type Online documentation} */ readonly type: "line" /** * Direction of this element's layout. * * _Can only be used if this is frame, flow or line_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#direction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#direction Online documentation} */ readonly direction: GuiDirection } @@ -22336,14 +22351,14 @@ declare module "factorio:runtime" { export interface ProgressBarGuiElementMembers extends BaseGuiElement { /** * The type of this GUI element. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#type Online documentation} */ readonly type: "progressbar" /** * How much this progress bar is filled. It is a value in the range `[0, 1]`. * * _Can only be used if this is progressbar_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#value Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#value Online documentation} */ value: double } @@ -22351,42 +22366,42 @@ declare module "factorio:runtime" { export interface TableGuiElementMembers extends BaseGuiElement { /** * The type of this GUI element. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#type Online documentation} */ readonly type: "table" /** * Whether this table should draw vertical grid lines. * * _Can only be used if this is table_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#draw_vertical_lines Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#draw_vertical_lines Online documentation} */ draw_vertical_lines: boolean /** * Whether this table should draw horizontal grid lines. * * _Can only be used if this is table_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#draw_horizontal_lines Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#draw_horizontal_lines Online documentation} */ draw_horizontal_lines: boolean /** * Whether this table should draw a horizontal grid line below the first table row. * * _Can only be used if this is table_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#draw_horizontal_line_after_headers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#draw_horizontal_line_after_headers Online documentation} */ draw_horizontal_line_after_headers: boolean /** * The number of columns in this table. * * _Can only be used if this is table_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#column_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#column_count Online documentation} */ readonly column_count: uint32 /** * Whether the content of this table should be vertically centered. Overrides {@link LuaStyle#column_alignments LuaStyle::column_alignments}. Defaults to `true`. * * _Can only be used if this is table_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#vertical_centering Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#vertical_centering Online documentation} */ vertical_centering: boolean /** @@ -22401,7 +22416,7 @@ declare module "factorio:runtime" { * local dragger = frame.add{type="empty-widget", style="draggable_space"} * dragger.style.size = {128, 24} * dragger.drag_target = frame - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#drag_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#drag_target Online documentation} */ drag_target?: FrameGuiElement } @@ -22412,14 +22427,14 @@ declare module "factorio:runtime" { export interface TextFieldGuiElementMembers extends BaseGuiElement { /** * The type of this GUI element. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#type Online documentation} */ readonly type: "textfield" /** * Selects all the text in this textbox. * * _Can only be used if this is textfield or text-box_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#select_all Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#select_all Online documentation} */ select_all(): void /** @@ -22434,56 +22449,56 @@ declare module "factorio:runtime" { * @example * -- Move the cursor to the start of the text box: * textbox.select(1, 0) - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#select Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#select Online documentation} */ select(start_index: int32, end_index: int32): void /** * The text contained in this textfield or text-box. * * _Can only be used if this is textfield or text-box_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#text Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#text Online documentation} */ text: string /** * Whether this textfield is limited to only numeric characters. * * _Can only be used if this is textfield_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#numeric Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#numeric Online documentation} */ numeric: boolean /** * Whether this textfield (when in numeric mode) allows decimal numbers. * * _Can only be used if this is textfield_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#allow_decimal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#allow_decimal Online documentation} */ allow_decimal: boolean /** * Whether this textfield (when in numeric mode) allows negative numbers. * * _Can only be used if this is textfield_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#allow_negative Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#allow_negative Online documentation} */ allow_negative: boolean /** * Whether this textfield displays as a password field, which renders all characters as `*`. * * _Can only be used if this is textfield_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#is_password Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#is_password Online documentation} */ is_password: boolean /** * Whether this textfield loses focus after {@link defines.events.on_gui_confirmed} is fired. * * _Can only be used if this is textfield_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#lose_focus_on_confirm Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#lose_focus_on_confirm Online documentation} */ lose_focus_on_confirm: boolean /** * Whether this textfield or text-box was created with an icon selector. * * _Can only be used if this is textfield or text-box_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#icon_selector Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#icon_selector Online documentation} */ readonly icon_selector: boolean } @@ -22491,14 +22506,14 @@ declare module "factorio:runtime" { export interface RadioButtonGuiElementMembers extends BaseGuiElement { /** * The type of this GUI element. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#type Online documentation} */ readonly type: "radiobutton" /** * Is this checkbox or radiobutton checked? * * _Can only be used if this is checkbox or radiobutton_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#state Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#state Online documentation} */ state: boolean } @@ -22506,21 +22521,21 @@ declare module "factorio:runtime" { export interface SpriteGuiElementMembers extends BaseGuiElement { /** * The type of this GUI element. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#type Online documentation} */ readonly type: "sprite" /** * The sprite to display on this sprite-button or sprite in the default state. * * _Can only be used if this is sprite-button or sprite_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#sprite Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#sprite Online documentation} */ sprite: SpritePath /** * Whether the sprite widget should resize according to the sprite in it. Defaults to `true`. * * _Can only be used if this is sprite_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#resize_to_sprite Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#resize_to_sprite Online documentation} */ resize_to_sprite: boolean } @@ -22531,35 +22546,35 @@ declare module "factorio:runtime" { export interface ScrollPaneGuiElementMembers extends BaseGuiElement { /** * The type of this GUI element. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#type Online documentation} */ readonly type: "scroll-pane" /** * Scrolls this scroll bar to the top. * * _Can only be used if this is scroll-pane or text-box_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#scroll_to_top Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#scroll_to_top Online documentation} */ scroll_to_top(): void /** * Scrolls this scroll bar to the bottom. * * _Can only be used if this is scroll-pane or text-box_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#scroll_to_bottom Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#scroll_to_bottom Online documentation} */ scroll_to_bottom(): void /** * Scrolls this scroll bar to the left. * * _Can only be used if this is scroll-pane or text-box_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#scroll_to_left Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#scroll_to_left Online documentation} */ scroll_to_left(): void /** * Scrolls this scroll bar to the right. * * _Can only be used if this is scroll-pane or text-box_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#scroll_to_right Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#scroll_to_right Online documentation} */ scroll_to_right(): void /** @@ -22568,42 +22583,42 @@ declare module "factorio:runtime" { * _Can only be used if this is scroll-pane_ * @param element The element to scroll to. * @param scroll_mode Where the element should be positioned in the scroll-pane. Defaults to `"in-view"`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#scroll_to_element Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#scroll_to_element Online documentation} */ scroll_to_element(element: LuaGuiElement, scroll_mode?: "in-view" | "top-third"): void /** * Policy of the horizontal scroll bar. * * _Can only be used if this is scroll-pane_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#horizontal_scroll_policy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#horizontal_scroll_policy Online documentation} */ horizontal_scroll_policy: ScrollPolicy /** * Policy of the vertical scroll bar. * * _Can only be used if this is scroll-pane_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#vertical_scroll_policy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#vertical_scroll_policy Online documentation} */ vertical_scroll_policy: ScrollPolicy /** * Whether the contents of this text-box are selectable. Defaults to `true`. * * _Can only be used if this is scroll-pane or text-box_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#selectable Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#selectable Online documentation} */ selectable: boolean /** * Whether this text-box will word-wrap automatically. Defaults to `false`. * * _Can only be used if this is scroll-pane or text-box_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#word_wrap Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#word_wrap Online documentation} */ word_wrap: boolean /** * Whether this text-box is read-only. Defaults to `false`. * * _Can only be used if this is scroll-pane or text-box_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#read_only Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#read_only Online documentation} */ read_only: boolean } @@ -22614,14 +22629,14 @@ declare module "factorio:runtime" { export interface DropDownGuiElementMembers extends BaseGuiElement { /** * The type of this GUI element. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#type Online documentation} */ readonly type: "drop-down" /** * Removes the items in this dropdown or listbox. * * _Can only be used if this is drop-down or list-box_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#clear_items Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#clear_items Online documentation} */ clear_items(): void /** @@ -22629,7 +22644,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is drop-down or list-box_ * @param index The index to get - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#get_item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#get_item Online documentation} */ get_item(index: uint32): LocalisedString /** @@ -22638,7 +22653,7 @@ declare module "factorio:runtime" { * _Can only be used if this is drop-down or list-box_ * @param index The index whose text to replace. * @param string The text to set at the given index. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#set_item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#set_item Online documentation} */ set_item(index: uint32, string: LocalisedString): void /** @@ -22647,7 +22662,7 @@ declare module "factorio:runtime" { * _Can only be used if this is drop-down or list-box_ * @param string The text to insert. * @param index The index at which to insert the item. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#add_item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#add_item Online documentation} */ add_item(string: LocalisedString, index?: uint32): void /** @@ -22655,26 +22670,26 @@ declare module "factorio:runtime" { * * _Can only be used if this is drop-down or list-box_ * @param index The index - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#remove_item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#remove_item Online documentation} */ remove_item(index: uint32): void /** * Closes the dropdown list if this is a dropdown and it is open. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#close_dropdown Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#close_dropdown Online documentation} */ close_dropdown(): void /** * The items in this dropdown or listbox. * * _Can only be used if this is drop-down or list-box_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#items Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#items Online documentation} */ items: LocalisedString[] /** * The selected index for this dropdown or listbox. Returns `0` if none is selected. * * _Can only be used if this is drop-down or list-box_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#selected_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#selected_index Online documentation} */ selected_index: uint32 } @@ -22685,14 +22700,14 @@ declare module "factorio:runtime" { export interface ListBoxGuiElementMembers extends BaseGuiElement { /** * The type of this GUI element. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#type Online documentation} */ readonly type: "list-box" /** * Removes the items in this dropdown or listbox. * * _Can only be used if this is drop-down or list-box_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#clear_items Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#clear_items Online documentation} */ clear_items(): void /** @@ -22700,7 +22715,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is drop-down or list-box_ * @param index The index to get - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#get_item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#get_item Online documentation} */ get_item(index: uint32): LocalisedString /** @@ -22709,7 +22724,7 @@ declare module "factorio:runtime" { * _Can only be used if this is drop-down or list-box_ * @param index The index whose text to replace. * @param string The text to set at the given index. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#set_item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#set_item Online documentation} */ set_item(index: uint32, string: LocalisedString): void /** @@ -22718,7 +22733,7 @@ declare module "factorio:runtime" { * _Can only be used if this is drop-down or list-box_ * @param string The text to insert. * @param index The index at which to insert the item. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#add_item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#add_item Online documentation} */ add_item(string: LocalisedString, index?: uint32): void /** @@ -22726,7 +22741,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is drop-down or list-box_ * @param index The index - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#remove_item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#remove_item Online documentation} */ remove_item(index: uint32): void /** @@ -22735,21 +22750,21 @@ declare module "factorio:runtime" { * _Can only be used if this is list-box_ * @param index The item index to scroll to. * @param scroll_mode Where the item should be positioned in the list-box. Defaults to `"in-view"`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#scroll_to_item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#scroll_to_item Online documentation} */ scroll_to_item(index: int32, scroll_mode?: "in-view" | "top-third"): void /** * The items in this dropdown or listbox. * * _Can only be used if this is drop-down or list-box_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#items Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#items Online documentation} */ items: LocalisedString[] /** * The selected index for this dropdown or listbox. Returns `0` if none is selected. * * _Can only be used if this is drop-down or list-box_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#selected_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#selected_index Online documentation} */ selected_index: uint32 } @@ -22757,14 +22772,14 @@ declare module "factorio:runtime" { export interface CameraGuiElementMembers extends BaseGuiElement { /** * The type of this GUI element. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#type Online documentation} */ readonly type: "camera" /** * The position this camera or minimap is focused on, if any. * * _Can only be used if this is camera or minimap_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#position Online documentation} */ get position(): MapPosition set position(value: MapPosition | MapPositionArray) @@ -22772,21 +22787,21 @@ declare module "factorio:runtime" { * The surface index this camera or minimap is using. * * _Can only be used if this is camera or minimap_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#surface_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#surface_index Online documentation} */ surface_index: SurfaceIndex /** * The zoom this camera or minimap is using. This value must be positive. * * _Can only be used if this is camera or minimap_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#zoom Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#zoom Online documentation} */ zoom: double /** * The entity associated with this entity-preview, camera, minimap, if any. * * _Can only be used if this is entity-preview, camera or minimap_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#entity Online documentation} */ entity?: LuaEntity } @@ -22794,14 +22809,14 @@ declare module "factorio:runtime" { export interface ChooseElemButtonGuiElementMembers extends BaseGuiElement { /** * The type of this GUI element. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#type Online documentation} */ readonly type: "choose-elem-button" /** * The elem type of this choose-elem-button. * * _Can only be used if this is choose-elem-button_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#elem_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#elem_type Online documentation} */ readonly elem_type: ElemType /** @@ -22814,7 +22829,7 @@ declare module "factorio:runtime" { * The remaining types use strings. * * _Can only be used if this is choose-elem-button_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#elem_value Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#elem_value Online documentation} */ get elem_value(): string | SignalID | PrototypeWithQualityRead | nil set elem_value(value: string | SignalIDWrite | PrototypeWithQuality | nil) @@ -22835,7 +22850,7 @@ declare module "factorio:runtime" { * -- Lastly, these filters can be combined at will, taking care to specify how they should be combined (either "and" or "or"). * -- The following will filter for any entities that are "furnaces" and that are not "hidden". * button.elem_filters = {{filter = "type", type = "furnace"}, {filter = "hidden", invert = true, mode = "and"}} - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#elem_filters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#elem_filters Online documentation} */ get elem_filters(): PrototypeFilter | nil set elem_filters(value: PrototypeFilterWrite | nil) @@ -22843,7 +22858,7 @@ declare module "factorio:runtime" { * Whether this choose-elem-button can be changed by the player. * * _Can only be used if this is choose-elem-button_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#locked Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#locked Online documentation} */ locked: boolean } @@ -22854,42 +22869,42 @@ declare module "factorio:runtime" { export interface TextBoxGuiElementMembers extends BaseGuiElement { /** * The type of this GUI element. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#type Online documentation} */ readonly type: "text-box" /** * Scrolls this scroll bar to the top. * * _Can only be used if this is scroll-pane or text-box_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#scroll_to_top Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#scroll_to_top Online documentation} */ scroll_to_top(): void /** * Scrolls this scroll bar to the bottom. * * _Can only be used if this is scroll-pane or text-box_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#scroll_to_bottom Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#scroll_to_bottom Online documentation} */ scroll_to_bottom(): void /** * Scrolls this scroll bar to the left. * * _Can only be used if this is scroll-pane or text-box_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#scroll_to_left Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#scroll_to_left Online documentation} */ scroll_to_left(): void /** * Scrolls this scroll bar to the right. * * _Can only be used if this is scroll-pane or text-box_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#scroll_to_right Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#scroll_to_right Online documentation} */ scroll_to_right(): void /** * Selects all the text in this textbox. * * _Can only be used if this is textfield or text-box_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#select_all Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#select_all Online documentation} */ select_all(): void /** @@ -22904,42 +22919,42 @@ declare module "factorio:runtime" { * @example * -- Move the cursor to the start of the text box: * textbox.select(1, 0) - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#select Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#select Online documentation} */ select(start_index: int32, end_index: int32): void /** * The text contained in this textfield or text-box. * * _Can only be used if this is textfield or text-box_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#text Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#text Online documentation} */ text: string /** * Whether the contents of this text-box are selectable. Defaults to `true`. * * _Can only be used if this is scroll-pane or text-box_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#selectable Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#selectable Online documentation} */ selectable: boolean /** * Whether this text-box will word-wrap automatically. Defaults to `false`. * * _Can only be used if this is scroll-pane or text-box_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#word_wrap Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#word_wrap Online documentation} */ word_wrap: boolean /** * Whether this text-box is read-only. Defaults to `false`. * * _Can only be used if this is scroll-pane or text-box_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#read_only Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#read_only Online documentation} */ read_only: boolean /** * Whether this textfield or text-box was created with an icon selector. * * _Can only be used if this is textfield or text-box_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#icon_selector Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#icon_selector Online documentation} */ readonly icon_selector: boolean } @@ -22950,49 +22965,49 @@ declare module "factorio:runtime" { export interface SliderGuiElementMembers extends BaseGuiElement { /** * The type of this GUI element. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#type Online documentation} */ readonly type: "slider" /** * Gets this sliders minimum value. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#get_slider_minimum Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#get_slider_minimum Online documentation} */ get_slider_minimum(): double /** * Gets this sliders maximum value. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#get_slider_maximum Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#get_slider_maximum Online documentation} */ get_slider_maximum(): double /** * Sets this sliders minimum and maximum values. The minimum can't be >= the maximum. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#set_slider_minimum_maximum Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#set_slider_minimum_maximum Online documentation} */ set_slider_minimum_maximum(minimum: double, maximum: double): void /** * Gets the minimum distance this slider can move. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#get_slider_value_step Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#get_slider_value_step Online documentation} */ get_slider_value_step(): double /** * Returns whether this slider only allows discrete values. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#get_slider_discrete_values Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#get_slider_discrete_values Online documentation} */ get_slider_discrete_values(): boolean /** * Sets the minimum distance this slider can move. The minimum distance can't be > (max - min). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#set_slider_value_step Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#set_slider_value_step Online documentation} */ set_slider_value_step(value: double): void /** * Sets whether this slider only allows discrete values. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#set_slider_discrete_values Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#set_slider_discrete_values Online documentation} */ set_slider_discrete_values(value: boolean): void /** * The value of this slider element. * * _Can only be used if this is slider_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#slider_value Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#slider_value Online documentation} */ slider_value: double } @@ -23000,14 +23015,14 @@ declare module "factorio:runtime" { export interface MinimapGuiElementMembers extends BaseGuiElement { /** * The type of this GUI element. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#type Online documentation} */ readonly type: "minimap" /** * The position this camera or minimap is focused on, if any. * * _Can only be used if this is camera or minimap_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#position Online documentation} */ get position(): MapPosition set position(value: MapPosition | MapPositionArray) @@ -23015,35 +23030,35 @@ declare module "factorio:runtime" { * The surface index this camera or minimap is using. * * _Can only be used if this is camera or minimap_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#surface_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#surface_index Online documentation} */ surface_index: SurfaceIndex /** * The zoom this camera or minimap is using. This value must be positive. * * _Can only be used if this is camera or minimap_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#zoom Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#zoom Online documentation} */ zoom: double /** * The player index this minimap is using. * * _Can only be used if this is minimap_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#minimap_player_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#minimap_player_index Online documentation} */ minimap_player_index: uint32 /** * The force this minimap is using, if any. * * _Can only be used if this is minimap_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#force Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#force Online documentation} */ force?: string /** * The entity associated with this entity-preview, camera, minimap, if any. * * _Can only be used if this is entity-preview, camera or minimap_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#entity Online documentation} */ entity?: LuaEntity } @@ -23051,14 +23066,14 @@ declare module "factorio:runtime" { export interface EntityPreviewGuiElementMembers extends BaseGuiElement { /** * The type of this GUI element. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#type Online documentation} */ readonly type: "entity-preview" /** * The entity associated with this entity-preview, camera, minimap, if any. * * _Can only be used if this is entity-preview, camera or minimap_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#entity Online documentation} */ entity?: LuaEntity } @@ -23066,7 +23081,7 @@ declare module "factorio:runtime" { export interface EmptyWidgetGuiElementMembers extends BaseGuiElement { /** * The type of this GUI element. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#type Online documentation} */ readonly type: "empty-widget" /** @@ -23081,7 +23096,7 @@ declare module "factorio:runtime" { * local dragger = frame.add{type="empty-widget", style="draggable_space"} * dragger.style.size = {128, 24} * dragger.drag_target = frame - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#drag_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#drag_target Online documentation} */ drag_target?: FrameGuiElement } @@ -23092,7 +23107,7 @@ declare module "factorio:runtime" { export interface TabbedPaneGuiElementMembers extends BaseGuiElement { /** * The type of this GUI element. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#type Online documentation} */ readonly type: "tabbed-pane" /** @@ -23101,7 +23116,7 @@ declare module "factorio:runtime" { * _Can only be used if this is tabbed-pane_ * @param tab The tab to add, must be a GUI element of type "tab". * @param content The content to show when this tab is selected. Can be any type of GUI element. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#add_tab Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#add_tab Online documentation} */ add_tab(tab: LuaGuiElement, content: LuaGuiElement): void /** @@ -23111,21 +23126,21 @@ declare module "factorio:runtime" { * * _Can only be used if this is tabbed-pane_ * @param tab The tab to remove or `nil` to remove all tabs. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#remove_tab Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#remove_tab Online documentation} */ remove_tab(tab?: LuaGuiElement): void /** * The selected tab index for this tabbed pane, if any. * * _Can only be used if this is tabbed-pane_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#selected_tab_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#selected_tab_index Online documentation} */ selected_tab_index?: uint32 /** * The tabs and contents being shown in this tabbed-pane. * * _Can only be used if this is tabbed-pane_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#tabs Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#tabs Online documentation} */ readonly tabs: TabAndContent[] } @@ -23133,14 +23148,14 @@ declare module "factorio:runtime" { export interface TabGuiElementMembers extends BaseGuiElement { /** * The type of this GUI element. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#type Online documentation} */ readonly type: "tab" /** * The text to display after the normal tab text (designed to work with numbers) * * _Can only be used if this is tab_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#badge_text Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#badge_text Online documentation} */ badge_text: LocalisedString } @@ -23148,7 +23163,7 @@ declare module "factorio:runtime" { export interface SwitchGuiElementMembers extends BaseGuiElement { /** * The type of this GUI element. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#type Online documentation} */ readonly type: "switch" /** @@ -23157,7 +23172,7 @@ declare module "factorio:runtime" { * If {@link LuaGuiElement#allow_none_state LuaGuiElement::allow_none_state} is false this can't be set to `"none"`. * * _Can only be used if this is switch_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#switch_state Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#switch_state Online documentation} */ switch_state: SwitchState /** @@ -23166,35 +23181,35 @@ declare module "factorio:runtime" { * This can't be set to false if the current switch_state is 'none'. * * _Can only be used if this is switch_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#allow_none_state Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#allow_none_state Online documentation} */ allow_none_state: boolean /** * The text shown for the left switch label. * * _Can only be used if this is switch_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#left_label_caption Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#left_label_caption Online documentation} */ left_label_caption: LocalisedString /** * The tooltip shown on the left switch label. * * _Can only be used if this is switch_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#left_label_tooltip Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#left_label_tooltip Online documentation} */ left_label_tooltip: LocalisedString /** * The text shown for the right switch label. * * _Can only be used if this is switch_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#right_label_caption Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#right_label_caption Online documentation} */ right_label_caption: LocalisedString /** * The tooltip shown on the right switch label. * * _Can only be used if this is switch_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#right_label_tooltip Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#right_label_tooltip Online documentation} */ right_label_tooltip: LocalisedString } @@ -23202,54 +23217,54 @@ declare module "factorio:runtime" { export interface InventoryGuiElementMembers extends BaseGuiElement { /** * The type of this GUI element. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#type Online documentation} */ readonly type: "inventory" /** * The inventory target for this custom inventory widget. * * _Can only be used if this is inventory_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#inventory Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#inventory Online documentation} */ inventory?: LuaInventory /** * _Can only be used if this is inventory_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#slots_per_row Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#slots_per_row Online documentation} */ slots_per_row?: uint8 /** * _Can only be used if this is inventory_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#empty_slot_info Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#empty_slot_info Online documentation} */ empty_slot_info?: EmptySlotInfo /** * _Can only be used if this is inventory_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#handle_cursor_transfer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#handle_cursor_transfer Online documentation} */ handle_cursor_transfer: boolean /** * _Can only be used if this is inventory_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#handle_cursor_split Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#handle_cursor_split Online documentation} */ handle_cursor_split: boolean /** * _Can only be used if this is inventory_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#handle_open_item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#handle_open_item Online documentation} */ handle_open_item: boolean /** * _Can only be used if this is inventory_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#handle_open_mod_item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#handle_open_mod_item Online documentation} */ handle_open_mod_item: boolean /** * _Can only be used if this is inventory_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#handle_send_stack_to_trash Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#handle_send_stack_to_trash Online documentation} */ handle_send_stack_to_trash: boolean /** * _Can only be used if this is inventory_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html#handle_send_stacks_to_trash Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html#handle_send_stacks_to_trash Online documentation} */ handle_send_stacks_to_trash: boolean } @@ -23302,12 +23317,12 @@ declare module "factorio:runtime" { * local label2 = tabbed_pane.add{type="label", caption="Label 2"} * tabbed_pane.add_tab(tab1, label1) * tabbed_pane.add_tab(tab2, label2) - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaGuiElement.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaGuiElement.html Online documentation} */ type LuaGuiElement = GuiElementMembers & GuiElementIndexer /** * Prototype of a heat buffer. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaHeatBufferPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaHeatBufferPrototype.html Online documentation} */ export interface LuaHeatBufferPrototype { readonly max_temperature: double @@ -23329,12 +23344,12 @@ declare module "factorio:runtime" { } /** * Prototype of a heat energy source. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaHeatEnergySourcePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaHeatEnergySourcePrototype.html Online documentation} */ export interface LuaHeatEnergySourcePrototype { /** * The table of emissions of this energy source in `pollution/Joule`, indexed by pollutant type. Multiplying it by energy consumption in `Watt` gives `pollution/second`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaHeatEnergySourcePrototype.html#emissions_per_joule Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaHeatEnergySourcePrototype.html#emissions_per_joule Online documentation} */ readonly emissions_per_joule: Record readonly render_no_network_icon: boolean @@ -23359,12 +23374,12 @@ declare module "factorio:runtime" { } /** * Control behavior for heat pipe - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaHeatPipeControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaHeatPipeControlBehavior.html Online documentation} */ export interface LuaHeatPipeControlBehavior extends LuaControlBehavior { /** * If this will read temperature of the heat pipe - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaHeatPipeControlBehavior.html#read_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaHeatPipeControlBehavior.html#read_temperature Online documentation} */ read_temperature: boolean get temperature_signal(): SignalID | nil @@ -23380,20 +23395,20 @@ declare module "factorio:runtime" { } /** * Provides various helper and utility functions. It is accessible through the global object named `helpers` in all stages (settings, prototype and runtime). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaHelpers.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaHelpers.html Online documentation} * @noSelf */ export interface LuaHelpers { /** * Convert a table to a JSON string - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaHelpers.html#table_to_json Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaHelpers.html#table_to_json Online documentation} */ table_to_json(data: table): string /** * Convert a JSON string to a table. * @param json The string to convert. * @returns The returned object, or `nil` if the JSON string was invalid. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaHelpers.html#json_to_table Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaHelpers.html#json_to_table Online documentation} */ json_to_table(json: string): AnyBasic | nil /** @@ -23402,7 +23417,7 @@ declare module "factorio:runtime" { * @param data The content to write to the file. * @param append If `true`, `data` will be appended to the end of the file. Defaults to `false`, which will overwrite any pre-existing file with the new `data`. * @param for_player If given, the file will only be written for this `player_index`. Providing `0` will only write to the server's output if present. `for_player` cannot be used in settings and prototype stages. In the main chunk of the runtime stage writing the file will always be skipped if `for_player` is set and not `0`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaHelpers.html#write_file Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaHelpers.html#write_file Online documentation} */ write_file(filename: string, data: LocalisedString, append?: boolean, for_player?: uint32): void /** @@ -23412,7 +23427,7 @@ declare module "factorio:runtime" { * @param port Destination port number (localhost only) * @param data The content to send. * @param for_player If given, the packet will only be sent from this `player_index`. Providing `0` will only send from the server if present. `for_player` cannot be used in settings and prototype stages. In the main chunk of the runtime stage sending the packet will always be skipped if `for_player` is set and not `0`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaHelpers.html#send_udp Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaHelpers.html#send_udp Online documentation} */ send_udp(port: uint16, data: LocalisedString, for_player?: uint32): void /** @@ -23426,18 +23441,18 @@ declare module "factorio:runtime" { * * Not available in settings and prototype stages. * @param for_player If given, packets will only be read from this `player_index`. Providing `0` will only read from the server if present. In the main chunk of the runtime stage receiving the packet will always be skipped if `for_player` is set and not `0`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaHelpers.html#recv_udp Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaHelpers.html#recv_udp Online documentation} */ recv_udp(for_player?: uint32): void /** * Remove a file or directory in the `script-output` folder, located in the game's {@linkplain https://wiki.factorio.com/User_data_directory user data directory}. Can be used to remove files created by {@link LuaHelpers#write_file LuaHelpers::write_file}. * @param path The path to the file or directory to remove, relative to `script-output`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaHelpers.html#remove_path Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaHelpers.html#remove_path Online documentation} */ remove_path(path: string): void /** * Converts the given direction into the string version of the direction. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaHelpers.html#direction_to_string Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaHelpers.html#direction_to_string Online documentation} */ direction_to_string(direction: defines.direction): string /** @@ -23448,28 +23463,28 @@ declare module "factorio:runtime" { * -- Calculate the number of research units required to unlock mining productivity level 10 * local formula = game.forces["player"].technologies["mining-productivity-4"].research_unit_count_formula * local units = helpers.evaluate_expression(formula, { L = 10, l = 10 }) - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaHelpers.html#evaluate_expression Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaHelpers.html#evaluate_expression Online documentation} */ evaluate_expression(expression: MathExpression, variables?: Record): double /** * Deflates and base64 encodes the given string. * @param string The string to encode. * @returns The encoded string or `nil` if the encode failed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaHelpers.html#encode_string Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaHelpers.html#encode_string Online documentation} */ encode_string(string: string): string | nil /** * Base64 decodes and inflates the given string. * @param string The string to decode. * @returns The decoded string or `nil` if the decode failed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaHelpers.html#decode_string Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaHelpers.html#decode_string Online documentation} */ decode_string(string: string): string | nil /** * Convert a map exchange string to map gen settings and map settings. * * Not available in settings and prototype stages. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaHelpers.html#parse_map_exchange_string Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaHelpers.html#parse_map_exchange_string Online documentation} */ parse_map_exchange_string(map_exchange_string: string): MapExchangeStringData /** @@ -23478,7 +23493,7 @@ declare module "factorio:runtime" { * Also prints true/false if called from the console. * * Not available in settings and prototype stages. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaHelpers.html#check_prototype_translations Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaHelpers.html#check_prototype_translations Online documentation} */ check_prototype_translations(): void /** @@ -23486,7 +23501,7 @@ declare module "factorio:runtime" { * * Not available in settings and prototype stages. * @param sound_path Path to the sound. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaHelpers.html#is_valid_sound_path Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaHelpers.html#is_valid_sound_path Online documentation} */ is_valid_sound_path(sound_path: SoundPath): boolean /** @@ -23494,7 +23509,7 @@ declare module "factorio:runtime" { * * Not available in settings and prototype stages. * @param name Name of the ambient sound. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaHelpers.html#is_valid_ambient_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaHelpers.html#is_valid_ambient_sound Online documentation} */ is_valid_ambient_sound(name: string): boolean /** @@ -23502,7 +23517,7 @@ declare module "factorio:runtime" { * * Not available in settings and prototype stages. * @param sprite_path Path to the image. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaHelpers.html#is_valid_sprite_path Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaHelpers.html#is_valid_sprite_path Online documentation} */ is_valid_sprite_path(sprite_path: SpritePath): boolean /** @@ -23510,7 +23525,7 @@ declare module "factorio:runtime" { * * Not available in settings and prototype stages. * @param name Name of an {@link import("factorio:prototype").AnimationPrototype AnimationPrototype}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaHelpers.html#is_valid_animation_path Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaHelpers.html#is_valid_animation_path Online documentation} */ is_valid_animation_path(name: string): boolean /** @@ -23520,7 +23535,7 @@ declare module "factorio:runtime" { * * Not available in settings and prototype stages. * @param stopped Create the timer stopped - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaHelpers.html#create_profiler Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaHelpers.html#create_profiler Online documentation} */ create_profiler(stopped?: boolean): LuaProfiler /** @@ -23528,28 +23543,28 @@ declare module "factorio:runtime" { * @param first First version string to compare. * @param second Second version string to compare. * @returns -1 if first is smaller than second, 0 if first equal second, 1 if first is greater than second. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaHelpers.html#compare_versions Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaHelpers.html#compare_versions Online documentation} */ compare_versions(first: string, second: string): int32 /** * Converts the given string to lowercase and returns it. Unlike `string.lower()`, this function supports {@linkplain https://factorio.com/blog/post/fff-436 non-Latin characters}. * @returns The input string converted to lowercase. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaHelpers.html#multilingual_to_lower Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaHelpers.html#multilingual_to_lower Online documentation} */ multilingual_to_lower(input: string): string /** * Current version of game - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaHelpers.html#game_version Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaHelpers.html#game_version Online documentation} */ readonly game_version: string /** * Stage of scripting that is currently running - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaHelpers.html#stage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaHelpers.html#stage Online documentation} */ readonly stage: "settings" | "prototype" | "runtime" /** * The name of the active Instrument Mode mod, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaHelpers.html#instrument_mod Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaHelpers.html#instrument_mod Online documentation} */ readonly instrument_mod?: string /** @@ -23559,32 +23574,32 @@ declare module "factorio:runtime" { } /** * Control behavior for inserters. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaInserterControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaInserterControlBehavior.html Online documentation} */ export interface LuaInserterControlBehavior extends LuaGenericOnOffControlBehavior { /** * `true` if filters are set from circuit network - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaInserterControlBehavior.html#circuit_set_filters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaInserterControlBehavior.html#circuit_set_filters Online documentation} */ circuit_set_filters: boolean /** * `true` if the contents of the inserter hand should be sent to the circuit network - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaInserterControlBehavior.html#circuit_read_hand_contents Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaInserterControlBehavior.html#circuit_read_hand_contents Online documentation} */ circuit_read_hand_contents: boolean /** * The hand read mode for the inserter. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaInserterControlBehavior.html#circuit_hand_read_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaInserterControlBehavior.html#circuit_hand_read_mode Online documentation} */ circuit_hand_read_mode: defines.control_behavior.inserter.hand_read_mode /** * If the hand stack size of the inserter is set through the circuit network or not. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaInserterControlBehavior.html#circuit_set_stack_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaInserterControlBehavior.html#circuit_set_stack_size Online documentation} */ circuit_set_stack_size: boolean /** * The signal used to set the stack size of the inserter. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaInserterControlBehavior.html#circuit_stack_control_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaInserterControlBehavior.html#circuit_stack_control_signal Online documentation} */ get circuit_stack_control_signal(): SignalID | nil set circuit_stack_control_signal(value: SignalIDWrite | nil) @@ -23599,27 +23614,27 @@ declare module "factorio:runtime" { } /** * A storage of item stacks. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaInventory.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaInventory.html Online documentation} * @noSelf */ export interface LuaInventory extends ReadonlyArray { /** * Clear this inventory of all items so that it becomes empty. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaInventory.html#clear Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaInventory.html#clear Online documentation} */ clear(): void /** * Can at least some items be inserted? * @param items Items that would be inserted. * @returns `true` if at least a part of the given items could be inserted into this inventory. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaInventory.html#can_insert Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaInventory.html#can_insert Online documentation} */ can_insert(items: ItemStackIdentification): boolean /** * Insert items into this inventory. * @param items Items to insert. * @returns Number of items actually inserted. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaInventory.html#insert Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaInventory.html#insert Online documentation} */ insert(items: ItemStackIdentification): uint32 /** @@ -23627,7 +23642,7 @@ declare module "factorio:runtime" { * * Note that source stack must not belong to this inventory. * @returns Number of items actually transferred. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaInventory.html#transfer_from_stack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaInventory.html#transfer_from_stack Online documentation} */ transfer_from_stack(source: LuaItemStack): uint32 /** @@ -23635,62 +23650,62 @@ declare module "factorio:runtime" { * * Note that source inventory must be different than this inventory. * @returns Number of items actually transferred. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaInventory.html#transfer_from_inventory Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaInventory.html#transfer_from_inventory Online documentation} */ transfer_from_inventory(source: LuaInventory, filter?: ItemFilterWrite): uint32 /** * Remove items from this inventory. * @param items Items to remove. * @returns Number of items actually removed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaInventory.html#remove Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaInventory.html#remove Online documentation} */ remove(items: ItemStackIdentification): uint32 /** * Get the number of all or some items in this inventory. * @param item The item to count. If not specified, count all items. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaInventory.html#get_item_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaInventory.html#get_item_count Online documentation} */ get_item_count(item?: ItemWithQualityID): uint32 /** * Get the number of items in this inventory that match provided filter. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaInventory.html#get_item_count_filtered Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaInventory.html#get_item_count_filtered Online documentation} */ get_item_count_filtered(filter: ItemFilterWrite): uint32 /** * Get the number of all or some items in this inventory, aggregated by quality. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaInventory.html#get_item_quality_counts Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaInventory.html#get_item_quality_counts Online documentation} */ get_item_quality_counts(item?: ItemID): Record /** * Does this inventory contain nothing? - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaInventory.html#is_empty Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaInventory.html#is_empty Online documentation} */ is_empty(): boolean /** * Is every stack in this inventory full? Ignores stacks blocked by the current bar. * * For the input slots of crafting machines that allow counts larger than the item stack size, this may return true even when more items can still be inserted. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaInventory.html#is_full Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaInventory.html#is_full Online documentation} */ is_full(): boolean /** * Get counts of all items in this inventory. * @returns List of all items in the inventory. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaInventory.html#get_contents Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaInventory.html#get_contents Online documentation} */ get_contents(): ItemWithQualityCount[] /** * Does this inventory support a bar? Bar is the draggable red thing, found for example on chests, that limits the portion of the inventory that may be manipulated by machines. * * "Supporting a bar" doesn't mean that the bar is set to some nontrivial value. Supporting a bar means the inventory supports having this limit at all. The character's inventory is an example of an inventory without a bar; the wooden chest's inventory is an example of one with a bar. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaInventory.html#supports_bar Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaInventory.html#supports_bar Online documentation} */ supports_bar(): boolean /** * Get the current bar. This is the index at which the red area starts. * * Only useable if this inventory supports having a bar. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaInventory.html#get_bar Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaInventory.html#get_bar Online documentation} */ get_bar(): uint32 /** @@ -23698,31 +23713,31 @@ declare module "factorio:runtime" { * * Only useable if this inventory supports having a bar. * @param bar The new limit. Omitting this parameter or passing `nil` will clear the limit. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaInventory.html#set_bar Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaInventory.html#set_bar Online documentation} */ set_bar(bar?: uint32): void /** * If this inventory supports filters. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaInventory.html#supports_filters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaInventory.html#supports_filters Online documentation} */ supports_filters(): boolean /** * If this inventory supports filters and has at least 1 filter set. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaInventory.html#is_filtered Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaInventory.html#is_filtered Online documentation} */ is_filtered(): boolean /** * If the given inventory slot filter can be set to the given filter. * @param index The item stack index * @param filter The item filter - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaInventory.html#can_set_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaInventory.html#can_set_filter Online documentation} */ can_set_filter(index: uint32, filter: ItemFilterWrite): boolean /** * Gets the filter for the given item stack index. * @param index The item stack index * @returns The current filter or `nil` if none. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaInventory.html#get_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaInventory.html#get_filter Online documentation} */ get_filter(index: uint32): ItemFilter | nil /** @@ -23732,7 +23747,7 @@ declare module "factorio:runtime" { * @param index The item stack index. * @param filter The new filter. `nil` erases any existing filter. * @returns If the filter was allowed to be set. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaInventory.html#set_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaInventory.html#set_filter Online documentation} */ set_filter(index: uint32, filter: ItemFilterWrite | nil): boolean /** @@ -23740,7 +23755,7 @@ declare module "factorio:runtime" { * @param item The item to find * @returns The first matching stack, or `nil` if none match. * @returns The stack index of the matching stack, if any is found. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaInventory.html#find_item_stack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaInventory.html#find_item_stack Online documentation} */ find_item_stack(item: ItemWithQualityID): LuaMultiReturn<[LuaItemStack | nil, uint32 | nil]> /** @@ -23748,14 +23763,14 @@ declare module "factorio:runtime" { * @param item If given, empty stacks that are filtered for this item will be included. * @returns The first empty stack, or `nil` if there aren't any empty stacks. * @returns The stack index of the matching stack, if any is found. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaInventory.html#find_empty_stack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaInventory.html#find_empty_stack Online documentation} */ find_empty_stack(item?: ItemWithQualityID): LuaMultiReturn<[LuaItemStack | nil, uint32 | nil]> /** * Counts the number of empty stacks. * @param include_filtered If true, filtered slots will be included. Defaults to false. * @param include_bar If true, slots blocked by the current bar will be included. Defaults to true. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaInventory.html#count_empty_stacks Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaInventory.html#count_empty_stacks Online documentation} */ count_empty_stacks(include_filtered?: boolean, include_bar?: boolean): uint32 /** @@ -23765,12 +23780,12 @@ declare module "factorio:runtime" { * * This accounts for the 'bar' on the inventory. * @param item The item to check. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaInventory.html#get_insertable_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaInventory.html#get_insertable_count Online documentation} */ get_insertable_count(item: ItemWithQualityID): uint32 /** * Sorts and merges the items in this inventory. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaInventory.html#sort_and_merge Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaInventory.html#sort_and_merge Online documentation} */ sort_and_merge(): void /** @@ -23784,14 +23799,14 @@ declare module "factorio:runtime" { * - {@link OnPreScriptInventoryResizedEvent on_pre_script_inventory_resized} _instantly_ * - {@link OnScriptInventoryResizedEvent on_script_inventory_resized} _instantly_ * @param size New size of a inventory - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaInventory.html#resize Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaInventory.html#resize Online documentation} */ resize(size: uint16): void /** * Destroys this inventory. * * Only inventories created by {@link LuaGameScript#create_inventory LuaGameScript::create_inventory} can be destroyed this way. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaInventory.html#destroy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaInventory.html#destroy Online documentation} */ destroy(): void /** @@ -23799,7 +23814,7 @@ declare module "factorio:runtime" { * @example * -- Will print the number of slots in the player's main inventory. * game.player.print(#game.player.get_main_inventory()) - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaInventory.html#length_operator Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaInventory.html#length_operator Online documentation} */ readonly length: uint32 /** @@ -23807,49 +23822,49 @@ declare module "factorio:runtime" { * @example * -- Will get the first item in the player's inventory. * game.player.get_main_inventory()[1] - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaInventory.html#index_operator Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaInventory.html#index_operator Online documentation} */ readonly [index: number]: LuaItemStack /** * The inventory index this inventory uses, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaInventory.html#index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaInventory.html#index Online documentation} */ readonly index?: defines.inventory /** * Name of this inventory, if any. Names match keys of {@link defines.inventory}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaInventory.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaInventory.html#name Online documentation} */ readonly name?: string /** * The entity that owns this inventory, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaInventory.html#entity_owner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaInventory.html#entity_owner Online documentation} */ readonly entity_owner?: LuaEntity /** * The player that owns this inventory, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaInventory.html#player_owner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaInventory.html#player_owner Online documentation} */ readonly player_owner?: LuaPlayer /** * The equipment that owns this inventory, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaInventory.html#equipment_owner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaInventory.html#equipment_owner Online documentation} */ readonly equipment_owner?: LuaEquipment /** * The mod that owns this inventory, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaInventory.html#mod_owner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaInventory.html#mod_owner Online documentation} */ readonly mod_owner?: string /** * Gives a total weight of all items currently in this inventory. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaInventory.html#weight Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaInventory.html#weight Online documentation} */ readonly weight: Weight /** * Gives a maximum weight of items that can be inserted into this inventory. * * _Can only be used if this is InventoryWithWeightLimit_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaInventory.html#max_weight Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaInventory.html#max_weight Online documentation} */ readonly max_weight?: Weight /** @@ -23863,32 +23878,32 @@ declare module "factorio:runtime" { } /** * A reference to an item with data. In contrast to LuaItemStack, this is binding to a specific item data even if it would move between entities or inventories. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItem.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItem.html Online documentation} */ export interface LuaItem extends LuaItemCommon { /** * Type of the item prototype - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItem.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItem.html#type Online documentation} */ readonly type: ItemType /** * Name of the item prototype - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItem.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItem.html#name Online documentation} */ readonly name: string /** * Item prototype of this item - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItem.html#prototype Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItem.html#prototype Online documentation} */ readonly prototype: LuaItemPrototype /** * The quality of this item. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItem.html#quality Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItem.html#quality Online documentation} */ readonly quality: LuaQualityPrototype /** * Object representing the item stack this item is located in right now. If its not possible to locate the item stack holding this item, a nil will be returned - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItem.html#item_stack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItem.html#item_stack Online documentation} */ readonly item_stack?: LuaItemStack /** @@ -23902,7 +23917,7 @@ declare module "factorio:runtime" { } /** * Common methods related to usage of item with data. It is useful when LuaItemStack contains item with data or in general with LuaItem as it can only point at an item with data. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html Online documentation} * @noSelf */ export interface LuaItemCommon { @@ -23910,21 +23925,21 @@ declare module "factorio:runtime" { * Access the inner inventory of an item. * @param inventory Index of the inventory to access, which can only be {@link defines.inventory.item_main}. * @returns `nil` if there is no inventory with the given index. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#get_inventory Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#get_inventory Online documentation} */ get_inventory(inventory: defines.inventory): LuaInventory | nil /** * Clears this blueprint item. * * _Can only be used if this is BlueprintItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#clear_blueprint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#clear_blueprint Online documentation} */ clear_blueprint(): void /** * Is this blueprint item setup? I.e. is it a non-empty blueprint? * * _Can only be used if this is BlueprintItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#is_blueprint_setup Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#is_blueprint_setup Online documentation} */ is_blueprint_setup(): boolean /** @@ -23934,7 +23949,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is BlueprintItem_ * @returns Array of created ghosts - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#build_blueprint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#build_blueprint Online documentation} */ build_blueprint(params: { /** @@ -23975,7 +23990,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is BlueprintItem_ * @returns The blueprint entity index to source entity mapping. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#create_blueprint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#create_blueprint Online documentation} */ create_blueprint(params: { /** @@ -24019,7 +24034,7 @@ declare module "factorio:runtime" { * Gets the tags for the given blueprint entity index in this blueprint item. * * _Can only be used if this is BlueprintItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#get_blueprint_entity_tags Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#get_blueprint_entity_tags Online documentation} */ get_blueprint_entity_tags(index: uint32): Tags | nil /** @@ -24027,7 +24042,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is BlueprintItem_ * @param index The entity index - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#set_blueprint_entity_tags Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#set_blueprint_entity_tags Online documentation} */ set_blueprint_entity_tags(index: uint32, tags: Tags): void /** @@ -24036,7 +24051,7 @@ declare module "factorio:runtime" { * _Can only be used if this is BlueprintItem_ * @param index The entity index. * @param tag The tag to get. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#get_blueprint_entity_tag Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#get_blueprint_entity_tag Online documentation} */ get_blueprint_entity_tag(index: uint32, tag: string): AnyBasic | nil /** @@ -24046,14 +24061,14 @@ declare module "factorio:runtime" { * @param index The entity index. * @param tag The tag to set. * @param value The tag value to set or `nil` to clear the tag. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#set_blueprint_entity_tag Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#set_blueprint_entity_tag Online documentation} */ set_blueprint_entity_tag(index: uint32, tag: string, value: AnyBasic | nil): void /** * The entities in this blueprint. * * _Can only be used if this is BlueprintItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#get_blueprint_entities Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#get_blueprint_entities Online documentation} */ get_blueprint_entities(): BlueprintEntity[] | nil /** @@ -24062,14 +24077,14 @@ declare module "factorio:runtime" { * _Can only be used if this is BlueprintItem_ * @param entities The new blueprint entities. * @param fix_positions If false, positions will be left unchanged unless invalid for the current snapping. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#set_blueprint_entities Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#set_blueprint_entities Online documentation} */ set_blueprint_entities(entities: readonly BlueprintEntityWrite[], fix_positions?: boolean): void /** * A list of the tiles in this blueprint. * * _Can only be used if this is BlueprintItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#get_blueprint_tiles Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#get_blueprint_tiles Online documentation} */ get_blueprint_tiles(): Tile[] | nil /** @@ -24077,28 +24092,28 @@ declare module "factorio:runtime" { * * _Can only be used if this is BlueprintItem_ * @param tiles Tiles to be a part of the blueprint. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#set_blueprint_tiles Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#set_blueprint_tiles Online documentation} */ set_blueprint_tiles(tiles: readonly TileWrite[]): void /** * Gets the number of entities in this blueprint item. * * _Can only be used if this is BlueprintItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#get_blueprint_entity_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#get_blueprint_entity_count Online documentation} */ get_blueprint_entity_count(): uint32 /** * Gets the tag with the given name or returns `nil` if it doesn't exist. * * _Can only be used if this is ItemWithTags_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#get_tag Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#get_tag Online documentation} */ get_tag(tag_name: string): AnyBasic | nil /** * Sets the tag with the given name and value. * * _Can only be used if this is ItemWithTags_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#set_tag Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#set_tag Online documentation} */ set_tag(tag_name: string, tag: AnyBasic): void /** @@ -24106,21 +24121,21 @@ declare module "factorio:runtime" { * * _Can only be used if this is ItemWithTags_ * @returns If the tag existed and was removed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#remove_tag Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#remove_tag Online documentation} */ remove_tag(tag: string): boolean /** * Gets the names of all tags on this item. * * _Can only be used if this is ItemWithTags_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#get_tag_names Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#get_tag_names Online documentation} */ get_tag_names(): string[] /** * Gets the entity filter at the given index for this deconstruction item. * * _Can only be used if this is DeconstructionItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#get_entity_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#get_entity_filter Online documentation} */ get_entity_filter(index: uint32): ItemFilter | nil /** @@ -24129,14 +24144,14 @@ declare module "factorio:runtime" { * _Can only be used if this is DeconstructionItem_ * @param filter Writing `nil` removes the filter. * @returns Whether the new filter was successfully set (meaning it was valid). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#set_entity_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#set_entity_filter Online documentation} */ set_entity_filter(index: uint32, filter: ItemFilterWrite | nil): boolean /** * Gets the tile filter at the given index for this deconstruction item. * * _Can only be used if this is DeconstructionItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#get_tile_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#get_tile_filter Online documentation} */ get_tile_filter(index: uint32): string | nil /** @@ -24145,14 +24160,14 @@ declare module "factorio:runtime" { * _Can only be used if this is DeconstructionItem_ * @param filter Writing `nil` removes the filter. * @returns Whether the new filter was successfully set (meaning it was valid). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#set_tile_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#set_tile_filter Online documentation} */ set_tile_filter(index: uint32, filter: string | LuaTilePrototype | LuaTile | nil): boolean /** * Deconstruct the given area with this deconstruction item. * * _Can only be used if this is DeconstructionItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#deconstruct_area Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#deconstruct_area Online documentation} */ deconstruct_area(params: { /** @@ -24184,7 +24199,7 @@ declare module "factorio:runtime" { * Cancel deconstruct the given area with this deconstruction item. * * _Can only be used if this is DeconstructionItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#cancel_deconstruct_area Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#cancel_deconstruct_area Online documentation} */ cancel_deconstruct_area(params: { /** @@ -24216,14 +24231,14 @@ declare module "factorio:runtime" { * Clears all settings/filters on this deconstruction item resetting it to default values. * * _Can only be used if this is DeconstructionItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#clear_deconstruction_item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#clear_deconstruction_item Online documentation} */ clear_deconstruction_item(): void /** * Clears all settings/filters on this upgrade item resetting it to default values. * * _Can only be used if this is UpgradeItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#clear_upgrade_item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#clear_upgrade_item Online documentation} */ clear_upgrade_item(): void /** @@ -24233,7 +24248,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is UpgradeItem_ * @param index The index of the mapper to read. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#get_mapper Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#get_mapper Online documentation} */ get_mapper(index: uint32, type: "from" | "to"): UpgradeMapperSource | UpgradeMapperDestination | nil /** @@ -24244,7 +24259,7 @@ declare module "factorio:runtime" { * _Can only be used if this is UpgradeItem_ * @param index The index of the mapper to set. * @param mapper The mapper to set. Set `nil` to clear the mapper. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#set_mapper Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#set_mapper Online documentation} */ set_mapper( index: uint32, @@ -24253,95 +24268,95 @@ declare module "factorio:runtime" { ): void /** * If this is a blueprint item. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#is_blueprint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#is_blueprint Online documentation} */ readonly is_blueprint: boolean /** * If this is a blueprint book item. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#is_blueprint_book Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#is_blueprint_book Online documentation} */ readonly is_blueprint_book: boolean /** * If this is an item with label item. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#is_item_with_label Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#is_item_with_label Online documentation} */ readonly is_item_with_label: boolean /** * If this is an item with inventory item. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#is_item_with_inventory Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#is_item_with_inventory Online documentation} */ readonly is_item_with_inventory: boolean /** * If this is an item with entity data item. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#is_item_with_entity_data Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#is_item_with_entity_data Online documentation} */ readonly is_item_with_entity_data: boolean /** * If this is a selection tool item. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#is_selection_tool Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#is_selection_tool Online documentation} */ readonly is_selection_tool: boolean /** * If this is an item with tags item. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#is_item_with_tags Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#is_item_with_tags Online documentation} */ readonly is_item_with_tags: boolean /** * If this is a deconstruction tool item. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#is_deconstruction_item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#is_deconstruction_item Online documentation} */ readonly is_deconstruction_item: boolean /** * If this is a upgrade item. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#is_upgrade_item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#is_upgrade_item Online documentation} */ readonly is_upgrade_item: boolean /** * If this is a tool item. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#is_tool Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#is_tool Online documentation} */ readonly is_tool: boolean /** * If this is an ammo item. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#is_ammo Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#is_ammo Online documentation} */ readonly is_ammo: boolean /** * If this is an armor item. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#is_armor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#is_armor Online documentation} */ readonly is_armor: boolean /** * If this is a repair tool item. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#is_repair_tool Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#is_repair_tool Online documentation} */ readonly is_repair_tool: boolean /** * The unique identifier for this item, if any. Note that this ID stays the same no matter where the item is moved to. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#item_number Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#item_number Online documentation} */ readonly item_number?: uint64 /** * Icons of this blueprint item, blueprint book, deconstruction item or upgrade planner. An item that doesn't have icons returns `nil` on read and throws error on write. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#preview_icons Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#preview_icons Online documentation} */ get preview_icons(): BlueprintSignalIcon[] | nil set preview_icons(value: readonly BlueprintSignalIconWrite[] | nil) /** * The equipment grid of this item, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#grid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#grid Online documentation} */ readonly grid?: LuaEquipmentGrid /** * The location of this item if it can be found. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#owner_location Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#owner_location Online documentation} */ readonly owner_location: ItemLocationData /** * The snapping grid size in this blueprint item. `nil` if snapping is not enabled. * * _Can only be used if this is BlueprintItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#blueprint_snap_to_grid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#blueprint_snap_to_grid Online documentation} */ get blueprint_snap_to_grid(): TilePosition | nil set blueprint_snap_to_grid(value: TilePosition | TilePositionArray | nil) @@ -24349,7 +24364,7 @@ declare module "factorio:runtime" { * The offset from the absolute grid. `nil` if absolute snapping is not enabled. * * _Can only be used if this is BlueprintItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#blueprint_position_relative_to_grid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#blueprint_position_relative_to_grid Online documentation} */ get blueprint_position_relative_to_grid(): TilePosition | nil set blueprint_position_relative_to_grid(value: TilePosition | TilePositionArray | nil) @@ -24357,49 +24372,49 @@ declare module "factorio:runtime" { * If absolute snapping is enabled on this blueprint item. * * _Can only be used if this is BlueprintItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#blueprint_absolute_snapping Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#blueprint_absolute_snapping Online documentation} */ blueprint_absolute_snapping: boolean /** * The description for this blueprint or blueprint book * * _Can only be used if this is BlueprintItem or BlueprintBookItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#blueprint_description Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#blueprint_description Online documentation} */ blueprint_description: string /** * List of raw materials required to build this blueprint. * * _Can only be used if this is BlueprintItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#cost_to_build Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#cost_to_build Online documentation} */ readonly cost_to_build: ItemWithQualityCount[] /** * The default icons for a blueprint item. * * _Can only be used if this is BlueprintItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#default_icons Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#default_icons Online documentation} */ readonly default_icons: BlueprintSignalIcon[] /** * The active blueprint index for this blueprint book. `nil` if this blueprint book is empty. * * _Can only be used if this is BlueprintBookItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#active_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#active_index Online documentation} */ active_index?: uint32 /** * The current label for this item, if any. * * _Can only be used if this is ItemWithLabel_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#label Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#label Online documentation} */ label?: string /** * The current label color for this item, if any. * * _Can only be used if this is ItemWithLabel_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#label_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#label_color Online documentation} */ get label_color(): Color | nil set label_color(value: Color | ColorArray | nil) @@ -24407,21 +24422,21 @@ declare module "factorio:runtime" { * Whether the label for this item can be manually changed. When false the label can only be changed through the API. * * _Can only be used if this is ItemWithLabel_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#allow_manual_label_change Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#allow_manual_label_change Online documentation} */ allow_manual_label_change: boolean /** * If this is an item with entity data, get the stored entity label. * * _Can only be used if this is ItemWithEntityData_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#entity_label Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#entity_label Online documentation} */ entity_label?: string /** * If this is an item with entity data, get the stored entity color. * * _Can only be used if this is ItemWithEntityData_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#entity_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#entity_color Online documentation} */ get entity_color(): Color | nil set entity_color(value: Color | ColorArray | nil) @@ -24429,7 +24444,7 @@ declare module "factorio:runtime" { * If this is an item with entity data, get the stored logistic filters. * * _Can only be used if this is ItemWithEntityData_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#entity_logistic_sections Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#entity_logistic_sections Online documentation} */ get entity_logistic_sections(): LogisticSections set entity_logistic_sections(value: LogisticSectionsWrite) @@ -24437,68 +24452,68 @@ declare module "factorio:runtime" { * If this is an item with entity data, get the stored request from buffer state. * * _Can only be used if this is ItemWithEntityData_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#entity_request_from_buffers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#entity_request_from_buffers Online documentation} */ entity_request_from_buffers: boolean /** * If this is an item with entity data, get the stored vehicle logistics enabled state. * * _Can only be used if this is ItemWithEntityData_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#entity_logistics_enabled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#entity_logistics_enabled Online documentation} */ entity_logistics_enabled: boolean /** * If this is an item with entity data, get the stored enable logistics while moving state. * * _Can only be used if this is ItemWithEntityData_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#entity_enable_logistics_while_moving Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#entity_enable_logistics_while_moving Online documentation} */ entity_enable_logistics_while_moving: boolean /** * If this is an item with entity data, get the stored driver is gunner state. * * _Can only be used if this is ItemWithEntityData_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#entity_driver_is_gunner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#entity_driver_is_gunner Online documentation} */ entity_driver_is_gunner: boolean /** * If this is an item with entity data, get the stored auto target without gunner state. * * _Can only be used if this is ItemWithEntityData_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#entity_auto_target_without_gunner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#entity_auto_target_without_gunner Online documentation} */ entity_auto_target_without_gunner: boolean /** * If this is an item with entity data, get the stored auto target with gunner state. * * _Can only be used if this is ItemWithEntityData_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#entity_auto_target_with_gunner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#entity_auto_target_with_gunner Online documentation} */ entity_auto_target_with_gunner: boolean /** * _Can only be used if this is ItemWithTags_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#tags Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#tags Online documentation} */ tags: Tags /** * The custom description this item-with-tags. This is shown over the normal item description if this is set to a non-empty value. * * _Can only be used if this is ItemWithTags_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#custom_description Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#custom_description Online documentation} */ custom_description: LocalisedString /** * The number of entity filters this deconstruction item has. * * _Can only be used if this is DeconstructionItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#entity_filter_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#entity_filter_count Online documentation} */ readonly entity_filter_count: uint32 /** * The entity filters for this deconstruction item. The attribute is a sparse array with the keys representing the index of the filter. All prototypes in this array must not have the `"not-deconstructable"` flag set and are either a `cliff` or marked as `minable`. * * _Can only be used if this is DeconstructionItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#entity_filters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#entity_filters Online documentation} */ get entity_filters(): ItemFilter[] set entity_filters(value: readonly ItemFilterWrite[]) @@ -24506,14 +24521,14 @@ declare module "factorio:runtime" { * The number of tile filters this deconstruction item has. * * _Can only be used if this is DeconstructionItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#tile_filter_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#tile_filter_count Online documentation} */ readonly tile_filter_count: uint32 /** * The tile filters for this deconstruction item. The attribute is a sparse array with the keys representing the index of the filter. Reading filters always returns an array of strings which are the tile prototype names. * * _Can only be used if this is DeconstructionItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#tile_filters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#tile_filters Online documentation} */ get tile_filters(): LuaTilePrototype[] set tile_filters(value: readonly TileID[]) @@ -24521,56 +24536,56 @@ declare module "factorio:runtime" { * The blacklist/whitelist entity filter mode for this deconstruction item. * * _Can only be used if this is DeconstructionItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#entity_filter_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#entity_filter_mode Online documentation} */ entity_filter_mode: defines.deconstruction_item.entity_filter_mode /** * The blacklist/whitelist tile filter mode for this deconstruction item. * * _Can only be used if this is DeconstructionItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#tile_filter_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#tile_filter_mode Online documentation} */ tile_filter_mode: defines.deconstruction_item.tile_filter_mode /** * The tile selection mode for this deconstruction item. * * _Can only be used if this is DeconstructionItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#tile_selection_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#tile_selection_mode Online documentation} */ tile_selection_mode: defines.deconstruction_item.tile_selection_mode /** * If this deconstruction item is set to allow trees and rocks only. * * _Can only be used if this is DeconstructionItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#trees_and_rocks_only Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#trees_and_rocks_only Online documentation} */ trees_and_rocks_only: boolean /** * The current count of mappers in the upgrade item. * * _Can only be used if this is UpgradeItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#mapper_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#mapper_count Online documentation} */ readonly mapper_count: uint32 /** * The description for this deconstruction planner or upgrade planner * * _Can only be used if this is DeconstructionItem or UpgradeItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#planner_description Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#planner_description Online documentation} */ planner_description: string /** * Durability of the contained item. Automatically capped at the item's maximum durability. * * _Can only be used if this is Tool_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#durability Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#durability Online documentation} */ durability: double /** * Number of bullets left in the magazine. * * _Can only be used if this is AmmoItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#ammo Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#ammo Online documentation} */ ammo: uint32 } @@ -24582,93 +24597,93 @@ declare module "factorio:runtime" { * Access the inner inventory of an item. * @param inventory Index of the inventory to access, which can only be {@link defines.inventory.item_main}. * @returns `nil` if there is no inventory with the given index. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#get_inventory Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#get_inventory Online documentation} */ get_inventory(inventory: defines.inventory): LuaInventory | nil /** * If this is a blueprint item. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#is_blueprint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#is_blueprint Online documentation} */ readonly is_blueprint: boolean /** * If this is a blueprint book item. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#is_blueprint_book Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#is_blueprint_book Online documentation} */ readonly is_blueprint_book: boolean /** * If this is an item with label item. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#is_item_with_label Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#is_item_with_label Online documentation} */ readonly is_item_with_label: boolean /** * If this is an item with inventory item. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#is_item_with_inventory Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#is_item_with_inventory Online documentation} */ readonly is_item_with_inventory: boolean /** * If this is an item with entity data item. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#is_item_with_entity_data Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#is_item_with_entity_data Online documentation} */ readonly is_item_with_entity_data: boolean /** * If this is a selection tool item. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#is_selection_tool Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#is_selection_tool Online documentation} */ readonly is_selection_tool: boolean /** * If this is an item with tags item. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#is_item_with_tags Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#is_item_with_tags Online documentation} */ readonly is_item_with_tags: boolean /** * If this is a deconstruction tool item. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#is_deconstruction_item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#is_deconstruction_item Online documentation} */ readonly is_deconstruction_item: boolean /** * If this is a upgrade item. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#is_upgrade_item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#is_upgrade_item Online documentation} */ readonly is_upgrade_item: boolean /** * If this is a tool item. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#is_tool Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#is_tool Online documentation} */ readonly is_tool: boolean /** * If this is an ammo item. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#is_ammo Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#is_ammo Online documentation} */ readonly is_ammo: boolean /** * If this is an armor item. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#is_armor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#is_armor Online documentation} */ readonly is_armor: boolean /** * If this is a repair tool item. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#is_repair_tool Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#is_repair_tool Online documentation} */ readonly is_repair_tool: boolean /** * The unique identifier for this item, if any. Note that this ID stays the same no matter where the item is moved to. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#item_number Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#item_number Online documentation} */ readonly item_number?: uint64 /** * Icons of this blueprint item, blueprint book, deconstruction item or upgrade planner. An item that doesn't have icons returns `nil` on read and throws error on write. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#preview_icons Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#preview_icons Online documentation} */ get preview_icons(): BlueprintSignalIcon[] | nil set preview_icons(value: readonly BlueprintSignalIconWrite[] | nil) /** * The equipment grid of this item, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#grid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#grid Online documentation} */ readonly grid?: LuaEquipmentGrid /** * The location of this item if it can be found. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#owner_location Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#owner_location Online documentation} */ readonly owner_location: ItemLocationData } @@ -24680,14 +24695,14 @@ declare module "factorio:runtime" { * Clears this blueprint item. * * _Can only be used if this is BlueprintItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#clear_blueprint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#clear_blueprint Online documentation} */ clear_blueprint(): void /** * Is this blueprint item setup? I.e. is it a non-empty blueprint? * * _Can only be used if this is BlueprintItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#is_blueprint_setup Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#is_blueprint_setup Online documentation} */ is_blueprint_setup(): boolean /** @@ -24697,7 +24712,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is BlueprintItem_ * @returns Array of created ghosts - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#build_blueprint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#build_blueprint Online documentation} */ build_blueprint(params: { /** @@ -24738,7 +24753,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is BlueprintItem_ * @returns The blueprint entity index to source entity mapping. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#create_blueprint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#create_blueprint Online documentation} */ create_blueprint(params: { /** @@ -24782,7 +24797,7 @@ declare module "factorio:runtime" { * Gets the tags for the given blueprint entity index in this blueprint item. * * _Can only be used if this is BlueprintItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#get_blueprint_entity_tags Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#get_blueprint_entity_tags Online documentation} */ get_blueprint_entity_tags(index: uint32): Tags | nil /** @@ -24790,7 +24805,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is BlueprintItem_ * @param index The entity index - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#set_blueprint_entity_tags Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#set_blueprint_entity_tags Online documentation} */ set_blueprint_entity_tags(index: uint32, tags: Tags): void /** @@ -24799,7 +24814,7 @@ declare module "factorio:runtime" { * _Can only be used if this is BlueprintItem_ * @param index The entity index. * @param tag The tag to get. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#get_blueprint_entity_tag Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#get_blueprint_entity_tag Online documentation} */ get_blueprint_entity_tag(index: uint32, tag: string): AnyBasic | nil /** @@ -24809,14 +24824,14 @@ declare module "factorio:runtime" { * @param index The entity index. * @param tag The tag to set. * @param value The tag value to set or `nil` to clear the tag. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#set_blueprint_entity_tag Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#set_blueprint_entity_tag Online documentation} */ set_blueprint_entity_tag(index: uint32, tag: string, value: AnyBasic | nil): void /** * The entities in this blueprint. * * _Can only be used if this is BlueprintItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#get_blueprint_entities Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#get_blueprint_entities Online documentation} */ get_blueprint_entities(): BlueprintEntity[] | nil /** @@ -24825,14 +24840,14 @@ declare module "factorio:runtime" { * _Can only be used if this is BlueprintItem_ * @param entities The new blueprint entities. * @param fix_positions If false, positions will be left unchanged unless invalid for the current snapping. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#set_blueprint_entities Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#set_blueprint_entities Online documentation} */ set_blueprint_entities(entities: readonly BlueprintEntityWrite[], fix_positions?: boolean): void /** * A list of the tiles in this blueprint. * * _Can only be used if this is BlueprintItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#get_blueprint_tiles Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#get_blueprint_tiles Online documentation} */ get_blueprint_tiles(): Tile[] | nil /** @@ -24840,21 +24855,21 @@ declare module "factorio:runtime" { * * _Can only be used if this is BlueprintItem_ * @param tiles Tiles to be a part of the blueprint. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#set_blueprint_tiles Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#set_blueprint_tiles Online documentation} */ set_blueprint_tiles(tiles: readonly TileWrite[]): void /** * Gets the number of entities in this blueprint item. * * _Can only be used if this is BlueprintItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#get_blueprint_entity_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#get_blueprint_entity_count Online documentation} */ get_blueprint_entity_count(): uint32 /** * The snapping grid size in this blueprint item. `nil` if snapping is not enabled. * * _Can only be used if this is BlueprintItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#blueprint_snap_to_grid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#blueprint_snap_to_grid Online documentation} */ get blueprint_snap_to_grid(): TilePosition | nil set blueprint_snap_to_grid(value: TilePosition | TilePositionArray | nil) @@ -24862,7 +24877,7 @@ declare module "factorio:runtime" { * The offset from the absolute grid. `nil` if absolute snapping is not enabled. * * _Can only be used if this is BlueprintItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#blueprint_position_relative_to_grid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#blueprint_position_relative_to_grid Online documentation} */ get blueprint_position_relative_to_grid(): TilePosition | nil set blueprint_position_relative_to_grid(value: TilePosition | TilePositionArray | nil) @@ -24870,28 +24885,28 @@ declare module "factorio:runtime" { * If absolute snapping is enabled on this blueprint item. * * _Can only be used if this is BlueprintItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#blueprint_absolute_snapping Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#blueprint_absolute_snapping Online documentation} */ blueprint_absolute_snapping: boolean /** * The description for this blueprint or blueprint book * * _Can only be used if this is BlueprintItem or BlueprintBookItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#blueprint_description Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#blueprint_description Online documentation} */ blueprint_description: string /** * List of raw materials required to build this blueprint. * * _Can only be used if this is BlueprintItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#cost_to_build Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#cost_to_build Online documentation} */ readonly cost_to_build: ItemWithQualityCount[] /** * The default icons for a blueprint item. * * _Can only be used if this is BlueprintItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#default_icons Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#default_icons Online documentation} */ readonly default_icons: BlueprintSignalIcon[] } @@ -24903,14 +24918,14 @@ declare module "factorio:runtime" { * Gets the tag with the given name or returns `nil` if it doesn't exist. * * _Can only be used if this is ItemWithTags_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#get_tag Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#get_tag Online documentation} */ get_tag(tag_name: string): AnyBasic | nil /** * Sets the tag with the given name and value. * * _Can only be used if this is ItemWithTags_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#set_tag Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#set_tag Online documentation} */ set_tag(tag_name: string, tag: AnyBasic): void /** @@ -24918,26 +24933,26 @@ declare module "factorio:runtime" { * * _Can only be used if this is ItemWithTags_ * @returns If the tag existed and was removed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#remove_tag Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#remove_tag Online documentation} */ remove_tag(tag: string): boolean /** * Gets the names of all tags on this item. * * _Can only be used if this is ItemWithTags_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#get_tag_names Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#get_tag_names Online documentation} */ get_tag_names(): string[] /** * _Can only be used if this is ItemWithTags_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#tags Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#tags Online documentation} */ tags: Tags /** * The custom description this item-with-tags. This is shown over the normal item description if this is set to a non-empty value. * * _Can only be used if this is ItemWithTags_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#custom_description Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#custom_description Online documentation} */ custom_description: LocalisedString } @@ -24949,7 +24964,7 @@ declare module "factorio:runtime" { * Gets the entity filter at the given index for this deconstruction item. * * _Can only be used if this is DeconstructionItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#get_entity_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#get_entity_filter Online documentation} */ get_entity_filter(index: uint32): ItemFilter | nil /** @@ -24958,14 +24973,14 @@ declare module "factorio:runtime" { * _Can only be used if this is DeconstructionItem_ * @param filter Writing `nil` removes the filter. * @returns Whether the new filter was successfully set (meaning it was valid). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#set_entity_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#set_entity_filter Online documentation} */ set_entity_filter(index: uint32, filter: ItemFilterWrite | nil): boolean /** * Gets the tile filter at the given index for this deconstruction item. * * _Can only be used if this is DeconstructionItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#get_tile_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#get_tile_filter Online documentation} */ get_tile_filter(index: uint32): string | nil /** @@ -24974,14 +24989,14 @@ declare module "factorio:runtime" { * _Can only be used if this is DeconstructionItem_ * @param filter Writing `nil` removes the filter. * @returns Whether the new filter was successfully set (meaning it was valid). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#set_tile_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#set_tile_filter Online documentation} */ set_tile_filter(index: uint32, filter: string | LuaTilePrototype | LuaTile | nil): boolean /** * Deconstruct the given area with this deconstruction item. * * _Can only be used if this is DeconstructionItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#deconstruct_area Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#deconstruct_area Online documentation} */ deconstruct_area(params: { /** @@ -25013,7 +25028,7 @@ declare module "factorio:runtime" { * Cancel deconstruct the given area with this deconstruction item. * * _Can only be used if this is DeconstructionItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#cancel_deconstruct_area Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#cancel_deconstruct_area Online documentation} */ cancel_deconstruct_area(params: { /** @@ -25045,21 +25060,21 @@ declare module "factorio:runtime" { * Clears all settings/filters on this deconstruction item resetting it to default values. * * _Can only be used if this is DeconstructionItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#clear_deconstruction_item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#clear_deconstruction_item Online documentation} */ clear_deconstruction_item(): void /** * The number of entity filters this deconstruction item has. * * _Can only be used if this is DeconstructionItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#entity_filter_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#entity_filter_count Online documentation} */ readonly entity_filter_count: uint32 /** * The entity filters for this deconstruction item. The attribute is a sparse array with the keys representing the index of the filter. All prototypes in this array must not have the `"not-deconstructable"` flag set and are either a `cliff` or marked as `minable`. * * _Can only be used if this is DeconstructionItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#entity_filters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#entity_filters Online documentation} */ get entity_filters(): ItemFilter[] set entity_filters(value: readonly ItemFilterWrite[]) @@ -25067,14 +25082,14 @@ declare module "factorio:runtime" { * The number of tile filters this deconstruction item has. * * _Can only be used if this is DeconstructionItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#tile_filter_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#tile_filter_count Online documentation} */ readonly tile_filter_count: uint32 /** * The tile filters for this deconstruction item. The attribute is a sparse array with the keys representing the index of the filter. Reading filters always returns an array of strings which are the tile prototype names. * * _Can only be used if this is DeconstructionItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#tile_filters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#tile_filters Online documentation} */ get tile_filters(): LuaTilePrototype[] set tile_filters(value: readonly TileID[]) @@ -25082,35 +25097,35 @@ declare module "factorio:runtime" { * The blacklist/whitelist entity filter mode for this deconstruction item. * * _Can only be used if this is DeconstructionItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#entity_filter_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#entity_filter_mode Online documentation} */ entity_filter_mode: defines.deconstruction_item.entity_filter_mode /** * The blacklist/whitelist tile filter mode for this deconstruction item. * * _Can only be used if this is DeconstructionItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#tile_filter_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#tile_filter_mode Online documentation} */ tile_filter_mode: defines.deconstruction_item.tile_filter_mode /** * The tile selection mode for this deconstruction item. * * _Can only be used if this is DeconstructionItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#tile_selection_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#tile_selection_mode Online documentation} */ tile_selection_mode: defines.deconstruction_item.tile_selection_mode /** * If this deconstruction item is set to allow trees and rocks only. * * _Can only be used if this is DeconstructionItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#trees_and_rocks_only Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#trees_and_rocks_only Online documentation} */ trees_and_rocks_only: boolean /** * The description for this deconstruction planner or upgrade planner * * _Can only be used if this is DeconstructionItem or UpgradeItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#planner_description Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#planner_description Online documentation} */ planner_description: string } @@ -25122,7 +25137,7 @@ declare module "factorio:runtime" { * Clears all settings/filters on this upgrade item resetting it to default values. * * _Can only be used if this is UpgradeItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#clear_upgrade_item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#clear_upgrade_item Online documentation} */ clear_upgrade_item(): void /** @@ -25132,7 +25147,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is UpgradeItem_ * @param index The index of the mapper to read. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#get_mapper Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#get_mapper Online documentation} */ get_mapper(index: uint32, type: "from" | "to"): UpgradeMapperSource | UpgradeMapperDestination | nil /** @@ -25143,7 +25158,7 @@ declare module "factorio:runtime" { * _Can only be used if this is UpgradeItem_ * @param index The index of the mapper to set. * @param mapper The mapper to set. Set `nil` to clear the mapper. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#set_mapper Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#set_mapper Online documentation} */ set_mapper( index: uint32, @@ -25154,14 +25169,14 @@ declare module "factorio:runtime" { * The current count of mappers in the upgrade item. * * _Can only be used if this is UpgradeItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#mapper_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#mapper_count Online documentation} */ readonly mapper_count: uint32 /** * The description for this deconstruction planner or upgrade planner * * _Can only be used if this is DeconstructionItem or UpgradeItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#planner_description Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#planner_description Online documentation} */ planner_description: string } @@ -25170,14 +25185,14 @@ declare module "factorio:runtime" { * The description for this blueprint or blueprint book * * _Can only be used if this is BlueprintItem or BlueprintBookItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#blueprint_description Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#blueprint_description Online documentation} */ blueprint_description: string /** * The active blueprint index for this blueprint book. `nil` if this blueprint book is empty. * * _Can only be used if this is BlueprintBookItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#active_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#active_index Online documentation} */ active_index?: uint32 } @@ -25186,14 +25201,14 @@ declare module "factorio:runtime" { * The current label for this item, if any. * * _Can only be used if this is ItemWithLabel_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#label Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#label Online documentation} */ label?: string /** * The current label color for this item, if any. * * _Can only be used if this is ItemWithLabel_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#label_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#label_color Online documentation} */ get label_color(): Color | nil set label_color(value: Color | ColorArray | nil) @@ -25201,7 +25216,7 @@ declare module "factorio:runtime" { * Whether the label for this item can be manually changed. When false the label can only be changed through the API. * * _Can only be used if this is ItemWithLabel_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#allow_manual_label_change Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#allow_manual_label_change Online documentation} */ allow_manual_label_change: boolean } @@ -25210,14 +25225,14 @@ declare module "factorio:runtime" { * If this is an item with entity data, get the stored entity label. * * _Can only be used if this is ItemWithEntityData_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#entity_label Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#entity_label Online documentation} */ entity_label?: string /** * If this is an item with entity data, get the stored entity color. * * _Can only be used if this is ItemWithEntityData_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#entity_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#entity_color Online documentation} */ get entity_color(): Color | nil set entity_color(value: Color | ColorArray | nil) @@ -25225,7 +25240,7 @@ declare module "factorio:runtime" { * If this is an item with entity data, get the stored logistic filters. * * _Can only be used if this is ItemWithEntityData_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#entity_logistic_sections Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#entity_logistic_sections Online documentation} */ get entity_logistic_sections(): LogisticSections set entity_logistic_sections(value: LogisticSectionsWrite) @@ -25233,42 +25248,42 @@ declare module "factorio:runtime" { * If this is an item with entity data, get the stored request from buffer state. * * _Can only be used if this is ItemWithEntityData_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#entity_request_from_buffers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#entity_request_from_buffers Online documentation} */ entity_request_from_buffers: boolean /** * If this is an item with entity data, get the stored vehicle logistics enabled state. * * _Can only be used if this is ItemWithEntityData_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#entity_logistics_enabled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#entity_logistics_enabled Online documentation} */ entity_logistics_enabled: boolean /** * If this is an item with entity data, get the stored enable logistics while moving state. * * _Can only be used if this is ItemWithEntityData_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#entity_enable_logistics_while_moving Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#entity_enable_logistics_while_moving Online documentation} */ entity_enable_logistics_while_moving: boolean /** * If this is an item with entity data, get the stored driver is gunner state. * * _Can only be used if this is ItemWithEntityData_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#entity_driver_is_gunner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#entity_driver_is_gunner Online documentation} */ entity_driver_is_gunner: boolean /** * If this is an item with entity data, get the stored auto target without gunner state. * * _Can only be used if this is ItemWithEntityData_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#entity_auto_target_without_gunner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#entity_auto_target_without_gunner Online documentation} */ entity_auto_target_without_gunner: boolean /** * If this is an item with entity data, get the stored auto target with gunner state. * * _Can only be used if this is ItemWithEntityData_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#entity_auto_target_with_gunner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#entity_auto_target_with_gunner Online documentation} */ entity_auto_target_with_gunner: boolean } @@ -25277,7 +25292,7 @@ declare module "factorio:runtime" { * Durability of the contained item. Automatically capped at the item's maximum durability. * * _Can only be used if this is Tool_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#durability Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#durability Online documentation} */ durability: double } @@ -25286,35 +25301,35 @@ declare module "factorio:runtime" { * Number of bullets left in the magazine. * * _Can only be used if this is AmmoItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemCommon.html#ammo Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemCommon.html#ammo Online documentation} */ ammo: uint32 } /** * Item group. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemGroup.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemGroup.html Online documentation} */ export interface LuaItemGroup { readonly type: ItemType readonly name: string /** * The string used to alphabetically sort these prototypes. It is a simple string that has no additional semantic meaning. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemGroup.html#order Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemGroup.html#order Online documentation} */ readonly order: string /** * Localised name of the group. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemGroup.html#localised_name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemGroup.html#localised_name Online documentation} */ readonly localised_name: LocalisedString /** * Subgroups of this group. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemGroup.html#subgroups Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemGroup.html#subgroups Online documentation} */ readonly subgroups: LuaItemSubGroup[] /** * The additional order value used in recipe ordering. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemGroup.html#order_in_recipe Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemGroup.html#order_in_recipe Online documentation} */ readonly order_in_recipe: string /** @@ -25328,19 +25343,19 @@ declare module "factorio:runtime" { } /** * Prototype of an item. For example, an item prototype can be obtained from {@link LuaPrototypes#item LuaPrototypes::item} by its name: `prototypes.item["iron-plate"]`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html Online documentation} * @noSelf */ export interface LuaItemPrototype extends LuaPrototypeBase { /** * Test whether this item prototype has a certain flag set. * @param flag The flag to test. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#has_flag Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#has_flag Online documentation} */ has_flag(flag: ItemPrototypeFlag): boolean /** * The number of ticks before this item spoils, or `0` if it does not spoil. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#get_spoil_ticks Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#get_spoil_ticks Online documentation} */ get_spoil_ticks(quality?: QualityID): uint32 /** @@ -25348,68 +25363,68 @@ declare module "factorio:runtime" { * * _Can only be used if this is AmmoItem_ * @param ammo_source_type Defaults to `"default"`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#get_ammo_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#get_ammo_type Online documentation} */ get_ammo_type(ammo_source_type?: "default" | "player" | "turret" | "vehicle"): AmmoType | nil /** * The inventory size bonus for this armor prototype. * * _Can only be used if this is ArmorPrototype_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#get_inventory_size_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#get_inventory_size_bonus Online documentation} */ get_inventory_size_bonus(quality?: QualityID): uint32 | nil /** * The main inventory size for item-with-inventory-prototype. * * _Can only be used if this is ItemWithInventoryPrototype_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#get_inventory_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#get_inventory_size Online documentation} */ get_inventory_size(quality?: QualityID): uint32 | nil /** * Effects of this module at the specified quality. * * _Can only be used if this is ModuleItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#get_module_effects Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#get_module_effects Online documentation} */ get_module_effects(quality?: QualityID): Effect | nil /** * The color used when doing normal selection with this selection tool prototype. * * _Can only be used if this is SelectionTool_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#get_selection_border_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#get_selection_border_color Online documentation} */ get_selection_border_color(selection_mode: defines.selection_mode): Color | nil /** * Flags that affect which entities will be selected. * * _Can only be used if this is SelectionTool_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#get_selection_mode_flags Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#get_selection_mode_flags Online documentation} */ get_selection_mode_flags(selection_mode: defines.selection_mode): SelectionModeFlags | nil /** * _Can only be used if this is SelectionTool_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#get_cursor_box_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#get_cursor_box_type Online documentation} */ get_cursor_box_type(selection_mode: defines.selection_mode): CursorBoxRenderType | nil /** * The entity filter mode used by this selection tool. * * _Can only be used if this is SelectionTool_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#get_entity_filter_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#get_entity_filter_mode Online documentation} */ get_entity_filter_mode(selection_mode: defines.selection_mode): PrototypeFilterMode | nil /** * The tile filter mode used by this selection tool. * * _Can only be used if this is SelectionTool_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#get_tile_filter_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#get_tile_filter_mode Online documentation} */ get_tile_filter_mode(selection_mode: defines.selection_mode): PrototypeFilterMode | nil /** * The entity filters used by this selection tool. * * _Can only be used if this is SelectionTool_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#get_entity_filters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#get_entity_filters Online documentation} */ get_entity_filters(selection_mode: defines.selection_mode): LuaEntityPrototype[] | nil /** @@ -25418,111 +25433,111 @@ declare module "factorio:runtime" { * The boolean value is meaningless and is used to allow easy lookup if a type exists in the dictionary. * * _Can only be used if this is SelectionTool_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#get_entity_type_filters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#get_entity_type_filters Online documentation} */ get_entity_type_filters(selection_mode: defines.selection_mode): Record | nil /** * The tile filters used by this selection tool. * * _Can only be used if this is SelectionTool_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#get_tile_filters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#get_tile_filters Online documentation} */ get_tile_filters(selection_mode: defines.selection_mode): LuaTilePrototype[] | nil /** * The durability of this tool item prototype. * * _Can only be used if this is ToolItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#get_durability Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#get_durability Online documentation} */ get_durability(quality?: QualityID): double | nil /** * Prototype of the entity that will be created by placing this item, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#place_result Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#place_result Online documentation} */ readonly place_result?: LuaEntityPrototype /** * Prototype of the equipment that will be created by placing this item in an equipment grid, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#place_as_equipment_result Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#place_as_equipment_result Online documentation} */ readonly place_as_equipment_result?: LuaEquipmentPrototype /** * The place-as-tile result if one is defined, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#place_as_tile_result Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#place_as_tile_result Online documentation} */ readonly place_as_tile_result?: PlaceAsTileResult /** * Is this item allowed to stack at all? - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#stackable Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#stackable Online documentation} */ readonly stackable: boolean /** * Maximum stack size of the item specified by this prototype. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#stack_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#stack_size Online documentation} */ readonly stack_size: uint32 /** * Fuel categories. Only provided when not empty. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#fuel_categories Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#fuel_categories Online documentation} */ readonly fuel_categories?: string[] /** * The result of burning this item as fuel, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#burnt_result Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#burnt_result Online documentation} */ readonly burnt_result?: LuaItemPrototype /** * Fuel value when burned. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#fuel_value Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#fuel_value Online documentation} */ readonly fuel_value: float /** * The acceleration multiplier when this item is used as fuel in a vehicle. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#fuel_acceleration_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#fuel_acceleration_multiplier Online documentation} */ readonly fuel_acceleration_multiplier: double /** * The fuel top speed multiplier when this item is used as fuel in a vehicle. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#fuel_top_speed_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#fuel_top_speed_multiplier Online documentation} */ readonly fuel_top_speed_multiplier: double /** * The emissions multiplier if this is used as fuel. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#fuel_emissions_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#fuel_emissions_multiplier Online documentation} */ readonly fuel_emissions_multiplier: double /** * Additional fuel acceleration multiplier per quality level. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#fuel_acceleration_multiplier_quality_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#fuel_acceleration_multiplier_quality_bonus Online documentation} */ readonly fuel_acceleration_multiplier_quality_bonus: double /** * Additional fuel top speed multiplier per quality level. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#fuel_top_speed_multiplier_quality_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#fuel_top_speed_multiplier_quality_bonus Online documentation} */ readonly fuel_top_speed_multiplier_quality_bonus: double /** * The flags for this item prototype. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#flags Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#flags Online documentation} */ readonly flags: ItemPrototypeFlags /** * The results of launching this item in a rocket. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#rocket_launch_products Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#rocket_launch_products Online documentation} */ readonly rocket_launch_products: Product[] /** * How this item interacts when being sent to orbit. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#send_to_orbit_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#send_to_orbit_mode Online documentation} */ readonly send_to_orbit_mode: "not-sendable" | "manual" | "automated" /** * If this item can be mod-opened. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#can_be_mod_opened Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#can_be_mod_opened Online documentation} */ readonly can_be_mod_opened: boolean /** * The spoil result of this item, if any - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#spoil_result Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#spoil_result Online documentation} */ readonly spoil_result?: LuaItemPrototype readonly spoil_quality_min?: LuaQualityPrototype @@ -25530,14 +25545,14 @@ declare module "factorio:runtime" { readonly spoil_quality_change: int8 /** * The result entity when planting this item as a seed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#plant_result Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#plant_result Online documentation} */ readonly plant_result?: LuaEntityPrototype readonly spoil_to_trigger_result?: SpoilToTriggerResult readonly destroyed_by_dropping_trigger?: TriggerItem[] /** - * Weight of this item. More information on how item weight is determined can be found on its {@linkplain https://lua-api.factorio.com/2.1.22/auxiliary/item-weight.html auxiliary page}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#weight Online documentation} + * Weight of this item. More information on how item weight is determined can be found on its {@linkplain https://lua-api.factorio.com/2.1.24/auxiliary/item-weight.html auxiliary page}. + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#weight Online documentation} */ readonly weight: Weight readonly ingredient_to_weight_coefficient: double @@ -25545,7 +25560,7 @@ declare module "factorio:runtime" { readonly default_import_location: LuaSpaceLocationPrototype /** * An alternative prototype that will be used to display info about this prototype in Factoriopedia. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#factoriopedia_alternative Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#factoriopedia_alternative Online documentation} */ readonly factoriopedia_alternative?: LuaItemPrototype readonly moved_to_hub_when_building: boolean @@ -25557,287 +25572,287 @@ declare module "factorio:runtime" { readonly spoil_level: uint8 /** * Whether this item is referenced by any {@link import("factorio:prototype").LabPrototype#inputs lab input}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#used_by_labs Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#used_by_labs Online documentation} */ readonly used_by_labs: boolean /** * _Can only be used if this is AmmoItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#ammo_category Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#ammo_category Online documentation} */ readonly ammo_category?: LuaAmmoCategoryPrototype /** * Size of full magazine. * * _Can only be used if this is AmmoItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#magazine_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#magazine_size Online documentation} */ readonly magazine_size?: float /** * Amount of extra time (in ticks) it takes to reload the weapon after depleting the magazine. * * _Can only be used if this is AmmoItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#reload_time Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#reload_time Online documentation} */ readonly reload_time?: float /** * _Can only be used if this is AmmoItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#shoot_protected Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#shoot_protected Online documentation} */ readonly shoot_protected?: boolean /** * The prototype of this armor's equipment grid, if any. * * _Can only be used if this is Armor_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#equipment_grid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#equipment_grid Online documentation} */ readonly equipment_grid?: LuaEquipmentGridPrototype /** * Resistances of this armor item, if any, indexed by damage type name. * * _Can only be used if this is Armor_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#resistances Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#resistances Online documentation} */ readonly resistances?: Record /** * The collision box used by character entities when wearing this armor. * * _Can only be used if this is ArmorPrototype_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#collision_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#collision_box Online documentation} */ readonly collision_box?: BoundingBox /** * The drawing box used by character entities when wearing this armor. * * _Can only be used if this is ArmorPrototype_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#drawing_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#drawing_box Online documentation} */ readonly drawing_box?: BoundingBox /** * If this armor provides flight to character entities when worm. * * _Can only be used if this is ArmorPrototype_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#provides_flight Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#provides_flight Online documentation} */ readonly provides_flight?: boolean /** * The capsule action for this capsule item prototype. * * _Can only be used if this is Capsule_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#capsule_action Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#capsule_action Online documentation} */ readonly capsule_action?: CapsuleAction /** * _Can only be used if this is Capsule_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#radius_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#radius_color Online documentation} */ readonly radius_color?: Color /** * _Can only be used if this is CopyPasteTool_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#cuts Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#cuts Online documentation} */ readonly cuts?: boolean /** * The gun attack parameters. * * _Can only be used if this is Gun_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#attack_parameters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#attack_parameters Online documentation} */ readonly attack_parameters?: AttackParameters /** * _Can only be used if this is ItemWithInventory_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#item_filters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#item_filters Online documentation} */ readonly item_filters?: LuaItemPrototype[] /** * _Can only be used if this is ItemWithInventory_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#item_group_filters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#item_group_filters Online documentation} */ readonly item_group_filters?: LuaItemGroup[] /** * _Can only be used if this is ItemWithInventory_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#item_subgroup_filters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#item_subgroup_filters Online documentation} */ readonly item_subgroup_filters?: LuaItemSubGroup[] /** * The filter mode used by this item with inventory. * * _Can only be used if this is ItemWithInventory_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#filter_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#filter_mode Online documentation} */ readonly filter_mode?: PrototypeFilterMode /** * The localised string used when the player attempts to put items into this item with inventory that aren't allowed. * * _Can only be used if this is ItemWithInventory_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#localised_filter_message Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#localised_filter_message Online documentation} */ readonly localised_filter_message?: LocalisedString /** * _Can only be used if this is ItemWithInventory_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#quality_affects_inventory_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#quality_affects_inventory_size Online documentation} */ readonly quality_affects_inventory_size?: boolean /** * The default label color used for this item with label, if any. * * _Can only be used if this is ItemWithLabel_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#default_label_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#default_label_color Online documentation} */ readonly default_label_color?: Color /** * If true, and this item with label has a label it is drawn in place of the normal number when held in the cursor. * * _Can only be used if this is ItemWithLabel_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#draw_label_for_cursor_render Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#draw_label_for_cursor_render Online documentation} */ readonly draw_label_for_cursor_render?: boolean /** * The repairing speed if this is a repairing tool. * * _Can only be used if this is RepairTool_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#speed Online documentation} */ readonly speed?: float /** * Effects of this module. * * _Can only be used if this is ModuleItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#module_effects Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#module_effects Online documentation} */ readonly module_effects?: Effect /** * The name of a {@link LuaModuleCategoryPrototype}. Used when upgrading modules: Ctrl + click modules into an entity and it will replace lower tier modules of the same category with higher tier modules. * * _Can only be used if this is ModuleItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#category Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#category Online documentation} */ readonly category?: string /** * Tier of the module inside its category. Used when upgrading modules: Ctrl + click modules into an entity and it will replace lower tier modules with higher tier modules if they have the same category. * * _Can only be used if this is ModuleItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#tier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#tier Online documentation} */ readonly tier?: uint32 /** * _Can only be used if this is ModuleItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#requires_beacon_alt_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#requires_beacon_alt_mode Online documentation} */ readonly requires_beacon_alt_mode?: boolean /** * _Can only be used if this is ModuleItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#beacon_tint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#beacon_tint Online documentation} */ readonly beacon_tint?: Color[] /** * _Can only be used if this is ModuleItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#consumption_quality_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#consumption_quality_multiplier Online documentation} */ readonly consumption_quality_multiplier?: float /** * _Can only be used if this is ModuleItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#speed_quality_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#speed_quality_multiplier Online documentation} */ readonly speed_quality_multiplier?: float /** * _Can only be used if this is ModuleItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#productivity_quality_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#productivity_quality_multiplier Online documentation} */ readonly productivity_quality_multiplier?: float /** * _Can only be used if this is ModuleItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#pollution_quality_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#pollution_quality_multiplier Online documentation} */ readonly pollution_quality_multiplier?: float /** * _Can only be used if this is ModuleItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#quality_quality_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#quality_quality_multiplier Online documentation} */ readonly quality_quality_multiplier?: float /** * Prototypes of all rails possible to be used by this rail planner prototype. * * _Can only be used if this is RailPlanner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#rails Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#rails Online documentation} */ readonly rails?: LuaEntityPrototype[] /** * The rail support used by this rail planner. * * _Can only be used if this is RailPlanner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#support Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#support Online documentation} */ readonly support?: LuaEntityPrototype /** * _Can only be used if this is RailPlanner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#manual_length_limit Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#manual_length_limit Online documentation} */ readonly manual_length_limit?: double /** * If tiles area always included when doing selection with this selection tool prototype. * * _Can only be used if this is SelectionTool_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#always_include_tiles Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#always_include_tiles Online documentation} */ readonly always_include_tiles?: boolean /** * If this selection tool skips things covered by fog of war. * * _Can only be used if this is SelectionTool_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#skip_fog_of_war Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#skip_fog_of_war Online documentation} */ readonly skip_fog_of_war?: boolean /** * The durability message key used when displaying the durability of this tool. * * _Can only be used if this is ToolItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#durability_description_key Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#durability_description_key Online documentation} */ readonly durability_description_key?: string /** * The durability message key used when displaying the durability of this tool in Factoriopedia. * * _Can only be used if this is ToolItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#factoriopedia_durability_description_key Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#factoriopedia_durability_description_key Online documentation} */ readonly factoriopedia_durability_description_key?: string /** * The durability message value used when displaying the durability of this tool. * * _Can only be used if this is ToolItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#durability_description_value Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#durability_description_value Online documentation} */ readonly durability_description_value?: string /** * If this tool item has infinite durability. * * _Can only be used if this is ToolItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#infinite Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#infinite Online documentation} */ readonly infinite?: boolean /** * _Can only be used if this is SpacePlatformStarterPack_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#trigger Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#trigger Online documentation} */ readonly trigger?: TriggerItem /** * _Can only be used if this is SpacePlatformStarterPack_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#surface Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#surface Online documentation} */ readonly surface?: LuaSurfacePrototype /** * _Can only be used if this is SpacePlatformStarterPack_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#create_electric_network Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#create_electric_network Online documentation} */ readonly create_electric_network?: boolean /** * _Can only be used if this is SpacePlatformStarterPack_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#tiles Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#tiles Online documentation} */ readonly tiles?: SpacePlatformTileDefinition[] /** * _Can only be used if this is SpacePlatformStarterPack_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#initial_items Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#initial_items Online documentation} */ readonly initial_items?: ItemProduct[] /** @@ -25856,102 +25871,102 @@ declare module "factorio:runtime" { /** * Test whether this item prototype has a certain flag set. * @param flag The flag to test. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#has_flag Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#has_flag Online documentation} */ has_flag(flag: ItemPrototypeFlag): boolean /** * The number of ticks before this item spoils, or `0` if it does not spoil. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#get_spoil_ticks Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#get_spoil_ticks Online documentation} */ get_spoil_ticks(quality?: QualityID): uint32 /** * Prototype of the entity that will be created by placing this item, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#place_result Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#place_result Online documentation} */ readonly place_result?: LuaEntityPrototype /** * Prototype of the equipment that will be created by placing this item in an equipment grid, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#place_as_equipment_result Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#place_as_equipment_result Online documentation} */ readonly place_as_equipment_result?: LuaEquipmentPrototype /** * The place-as-tile result if one is defined, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#place_as_tile_result Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#place_as_tile_result Online documentation} */ readonly place_as_tile_result?: PlaceAsTileResult /** * Is this item allowed to stack at all? - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#stackable Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#stackable Online documentation} */ readonly stackable: boolean /** * Maximum stack size of the item specified by this prototype. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#stack_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#stack_size Online documentation} */ readonly stack_size: uint32 /** * Fuel categories. Only provided when not empty. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#fuel_categories Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#fuel_categories Online documentation} */ readonly fuel_categories?: string[] /** * The result of burning this item as fuel, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#burnt_result Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#burnt_result Online documentation} */ readonly burnt_result?: LuaItemPrototype /** * Fuel value when burned. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#fuel_value Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#fuel_value Online documentation} */ readonly fuel_value: float /** * The acceleration multiplier when this item is used as fuel in a vehicle. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#fuel_acceleration_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#fuel_acceleration_multiplier Online documentation} */ readonly fuel_acceleration_multiplier: double /** * The fuel top speed multiplier when this item is used as fuel in a vehicle. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#fuel_top_speed_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#fuel_top_speed_multiplier Online documentation} */ readonly fuel_top_speed_multiplier: double /** * The emissions multiplier if this is used as fuel. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#fuel_emissions_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#fuel_emissions_multiplier Online documentation} */ readonly fuel_emissions_multiplier: double /** * Additional fuel acceleration multiplier per quality level. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#fuel_acceleration_multiplier_quality_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#fuel_acceleration_multiplier_quality_bonus Online documentation} */ readonly fuel_acceleration_multiplier_quality_bonus: double /** * Additional fuel top speed multiplier per quality level. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#fuel_top_speed_multiplier_quality_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#fuel_top_speed_multiplier_quality_bonus Online documentation} */ readonly fuel_top_speed_multiplier_quality_bonus: double /** * The flags for this item prototype. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#flags Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#flags Online documentation} */ readonly flags: ItemPrototypeFlags /** * The results of launching this item in a rocket. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#rocket_launch_products Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#rocket_launch_products Online documentation} */ readonly rocket_launch_products: Product[] /** * How this item interacts when being sent to orbit. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#send_to_orbit_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#send_to_orbit_mode Online documentation} */ readonly send_to_orbit_mode: "not-sendable" | "manual" | "automated" /** * If this item can be mod-opened. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#can_be_mod_opened Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#can_be_mod_opened Online documentation} */ readonly can_be_mod_opened: boolean /** * The spoil result of this item, if any - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#spoil_result Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#spoil_result Online documentation} */ readonly spoil_result?: LuaItemPrototype readonly spoil_quality_min?: LuaQualityPrototype @@ -25959,14 +25974,14 @@ declare module "factorio:runtime" { readonly spoil_quality_change: int8 /** * The result entity when planting this item as a seed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#plant_result Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#plant_result Online documentation} */ readonly plant_result?: LuaEntityPrototype readonly spoil_to_trigger_result?: SpoilToTriggerResult readonly destroyed_by_dropping_trigger?: TriggerItem[] /** - * Weight of this item. More information on how item weight is determined can be found on its {@linkplain https://lua-api.factorio.com/2.1.22/auxiliary/item-weight.html auxiliary page}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#weight Online documentation} + * Weight of this item. More information on how item weight is determined can be found on its {@linkplain https://lua-api.factorio.com/2.1.24/auxiliary/item-weight.html auxiliary page}. + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#weight Online documentation} */ readonly weight: Weight readonly ingredient_to_weight_coefficient: double @@ -25974,7 +25989,7 @@ declare module "factorio:runtime" { readonly default_import_location: LuaSpaceLocationPrototype /** * An alternative prototype that will be used to display info about this prototype in Factoriopedia. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#factoriopedia_alternative Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#factoriopedia_alternative Online documentation} */ readonly factoriopedia_alternative?: LuaItemPrototype readonly moved_to_hub_when_building: boolean @@ -25986,7 +26001,7 @@ declare module "factorio:runtime" { readonly spoil_level: uint8 /** * Whether this item is referenced by any {@link import("factorio:prototype").LabPrototype#inputs lab input}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#used_by_labs Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#used_by_labs Online documentation} */ readonly used_by_labs: boolean /** @@ -26007,31 +26022,31 @@ declare module "factorio:runtime" { * * _Can only be used if this is AmmoItem_ * @param ammo_source_type Defaults to `"default"`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#get_ammo_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#get_ammo_type Online documentation} */ get_ammo_type(ammo_source_type?: "default" | "player" | "turret" | "vehicle"): AmmoType | nil /** * _Can only be used if this is AmmoItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#ammo_category Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#ammo_category Online documentation} */ readonly ammo_category?: LuaAmmoCategoryPrototype /** * Size of full magazine. * * _Can only be used if this is AmmoItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#magazine_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#magazine_size Online documentation} */ readonly magazine_size?: float /** * Amount of extra time (in ticks) it takes to reload the weapon after depleting the magazine. * * _Can only be used if this is AmmoItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#reload_time Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#reload_time Online documentation} */ readonly reload_time?: float /** * _Can only be used if this is AmmoItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#shoot_protected Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#shoot_protected Online documentation} */ readonly shoot_protected?: boolean } @@ -26043,42 +26058,42 @@ declare module "factorio:runtime" { * The inventory size bonus for this armor prototype. * * _Can only be used if this is ArmorPrototype_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#get_inventory_size_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#get_inventory_size_bonus Online documentation} */ get_inventory_size_bonus(quality?: QualityID): uint32 | nil /** * The prototype of this armor's equipment grid, if any. * * _Can only be used if this is Armor_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#equipment_grid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#equipment_grid Online documentation} */ readonly equipment_grid?: LuaEquipmentGridPrototype /** * Resistances of this armor item, if any, indexed by damage type name. * * _Can only be used if this is Armor_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#resistances Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#resistances Online documentation} */ readonly resistances?: Record /** * The collision box used by character entities when wearing this armor. * * _Can only be used if this is ArmorPrototype_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#collision_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#collision_box Online documentation} */ readonly collision_box?: BoundingBox /** * The drawing box used by character entities when wearing this armor. * * _Can only be used if this is ArmorPrototype_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#drawing_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#drawing_box Online documentation} */ readonly drawing_box?: BoundingBox /** * If this armor provides flight to character entities when worm. * * _Can only be used if this is ArmorPrototype_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#provides_flight Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#provides_flight Online documentation} */ readonly provides_flight?: boolean } @@ -26090,41 +26105,41 @@ declare module "factorio:runtime" { * The main inventory size for item-with-inventory-prototype. * * _Can only be used if this is ItemWithInventoryPrototype_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#get_inventory_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#get_inventory_size Online documentation} */ get_inventory_size(quality?: QualityID): uint32 | nil /** * _Can only be used if this is ItemWithInventory_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#item_filters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#item_filters Online documentation} */ readonly item_filters?: LuaItemPrototype[] /** * _Can only be used if this is ItemWithInventory_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#item_group_filters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#item_group_filters Online documentation} */ readonly item_group_filters?: LuaItemGroup[] /** * _Can only be used if this is ItemWithInventory_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#item_subgroup_filters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#item_subgroup_filters Online documentation} */ readonly item_subgroup_filters?: LuaItemSubGroup[] /** * The filter mode used by this item with inventory. * * _Can only be used if this is ItemWithInventory_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#filter_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#filter_mode Online documentation} */ readonly filter_mode?: PrototypeFilterMode /** * The localised string used when the player attempts to put items into this item with inventory that aren't allowed. * * _Can only be used if this is ItemWithInventory_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#localised_filter_message Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#localised_filter_message Online documentation} */ readonly localised_filter_message?: LocalisedString /** * _Can only be used if this is ItemWithInventory_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#quality_affects_inventory_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#quality_affects_inventory_size Online documentation} */ readonly quality_affects_inventory_size?: boolean } @@ -26136,63 +26151,63 @@ declare module "factorio:runtime" { * Effects of this module at the specified quality. * * _Can only be used if this is ModuleItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#get_module_effects Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#get_module_effects Online documentation} */ get_module_effects(quality?: QualityID): Effect | nil /** * Effects of this module. * * _Can only be used if this is ModuleItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#module_effects Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#module_effects Online documentation} */ readonly module_effects?: Effect /** * The name of a {@link LuaModuleCategoryPrototype}. Used when upgrading modules: Ctrl + click modules into an entity and it will replace lower tier modules of the same category with higher tier modules. * * _Can only be used if this is ModuleItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#category Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#category Online documentation} */ readonly category?: string /** * Tier of the module inside its category. Used when upgrading modules: Ctrl + click modules into an entity and it will replace lower tier modules with higher tier modules if they have the same category. * * _Can only be used if this is ModuleItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#tier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#tier Online documentation} */ readonly tier?: uint32 /** * _Can only be used if this is ModuleItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#requires_beacon_alt_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#requires_beacon_alt_mode Online documentation} */ readonly requires_beacon_alt_mode?: boolean /** * _Can only be used if this is ModuleItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#beacon_tint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#beacon_tint Online documentation} */ readonly beacon_tint?: Color[] /** * _Can only be used if this is ModuleItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#consumption_quality_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#consumption_quality_multiplier Online documentation} */ readonly consumption_quality_multiplier?: float /** * _Can only be used if this is ModuleItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#speed_quality_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#speed_quality_multiplier Online documentation} */ readonly speed_quality_multiplier?: float /** * _Can only be used if this is ModuleItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#productivity_quality_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#productivity_quality_multiplier Online documentation} */ readonly productivity_quality_multiplier?: float /** * _Can only be used if this is ModuleItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#pollution_quality_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#pollution_quality_multiplier Online documentation} */ readonly pollution_quality_multiplier?: float /** * _Can only be used if this is ModuleItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#quality_quality_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#quality_quality_multiplier Online documentation} */ readonly quality_quality_multiplier?: float } @@ -26204,40 +26219,40 @@ declare module "factorio:runtime" { * The color used when doing normal selection with this selection tool prototype. * * _Can only be used if this is SelectionTool_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#get_selection_border_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#get_selection_border_color Online documentation} */ get_selection_border_color(selection_mode: defines.selection_mode): Color | nil /** * Flags that affect which entities will be selected. * * _Can only be used if this is SelectionTool_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#get_selection_mode_flags Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#get_selection_mode_flags Online documentation} */ get_selection_mode_flags(selection_mode: defines.selection_mode): SelectionModeFlags | nil /** * _Can only be used if this is SelectionTool_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#get_cursor_box_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#get_cursor_box_type Online documentation} */ get_cursor_box_type(selection_mode: defines.selection_mode): CursorBoxRenderType | nil /** * The entity filter mode used by this selection tool. * * _Can only be used if this is SelectionTool_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#get_entity_filter_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#get_entity_filter_mode Online documentation} */ get_entity_filter_mode(selection_mode: defines.selection_mode): PrototypeFilterMode | nil /** * The tile filter mode used by this selection tool. * * _Can only be used if this is SelectionTool_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#get_tile_filter_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#get_tile_filter_mode Online documentation} */ get_tile_filter_mode(selection_mode: defines.selection_mode): PrototypeFilterMode | nil /** * The entity filters used by this selection tool. * * _Can only be used if this is SelectionTool_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#get_entity_filters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#get_entity_filters Online documentation} */ get_entity_filters(selection_mode: defines.selection_mode): LuaEntityPrototype[] | nil /** @@ -26246,28 +26261,28 @@ declare module "factorio:runtime" { * The boolean value is meaningless and is used to allow easy lookup if a type exists in the dictionary. * * _Can only be used if this is SelectionTool_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#get_entity_type_filters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#get_entity_type_filters Online documentation} */ get_entity_type_filters(selection_mode: defines.selection_mode): Record | nil /** * The tile filters used by this selection tool. * * _Can only be used if this is SelectionTool_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#get_tile_filters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#get_tile_filters Online documentation} */ get_tile_filters(selection_mode: defines.selection_mode): LuaTilePrototype[] | nil /** * If tiles area always included when doing selection with this selection tool prototype. * * _Can only be used if this is SelectionTool_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#always_include_tiles Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#always_include_tiles Online documentation} */ readonly always_include_tiles?: boolean /** * If this selection tool skips things covered by fog of war. * * _Can only be used if this is SelectionTool_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#skip_fog_of_war Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#skip_fog_of_war Online documentation} */ readonly skip_fog_of_war?: boolean } @@ -26279,35 +26294,35 @@ declare module "factorio:runtime" { * The durability of this tool item prototype. * * _Can only be used if this is ToolItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#get_durability Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#get_durability Online documentation} */ get_durability(quality?: QualityID): double | nil /** * The durability message key used when displaying the durability of this tool. * * _Can only be used if this is ToolItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#durability_description_key Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#durability_description_key Online documentation} */ readonly durability_description_key?: string /** * The durability message key used when displaying the durability of this tool in Factoriopedia. * * _Can only be used if this is ToolItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#factoriopedia_durability_description_key Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#factoriopedia_durability_description_key Online documentation} */ readonly factoriopedia_durability_description_key?: string /** * The durability message value used when displaying the durability of this tool. * * _Can only be used if this is ToolItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#durability_description_value Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#durability_description_value Online documentation} */ readonly durability_description_value?: string /** * If this tool item has infinite durability. * * _Can only be used if this is ToolItem_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#infinite Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#infinite Online documentation} */ readonly infinite?: boolean } @@ -26316,19 +26331,19 @@ declare module "factorio:runtime" { * The capsule action for this capsule item prototype. * * _Can only be used if this is Capsule_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#capsule_action Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#capsule_action Online documentation} */ readonly capsule_action?: CapsuleAction /** * _Can only be used if this is Capsule_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#radius_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#radius_color Online documentation} */ readonly radius_color?: Color } export interface CopyPasteToolItemPrototype extends BaseItemPrototype { /** * _Can only be used if this is CopyPasteTool_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#cuts Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#cuts Online documentation} */ readonly cuts?: boolean } @@ -26337,7 +26352,7 @@ declare module "factorio:runtime" { * The gun attack parameters. * * _Can only be used if this is Gun_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#attack_parameters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#attack_parameters Online documentation} */ readonly attack_parameters?: AttackParameters } @@ -26346,14 +26361,14 @@ declare module "factorio:runtime" { * The default label color used for this item with label, if any. * * _Can only be used if this is ItemWithLabel_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#default_label_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#default_label_color Online documentation} */ readonly default_label_color?: Color /** * If true, and this item with label has a label it is drawn in place of the normal number when held in the cursor. * * _Can only be used if this is ItemWithLabel_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#draw_label_for_cursor_render Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#draw_label_for_cursor_render Online documentation} */ readonly draw_label_for_cursor_render?: boolean } @@ -26362,7 +26377,7 @@ declare module "factorio:runtime" { * The repairing speed if this is a repairing tool. * * _Can only be used if this is RepairTool_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#speed Online documentation} */ readonly speed?: float } @@ -26371,46 +26386,46 @@ declare module "factorio:runtime" { * Prototypes of all rails possible to be used by this rail planner prototype. * * _Can only be used if this is RailPlanner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#rails Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#rails Online documentation} */ readonly rails?: LuaEntityPrototype[] /** * The rail support used by this rail planner. * * _Can only be used if this is RailPlanner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#support Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#support Online documentation} */ readonly support?: LuaEntityPrototype /** * _Can only be used if this is RailPlanner_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#manual_length_limit Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#manual_length_limit Online documentation} */ readonly manual_length_limit?: double } export interface SpacePlatformStarterPackItemPrototype extends BaseItemPrototype { /** * _Can only be used if this is SpacePlatformStarterPack_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#trigger Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#trigger Online documentation} */ readonly trigger?: TriggerItem /** * _Can only be used if this is SpacePlatformStarterPack_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#surface Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#surface Online documentation} */ readonly surface?: LuaSurfacePrototype /** * _Can only be used if this is SpacePlatformStarterPack_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#create_electric_network Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#create_electric_network Online documentation} */ readonly create_electric_network?: boolean /** * _Can only be used if this is SpacePlatformStarterPack_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#tiles Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#tiles Online documentation} */ readonly tiles?: SpacePlatformTileDefinition[] /** * _Can only be used if this is SpacePlatformStarterPack_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemPrototype.html#initial_items Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemPrototype.html#initial_items Online documentation} */ readonly initial_items?: ItemProduct[] } @@ -26420,7 +26435,7 @@ declare module "factorio:runtime" { * In most instances this is a simple reference as in: it points at a specific slot in an inventory and not the item in the slot. * * In the instance this references an item on a {@link LuaTransportLine} the reference is only guaranteed to stay valid (and refer to the same item) as long as nothing changes the transport line. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html Online documentation} * @noSelf */ export interface LuaItemStack extends LuaItemCommon { @@ -26429,7 +26444,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is AmmoItem_ * @param amount Amount of ammo to add. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#add_ammo Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#add_ammo Online documentation} */ add_ammo(amount: float): void /** @@ -26437,7 +26452,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is AmmoItem_ * @param amount Amount of ammo to remove. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#drain_ammo Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#drain_ammo Online documentation} */ drain_ammo(amount: float): void /** @@ -26445,7 +26460,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is ToolItem_ * @param amount Amount of durability to add. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#add_durability Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#add_durability Online documentation} */ add_durability(amount: double): void /** @@ -26453,7 +26468,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is ToolItem_ * @param amount Amount of durability to remove. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#drain_durability Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#drain_durability Online documentation} */ drain_durability(amount: double): void /** @@ -26461,117 +26476,117 @@ declare module "factorio:runtime" { * @param entity The entity to use the capsule item with. * @param target_position The position to use the capsule item with. * @returns Array of the entities that were created by the capsule action. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#use_capsule Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#use_capsule Online documentation} */ use_capsule(entity: LuaEntity, target_position: MapPosition | MapPositionArray): LuaEntity[] /** * Would a call to {@link LuaItemStack#set_stack LuaItemStack::set_stack} succeed? * @param stack Stack that would be set, possibly `nil`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#can_set_stack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#can_set_stack Online documentation} */ can_set_stack(stack?: ItemStackIdentification): boolean /** * Set this item stack to another item stack. * @param stack Item stack to set it to. Omitting this parameter or passing `nil` will clear this item stack, as if {@link LuaItemStack#clear LuaItemStack::clear} was called. * @returns Whether the stack was set successfully. Returns `false` if this stack was not {@link LuaItemStack#can_set_stack valid for write}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#set_stack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#set_stack Online documentation} */ set_stack(stack?: ItemStackIdentification): boolean /** * Transfers the given item stack into this item stack. * @returns `true` if the full stack (or requested amount) was transferred. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#transfer_stack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#transfer_stack Online documentation} */ transfer_stack(stack: ItemStackIdentification, amount?: uint32): boolean /** * Export a supported item (blueprint, blueprint-book, deconstruction-planner, upgrade-planner, item-with-tags) to a string. * @returns The exported string - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#export_stack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#export_stack Online documentation} */ export_stack(): string /** * Import a supported item (blueprint, blueprint-book, deconstruction-planner, upgrade-planner, item-with-tags) from a string. * @param data The string to import * @returns 0 if the import succeeded with no errors. -1 if the import succeeded with errors. 1 if the import failed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#import_stack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#import_stack Online documentation} */ import_stack(data: string): int32 /** * Swaps this item stack with the given item stack if allowed. * @returns Whether the 2 stacks were swapped successfully. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#swap_stack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#swap_stack Online documentation} */ swap_stack(stack: LuaItemStack): boolean /** * Clear this item stack. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#clear Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#clear Online documentation} */ clear(): void /** * Creates the equipment grid for this item if it doesn't exist and this is an item-with-entity-data that supports equipment grids. * * _Can only be used if this is ItemWithEntityData_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#create_grid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#create_grid Online documentation} */ create_grid(): LuaEquipmentGrid /** * Spoils this item if the item can spoil. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#spoil Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#spoil Online documentation} */ spoil(): void /** * Is this valid for reading? Differs from the usual `valid` in that `valid` will be `true` even if the item stack is blank but the entity that holds it is still valid. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#valid_for_read Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#valid_for_read Online documentation} */ readonly valid_for_read: boolean /** * Prototype of the item held in this stack. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#prototype Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#prototype Online documentation} */ readonly prototype: LuaItemPrototype /** * Prototype name of the item held in this stack. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#name Online documentation} */ readonly name: string /** * Type of the item prototype. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#type Online documentation} */ readonly type: ItemType /** * Number of items in this stack. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#count Online documentation} */ count: uint32 /** * How much health the item has, as a number in range `[0, 1]`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#health Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#health Online documentation} */ health: float /** * The quality of this item. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#quality Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#quality Online documentation} */ readonly quality: LuaQualityPrototype /** * The tick this item spoils, or `0` if it does not spoil. When writing, setting to anything < the current game tick will spoil the item instantly. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#spoil_tick Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#spoil_tick Online documentation} */ spoil_tick: MapTick /** * The percent spoiled this item is if it spoils. `0` in the case of the item not spoiling. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#spoil_percent Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#spoil_percent Online documentation} */ spoil_percent: double /** * If the item has additional data, returns LuaItem pointing at the extra data, otherwise returns nil. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#item Online documentation} */ readonly item?: LuaItem /** * If this is a module - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#is_module Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#is_module Online documentation} */ readonly is_module: boolean /** @@ -26592,110 +26607,110 @@ declare module "factorio:runtime" { * @param entity The entity to use the capsule item with. * @param target_position The position to use the capsule item with. * @returns Array of the entities that were created by the capsule action. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#use_capsule Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#use_capsule Online documentation} */ use_capsule(entity: LuaEntity, target_position: MapPosition | MapPositionArray): LuaEntity[] /** * Would a call to {@link LuaItemStack#set_stack LuaItemStack::set_stack} succeed? * @param stack Stack that would be set, possibly `nil`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#can_set_stack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#can_set_stack Online documentation} */ can_set_stack(stack?: ItemStackIdentification): boolean /** * Set this item stack to another item stack. * @param stack Item stack to set it to. Omitting this parameter or passing `nil` will clear this item stack, as if {@link LuaItemStack#clear LuaItemStack::clear} was called. * @returns Whether the stack was set successfully. Returns `false` if this stack was not {@link LuaItemStack#can_set_stack valid for write}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#set_stack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#set_stack Online documentation} */ set_stack(stack?: ItemStackIdentification): boolean /** * Transfers the given item stack into this item stack. * @returns `true` if the full stack (or requested amount) was transferred. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#transfer_stack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#transfer_stack Online documentation} */ transfer_stack(stack: ItemStackIdentification, amount?: uint32): boolean /** * Export a supported item (blueprint, blueprint-book, deconstruction-planner, upgrade-planner, item-with-tags) to a string. * @returns The exported string - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#export_stack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#export_stack Online documentation} */ export_stack(): string /** * Import a supported item (blueprint, blueprint-book, deconstruction-planner, upgrade-planner, item-with-tags) from a string. * @param data The string to import * @returns 0 if the import succeeded with no errors. -1 if the import succeeded with errors. 1 if the import failed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#import_stack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#import_stack Online documentation} */ import_stack(data: string): int32 /** * Swaps this item stack with the given item stack if allowed. * @returns Whether the 2 stacks were swapped successfully. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#swap_stack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#swap_stack Online documentation} */ swap_stack(stack: LuaItemStack): boolean /** * Clear this item stack. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#clear Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#clear Online documentation} */ clear(): void /** * Spoils this item if the item can spoil. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#spoil Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#spoil Online documentation} */ spoil(): void /** * Is this valid for reading? Differs from the usual `valid` in that `valid` will be `true` even if the item stack is blank but the entity that holds it is still valid. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#valid_for_read Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#valid_for_read Online documentation} */ readonly valid_for_read: boolean /** * Prototype of the item held in this stack. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#prototype Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#prototype Online documentation} */ readonly prototype: LuaItemPrototype /** * Prototype name of the item held in this stack. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#name Online documentation} */ readonly name: string /** * Type of the item prototype. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#type Online documentation} */ readonly type: ItemType /** * Number of items in this stack. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#count Online documentation} */ count: uint32 /** * How much health the item has, as a number in range `[0, 1]`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#health Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#health Online documentation} */ health: float /** * The quality of this item. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#quality Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#quality Online documentation} */ readonly quality: LuaQualityPrototype /** * The tick this item spoils, or `0` if it does not spoil. When writing, setting to anything < the current game tick will spoil the item instantly. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#spoil_tick Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#spoil_tick Online documentation} */ spoil_tick: MapTick /** * The percent spoiled this item is if it spoils. `0` in the case of the item not spoiling. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#spoil_percent Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#spoil_percent Online documentation} */ spoil_percent: double /** * If the item has additional data, returns LuaItem pointing at the extra data, otherwise returns nil. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#item Online documentation} */ readonly item?: LuaItem /** * If this is a module - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#is_module Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#is_module Online documentation} */ readonly is_module: boolean /** @@ -26716,7 +26731,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is AmmoItem_ * @param amount Amount of ammo to add. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#add_ammo Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#add_ammo Online documentation} */ add_ammo(amount: float): void /** @@ -26724,7 +26739,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is AmmoItem_ * @param amount Amount of ammo to remove. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#drain_ammo Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#drain_ammo Online documentation} */ drain_ammo(amount: float): void } @@ -26737,7 +26752,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is ToolItem_ * @param amount Amount of durability to add. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#add_durability Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#add_durability Online documentation} */ add_durability(amount: double): void /** @@ -26745,7 +26760,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is ToolItem_ * @param amount Amount of durability to remove. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#drain_durability Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#drain_durability Online documentation} */ drain_durability(amount: double): void } @@ -26757,30 +26772,30 @@ declare module "factorio:runtime" { * Creates the equipment grid for this item if it doesn't exist and this is an item-with-entity-data that supports equipment grids. * * _Can only be used if this is ItemWithEntityData_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemStack.html#create_grid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemStack.html#create_grid Online documentation} */ create_grid(): LuaEquipmentGrid } /** * Item subgroup. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemSubGroup.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemSubGroup.html Online documentation} */ export interface LuaItemSubGroup { readonly type: ItemType readonly name: string /** * The string used to alphabetically sort these prototypes. It is a simple string that has no additional semantic meaning. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemSubGroup.html#order Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemSubGroup.html#order Online documentation} */ readonly order: string /** * Localised name of the subgroup. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemSubGroup.html#localised_name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemSubGroup.html#localised_name Online documentation} */ readonly localised_name: LocalisedString /** * The parent group. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaItemSubGroup.html#group Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaItemSubGroup.html#group Online documentation} */ readonly group: LuaItemGroup /** @@ -26794,13 +26809,13 @@ declare module "factorio:runtime" { } /** * Control behavior for lab. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLabControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLabControlBehavior.html Online documentation} */ export interface LuaLabControlBehavior extends LuaControlBehavior { read_contents: boolean /** * `true` if the fuel (content of energy source) should be read. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLabControlBehavior.html#read_fuel Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLabControlBehavior.html#read_fuel Online documentation} */ read_fuel: boolean read_research_cost: boolean @@ -26821,12 +26836,12 @@ declare module "factorio:runtime" { } /** * Control behavior for lamps. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLampControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLampControlBehavior.html Online documentation} */ export interface LuaLampControlBehavior extends LuaGenericOnOffControlBehavior { /** * `true` if the lamp should set the color from the circuit network signals. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLampControlBehavior.html#use_colors Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLampControlBehavior.html#use_colors Online documentation} */ use_colors: boolean color_mode: defines.control_behavior.lamp.color_mode @@ -26840,7 +26855,7 @@ declare module "factorio:runtime" { set rgb_signal(value: SignalIDWrite | nil) /** * The color the lamp is showing, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLampControlBehavior.html#color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLampControlBehavior.html#color Online documentation} */ readonly color?: Color /** @@ -26854,7 +26869,7 @@ declare module "factorio:runtime" { } /** * Control behavior for land mines. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLandMineControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLandMineControlBehavior.html Online documentation} */ export interface LuaLandMineControlBehavior extends LuaGenericOnOffControlBehavior { /** @@ -26870,13 +26885,13 @@ declare module "factorio:runtime" { * A lazily loaded value. For performance reasons, we sometimes return a custom lazily-loaded value type instead of the native Lua value. This custom type lazily constructs the necessary value when {@link LuaLazyLoadedValue#get LuaLazyLoadedValue::get} is called, therefore preventing its unnecessary construction in some cases. * * An instance of LuaLazyLoadedValue is only valid during the event it was created from and cannot be saved. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLazyLoadedValue.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLazyLoadedValue.html Online documentation} * @noSelf */ export interface LuaLazyLoadedValue { /** * Gets the value of this lazy loaded value. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLazyLoadedValue.html#get Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLazyLoadedValue.html#get Online documentation} */ get(): T /** @@ -26890,17 +26905,17 @@ declare module "factorio:runtime" { } /** * Control behavior for loaders. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLoaderControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLoaderControlBehavior.html Online documentation} */ export interface LuaLoaderControlBehavior extends LuaGenericOnOffControlBehavior { /** * `true` if filters are set from circuit network - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLoaderControlBehavior.html#circuit_set_filters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLoaderControlBehavior.html#circuit_set_filters Online documentation} */ circuit_set_filters: boolean /** * `true` if the transfers between loader's belt and container should be pulsed to the circuit network - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLoaderControlBehavior.html#circuit_read_transfers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLoaderControlBehavior.html#circuit_read_transfers Online documentation} */ circuit_read_transfers: boolean /** @@ -26914,98 +26929,98 @@ declare module "factorio:runtime" { } /** * Logistic cell of a particular {@link LuaEntity}. A "Logistic Cell" is the given name for settings and properties used by what would normally be seen as a "Roboport". A logistic cell however doesn't have to be attached to the roboport entity (the character has one for the personal roboport). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticCell.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticCell.html Online documentation} * @noSelf */ export interface LuaLogisticCell { /** * Is a given position within the logistic range of this cell? - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticCell.html#is_in_logistic_range Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticCell.html#is_in_logistic_range Online documentation} */ is_in_logistic_range(position: MapPosition | MapPositionArray): boolean /** * Is a given position within the construction range of this cell? - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticCell.html#is_in_construction_range Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticCell.html#is_in_construction_range Online documentation} */ is_in_construction_range(position: MapPosition | MapPositionArray): boolean /** * Are two cells neighbours? - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticCell.html#is_neighbour_with Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticCell.html#is_neighbour_with Online documentation} */ is_neighbour_with(other: LuaLogisticCell): boolean /** * Logistic radius of this cell. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticCell.html#logistic_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticCell.html#logistic_radius Online documentation} */ readonly logistic_radius: float /** * Logistic connection distance of this cell. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticCell.html#logistics_connection_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticCell.html#logistics_connection_distance Online documentation} */ readonly logistics_connection_distance: float /** * Construction radius of this cell. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticCell.html#construction_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticCell.html#construction_radius Online documentation} */ readonly construction_radius: float /** * Number of stationed logistic robots in this cell. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticCell.html#stationed_logistic_robot_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticCell.html#stationed_logistic_robot_count Online documentation} */ readonly stationed_logistic_robot_count: uint32 /** * Number of stationed construction robots in this cell. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticCell.html#stationed_construction_robot_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticCell.html#stationed_construction_robot_count Online documentation} */ readonly stationed_construction_robot_count: uint32 /** * `true` if this is a mobile cell. The logistic cell created by roboport equipment considered is mobile. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticCell.html#mobile Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticCell.html#mobile Online documentation} */ readonly mobile: boolean /** * `true` if this cell is active. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticCell.html#transmitting Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticCell.html#transmitting Online documentation} */ readonly transmitting: boolean /** * Radius at which the robots hover when waiting to be charged. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticCell.html#charge_approach_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticCell.html#charge_approach_distance Online documentation} */ readonly charge_approach_distance: float /** * Number of robots currently charging. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticCell.html#charging_robot_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticCell.html#charging_robot_count Online documentation} */ readonly charging_robot_count: uint32 /** * Number of robots waiting to charge. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticCell.html#to_charge_robot_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticCell.html#to_charge_robot_count Online documentation} */ readonly to_charge_robot_count: uint32 /** * This cell's owner. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticCell.html#owner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticCell.html#owner Online documentation} */ readonly owner: LuaEntity /** * The network that owns this cell, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticCell.html#logistic_network Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticCell.html#logistic_network Online documentation} */ readonly logistic_network?: LuaLogisticNetwork /** * Neighbouring cells. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticCell.html#neighbours Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticCell.html#neighbours Online documentation} */ readonly neighbours: LuaLogisticCell[] /** * Robots currently being charged. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticCell.html#charging_robots Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticCell.html#charging_robots Online documentation} */ readonly charging_robots: LuaEntity[] /** * Robots waiting to charge. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticCell.html#to_charge_robots Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticCell.html#to_charge_robots Online documentation} */ readonly to_charge_robots: LuaEntity[] /** @@ -27019,17 +27034,17 @@ declare module "factorio:runtime" { } /** * Control behavior for logistic chests. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticContainerControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticContainerControlBehavior.html Online documentation} */ export interface LuaLogisticContainerControlBehavior extends LuaControlBehavior { /** * Whether the circuit condition is in effect. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticContainerControlBehavior.html#circuit_condition_enabled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticContainerControlBehavior.html#circuit_condition_enabled Online documentation} */ circuit_condition_enabled: boolean /** * The circuit condition for the logistic container. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticContainerControlBehavior.html#circuit_condition Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticContainerControlBehavior.html#circuit_condition Online documentation} */ get circuit_condition(): CircuitConditionDefinition set circuit_condition(value: CircuitConditionDefinitionWrite) @@ -27037,12 +27052,12 @@ declare module "factorio:runtime" { * `true` if this logistic container has its requests set by a circuit network. * * Can only be set to `true` on containers whose {@link LuaEntityPrototype#logistic_mode logistic_mode} or {@link LuaEntity#override_logistic_mode override_logistic_mode} is set to `"requester"` or `"buffer"`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticContainerControlBehavior.html#set_requests Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticContainerControlBehavior.html#set_requests Online documentation} */ set_requests: boolean /** * `true` if this logistic container is sending its content to a circuit network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticContainerControlBehavior.html#read_contents Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticContainerControlBehavior.html#read_contents Online documentation} */ read_contents: boolean read_empty_slots: boolean @@ -27059,7 +27074,7 @@ declare module "factorio:runtime" { } /** * A single logistic network of a given force on a given surface. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticNetwork.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticNetwork.html Online documentation} * @noSelf */ export interface LuaLogisticNetwork { @@ -27067,14 +27082,14 @@ declare module "factorio:runtime" { * Count given or all items in the network or given members. * @param item Item name to count. If not given, gives counts of all items in the network. * @param member Logistic members to check. If not given, gives count in the entire network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticNetwork.html#get_item_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticNetwork.html#get_item_count Online documentation} */ get_item_count(item?: ItemWithQualityID, member?: "storage" | "providers"): int32 /** * Get item counts for the entire network, similar to how {@link LuaInventory#get_contents LuaInventory::get_contents} does. * @param member Logistic members to check. If not given, gives item counts for the entire network. * @returns List of all items in the network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticNetwork.html#get_contents Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticNetwork.html#get_contents Online documentation} */ get_contents(member?: "storage" | "providers"): ItemWithQualityCount[] /** @@ -27082,7 +27097,7 @@ declare module "factorio:runtime" { * @param item What to remove. * @param members Which logistic members to remove from. If not specified, removes from the network in the usual order. * @returns Number of items removed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticNetwork.html#remove_item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticNetwork.html#remove_item Online documentation} */ remove_item( item: ItemStackIdentification, @@ -27093,7 +27108,7 @@ declare module "factorio:runtime" { * @param item What to insert. * @param members Which logistic members to insert the items to. `"storage-empty"` inserts into storage chests that are completely empty, `"storage-empty-slot"` inserts into storage chests that have an empty slot. If not specified, inserts items into the logistic network in the usual order. * @returns Number of items actually inserted. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticNetwork.html#insert Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticNetwork.html#insert Online documentation} */ insert( item: ItemStackIdentification, @@ -27102,13 +27117,13 @@ declare module "factorio:runtime" { /** * Find logistic cell closest to a given position. * @returns `nil` if no cell was found. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticNetwork.html#find_cell_closest_to Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticNetwork.html#find_cell_closest_to Online documentation} */ find_cell_closest_to(position: MapPosition | MapPositionArray): LuaLogisticCell | nil /** * Find the 'best' logistic point with this item ID and from the given position or from given chest type. * @returns `nil` if no point was found. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticNetwork.html#select_pickup_point Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticNetwork.html#select_pickup_point Online documentation} */ select_pickup_point(params: { /** @@ -27131,7 +27146,7 @@ declare module "factorio:runtime" { /** * Find a logistic point to drop the specific item stack. * @returns `nil` if no point was found. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticNetwork.html#select_drop_point Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticNetwork.html#select_drop_point Online documentation} */ select_drop_point(params: { /** @@ -27149,134 +27164,134 @@ declare module "factorio:runtime" { * @param count Count to check. Defaults to 1. * @param include_buffers Should buffers be considered? Defaults to false. * @returns Whether the network can satisfy the request. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticNetwork.html#can_satisfy_request Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticNetwork.html#can_satisfy_request Online documentation} */ can_satisfy_request(item: ItemWithQualityID, count?: uint32, include_buffers?: boolean): boolean /** * Get the amount of items of the given type indexed by the storage member. * @param item Item name to check. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticNetwork.html#get_supply_counts Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticNetwork.html#get_supply_counts Online documentation} */ get_supply_counts(item: ItemWithQualityID): LogisticsNetworkSupplyCounts /** * Gets the logistic points with of the given type indexed by the storage member. * @param item Item name to check. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticNetwork.html#get_supply_points Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticNetwork.html#get_supply_points Online documentation} */ get_supply_points(item: ItemWithQualityID): LogisticsNetworkSupplyPoints /** * The unique logistic network ID. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticNetwork.html#network_id Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticNetwork.html#network_id Online documentation} */ readonly network_id: uint32 /** * The custom logistic network name set by the player or by script, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticNetwork.html#custom_name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticNetwork.html#custom_name Online documentation} */ custom_name?: string /** * The force this logistic network belongs to. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticNetwork.html#force Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticNetwork.html#force Online documentation} */ readonly force: LuaForce /** * Number of logistic robots available for a job. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticNetwork.html#available_logistic_robots Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticNetwork.html#available_logistic_robots Online documentation} */ readonly available_logistic_robots: uint32 /** * The total number of logistic robots in the network (idle and active + in roboports). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticNetwork.html#all_logistic_robots Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticNetwork.html#all_logistic_robots Online documentation} */ readonly all_logistic_robots: uint32 /** * Number of construction robots available for a job. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticNetwork.html#available_construction_robots Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticNetwork.html#available_construction_robots Online documentation} */ readonly available_construction_robots: uint32 /** * The total number of construction robots in the network (idle and active + in roboports). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticNetwork.html#all_construction_robots Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticNetwork.html#all_construction_robots Online documentation} */ readonly all_construction_robots: uint32 /** * Maximum number of robots the network can work with. Currently only used for the personal roboport. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticNetwork.html#robot_limit Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticNetwork.html#robot_limit Online documentation} */ readonly robot_limit: uint32 /** * All cells in this network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticNetwork.html#cells Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticNetwork.html#cells Online documentation} */ readonly cells: LuaLogisticCell[] /** * All entities that have logistic provider points in this network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticNetwork.html#providers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticNetwork.html#providers Online documentation} */ readonly providers: LuaEntity[] /** * All entities that have empty logistic provider points in this network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticNetwork.html#empty_providers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticNetwork.html#empty_providers Online documentation} */ readonly empty_providers: LuaEntity[] /** * All entities that have logistic requester points in this network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticNetwork.html#requesters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticNetwork.html#requesters Online documentation} */ readonly requesters: LuaEntity[] /** * All entities that have logistic storage points in this network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticNetwork.html#storages Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticNetwork.html#storages Online documentation} */ readonly storages: LuaEntity[] /** * All other entities that have logistic points in this network (inserters mostly). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticNetwork.html#logistic_members Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticNetwork.html#logistic_members Online documentation} */ readonly logistic_members: LuaEntity[] /** * All things that have provider points in this network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticNetwork.html#provider_points Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticNetwork.html#provider_points Online documentation} */ readonly provider_points: LuaLogisticPoint[] /** * All passive provider points in this network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticNetwork.html#passive_provider_points Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticNetwork.html#passive_provider_points Online documentation} */ readonly passive_provider_points: LuaLogisticPoint[] /** * All active provider points in this network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticNetwork.html#active_provider_points Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticNetwork.html#active_provider_points Online documentation} */ readonly active_provider_points: LuaLogisticPoint[] /** * All things that have empty provider points in this network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticNetwork.html#empty_provider_points Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticNetwork.html#empty_provider_points Online documentation} */ readonly empty_provider_points: LuaLogisticPoint[] /** * All things that have requester points in this network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticNetwork.html#requester_points Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticNetwork.html#requester_points Online documentation} */ readonly requester_points: LuaLogisticPoint[] /** * All things that have storage points in this network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticNetwork.html#storage_points Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticNetwork.html#storage_points Online documentation} */ readonly storage_points: LuaLogisticPoint[] /** * All currently deployed robots in this logistic network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticNetwork.html#robots Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticNetwork.html#robots Online documentation} */ readonly robots: LuaEntity[] /** * All currently deployed construction robots in this logistic network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticNetwork.html#construction_robots Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticNetwork.html#construction_robots Online documentation} */ readonly construction_robots: LuaEntity[] /** * All currently deployed logistic robots in this logistic network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticNetwork.html#logistic_robots Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticNetwork.html#logistic_robots Online documentation} */ readonly logistic_robots: LuaEntity[] /** @@ -27290,7 +27305,7 @@ declare module "factorio:runtime" { } /** * Logistic point of a particular {@link LuaEntity}. A "Logistic point" is the name given for settings and properties used by requester, provider, and storage points in a given logistic network. These "points" don't have to be a logistic container but often are. One other entity that can own several points is the "character" character type entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticPoint.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticPoint.html Online documentation} * @noSelf */ export interface LuaLogisticPoint { @@ -27298,87 +27313,87 @@ declare module "factorio:runtime" { * Adds a new logistic section to this logistic point if possible. * @param group The group to assign this section to. * @returns The added logistic section. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticPoint.html#add_section Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticPoint.html#add_section Online documentation} */ add_section(group?: string): LuaLogisticSection | nil /** * Removes the given logistic section if possible. Removal may fail if the section index is out of range or the section is not {@link LuaLogisticSection#is_manual manual}. * @param section_index Index of the section * @returns Whether section was removed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticPoint.html#remove_section Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticPoint.html#remove_section Online documentation} */ remove_section(section_index: LogisticSectionIndex): boolean /** * Gets section on the selected index, if it exists * @param section_index Index of the section - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticPoint.html#get_section Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticPoint.html#get_section Online documentation} */ get_section(section_index: LogisticSectionIndex): LuaLogisticSection /** * The {@link LuaEntity} owner of this LuaLogisticPoint. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticPoint.html#owner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticPoint.html#owner Online documentation} */ readonly owner: LuaEntity readonly logistic_network: LuaLogisticNetwork /** * The Logistic member index of this logistic point. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticPoint.html#logistic_member_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticPoint.html#logistic_member_index Online documentation} */ readonly logistic_member_index: defines.logistic_member_index /** * The logistic filters for this logistic point, if this uses any. * * The returned array will always have an entry for each filter and will be indexed in sequence when not `nil`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticPoint.html#filters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticPoint.html#filters Online documentation} */ readonly filters?: CompiledLogisticFilter[] /** * The logistic mode. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticPoint.html#mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticPoint.html#mode Online documentation} */ readonly mode: defines.logistic_mode /** * The force of this logistic point. * * This will always be the same as the {@link LuaLogisticPoint#owner LuaLogisticPoint::owner} force. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticPoint.html#force Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticPoint.html#force Online documentation} */ readonly force: LuaForce /** * Items targeted to be picked up from this logistic point by robots. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticPoint.html#targeted_items_pickup Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticPoint.html#targeted_items_pickup Online documentation} */ readonly targeted_items_pickup: ItemWithQualityCount[] /** * Items targeted to be dropped off into this logistic point by robots or cargo pods. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticPoint.html#targeted_items_deliver Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticPoint.html#targeted_items_deliver Online documentation} */ readonly targeted_items_deliver: ItemWithQualityCount[] /** * If this logistic point is using the exact mode. In exact mode robots never over-deliver requests. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticPoint.html#exact Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticPoint.html#exact Online documentation} */ readonly exact: boolean /** * Whether this logistic point is set to trash unrequested items. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticPoint.html#trash_not_requested Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticPoint.html#trash_not_requested Online documentation} */ trash_not_requested: boolean /** * Whether this logistic point is active, related to disabling logistics on player/spidertron. * * When the logistic point is disabled it won't request and auto trash will do nothing. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticPoint.html#enabled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticPoint.html#enabled Online documentation} */ enabled: boolean /** * All logistic sections of this logistic point. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticPoint.html#sections Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticPoint.html#sections Online documentation} */ readonly sections: LuaLogisticSection[] /** * Amount of logistic sections this logistic point has. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticPoint.html#sections_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticPoint.html#sections_count Online documentation} */ readonly sections_count: uint32 /** @@ -27392,7 +27407,7 @@ declare module "factorio:runtime" { } /** * Logistic section of a particular {@link LuaLogisticPoint} or {@link LuaConstantCombinatorControlBehavior}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticSection.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticSection.html Online documentation} * @noSelf */ export interface LuaLogisticSection { @@ -27408,13 +27423,13 @@ declare module "factorio:runtime" { * @param slot_index Index of a slot to set. * @param filter The details of the filter to set. * @returns The existing index for the given filter or nil if the filter was successfully set. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticSection.html#set_slot Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticSection.html#set_slot Online documentation} */ set_slot(slot_index: LogisticFilterIndex, filter: LogisticFilterWrite): LogisticFilterIndex | nil /** * Gets current settings of logistic request and auto-trash from the given slot. * @param slot_index Index of a slot to read. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticSection.html#get_slot Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticSection.html#get_slot Online documentation} */ get_slot(slot_index: LogisticFilterIndex): LogisticFilter /** @@ -27422,30 +27437,30 @@ declare module "factorio:runtime" { * * This can only be called when the section {@link LuaLogisticSection#is_manual is manual}. * @param slot_index Index of a slot to clear. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticSection.html#clear_slot Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticSection.html#clear_slot Online documentation} */ clear_slot(slot_index: LogisticFilterIndex): void /** * The {@link LuaEntity} owner of this LuaLogisticSection. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticSection.html#owner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticSection.html#owner Online documentation} */ readonly owner: LuaEntity /** * The section index of this section. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticSection.html#index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticSection.html#index Online documentation} */ readonly index: uint32 /** * The logistic filters for this section. * * This can only be written to when the section {@link LuaLogisticSection#is_manual is manual}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticSection.html#filters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticSection.html#filters Online documentation} */ get filters(): LogisticFilter[] set filters(value: readonly LogisticFilterWrite[]) /** * Amount of filters this section has - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticSection.html#filters_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticSection.html#filters_count Online documentation} */ readonly filters_count: uint32 /** @@ -27454,27 +27469,27 @@ declare module "factorio:runtime" { * An empty string when in no group. * * This can only be written to when the section {@link LuaLogisticSection#is_manual is manual}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticSection.html#group Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticSection.html#group Online documentation} */ group: string /** * The type of this logistic section. Sections that are not manual are controlled by game itself and may not be allowed to be changed by script. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticSection.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticSection.html#type Online documentation} */ readonly type: defines.logistic_section_type /** * Shortcut to check whether {@link LuaLogisticSection#type LuaLogisticSection::type} is equal to {@link defines.logistic_section_type.manual manual}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticSection.html#is_manual Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticSection.html#is_manual Online documentation} */ readonly is_manual: boolean /** * Whether this section is active. This can only be written to when the section {@link LuaLogisticSection#is_manual is manual}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticSection.html#active Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticSection.html#active Online documentation} */ active: boolean /** * Multiplier applied to all filters before they are used by game. This can only be written to when the section {@link LuaLogisticSection#is_manual is manual}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticSection.html#multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticSection.html#multiplier Online documentation} */ multiplier: float /** @@ -27488,7 +27503,7 @@ declare module "factorio:runtime" { } /** * Logistic sections of an entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticSections.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticSections.html Online documentation} * @noSelf */ export interface LuaLogisticSections { @@ -27496,30 +27511,30 @@ declare module "factorio:runtime" { * Adds a new logistic section if possible. * @param group The group to assign this section to. * @returns Logistic section if added. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticSections.html#add_section Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticSections.html#add_section Online documentation} */ add_section(group?: string): LuaLogisticSection | nil /** * Removes the given logistic section if possible. Removal may fail if the section index is out of range or the section is not {@link LuaLogisticSection#is_manual manual}. * @param section_index Index of the section. * @returns Whether section was removed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticSections.html#remove_section Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticSections.html#remove_section Online documentation} */ remove_section(section_index: LogisticSectionIndex): boolean /** * Gets section on the selected index, if it exists. * @param section_index Index of the section. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticSections.html#get_section Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticSections.html#get_section Online documentation} */ get_section(section_index: LogisticSectionIndex): LuaLogisticSection | nil /** * All logistic sections of this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticSections.html#sections Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticSections.html#sections Online documentation} */ readonly sections: LuaLogisticSection[] /** * Amount of logistic sections this entity has. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaLogisticSections.html#sections_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaLogisticSections.html#sections_count Online documentation} */ readonly sections_count: uint32 /** @@ -27533,24 +27548,24 @@ declare module "factorio:runtime" { } /** * Control behavior for mining drills. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaMiningDrillControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaMiningDrillControlBehavior.html Online documentation} */ export interface LuaMiningDrillControlBehavior extends LuaGenericOnOffControlBehavior { /** * `true` if this drill should send the resources in the field to the circuit network. * * Which resources depends on {@link LuaMiningDrillControlBehavior#resource_read_mode LuaMiningDrillControlBehavior::resource_read_mode} - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaMiningDrillControlBehavior.html#circuit_read_resources Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaMiningDrillControlBehavior.html#circuit_read_resources Online documentation} */ circuit_read_resources: boolean /** * If the mining drill should send just the resources in its area or the entire field it's on to the circuit network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaMiningDrillControlBehavior.html#resource_read_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaMiningDrillControlBehavior.html#resource_read_mode Online documentation} */ resource_read_mode: defines.control_behavior.mining_drill.resource_read_mode /** * The resource entities that the mining drill will send information about to the circuit network or an empty array. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaMiningDrillControlBehavior.html#resource_read_targets Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaMiningDrillControlBehavior.html#resource_read_targets Online documentation} */ readonly resource_read_targets: LuaEntity[] /** @@ -27564,19 +27579,19 @@ declare module "factorio:runtime" { } /** * Arbitrary data provided by mods. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaModData.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaModData.html Online documentation} * @noSelf */ export interface LuaModData extends LuaPrototypeBase { /** * Provides partial access to the data. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaModData.html#get Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaModData.html#get Online documentation} */ get(key: string): AnyBasic | nil readonly data_type: string /** * Provides full data of this prototype. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaModData.html#data Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaModData.html#data Online documentation} */ readonly data: Record /** @@ -27590,43 +27605,43 @@ declare module "factorio:runtime" { } /** * Prototype of a mod setting. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaModSettingPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaModSettingPrototype.html Online documentation} */ export interface LuaModSettingPrototype extends LuaPrototypeBase { /** * The mod that owns this setting. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaModSettingPrototype.html#mod Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaModSettingPrototype.html#mod Online documentation} */ readonly mod: string readonly setting_type: "startup" | "runtime-global" | "runtime-per-user" /** * The default value of this setting. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaModSettingPrototype.html#default_value Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaModSettingPrototype.html#default_value Online documentation} */ readonly default_value: boolean | double | int32 | string | Color /** * The minimum value for this setting. `nil` if this setting type doesn't support a minimum. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaModSettingPrototype.html#minimum_value Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaModSettingPrototype.html#minimum_value Online documentation} */ readonly minimum_value?: double | int32 /** * The maximum value for this setting. `nil` if this setting type doesn't support a maximum. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaModSettingPrototype.html#maximum_value Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaModSettingPrototype.html#maximum_value Online documentation} */ readonly maximum_value?: double | int32 /** * The allowed values for this setting. `nil` if this setting doesn't use the a fixed set of values. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaModSettingPrototype.html#allowed_values Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaModSettingPrototype.html#allowed_values Online documentation} */ readonly allowed_values?: string[] | int32[] | double[] /** * Whether this string setting allows blank values. `nil` if not a string setting. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaModSettingPrototype.html#allow_blank Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaModSettingPrototype.html#allow_blank Online documentation} */ readonly allow_blank?: boolean /** * Whether this string setting auto-trims values. `nil` if not a string setting - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaModSettingPrototype.html#auto_trim Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaModSettingPrototype.html#auto_trim Online documentation} */ readonly auto_trim?: boolean /** @@ -27640,7 +27655,7 @@ declare module "factorio:runtime" { } /** * Prototype of a module category. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaModuleCategoryPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaModuleCategoryPrototype.html Online documentation} */ export interface LuaModuleCategoryPrototype extends LuaPrototypeBase { /** @@ -27654,17 +27669,17 @@ declare module "factorio:runtime" { } /** * Prototype of a named noise expression. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaNamedNoiseExpression.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaNamedNoiseExpression.html Online documentation} */ export interface LuaNamedNoiseExpression extends LuaPrototypeBase { /** * Name of the property that this expression is intended to provide a value for, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaNamedNoiseExpression.html#intended_property Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaNamedNoiseExpression.html#intended_property Online documentation} */ readonly intended_property: string /** * The expression itself. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaNamedNoiseExpression.html#expression Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaNamedNoiseExpression.html#expression Online documentation} */ readonly expression: string /** @@ -27678,7 +27693,7 @@ declare module "factorio:runtime" { } /** * Prototype of a named noise function. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaNamedNoiseFunction.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaNamedNoiseFunction.html Online documentation} */ export interface LuaNamedNoiseFunction extends LuaPrototypeBase { readonly expression: string @@ -27699,7 +27714,7 @@ declare module "factorio:runtime" { * New instances of this object can be obtained from {@link LuaBootstrap#new_notification_queue LuaBootstrap::new_notification_queue}. * * Each instance of this object is unique, always valid and cannot be copied. This object lives entirely in script state and if its no longer referenced by script, it will be destroyed by garbage collector. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaNotificationQueue.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaNotificationQueue.html Online documentation} * @noSelf */ export interface LuaNotificationQueue { @@ -27709,35 +27724,35 @@ declare module "factorio:runtime" { * If this object is already registered within this notification queue, an existing registration number will be provided without creating new registration. * @param object The object to register. * @returns The registration number. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaNotificationQueue.html#add Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaNotificationQueue.html#add Online documentation} */ add(object: RegistrationTarget): uint64 /** * Checks if provided object is already registered and returns existing registration number for it. If object is not registered, it is not registered and nil is returned instead. * @param object The object to check. * @returns The registration number if object is registered. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaNotificationQueue.html#find Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaNotificationQueue.html#find Online documentation} */ find(object: RegistrationTarget): uint64 | nil /** * Removes a registration based on registration number. * @param registration_id Registration to be removed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaNotificationQueue.html#remove Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaNotificationQueue.html#remove Online documentation} */ remove(registration_id: uint64): void /** * Removes all registrations. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaNotificationQueue.html#clear Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaNotificationQueue.html#clear Online documentation} */ clear(): void /** * Gets at most 1 registration id for which an object was destroyed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaNotificationQueue.html#poll Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaNotificationQueue.html#poll Online documentation} */ poll(): uint64 | nil /** * Gets all registration ids for which object were destroyed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaNotificationQueue.html#poll_all Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaNotificationQueue.html#poll_all Online documentation} */ poll_all(): uint64[] /** @@ -27751,7 +27766,7 @@ declare module "factorio:runtime" { } /** * Prototype of an optimized particle. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaParticlePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaParticlePrototype.html Online documentation} */ export interface LuaParticlePrototype extends LuaPrototypeBase { readonly regular_trigger_effect: TriggerEffectItem @@ -27777,26 +27792,26 @@ declare module "factorio:runtime" { } /** * A permission group that defines what players in this group are allowed to do. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPermissionGroup.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPermissionGroup.html Online documentation} * @noSelf */ export interface LuaPermissionGroup { /** * Adds the given player to this group. * @returns Whether the player was added. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPermissionGroup.html#add_player Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPermissionGroup.html#add_player Online documentation} */ add_player(player: PlayerIdentification): boolean /** * Removes the given player from this group. * @returns Whether the player was removed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPermissionGroup.html#remove_player Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPermissionGroup.html#remove_player Online documentation} */ remove_player(player: PlayerIdentification): boolean /** * Whether this group allows the given action. * @param action The action in question. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPermissionGroup.html#allows_action Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPermissionGroup.html#allows_action Online documentation} */ allows_action(action: defines.input_action): boolean /** @@ -27804,28 +27819,28 @@ declare module "factorio:runtime" { * @param action The action in question. * @param allow_action Whether to allow the specified action. * @returns Whether the value was successfully applied. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPermissionGroup.html#set_allows_action Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPermissionGroup.html#set_allows_action Online documentation} */ set_allows_action(action: defines.input_action, allow_action: boolean): boolean /** * Destroys this group. * @returns Whether the group was successfully destroyed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPermissionGroup.html#destroy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPermissionGroup.html#destroy Online documentation} */ destroy(): boolean /** * The name of this group. Setting the name to `nil` or an empty string sets the name to the default value. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPermissionGroup.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPermissionGroup.html#name Online documentation} */ name: string | nil /** * The players in this group. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPermissionGroup.html#players Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPermissionGroup.html#players Online documentation} */ readonly players: LuaPlayer[] /** * The group ID - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPermissionGroup.html#group_id Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPermissionGroup.html#group_id Online documentation} */ readonly group_id: uint32 /** @@ -27839,25 +27854,25 @@ declare module "factorio:runtime" { } /** * All permission groups. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPermissionGroups.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPermissionGroups.html Online documentation} * @noSelf */ export interface LuaPermissionGroups { /** * Creates a new permission group. * @returns `nil` if the calling player doesn't have permission to make groups. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPermissionGroups.html#create_group Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPermissionGroups.html#create_group Online documentation} */ create_group(name?: string): LuaPermissionGroup | nil /** * Gets the permission group with the given name or group ID. * @returns `nil` if there is no matching group. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPermissionGroups.html#get_group Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPermissionGroups.html#get_group Online documentation} */ get_group(group: string | uint32): LuaPermissionGroup | nil /** * All of the permission groups. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPermissionGroups.html#groups Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPermissionGroups.html#groups Online documentation} */ readonly groups: LuaPermissionGroup[] /** @@ -27870,84 +27885,85 @@ declare module "factorio:runtime" { readonly object_name: "LuaPermissionGroups" } /** - * A pin owned by a player. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPin.html Online documentation} + * A map pin owned by a player. + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPin.html Online documentation} * @noSelf */ export interface LuaPin { /** * Destroys this pin. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPin.html#destroy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPin.html#destroy Online documentation} */ destroy(): void /** * The center of this pin if it can be computed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPin.html#get_pin_center Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPin.html#get_pin_center Online documentation} */ get_pin_center(): MapPosition | nil /** - * The index of this pin (unique to this player). + * The index of this pin. The index is unique to this player. * - * Note that this index has no correlation to the position of the pin within {@link LuaPlayer#get_pins LuaPlayer::get_pins} - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPin.html#index Online documentation} + * Note that this index has no correlation to the position of the pin within {@link LuaPlayer#get_pins LuaPlayer::get_pins}. + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPin.html#index Online documentation} */ readonly index: uint32 /** * The player that this pin belongs to. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPin.html#owner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPin.html#owner Online documentation} */ readonly owner: LuaPlayer /** - * The player that this pin is bound to. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPin.html#player Online documentation} + * The player that this pin targets, if any. + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPin.html#player Online documentation} */ - player?: LuaPlayer + get player(): LuaPlayer | nil + set player(value: PlayerIdentification | nil) /** - * The targets of this pin - if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPin.html#targets Online documentation} + * The entities that this pin targets, if any. + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPin.html#targets Online documentation} */ targets: LuaEntity[] /** - * The surface index if this pin specifically binds to a surface and position. + * The surface index if this pin specifically targets a surface and position. * - * If writing, and this pin was not bound to a specific surface and position, the default position of (0,0) is used. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPin.html#surface_index Online documentation} + * When writing, and this pin was not bound to a specific surface and position, the default position of `{0, 0}` is used. + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPin.html#surface_index Online documentation} */ surface_index?: SurfaceIndex /** - * The position if this pin specifically binds to a surface and position. + * The position if this pin specifically targets a surface and position. * - * If writing, and this pin was not bound to a specific surface and position, the default surface of nauvis is used. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPin.html#position Online documentation} + * When writing, and this pin was not bound to a specific surface and position, the default surface of nauvis is used. + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPin.html#position Online documentation} */ get position(): MapPosition | nil set position(value: MapPosition | MapPositionArray | nil) /** - * The custom chart tag - if this pin specifically binds to a chart tag. + * The custom chart tag, if this pin specifically targets a chart tag. * - * The chart tag must be on the same force as the owning player. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPin.html#chart_tag Online documentation} + * The chart tag must be on the same force as the {@link LuaPin#owner owning player}. + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPin.html#chart_tag Online documentation} */ chart_tag?: LuaCustomChartTag /** - * The label for this pin - if any. This will be an empty string if there is no label set. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPin.html#label Online documentation} + * The label for this pin, if any. This will be an empty string if there is no label set. + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPin.html#label Online documentation} */ label: string always_visible: boolean /** * The radius (in tiles) that is shown in the tooltip for this pin. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPin.html#preview_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPin.html#preview_distance Online documentation} */ preview_distance: uint16 /** - * The type of alert this pin is for (if configured to be about alerts). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPin.html#alert_type Online documentation} + * The type of alert this pin is for, if this pin targets an alert. + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPin.html#alert_type Online documentation} */ alert_type?: defines.alert_type /** - * The alert positions if this pin is configured to show alert data. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPin.html#alert_positions Online documentation} + * The alert positions, if this pin targets an alert. + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPin.html#alert_positions Online documentation} */ get alert_positions(): MapPosition[] set alert_positions(value: readonly (MapPosition | MapPositionArray)[]) @@ -27962,36 +27978,36 @@ declare module "factorio:runtime" { } /** * The runtime values of a planet - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlanet.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlanet.html Online documentation} * @noSelf */ export interface LuaPlanet { /** * Creates the associated surface if one doesn't already exist. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlanet.html#create_surface Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlanet.html#create_surface Online documentation} */ create_surface(): LuaSurface /** * Associates the given surface with this planet. Surface must not already be associated with a planet and the planet must not already have an associated surface. * @param surface The surface to be associated. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlanet.html#associate_surface Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlanet.html#associate_surface Online documentation} */ associate_surface(surface: SurfaceIdentification): void /** * Resets the map gen settings on this planet to the default from-prototype state. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlanet.html#reset_map_gen_settings Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlanet.html#reset_map_gen_settings Online documentation} */ reset_map_gen_settings(): void /** * Gets the built space platforms orbiting this planet on the given force. * * Note, this does not include platforms that have not yet been built. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlanet.html#get_space_platforms Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlanet.html#get_space_platforms Online documentation} */ get_space_platforms(force: ForceID): LuaSpacePlatform[] /** * The planets name. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlanet.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlanet.html#name Online documentation} */ readonly name: string readonly prototype: LuaSpaceLocationPrototype @@ -28001,7 +28017,7 @@ declare module "factorio:runtime" { * Planets do not default generate their surface. {@link LuaPlanet#create_surface LuaPlanet::create_surface} can be used to force the surface to exist. * * {@link LuaPlanet#associate_surface LuaPlanet::associate_surface} can be used to create an association with an existing surface. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlanet.html#surface Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlanet.html#surface Online documentation} */ readonly surface?: LuaSurface /** @@ -28015,7 +28031,7 @@ declare module "factorio:runtime" { } /** * A player in the game. Pay attention that a player may or may not have a character, which is the {@link LuaEntity} of the little guy running around the world doing things. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html Online documentation} * @noSelf */ export interface LuaPlayer extends LuaControl { @@ -28023,38 +28039,38 @@ declare module "factorio:runtime" { * Setup the screen to be shown when the game is finished. * @param message Message to be shown. * @param file Path to image to be shown. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#set_ending_screen_data Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#set_ending_screen_data Online documentation} */ set_ending_screen_data(message: LocalisedString, file?: string): void /** * Print text to the chat console. * * By default, messages that are identical to a message sent in the last 60 ticks are not printed again. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#print Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#print Online documentation} */ print(message: LocalisedString, print_settings?: PrintSettings): void /** * Clear the chat console. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#clear_console Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#clear_console Online documentation} */ clear_console(): void /** * Get the current goal description, as a localised string. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#get_goal_description Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#get_goal_description Online documentation} */ get_goal_description(): LocalisedString /** * Set the text in the goal window (top left). * @param text The text to display. Lines can be delimited with `\n`. Passing an empty string or omitting this parameter entirely will make the goal window disappear. * @param only_update When `true`, won't play the "goal updated" sound. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#set_goal_description Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#set_goal_description Online documentation} */ set_goal_description(text?: LocalisedString, only_update?: boolean): void /** * Set the controller type of the player. * * Setting a player to {@link defines.controllers.editor} auto promotes the player to admin and enables cheat mode. Setting a player to {@link defines.controllers.editor} also requires the calling player be an admin. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#set_controller Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#set_controller Online documentation} */ set_controller(params: { /** @@ -28097,7 +28113,7 @@ declare module "factorio:runtime" { /** * Start/end wire dragging at the specified location, wire type is based on the cursor contents * @returns `true` if the action did something - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#drag_wire Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#drag_wire Online documentation} */ drag_wire(params: { /** @@ -28107,44 +28123,44 @@ declare module "factorio:runtime" { }): boolean /** * Disable recipe groups. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#disable_recipe_groups Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#disable_recipe_groups Online documentation} */ disable_recipe_groups(): void /** * Enable recipe groups. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#enable_recipe_groups Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#enable_recipe_groups Online documentation} */ enable_recipe_groups(): void /** * Disable recipe subgroups. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#disable_recipe_subgroups Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#disable_recipe_subgroups Online documentation} */ disable_recipe_subgroups(): void /** * Enable recipe subgroups. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#enable_recipe_subgroups Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#enable_recipe_subgroups Online documentation} */ enable_recipe_subgroups(): void /** * Print entity statistics to the player's console. * @param entities Entity prototypes to get statistics for. If not specified or empty, display statistics for all entities. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#print_entity_statistics Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#print_entity_statistics Online documentation} */ print_entity_statistics(entities?: readonly EntityWithQualityID[]): void /** * Print construction robot job counts to the player's console. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#print_robot_jobs Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#print_robot_jobs Online documentation} */ print_robot_jobs(): void /** * Print LuaObject counts per mod. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#print_lua_object_statistics Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#print_lua_object_statistics Online documentation} */ print_lua_object_statistics(): void /** * Unlock the achievements of the given player. This has any effect only when this is the local player, the achievement isn't unlocked so far and the achievement is of the type "achievement". * @param name name of the achievement to unlock - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#unlock_achievement Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#unlock_achievement Online documentation} */ unlock_achievement(name: string): void /** @@ -28153,7 +28169,7 @@ declare module "factorio:runtime" { * ## Raised events * - {@link OnPlayerCursorStackChangedEvent on_player_cursor_stack_changed}? _current_tick_ Raised when the cursor was successfully cleared. * @returns Whether the cursor is now empty. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#clear_cursor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#clear_cursor Online documentation} */ clear_cursor(): boolean /** @@ -28162,68 +28178,68 @@ declare module "factorio:runtime" { * The player must not have a character already connected and must be online (see {@link LuaPlayer#connected LuaPlayer::connected}). * @param character The character to create else the default is used. * @returns Whether the character was created. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#create_character Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#create_character Online documentation} */ create_character(character?: EntityWithQualityID): boolean /** * Adds an alert to this player for the given entity of the given alert type. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#add_alert Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#add_alert Online documentation} */ add_alert(entity: LuaEntity, type: defines.alert_type): void /** * Adds a custom alert to this player. * @param entity If the alert is clicked, the map will open at the position of this entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#add_custom_alert Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#add_custom_alert Online documentation} */ add_custom_alert(entity: LuaEntity, icon: SignalIDWrite, message: LocalisedString, show_on_map: boolean): void /** * Removes all alerts matching the given filters or if an empty filters table is given all alerts are removed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#remove_alert Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#remove_alert Online documentation} */ remove_alert(filter: AlertFilter): void /** * Get all alerts matching the given filters, or all alerts if no filters are given. * @returns A mapping of surface index to an array of arrays of {@link Alert alerts} indexed by the {@link defines.alert_type alert type}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#get_alerts Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#get_alerts Online documentation} */ get_alerts(filter: AlertFilter): Record> /** * Mutes alerts for the given alert category. * @returns Whether the alert type was muted (false if it was already muted). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#mute_alert Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#mute_alert Online documentation} */ mute_alert(alert_type: defines.alert_type): boolean /** * Unmutes alerts for the given alert category. * @returns Whether the alert type was unmuted (false if it was wasn't muted). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#unmute_alert Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#unmute_alert Online documentation} */ unmute_alert(alert_type: defines.alert_type): boolean /** * If the given alert type is currently muted. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#is_alert_muted Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#is_alert_muted Online documentation} */ is_alert_muted(alert_type: defines.alert_type): boolean /** * Enables alerts for the given alert category. * @returns Whether the alert type was enabled (false if it was already enabled). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#enable_alert Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#enable_alert Online documentation} */ enable_alert(alert_type: defines.alert_type): boolean /** * Disables alerts for the given alert category. * @returns Whether the alert type was disabled (false if it was already disabled). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#disable_alert Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#disable_alert Online documentation} */ disable_alert(alert_type: defines.alert_type): boolean /** * If the given alert type is currently enabled. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#is_alert_enabled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#is_alert_enabled Online documentation} */ is_alert_enabled(alert_type: defines.alert_type): boolean /** * Adds a pin to this player for the given pin specification. Either entity, player, or surface and position must be defined. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#add_pin Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#add_pin Online documentation} */ add_pin(params: { readonly label?: string @@ -28262,12 +28278,12 @@ declare module "factorio:runtime" { }): LuaPin /** * Gets all of the pins that this player has. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#get_pins Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#get_pins Online documentation} */ get_pins(): LuaPin[] /** * Removes all pins from this player. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#clear_pins Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#clear_pins Online documentation} */ clear_pins(): void /** @@ -28277,12 +28293,12 @@ declare module "factorio:runtime" { * - {@link OnPlayerPipetteEvent on_player_pipette}? _instantly_ Raised if an item was successfully put into the cursor. * @param allow_ghost Defaults to `false`. * @returns Whether the smart pipette found something to put into the cursor. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#pipette Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#pipette Online documentation} */ pipette(id: PipetteID, quality?: QualityID, allow_ghost?: boolean): boolean /** * Checks if this player can build what ever is in the cursor on the surface the player is on. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#can_build_from_cursor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#can_build_from_cursor Online documentation} */ can_build_from_cursor(params: { /** @@ -28320,7 +28336,7 @@ declare module "factorio:runtime" { * ## Raised events * - {@link OnPreBuildEvent on_pre_build}? _instantly_ Raised if the cursor was successfully built. * - {@link OnBuiltEntityEvent on_built_entity}? _instantly_ Raised if the cursor was successfully built. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#build_from_cursor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#build_from_cursor Online documentation} */ build_from_cursor(params: { /** @@ -28358,13 +28374,13 @@ declare module "factorio:runtime" { }): void /** * Clears the blinking of the inventory based on insertion of items - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#clear_inventory_highlights Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#clear_inventory_highlights Online documentation} */ clear_inventory_highlights(): void /** * Uses the current item in the cursor if it's a capsule or does nothing if not. * @param position Where the item would be used. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#use_from_cursor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#use_from_cursor Online documentation} */ use_from_cursor(position: MapPosition | MapPositionArray): void /** @@ -28372,13 +28388,13 @@ declare module "factorio:runtime" { * * The sound is not played if its location is not {@link LuaForce#chart charted} for this player. * @param sound_specification The sound to play. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#play_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#play_sound Online documentation} */ play_sound(sound_specification: PlaySoundSpecification): void /** * Play a music track for this player. * @param music_specification The track to play. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#play_music Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#play_music Online documentation} */ play_music(music_specification: PlayMusicSpecification): void /** @@ -28387,7 +28403,7 @@ declare module "factorio:runtime" { * The array will always be empty when the player is disconnected (see {@link LuaPlayer#connected LuaPlayer::connected}) regardless of there being associated characters. * * Characters associated with this player will be logged off when this player disconnects but are not controlled by any player. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#get_associated_characters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#get_associated_characters Online documentation} */ get_associated_characters(): LuaEntity[] /** @@ -28399,7 +28415,7 @@ declare module "factorio:runtime" { * * See {@link LuaPlayer#get_associated_characters LuaPlayer::get_associated_characters} for more information. * @param character The character entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#associate_character Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#associate_character Online documentation} */ associate_character(character: LuaEntity): void /** @@ -28407,14 +28423,14 @@ declare module "factorio:runtime" { * * See {@link LuaPlayer#get_associated_characters LuaPlayer::get_associated_characters} for more information. * @param character The character entity - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#disassociate_character Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#disassociate_character Online documentation} */ disassociate_character(character: LuaEntity): void /** * Swaps this player's character with another player's character. * @param player The player to swap characters with. * @returns `true` if the swap was successful. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#swap_characters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#swap_characters Online documentation} */ swap_characters(player: PlayerIdentification): boolean /** @@ -28423,7 +28439,7 @@ declare module "factorio:runtime" { * If no custom `speed` is set and the text is longer than 25 characters, its `time_to_live` and `speed` are dynamically adjusted to give the player more time to read it. * * Local flying text is not saved, which means it will disappear after a save/load-cycle. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#create_local_flying_text Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#create_local_flying_text Online documentation} */ create_local_flying_text(params: { /** @@ -28457,18 +28473,18 @@ declare module "factorio:runtime" { }): void /** * Clear any active flying texts for this player. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#clear_local_flying_texts Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#clear_local_flying_texts Online documentation} */ clear_local_flying_texts(): void /** * Gets the quick bar filter for the given slot or `nil`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#get_quick_bar_slot Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#get_quick_bar_slot Online documentation} */ get_quick_bar_slot(page_index: uint8, slot_index: uint8): QuickBarSlot | nil /** * Sets the quick bar filter for the given slot. If a {@link LuaItemStack} is provided, the slot will be set to that particular item instance if it has extra data, for example a specific blueprint or spidertron remote. Otherwise, it will be set to all items of that prototype, for example iron plates. * @param filter The filter or `nil` to clear it. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#set_quick_bar_slot Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#set_quick_bar_slot Online documentation} */ set_quick_bar_slot( page_index: uint8, @@ -28478,19 +28494,19 @@ declare module "factorio:runtime" { /** * Gets which quick bar page is being used for the given screen page or `nil` if not known. * @param index The screen page. Index 1 is the top row in the gui. Index can go beyond the visible number of bars on the screen to account for the interface config setting change. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#get_active_quick_bar_page Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#get_active_quick_bar_page Online documentation} */ get_active_quick_bar_page(index: uint32): uint8 | nil /** * Sets which quick bar page is being used for the given screen page. * @param screen_index The screen page. Index 1 is the top row in the gui. Index can go beyond the visible number of bars on the screen to account for the interface config setting change. * @param page_index The new quick bar page. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#set_active_quick_bar_page Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#set_active_quick_bar_page Online documentation} */ set_active_quick_bar_page(screen_index: uint32, page_index: uint32): void /** * Jump to the specified cutscene waypoint. Only works when the player is viewing a cutscene. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#jump_to_cutscene_waypoint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#jump_to_cutscene_waypoint Online documentation} */ jump_to_cutscene_waypoint(waypoint_index: uint32): void /** @@ -28498,36 +28514,36 @@ declare module "factorio:runtime" { * * ## Raised events * - {@link OnCutsceneCancelledEvent on_cutscene_cancelled}? _instantly_ Raised if the cutscene was successfully cancelled. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#exit_cutscene Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#exit_cutscene Online documentation} */ exit_cutscene(): void /** * Exit remote view if possible. Exiting will fail if the player is in a rocket or in a platform. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#exit_remote_view Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#exit_remote_view Online documentation} */ exit_remote_view(): void /** * Is a custom Lua shortcut currently toggled? * @param prototype_name Prototype name of the custom shortcut. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#is_shortcut_toggled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#is_shortcut_toggled Online documentation} */ is_shortcut_toggled(prototype_name: string): boolean /** * Is a custom Lua shortcut currently available? * @param prototype_name Prototype name of the custom shortcut. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#is_shortcut_available Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#is_shortcut_available Online documentation} */ is_shortcut_available(prototype_name: string): boolean /** * Toggle or untoggle a custom Lua shortcut * @param prototype_name Prototype name of the custom shortcut. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#set_shortcut_toggled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#set_shortcut_toggled Online documentation} */ set_shortcut_toggled(prototype_name: string, toggled: boolean): void /** * Make a custom Lua shortcut available or unavailable. * @param prototype_name Prototype name of the custom shortcut. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#set_shortcut_available Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#set_shortcut_available Online documentation} */ set_shortcut_available(prototype_name: string, available: boolean): void /** @@ -28536,7 +28552,7 @@ declare module "factorio:runtime" { * If the "auto-accept-connect-to-server" interface setting is enabled, the prompt is skipped. * * This only does anything when used on a multiplayer peer. Single player and server hosts will ignore the prompt. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#connect_to_server Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#connect_to_server Online documentation} */ connect_to_server(params: { /** @@ -28559,7 +28575,7 @@ declare module "factorio:runtime" { * ## Raised events * - {@link OnPrePlayerToggledMapEditorEvent on_pre_player_toggled_map_editor}? _instantly_ Raised if the map editor was successfully toggled. * - {@link OnPlayerToggledMapEditorEvent on_player_toggled_map_editor}? _instantly_ Raised if the map editor was successfully toggled. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#toggle_map_editor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#toggle_map_editor Online documentation} */ toggle_map_editor(): void /** @@ -28570,7 +28586,7 @@ declare module "factorio:runtime" { * ## Raised events * - {@link OnStringTranslatedEvent on_string_translated}? _future_tick_ * @returns The unique ID for the requested translation. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#request_translation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#request_translation Online documentation} */ request_translation(localised_string: LocalisedString): uint32 /** @@ -28581,53 +28597,53 @@ declare module "factorio:runtime" { * ## Raised events * - {@link OnStringTranslatedEvent on_string_translated}? _future_tick_ * @returns The unique IDs for the requested translations. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#request_translations Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#request_translations Online documentation} */ request_translations(localised_strings: readonly LocalisedString[]): uint32[] /** * Gets the filter for this map editor infinity filters at the given index or `nil` if the filter index doesn't exist or is empty. * @param index The index to get. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#get_infinity_inventory_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#get_infinity_inventory_filter Online documentation} */ get_infinity_inventory_filter(index: uint32): InfinityInventoryFilter | nil /** * Sets the filter for this map editor infinity filters at the given index. * @param index The index to set. * @param filter The new filter or `nil` to clear the filter. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#set_infinity_inventory_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#set_infinity_inventory_filter Online documentation} */ set_infinity_inventory_filter(index: uint32, filter: InfinityInventoryFilterWrite | nil): void /** * Clears all recipe notifications for this player. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#clear_recipe_notifications Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#clear_recipe_notifications Online documentation} */ clear_recipe_notifications(): void /** * Adds the given recipe to the list of recipe notifications for this player. * @param recipe Recipe to add. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#add_recipe_notification Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#add_recipe_notification Online documentation} */ add_recipe_notification(recipe: RecipeID): void /** * Clears the given recipe from the list of recipe notifications for this player. * @param recipe Recipe to clear. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#clear_recipe_notification Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#clear_recipe_notification Online documentation} */ clear_recipe_notification(recipe: RecipeID): void /** * Get all recipes that currently have recipe notifications for this player. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#get_recipe_notifications Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#get_recipe_notifications Online documentation} */ get_recipe_notifications(): LuaRecipePrototype[] /** * Adds the given blueprint to this player's clipboard queue. * @param blueprint The blueprint to add. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#add_to_clipboard Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#add_to_clipboard Online documentation} */ add_to_clipboard(blueprint: LuaItemStack): void /** * Gets a copy of the currently selected blueprint in the clipboard queue into the player's cursor, as if the player activated Paste. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#activate_paste Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#activate_paste Online documentation} */ activate_paste(): void /** @@ -28636,38 +28652,38 @@ declare module "factorio:runtime" { * This method affects a player's input state and does not directly affect game state. The effects of calling this method will not be immediately observable, especially in multiplayer. * @param position The position to start selection from. * @param selection_mode The type of selection to start. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#start_selection Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#start_selection Online documentation} */ start_selection(position: MapPosition | MapPositionArray, selection_mode: defines.selection_mode): void /** * Clears the player's selection tool selection position. * * This method affects a player's input state and does not directly affect game state. The effects of calling this method will not be immediately observable, especially in multiplayer. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#clear_selection Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#clear_selection Online documentation} */ clear_selection(): void /** * Enters the given space platform if possible. * @returns If the player entered the platform. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#enter_space_platform Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#enter_space_platform Online documentation} */ enter_space_platform(space_platform: LuaSpacePlatform): boolean /** * Ejects this player from the current space platform if in a platform. The player is left on the platform at the position of the hub. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#leave_space_platform Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#leave_space_platform Online documentation} */ leave_space_platform(): void /** * Ejects this player from the current space platform and lands on the current planet. * @returns If the player successfully landed on the planet. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#land_on_planet Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#land_on_planet Online documentation} */ land_on_planet(): boolean /** * Sets the zoom limits for a specific controller type. To reset a controller's zoom limits to default, pass an empty table for `zoom_limits`. * @param controller_type The type of the controller to set the zoom limits for. * @param zoom_limits The new zoom limits. See {@link LuaPlayer#zoom_limits LuaPlayer::zoom_limits} for usage information. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#set_zoom_limits Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#set_zoom_limits Online documentation} */ set_zoom_limits(controller_type: defines.controllers, zoom_limits: ZoomLimits): void /** @@ -28677,7 +28693,7 @@ declare module "factorio:runtime" { * * Reach distance is ignored and can be checked using {@link LuaControl#can_reach_entity LuaControl::can_reach_entity} if wanted. * @returns List of all items moved. This will be `nil` if the transfer was blocked. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#stack_transfers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#stack_transfers Online documentation} */ stack_transfers(params: { /** @@ -28713,82 +28729,82 @@ declare module "factorio:runtime" { /** * Performs the cursor transfer action on the given inventory at the given index as if the player did it. * @returns If the action succeeded. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#cursor_transfer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#cursor_transfer Online documentation} */ cursor_transfer(inventory: LuaInventory, index: uint32): boolean /** * Performs the cursor split action on the given inventory at the given index as if the player did it. * @returns If the action succeeded. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#cursor_split Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#cursor_split Online documentation} */ cursor_split(inventory: LuaInventory, index: uint32): boolean /** * Amount of slots one row(page) of quickbar has. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#quick_bar_width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#quick_bar_width Online documentation} */ readonly quick_bar_width: uint8 /** * The surface this player's physical controller is on. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#physical_surface Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#physical_surface Online documentation} */ readonly physical_surface: LuaSurface /** * Unique ID associated with the surface this player's physical controller is currently on. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#physical_surface_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#physical_surface_index Online documentation} */ readonly physical_surface_index: uint32 /** * The current position of this player's physical controller. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#physical_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#physical_position Online documentation} */ readonly physical_position: MapPosition /** * The current vehicle of this player's physical controller. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#physical_vehicle Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#physical_vehicle Online documentation} */ readonly physical_vehicle?: LuaEntity /** * The character attached to this player, if any. Returns `nil` when the player is disconnected (see {@link LuaPlayer#connected LuaPlayer::connected}). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#character Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#character Online documentation} */ character?: LuaEntity /** * When in a cutscene; the character this player would be using once the cutscene is over, if any. Returns `nil` when the player is disconnected (see {@link LuaPlayer#connected LuaPlayer::connected}). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#cutscene_character Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#cutscene_character Online documentation} */ readonly cutscene_character?: LuaEntity /** * This player's index in {@link LuaGameScript#players LuaGameScript::players} (unique ID). It is assigned when a player is created, and remains so (even when the player is not {@link LuaPlayer#connected connected}) until the player is irreversibly {@link OnPlayerRemovedEvent removed}. Indexes of removed players can be reused. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#index Online documentation} */ readonly index: PlayerIndex readonly gui: LuaGui /** * `true` if the player opened itself. I.e. if they opened the character or god-controller GUI. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#opened_self Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#opened_self Online documentation} */ readonly opened_self: boolean readonly controller_type: defines.controllers /** * The player's "physical" controller. When a player is in the remote controller, this specifies the controller they will return to. When the player is not in the remote controller, this is equivalent to {@link LuaPlayer#controller_type LuaPlayer::controller_type}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#physical_controller_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#physical_controller_type Online documentation} */ readonly physical_controller_type: defines.controllers /** * The stashed controller type, if any. This is mainly useful when a player is in the map editor. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#stashed_controller_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#stashed_controller_type Online documentation} */ readonly stashed_controller_type?: defines.controllers /** * All SpiderVehicles currently selected by the player, if they are holding a spidertron remote. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#spidertron_remote_selection Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#spidertron_remote_selection Online documentation} */ spidertron_remote_selection?: LuaEntity[] /** * The current player controller's zoom level. Must be positive. The baseline zoom level is 1. Values greater than 1 will zoom in closer to the world and values between 0 and 1 will zoom out away from the world. * * Writing values outside the current zoom limits is always valid, but read values will always be clamped to the range defined by {@link LuaPlayer#zoom_limits LuaPlayer::zoom_limits}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#zoom Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#zoom Online documentation} */ zoom: double /** @@ -28839,98 +28855,98 @@ declare module "factorio:runtime" { * furthest = custom_limits.furthest, * furthest_game_view = { zoom = 0.25 } * } - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#zoom_limits Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#zoom_limits Online documentation} */ zoom_limits: ZoomLimits /** * The entity being centered on in remote view. * * When writing, the player will be switched to remote view (if not already in it) and centered on the given entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#centered_on Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#centered_on Online documentation} */ centered_on?: LuaEntity /** * The player's game view settings. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#game_view_settings Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#game_view_settings Online documentation} */ game_view_settings: GameViewSettings /** * `true` if the minimap is visible. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#minimap_enabled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#minimap_enabled Online documentation} */ minimap_enabled: boolean /** * Set to `true` to disallow opening the space map and hide the space map button. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#disable_space_map Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#disable_space_map Online documentation} */ disable_space_map: boolean /** * Set to `false` to disallow leaving remote view using the toggle menu hotkey. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#toggle_menu_leaves_remote_view Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#toggle_menu_leaves_remote_view Online documentation} */ toggle_menu_leaves_remote_view: boolean /** * Set to `true` to hide prototypes in Factoriopedia if they aren't unlocked yet. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#hide_locked_prototypes_in_factoriopedia Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#hide_locked_prototypes_in_factoriopedia Online documentation} */ hide_locked_prototypes_in_factoriopedia: boolean /** * The color associated with the player. This will be used to tint the player's character as well as their buildings and vehicles. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#color Online documentation} */ get color(): Color set color(value: Color | ColorArray) /** * The color used when this player talks in game. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#chat_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#chat_color Online documentation} */ get chat_color(): Color set chat_color(value: Color | ColorArray) /** * The player's username. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#name Online documentation} */ readonly name: string /** * The tag that is shown after the player in chat, on the map and above multiplayer selection rectangles. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#tag Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#tag Online documentation} */ tag: string /** * `true` if the player is currently connected to the game. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#connected Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#connected Online documentation} */ readonly connected: boolean /** * `true` if the player is an admin. * * Trying to change player admin status from the console when you aren't an admin does nothing. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#admin Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#admin Online documentation} */ admin: boolean /** * The source entity used during entity settings copy-paste, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#entity_copy_source Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#entity_copy_source Online documentation} */ entity_copy_source?: LuaEntity /** * How many ticks since the last action of this player. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#afk_time Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#afk_time Online documentation} */ readonly afk_time: uint32 /** * How many ticks did this player spend playing this save (all sessions combined). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#online_time Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#online_time Online documentation} */ readonly online_time: uint32 /** * At what tick this player was last online. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#last_online Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#last_online Online documentation} */ readonly last_online: uint32 /** * The permission group this player is part of, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#permission_group Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#permission_group Online documentation} */ permission_group?: LuaPermissionGroup /** @@ -28940,7 +28956,7 @@ declare module "factorio:runtime" { * @example * -- Change the value of the "active_lifestyle" setting * player.mod_settings["active_lifestyle"] = {value = true} - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#mod_settings Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#mod_settings Online documentation} */ readonly mod_settings: LuaCustomTable /** @@ -28949,14 +28965,14 @@ declare module "factorio:runtime" { * Set to `nil` to immediately respawn the player. * * Set to any positive value to trigger the respawn state for this player. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#ticks_to_respawn Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#ticks_to_respawn Online documentation} */ ticks_to_respawn?: uint32 /** * The quality used when this player respawns. * * This can be set at any time however it is best to set it during the {@link defines.events.on_player_died} event. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#respawn_quality Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#respawn_quality Online documentation} */ get respawn_quality(): LuaQualityPrototype | nil set respawn_quality(value: QualityID | nil) @@ -28964,94 +28980,94 @@ declare module "factorio:runtime" { * The display resolution for this player. * * During {@link OnPlayerCreatedEvent on_player_created}, this attribute will always return a resolution of `{width=1920, height=1080}`. To get the actual resolution, listen to the {@link OnPlayerDisplayResolutionChangedEvent on_player_display_resolution_changed} event raised shortly afterwards. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#display_resolution Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#display_resolution Online documentation} */ readonly display_resolution: DisplayResolution /** * The display scale for this player. * * During {@link OnPlayerCreatedEvent on_player_created}, this attribute will always return a scale of `1`. To get the actual scale, listen to the {@link OnPlayerDisplayScaleChangedEvent on_player_display_scale_changed} event raised shortly afterwards. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#display_scale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#display_scale Online documentation} */ readonly display_scale: double /** * The display density scale for this player. The display density scale is the factor of {@link LuaPlayer#display_scale LuaPlayer::display_scale} that is determined by the physical DPI of the screen that Factorio is running on. In most cases, the default value is 1. If the player is playing on a high-density display, this value may be 2 or greater. * * During {@link OnPlayerCreatedEvent on_player_created}, this attribute will always return a scale of `1`. To get the actual scale, listen to the {@link OnPlayerDisplayDensityScaleChangedEvent on_player_display_density_scale_changed} event raised shortly afterwards. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#display_density_scale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#display_density_scale Online documentation} */ readonly display_density_scale: double /** * The active locale for this player. * * During {@link OnPlayerCreatedEvent on_player_created}, this attribute will be `en`. To get the actual value, listen to the {@link OnPlayerLocaleChangedEvent on_player_locale_changed} event raised shortly afterwards. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#locale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#locale Online documentation} */ readonly locale: string /** * The item stack containing a blueprint to be setup. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#blueprint_to_setup Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#blueprint_to_setup Online documentation} */ readonly blueprint_to_setup: LuaItemStack /** * Records contained in the player's blueprint library. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#blueprints Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#blueprints Online documentation} */ readonly blueprints: LuaRecord[] /** * The render mode of the player, like map or zoom to world. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#render_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#render_mode Online documentation} */ readonly render_mode: defines.render_mode /** * The input method of the player, mouse and keyboard or game controller - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#input_method Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#input_method Online documentation} */ readonly input_method: defines.input_method /** * If `true`, circle and name of given player is rendered on the map/chart. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#show_on_map Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#show_on_map Online documentation} */ show_on_map: boolean /** * If items not included in this map editor infinity inventory filters should be removed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#remove_unfiltered_items Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#remove_unfiltered_items Online documentation} */ remove_unfiltered_items: boolean /** * The filters for this map editor infinity inventory settings. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#infinity_inventory_filters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#infinity_inventory_filters Online documentation} */ get infinity_inventory_filters(): InfinityInventoryFilter[] set infinity_inventory_filters(value: readonly InfinityInventoryFilterWrite[]) /** * If the main inventory will be auto sorted. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#auto_sort_main_inventory Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#auto_sort_main_inventory Online documentation} */ readonly auto_sort_main_inventory: boolean /** * The original location of the item in the cursor, marked with a hand. `nil` if the cursor stack is empty. When writing, the specified inventory slot must be empty and the cursor stack must not be empty. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#hand_location Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#hand_location Online documentation} */ hand_location?: ItemStackLocation /** * Returns true if the current item stack in cursor will be destroyed after clearing the cursor. Manually putting it into inventory still preserves the item. If the cursor stack is not one of the supported types (blueprint, blueprint-book, deconstruction-planner, upgrade-planner), write operation will be silently ignored. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#cursor_stack_temporary Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#cursor_stack_temporary Online documentation} */ cursor_stack_temporary: boolean /** * The undo and redo stack for this player. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#undo_redo_stack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#undo_redo_stack Online documentation} */ readonly undo_redo_stack: LuaUndoRedoStack /** * The wire drag target for this player, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#drag_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#drag_target Online documentation} */ readonly drag_target?: DragTarget /** * The player's map view settings. To write to this, use a table containing the fields that should be changed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#map_view_settings Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#map_view_settings Online documentation} */ set map_view_settings(value: MapViewSettings) /** @@ -29060,12 +29076,12 @@ declare module "factorio:runtime" { * If music is not playing, returns an empty string. * * If the player is disconnected, returns the last played ambient sound. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#current_music Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#current_music Online documentation} */ readonly current_music: string /** * The filters that will be applied when this player respawns. These only have meaning if the player is actively waiting to respawn. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#saved_logistic_filters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#saved_logistic_filters Online documentation} */ get saved_logistic_filters(): SavedLogisticFilters set saved_logistic_filters(value: SavedLogisticFiltersWrite) @@ -29075,7 +29091,7 @@ declare module "factorio:runtime" { * When reading this may return nil if the map editor does not yet exist for this player. * * When writing the full table of settings is always required. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPlayer.html#editor_settings Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPlayer.html#editor_settings Online documentation} */ get editor_settings(): MapEditorSetting | nil set editor_settings(value: MapEditorSettingWrite | nil) @@ -29090,7 +29106,7 @@ declare module "factorio:runtime" { } /** * Prototype of a procession inheritance group which synchronizes offsets between procession steps. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaProcessionLayerInheritanceGroupPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaProcessionLayerInheritanceGroupPrototype.html Online documentation} */ export interface LuaProcessionLayerInheritanceGroupPrototype extends LuaPrototypeBase { /** @@ -29104,7 +29120,7 @@ declare module "factorio:runtime" { } /** * Prototype of a procession. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaProcessionPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaProcessionPrototype.html Online documentation} */ export interface LuaProcessionPrototype extends LuaPrototypeBase { readonly timeline: ProcessionTimeline @@ -29124,23 +29140,23 @@ declare module "factorio:runtime" { * An object used to measure script performance. * * Since performance is non-deterministic, these objects don't allow reading the raw time values from Lua. They can be used anywhere a {@link LocalisedString} is used, except for {@link LuaGuiElement#add LuaGuiElement::add}'s LocalisedString arguments, {@link LuaSurface#create_entity LuaSurface::create_entity}'s `text` argument, and {@link LuaEntity#add_market_item LuaEntity::add_market_item}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaProfiler.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaProfiler.html Online documentation} * @noSelf */ export interface LuaProfiler { /** * Resets the clock, also restarting it. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaProfiler.html#reset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaProfiler.html#reset Online documentation} */ reset(): void /** * Stops the clock. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaProfiler.html#stop Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaProfiler.html#stop Online documentation} */ stop(): void /** * Start the clock again, without resetting it. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaProfiler.html#restart Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaProfiler.html#restart Online documentation} */ restart(): void /** @@ -29148,7 +29164,7 @@ declare module "factorio:runtime" { * * If other is running, the time to now will be added. * @param other The timer to add to this timer. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaProfiler.html#add Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaProfiler.html#add Online documentation} */ add(other: LuaProfiler): void /** @@ -29156,7 +29172,7 @@ declare module "factorio:runtime" { * * Does nothing if this isn't stopped. * @param number The number to divide by. Must be > 0. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaProfiler.html#divide Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaProfiler.html#divide Online documentation} */ divide(number: double): void /** @@ -29170,7 +29186,7 @@ declare module "factorio:runtime" { } /** * Control behavior for programmable speakers. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaProgrammableSpeakerControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaProgrammableSpeakerControlBehavior.html Online documentation} */ export interface LuaProgrammableSpeakerControlBehavior extends LuaControlBehavior { circuit_parameters: ProgrammableSpeakerCircuitParameters @@ -29187,39 +29203,39 @@ declare module "factorio:runtime" { } /** * Base for all prototype classes. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypeBase.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypeBase.html Online documentation} */ export interface LuaPrototypeBase { /** * Type of this prototype. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypeBase.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypeBase.html#type Online documentation} */ readonly type: string /** * Name of this prototype. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypeBase.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypeBase.html#name Online documentation} */ readonly name: string /** * The string used to alphabetically sort these prototypes. It is a simple string that has no additional semantic meaning. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypeBase.html#order Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypeBase.html#order Online documentation} */ readonly order: string readonly localised_name: LocalisedString readonly localised_description: LocalisedString /** * Provides additional description used in factoriopedia. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypeBase.html#factoriopedia_description Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypeBase.html#factoriopedia_description Online documentation} */ readonly factoriopedia_description: LocalisedString /** * Group of this prototype. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypeBase.html#group Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypeBase.html#group Online documentation} */ readonly group: LuaItemGroup /** * Subgroup of this prototype. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypeBase.html#subgroup Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypeBase.html#subgroup Online documentation} */ readonly subgroup: LuaItemSubGroup readonly hidden: boolean @@ -29227,13 +29243,13 @@ declare module "factorio:runtime" { readonly parameter: boolean /** * Extra description items in the tooltip and Factoriopedia. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypeBase.html#custom_tooltip_fields Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypeBase.html#custom_tooltip_fields Online documentation} */ readonly custom_tooltip_fields?: CustomTooltipField[] } /** * Provides read-only access to prototypes. It is accessible through the global object named `prototypes`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html Online documentation} * @noSelf */ export interface LuaPrototypes { @@ -29242,7 +29258,7 @@ declare module "factorio:runtime" { * @example * -- Get every entity prototype that can craft recipes involving fluids in the way some assembling machines can * local prototypes = prototypes.get_entity_filtered{{filter="crafting-category", crafting_category="crafting-with-fluid"}} - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#get_entity_filtered Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#get_entity_filtered Online documentation} */ get_entity_filtered(filters: readonly EntityPrototypeFilterWrite[]): LuaCustomTable /** @@ -29250,7 +29266,7 @@ declare module "factorio:runtime" { * @example * -- Get every item prototype that has a fuel top speed multiplier larger than 1. * local prototypes = prototypes.get_item_filtered{{filter = "fuel-top-speed-multiplier", comparison = ">", value = 1}} - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#get_item_filtered Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#get_item_filtered Online documentation} */ get_item_filtered(filters: readonly ItemPrototypeFilterWrite[]): LuaCustomTable /** @@ -29258,7 +29274,7 @@ declare module "factorio:runtime" { * @example * -- Get every equipment prototype that functions as a battery. * local prototypes = prototypes.get_equipment_filtered{{filter="type", type="battery-equipment"}} - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#get_equipment_filtered Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#get_equipment_filtered Online documentation} */ get_equipment_filtered(filters: readonly EquipmentPrototypeFilter[]): LuaCustomTable /** @@ -29266,7 +29282,7 @@ declare module "factorio:runtime" { * @example * -- Get every mod setting prototype that belongs to the specified mod. * local prototypes = prototypes.get_mod_setting_filtered{{filter="mod", mod="space-exploration"}} - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#get_mod_setting_filtered Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#get_mod_setting_filtered Online documentation} */ get_mod_setting_filtered( filters: readonly ModSettingPrototypeFilter[], @@ -29276,7 +29292,7 @@ declare module "factorio:runtime" { * @example * -- Get every achievement prototype that is not allowed to be completed on the peaceful difficulty setting. * local prototypes = prototypes.get_achievement_filtered{{filter="allowed-without-fight", invert=true}} - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#get_achievement_filtered Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#get_achievement_filtered Online documentation} */ get_achievement_filtered( filters: readonly AchievementPrototypeFilter[], @@ -29286,7 +29302,7 @@ declare module "factorio:runtime" { * @example * -- Get every tile prototype that improves a player's walking speed by at least 50%. * local prototypes = prototypes.get_tile_filtered{{filter="walking-speed-modifier", comparison="≥", value=1.5}} - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#get_tile_filtered Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#get_tile_filtered Online documentation} */ get_tile_filtered(filters: readonly TilePrototypeFilterWrite[]): LuaCustomTable /** @@ -29294,7 +29310,7 @@ declare module "factorio:runtime" { * @example * -- Get every decorative prototype that is auto-placed. * local prototypes = prototypes.get_decorative_filtered{{filter="autoplace"}} - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#get_decorative_filtered Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#get_decorative_filtered Online documentation} */ get_decorative_filtered( filters: readonly DecorativePrototypeFilter[], @@ -29304,7 +29320,7 @@ declare module "factorio:runtime" { * @example * -- Get every fluid prototype that has a heat capacity of exactly `100`. * local prototypes = prototypes.get_fluid_filtered{{filter="heat-capacity", comparison="=", value=100}} - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#get_fluid_filtered Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#get_fluid_filtered Online documentation} */ get_fluid_filtered(filters: readonly FluidPrototypeFilterWrite[]): LuaCustomTable /** @@ -29312,7 +29328,7 @@ declare module "factorio:runtime" { * @example * -- Get every recipe prototype that takes less than half a second to craft (at crafting speed `1`). * local prototypes = prototypes.get_recipe_filtered{{filter="energy", comparison="<", value=0.5}} - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#get_recipe_filtered Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#get_recipe_filtered Online documentation} */ get_recipe_filtered(filters: readonly RecipePrototypeFilterWrite[]): LuaCustomTable /** @@ -29320,178 +29336,178 @@ declare module "factorio:runtime" { * @example * -- Get every technology prototype that can be researched at the start of the game. * local prototypes = prototypes.get_technology_filtered{{filter="has-prerequisites", invert=true}} - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#get_technology_filtered Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#get_technology_filtered Online documentation} */ get_technology_filtered( filters: readonly TechnologyPrototypeFilterWrite[], ): LuaCustomTable /** * Gets the prototype history for the given type and name. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#get_history Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#get_history Online documentation} */ get_history(type: PrototypeType, name: string): PrototypeHistory /** * A dictionary containing every LuaFontPrototype indexed by `name`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#font Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#font Online documentation} */ readonly font: LuaCustomTable /** * A dictionary containing every MapGenPreset indexed by `name`. * * A MapGenPreset is an exact copy of the prototype table provided from the data stage. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#map_gen_preset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#map_gen_preset Online documentation} */ readonly map_gen_preset: LuaCustomTable /** * A map of styles that {@link LuaGuiElement} can use. * * Maps from the style's name to its type, as seen on {@link import("factorio:prototype").StyleSpecification StyleSpecification}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#style Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#style Online documentation} */ readonly style: LuaCustomTable /** * All game-defined utility constants. Note that his is implemented as a {@link LuaCustomTable}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#utility_constants Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#utility_constants Online documentation} */ readonly utility_constants: UtilityConstants /** * A dictionary containing every LuaEntityPrototype indexed by `name`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#entity Online documentation} */ readonly entity: LuaCustomTable /** * A dictionary containing every LuaItemPrototype indexed by `name`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#item Online documentation} */ readonly item: LuaCustomTable /** * A dictionary containing every LuaFluidPrototype indexed by `name`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#fluid Online documentation} */ readonly fluid: LuaCustomTable /** * A dictionary containing every LuaTilePrototype indexed by `name`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#tile Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#tile Online documentation} */ readonly tile: LuaCustomTable /** * A dictionary containing every LuaEquipmentPrototype indexed by `name`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#equipment Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#equipment Online documentation} */ readonly equipment: LuaCustomTable /** * A dictionary containing every LuaDamagePrototype indexed by `name`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#damage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#damage Online documentation} */ readonly damage: LuaCustomTable /** * A dictionary containing every LuaVirtualSignalPrototype indexed by `name`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#virtual_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#virtual_signal Online documentation} */ readonly virtual_signal: LuaCustomTable /** * A dictionary containing every LuaEquipmentGridPrototype indexed by `name`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#equipment_grid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#equipment_grid Online documentation} */ readonly equipment_grid: LuaCustomTable /** * A dictionary containing every LuaRecipePrototype indexed by `name`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#recipe Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#recipe Online documentation} */ readonly recipe: LuaCustomTable /** * A dictionary containing every {@link LuaTechnologyPrototype} indexed by `name`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#technology Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#technology Online documentation} */ readonly technology: LuaCustomTable /** * A dictionary containing every LuaDecorativePrototype indexed by `name`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#decorative Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#decorative Online documentation} */ readonly decorative: LuaCustomTable /** * A dictionary containing every LuaParticlePrototype indexed by `name`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#particle Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#particle Online documentation} */ readonly particle: LuaCustomTable /** * A dictionary containing every LuaAutoplaceControlPrototype indexed by `name`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#autoplace_control Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#autoplace_control Online documentation} */ readonly autoplace_control: LuaCustomTable /** * A dictionary containing every LuaModSettingPrototype indexed by `name`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#mod_setting Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#mod_setting Online documentation} */ readonly mod_setting: LuaCustomTable /** * A dictionary containing every LuaCustomInputPrototype indexed by `name`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#custom_input Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#custom_input Online documentation} */ readonly custom_input: LuaCustomTable /** * A dictionary containing every LuaAmmoCategoryPrototype indexed by `name`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#ammo_category Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#ammo_category Online documentation} */ readonly ammo_category: LuaCustomTable /** * A dictionary containing every LuaNamedNoiseExpression indexed by `name`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#named_noise_expression Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#named_noise_expression Online documentation} */ readonly named_noise_expression: LuaCustomTable /** * A dictionary containing every LuaNamedNoiseFunction indexed by `name`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#named_noise_function Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#named_noise_function Online documentation} */ readonly named_noise_function: LuaCustomTable /** * A dictionary containing every ItemSubgroup indexed by `name`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#item_subgroup Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#item_subgroup Online documentation} */ readonly item_subgroup: LuaCustomTable /** * A dictionary containing every ItemGroup indexed by `name`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#item_group Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#item_group Online documentation} */ readonly item_group: LuaCustomTable /** * A dictionary containing every LuaFuelCategoryPrototype indexed by `name`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#fuel_category Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#fuel_category Online documentation} */ readonly fuel_category: LuaCustomTable /** * A dictionary containing every LuaResourceCategoryPrototype indexed by `name`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#resource_category Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#resource_category Online documentation} */ readonly resource_category: LuaCustomTable /** * A dictionary containing every LuaAchievementPrototype indexed by `name`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#achievement Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#achievement Online documentation} */ readonly achievement: LuaCustomTable /** * A dictionary containing every LuaModuleCategoryPrototype indexed by `name`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#module_category Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#module_category Online documentation} */ readonly module_category: LuaCustomTable /** * A dictionary containing every LuaEquipmentCategoryPrototype indexed by `name`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#equipment_category Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#equipment_category Online documentation} */ readonly equipment_category: LuaCustomTable /** * A dictionary containing every LuaTrivialSmokePrototype indexed by `name`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#trivial_smoke Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#trivial_smoke Online documentation} */ readonly trivial_smoke: LuaCustomTable /** * A dictionary containing every LuaShortcutPrototype indexed by `name`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#shortcut Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#shortcut Online documentation} */ readonly shortcut: LuaCustomTable /** * A dictionary containing every LuaRecipeCategoryPrototype indexed by `name`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#recipe_category Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#recipe_category Online documentation} */ readonly recipe_category: LuaCustomTable readonly quality: LuaCustomTable @@ -29500,52 +29516,52 @@ declare module "factorio:runtime" { readonly space_connection: LuaCustomTable /** * A dictionary containing every defined custom event, indexed by `name`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#custom_event Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#custom_event Online documentation} */ readonly custom_event: LuaCustomTable /** * A dictionary containing every LuaActiveTriggerPrototype indexed by `name`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#active_trigger Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#active_trigger Online documentation} */ readonly active_trigger: LuaCustomTable /** * A dictionary containing every LuaAsteroidChunkPrototype indexed by `name`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#asteroid_chunk Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#asteroid_chunk Online documentation} */ readonly asteroid_chunk: LuaCustomTable /** * A dictionary containing every LuaCollisionLayerPrototype indexed by `name`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#collision_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#collision_layer Online documentation} */ readonly collision_layer: LuaCustomTable /** * A dictionary containing every LuaAirbornePollutantPrototype indexed by `name`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#airborne_pollutant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#airborne_pollutant Online documentation} */ readonly airborne_pollutant: LuaCustomTable /** * A dictionary containing every LuaBurnerUsagePrototype indexed by `name`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#burner_usage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#burner_usage Online documentation} */ readonly burner_usage: LuaCustomTable /** * A dictionary containing every LuaModData indexed by `name`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#mod_data Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#mod_data Online documentation} */ readonly mod_data: LuaCustomTable /** * A dictionary containing every LuaSurfacePrototype indexed by `name`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#surface Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#surface Online documentation} */ readonly surface: LuaCustomTable /** * A dictionary containing every LuaProcessionPrototype indexed by `name`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#procession Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#procession Online documentation} */ readonly procession: LuaCustomTable /** * A dictionary containing every LuaProcessionLayerInheritanceGroupPrototype indexed by `name`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPrototypes.html#procession_layer_inheritance_group Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPrototypes.html#procession_layer_inheritance_group Online documentation} */ readonly procession_layer_inheritance_group: LuaCustomTable readonly max_force_distraction_distance: double @@ -29565,12 +29581,12 @@ declare module "factorio:runtime" { } /** * Control behavior for proxy container. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaProxyContainerControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaProxyContainerControlBehavior.html Online documentation} */ export interface LuaProxyContainerControlBehavior extends LuaControlBehavior { /** * `true` if this proxy container is sending inventory contents to a circuit network - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaProxyContainerControlBehavior.html#read_contents Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaProxyContainerControlBehavior.html#read_contents Online documentation} */ read_contents: boolean read_empty_slots: boolean @@ -29587,12 +29603,12 @@ declare module "factorio:runtime" { } /** * Control behavior for pumps. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPumpControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPumpControlBehavior.html Online documentation} */ export interface LuaPumpControlBehavior extends LuaGenericOnOffControlBehavior { /** * `true` if the pump should set its fluid filter from the circuit network signals. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaPumpControlBehavior.html#set_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaPumpControlBehavior.html#set_filter Online documentation} */ set_filter: boolean /** @@ -29606,7 +29622,7 @@ declare module "factorio:runtime" { } /** * Prototype of a quality. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaQualityPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaQualityPrototype.html Online documentation} * @noSelf */ export interface LuaQualityPrototype extends LuaPrototypeBase { @@ -29615,7 +29631,7 @@ declare module "factorio:runtime" { * @param quality_effect Strength of quality effect. Larger value makes it easier to roll better qualities. * @param quality_seed Random value in [0, 1) used to select result quality. * @param force Force which is doing the quality roll. Used to select unlocked qualities. If not provided, all qualities are considered unlocked. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaQualityPrototype.html#roll_quality Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaQualityPrototype.html#roll_quality Online documentation} */ roll_quality(quality_effect: EffectValue, quality_seed: double, force?: ForceID): LuaQualityPrototype /** @@ -29623,43 +29639,43 @@ declare module "factorio:runtime" { * @param quality_effect Strength of quality effect. Larger value makes it easier to roll better qualities. * @param force Force to select unlocked qualities. If not provided, all qualities are considered unlocked. * @returns Roll chances per quality. Only positive values are listed. All values should sum to 1. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaQualityPrototype.html#get_roll_chances Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaQualityPrototype.html#get_roll_chances Online documentation} */ get_roll_chances(quality_effect: EffectValue, force?: ForceID): Record /** * The color of the prototype - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaQualityPrototype.html#color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaQualityPrototype.html#color Online documentation} */ readonly color: Color /** * Level basically specifies the stat-increasing value of this quality level. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaQualityPrototype.html#level Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaQualityPrototype.html#level Online documentation} */ readonly level: uint32 /** * The next higher level of the quality - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaQualityPrototype.html#next Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaQualityPrototype.html#next Online documentation} */ readonly next?: LuaQualityPrototype /** * The probability multiplier of getting the next level of quality. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaQualityPrototype.html#next_probability Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaQualityPrototype.html#next_probability Online documentation} */ readonly next_probability: double /** * Probability of additional quality increase happening after quality was increased to reach this quality in the same crafting/mining operation. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaQualityPrototype.html#chain_probability Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaQualityPrototype.html#chain_probability Online documentation} */ readonly chain_probability: double readonly previous?: LuaQualityPrototype /** * The probability multiplier of getting the previous level of quality. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaQualityPrototype.html#previous_probability Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaQualityPrototype.html#previous_probability Online documentation} */ readonly previous_probability: double /** * Probability of additional quality decrease happening after quality was decreased to reach this quality in the same crafting/mining operation. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaQualityPrototype.html#previous_chain_probability Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaQualityPrototype.html#previous_chain_probability Online documentation} */ readonly previous_chain_probability: double readonly draw_sprite_by_default: boolean @@ -29711,13 +29727,13 @@ declare module "factorio:runtime" { } /** * An interface to send messages to the calling RCON interface through the global object named `rcon`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRCON.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRCON.html Online documentation} * @noSelf */ export interface LuaRCON { /** * Print text to the calling RCON interface if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRCON.html#print Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRCON.html#print Online documentation} */ print(message: LocalisedString): void /** @@ -29727,19 +29743,19 @@ declare module "factorio:runtime" { } /** * Control behavior for radars - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRadarControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRadarControlBehavior.html Online documentation} */ export interface LuaRadarControlBehavior extends LuaControlBehavior { /** * Whether this radar is in universe (channel) or surface mode. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRadarControlBehavior.html#mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRadarControlBehavior.html#mode Online documentation} */ mode: defines.control_behavior.radar.mode /** * The channel that is used in universe mode. Radars on the same force with the same channel in universe mode are connected to each other with hidden radar wires. * * If the channel is empty or a {@link LuaPrototypeBase#parameter parameter}, the radar will be disconnected. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRadarControlBehavior.html#universe_channel Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRadarControlBehavior.html#universe_channel Online documentation} */ get universe_channel(): SignalID | nil set universe_channel(value: SignalIDWrite | nil) @@ -29754,76 +29770,76 @@ declare module "factorio:runtime" { } /** * Utility object that binds to a rail entity and rail_direction to allow easier traversal over rails - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRailEnd.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRailEnd.html Online documentation} * @noSelf */ export interface LuaRailEnd { /** * Creates a copy of this LuaRailEnd object. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRailEnd.html#make_copy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRailEnd.html#make_copy Online documentation} */ make_copy(): LuaRailEnd /** * Moves to opposite end on the rail this object points to - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRailEnd.html#flip_direction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRailEnd.html#flip_direction Online documentation} */ flip_direction(): void /** * Moves forward by 1 rail to the specified connection direction * @returns If the move was successful. False if there is no rail connected in given connection_direction - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRailEnd.html#move_forward Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRailEnd.html#move_forward Online documentation} */ move_forward(connection_direction: defines.rail_connection_direction): boolean /** * Moves forward by 1 rail in the natural direction. Natural direction is a move in the direction taken by the train over rail connection related to this rail end. If there are no trains, the natural direction is straight if straight connected rail exists, otherwise it is right if right connected rail exists, otherwise it is left if left connected rail exists. Natural direction is not defined if there are no rails connected to this end and this method will fail. * @returns If the move was successful. False only when there are no rails connected on this end - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRailEnd.html#move_natural Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRailEnd.html#move_natural Online documentation} */ move_natural(): boolean /** * Moves forward until a rail segment boundary is reached. If this rail end is at the segment boundary, it will not move at all. When a rail segment is cyclical, it will reach the rail segment boundary at some arbitrary position unless the segment boundary is well defined by presence of rail signals, train stop or other rails connecting to the rails loop. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRailEnd.html#move_to_segment_end Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRailEnd.html#move_to_segment_end Online documentation} */ move_to_segment_end(): void /** * Returns all possible rail extensions from this position as defined by the planner item. * @param planner_item Rail planner that defines possible rail extensions - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRailEnd.html#get_rail_extensions Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRailEnd.html#get_rail_extensions Online documentation} */ get_rail_extensions(planner_item: ItemID): RailExtensionData[] /** * Rail to which this RailEnd is binding to. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRailEnd.html#rail Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRailEnd.html#rail Online documentation} */ readonly rail: LuaEntity /** * Which end of the rail this RailEnd is binding to. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRailEnd.html#direction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRailEnd.html#direction Online documentation} */ readonly direction: defines.rail_direction /** * Location of the rail end - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRailEnd.html#location Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRailEnd.html#location Online documentation} */ readonly location: RailLocation /** * Location of an outgoing signal, which goes to the right relative to the rail end movement. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRailEnd.html#out_signal_location Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRailEnd.html#out_signal_location Online documentation} */ readonly out_signal_location: RailLocation /** * Location of the alternative outgoing signal, which goes to the right relative to the rail end movement. Not all places have alternative outgoing signal spot, so when it is not available, a nil will be given instead - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRailEnd.html#alternative_out_signal_location Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRailEnd.html#alternative_out_signal_location Online documentation} */ readonly alternative_out_signal_location?: RailLocation /** * Location of an incoming signal, which goes to the left relative to the rail end movement. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRailEnd.html#in_signal_location Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRailEnd.html#in_signal_location Online documentation} */ readonly in_signal_location: RailLocation /** * Location of the alternative incoming signal, which goes to the right relative to the rail end movement. Not all places have alternative incoming signal spot, so when it is not available, a nil will be given instead - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRailEnd.html#alternative_in_signal_location Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRailEnd.html#alternative_in_signal_location Online documentation} */ readonly alternative_in_signal_location?: RailLocation /** @@ -29837,37 +29853,37 @@ declare module "factorio:runtime" { } /** * A rail path. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRailPath.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRailPath.html Online documentation} */ export interface LuaRailPath { /** * The total number of rails in this path. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRailPath.html#size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRailPath.html#size Online documentation} */ readonly size: uint32 /** * The current rail index. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRailPath.html#current Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRailPath.html#current Online documentation} */ readonly current: uint32 /** * The total path distance. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRailPath.html#total_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRailPath.html#total_distance Online documentation} */ readonly total_distance: double /** * The total distance traveled. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRailPath.html#travelled_distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRailPath.html#travelled_distance Online documentation} */ readonly travelled_distance: double /** * Array of the rails that this path travels over. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRailPath.html#rails Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRailPath.html#rails Online documentation} */ readonly rails: LuaCustomTable /** * If the path goes from the front of the train - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRailPath.html#is_front Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRailPath.html#is_front Online documentation} */ readonly is_front: boolean /** @@ -29881,7 +29897,7 @@ declare module "factorio:runtime" { } /** * Control behavior for rail signals and rail chain signals. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRailSignalBaseControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRailSignalBaseControlBehavior.html Online documentation} */ export interface LuaRailSignalBaseControlBehavior extends LuaControlBehavior { get red_signal(): SignalID | nil @@ -29894,17 +29910,17 @@ declare module "factorio:runtime" { set blue_signal(value: SignalIDWrite | nil) /** * If this will close the rail signal based off the circuit condition. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRailSignalBaseControlBehavior.html#close_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRailSignalBaseControlBehavior.html#close_signal Online documentation} */ close_signal: boolean /** * If this will read the rail signal state. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRailSignalBaseControlBehavior.html#read_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRailSignalBaseControlBehavior.html#read_signal Online documentation} */ read_signal: boolean /** * The circuit condition when controlling the signal through the circuit network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRailSignalBaseControlBehavior.html#circuit_condition Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRailSignalBaseControlBehavior.html#circuit_condition Online documentation} */ get circuit_condition(): CircuitConditionDefinition set circuit_condition(value: CircuitConditionDefinitionWrite) @@ -29920,12 +29936,12 @@ declare module "factorio:runtime" { /** * A deterministic random generator independent from the core games random generator that can be seeded and re-seeded at will. This random generator can be saved and loaded and will maintain its state. * - * Note this is entirely different from calling {@linkplain https://lua-api.factorio.com/2.1.22/auxiliary/libraries.html math.random}() and you should be sure you actually want to use this over calling `math.random()`. If you aren't sure if you need to use this over calling `math.random()` then you probably don't need to use this. + * Note this is entirely different from calling {@linkplain https://lua-api.factorio.com/2.1.24/auxiliary/libraries.html math.random}() and you should be sure you actually want to use this over calling `math.random()`. If you aren't sure if you need to use this over calling `math.random()` then you probably don't need to use this. * @example * -- Create a generator and use it to print a random number. * storage.generator = game.create_random_generator() * game.player.print(storage.generator()) - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRandomGenerator.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRandomGenerator.html Online documentation} * @noSelf */ export interface LuaRandomGenerator { @@ -29933,14 +29949,14 @@ declare module "factorio:runtime" { * Re-seeds the random generator with the given value. * * Seeds that are close together will produce similar results. Seeds from 0 to 341 will produce the same results. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRandomGenerator.html#re_seed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRandomGenerator.html#re_seed Online documentation} */ re_seed(seed: uint32): void /** * Generates a random number. If no parameters are given a number in the `[0, 1)` range is returned. If a single parameter is given a floored number in the `[1, N]` range is returned. If 2 parameters are given a floored number in the `[N1, N2]` range is returned. * @param lower Inclusive lower bound on the result * @param upper Inclusive upper bound on the result - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRandomGenerator.html#call_operator Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRandomGenerator.html#call_operator Online documentation} */ (lower?: int32, upper?: int32): double /** @@ -29954,17 +29970,17 @@ declare module "factorio:runtime" { } /** * Control behavior for Reactor - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaReactorControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaReactorControlBehavior.html Online documentation} */ export interface LuaReactorControlBehavior extends LuaControlBehavior { /** * If this will read fuel inventory and currently burning fuel - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaReactorControlBehavior.html#read_fuel Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaReactorControlBehavior.html#read_fuel Online documentation} */ read_fuel: boolean /** * If this will read temperature of the reactor - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaReactorControlBehavior.html#read_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaReactorControlBehavior.html#read_temperature Online documentation} */ read_temperature: boolean get temperature_signal(): SignalID | nil @@ -29980,45 +29996,45 @@ declare module "factorio:runtime" { } /** * A crafting recipe. Recipes belong to forces (see {@link LuaForce}) because some recipes are unlocked by research, and researches are per-force. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipe.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipe.html Online documentation} * @noSelf */ export interface LuaRecipe { /** * Reload the recipe from the prototype. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipe.html#reload Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipe.html#reload Online documentation} */ reload(): void /** * Checks if recipe has given category * @returns `true` if recipe has this category. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipe.html#has_category Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipe.html#has_category Online documentation} */ has_category(category: RecipeCategoryID): boolean /** * Name of the recipe. This can be different than the name of the result items as there could be more recipes to make the same item. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipe.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipe.html#name Online documentation} */ readonly name: string /** * Localised name of the recipe. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipe.html#localised_name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipe.html#localised_name Online documentation} */ readonly localised_name: LocalisedString readonly localised_description: LocalisedString /** * The prototype for this recipe. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipe.html#prototype Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipe.html#prototype Online documentation} */ readonly prototype: LuaRecipePrototype /** * Can the recipe be used? - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipe.html#enabled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipe.html#enabled Online documentation} */ enabled: boolean /** * Categories of the recipe. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipe.html#categories Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipe.html#categories Online documentation} */ readonly categories: string[] /** @@ -30026,7 +30042,7 @@ declare module "factorio:runtime" { * @example * -- The ingredients of "advanced-oil-processing" would look like this: * {{type="fluid", name="crude-oil", amount=100}, {type="fluid", name="water", amount=50}} - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipe.html#ingredients Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipe.html#ingredients Online documentation} */ readonly ingredients: Ingredient[] /** @@ -30034,47 +30050,47 @@ declare module "factorio:runtime" { * @example * -- The products of "advanced-oil-processing" would look like this: * {{type="fluid", name="heavy-oil", amount=25}, {type="fluid", name="light-oil", amount=45}, {type="fluid", name="petroleum-gas", amount=55}} - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipe.html#products Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipe.html#products Online documentation} */ readonly products: Product[] /** * Is the recipe hidden? Hidden recipes don't show up in the crafting menu. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipe.html#hidden Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipe.html#hidden Online documentation} */ readonly hidden: boolean /** * Is the recipe hidden from flow statistics? - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipe.html#hidden_from_flow_stats Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipe.html#hidden_from_flow_stats Online documentation} */ hidden_from_flow_stats: boolean /** * Energy required to execute this recipe. This directly affects the crafting time: Recipe's energy is exactly its crafting time in seconds, when crafted in an assembling machine with crafting speed exactly equal to one. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipe.html#energy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipe.html#energy Online documentation} */ readonly energy: double /** * The string used to alphabetically sort these prototypes. It is a simple string that has no additional semantic meaning. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipe.html#order Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipe.html#order Online documentation} */ readonly order: string /** * Group of this recipe. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipe.html#group Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipe.html#group Online documentation} */ readonly group: LuaItemGroup /** * Subgroup of this recipe. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipe.html#subgroup Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipe.html#subgroup Online documentation} */ readonly subgroup: LuaItemSubGroup /** * The force that owns this recipe. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipe.html#force Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipe.html#force Online documentation} */ readonly force: LuaForce /** * The productivity bonus for this recipe. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipe.html#productivity_bonus Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipe.html#productivity_bonus Online documentation} */ productivity_bonus: EffectValue /** @@ -30088,7 +30104,7 @@ declare module "factorio:runtime" { } /** * Prototype of a recipe category. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipeCategoryPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipeCategoryPrototype.html Online documentation} */ export interface LuaRecipeCategoryPrototype extends LuaPrototypeBase { /** @@ -30102,41 +30118,41 @@ declare module "factorio:runtime" { } /** * A crafting recipe prototype. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipePrototype.html Online documentation} * @noSelf */ export interface LuaRecipePrototype extends LuaPrototypeBase { /** * Checks if recipe has given category * @returns `true` if recipe has this category. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipePrototype.html#has_category Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipePrototype.html#has_category Online documentation} */ has_category(category: RecipeCategoryID): boolean /** * Ingredient materials required to craft recipe when configured to a specific quality. * @param recipe_quality Defaults to `normal`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipePrototype.html#get_ingredient_quality Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipePrototype.html#get_ingredient_quality Online documentation} */ get_ingredient_quality(ingredient_index: uint32, recipe_quality?: QualityID): LuaQualityPrototype /** * Quality of the product given when recipe is configured to a specific quality. * @param recipe_quality Defaults to `normal`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipePrototype.html#get_product_quality Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipePrototype.html#get_product_quality Online documentation} */ get_product_quality(product_index: uint32, recipe_quality?: QualityID): LuaQualityPrototype /** * Average amount of the product given. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipePrototype.html#get_product_amount Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipePrototype.html#get_product_amount Online documentation} */ get_product_amount(product_index: uint32, productivity?: double): double /** * If this recipe prototype is enabled by default (enabled at the beginning of a game). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipePrototype.html#enabled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipePrototype.html#enabled Online documentation} */ readonly enabled: boolean /** * Categories of the recipe. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipePrototype.html#categories Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipePrototype.html#categories Online documentation} */ readonly categories: string[] /** @@ -30144,7 +30160,7 @@ declare module "factorio:runtime" { * @example * -- The ingredients of "advanced-oil-processing" would look like this * {{type="fluid", name="crude-oil", amount=100}, {type="fluid", name="water", amount=50}} - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipePrototype.html#ingredients Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipePrototype.html#ingredients Online documentation} */ readonly ingredients: Ingredient[] /** @@ -30152,82 +30168,82 @@ declare module "factorio:runtime" { * @example * -- The products of "advanced-oil-processing" would look like this: * {{type="fluid", name="heavy-oil", amount=25}, {type="fluid", name="light-oil", amount=45}, {type="fluid", name="petroleum-gas", amount=55}} - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipePrototype.html#products Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipePrototype.html#products Online documentation} */ readonly products: Product[] /** * The main product of this recipe, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipePrototype.html#main_product Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipePrototype.html#main_product Online documentation} */ readonly main_product?: Product /** * Is the recipe hidden from flow statistics (item/fluid production statistics)? - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipePrototype.html#hidden_from_flow_stats Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipePrototype.html#hidden_from_flow_stats Online documentation} */ readonly hidden_from_flow_stats: boolean /** * Is the recipe hidden from player crafting? The recipe will still show up for selection in machines. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipePrototype.html#hidden_from_player_crafting Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipePrototype.html#hidden_from_player_crafting Online documentation} */ readonly hidden_from_player_crafting: boolean /** * Should this recipe always show "Made in" in the tooltip? - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipePrototype.html#always_show_made_in Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipePrototype.html#always_show_made_in Online documentation} */ readonly always_show_made_in: boolean /** * Energy required to execute this recipe. This directly affects the crafting time: Recipe's energy is exactly its crafting time in seconds, when crafted in an assembling machine with crafting speed exactly equal to one. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipePrototype.html#energy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipePrototype.html#energy Online documentation} */ readonly energy: double /** * The multiplier used when this recipe is copied from an assembling machine to a requester chest. For each item in the recipe the item count * this value is set in the requester chest. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipePrototype.html#request_paste_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipePrototype.html#request_paste_multiplier Online documentation} */ readonly request_paste_multiplier: uint32 /** * Used to determine how many extra items are put into an assembling machine before it's considered "full enough". - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipePrototype.html#overload_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipePrototype.html#overload_multiplier Online documentation} */ readonly overload_multiplier: uint32 /** * The maximal productivity bonus that can be achieved with this recipe. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipePrototype.html#maximum_productivity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipePrototype.html#maximum_productivity Online documentation} */ readonly maximum_productivity: double /** * If the recipe is allowed to have the extra inserter overload bonus applied (4 * stack inserter stack size). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipePrototype.html#allow_inserter_overload Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipePrototype.html#allow_inserter_overload Online documentation} */ readonly allow_inserter_overload: boolean /** * If this recipe is enabled for the purpose of intermediate hand-crafting. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipePrototype.html#allow_as_intermediate Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipePrototype.html#allow_as_intermediate Online documentation} */ readonly allow_as_intermediate: boolean /** * If this recipe is allowed to use intermediate recipes when hand-crafting. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipePrototype.html#allow_intermediates Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipePrototype.html#allow_intermediates Online documentation} */ readonly allow_intermediates: boolean /** * The emissions multiplier for this recipe. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipePrototype.html#emissions_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipePrototype.html#emissions_multiplier Online documentation} */ readonly emissions_multiplier: double /** * Whether this recipe is allowed to be broken down for the recipe tooltip "Total raw" calculations. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipePrototype.html#allow_decomposition Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipePrototype.html#allow_decomposition Online documentation} */ readonly allow_decomposition: boolean /** * Whether this recipe unlocks the result item(s) so they're shown in filter-select GUIs. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipePrototype.html#unlock_results Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipePrototype.html#unlock_results Online documentation} */ readonly unlock_results: boolean /** * Whether this recipe is marked to be hidden from the signal GUI. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipePrototype.html#hide_from_signal_gui Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipePrototype.html#hide_from_signal_gui Online documentation} */ readonly hide_from_signal_gui: boolean readonly hide_from_flow_stats: boolean @@ -30235,45 +30251,45 @@ declare module "factorio:runtime" { readonly hide_from_bonus_gui: boolean /** * The 'trash' items that this recipe might produce as a result of spoiling. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipePrototype.html#trash Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipePrototype.html#trash Online documentation} */ readonly trash?: LuaItemPrototype[] readonly preserve_products_in_machine_output: boolean /** * The allowed module effects for this recipe, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipePrototype.html#allowed_effects Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipePrototype.html#allowed_effects Online documentation} */ readonly allowed_effects?: Record /** * The allowed module categories for this recipe, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipePrototype.html#allowed_module_categories Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipePrototype.html#allowed_module_categories Online documentation} */ readonly allowed_module_categories?: Record readonly effect_limitation_messages?: LocalisedString[] /** * The surface conditions required to craft this recipe. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipePrototype.html#surface_conditions Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipePrototype.html#surface_conditions Online documentation} */ readonly surface_conditions?: SurfaceCondition[] /** * Additional technologies listed under "Unlocked by" on a recipe's Factoriopedia page. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipePrototype.html#alternative_unlock_methods Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipePrototype.html#alternative_unlock_methods Online documentation} */ readonly alternative_unlock_methods?: LuaTechnologyPrototype[] readonly crafting_machine_tints: Color[] /** * An alternative prototype that will be used to display info about this prototype in Factoriopedia. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipePrototype.html#factoriopedia_alternative Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipePrototype.html#factoriopedia_alternative Online documentation} */ readonly factoriopedia_alternative?: LuaRecipePrototype /** * True if a player can set quality of the recipe to craft. False when only normal quality recipes can be crafted. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipePrototype.html#can_set_quality Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipePrototype.html#can_set_quality Online documentation} */ readonly can_set_quality: boolean /** * Event raised when this recipe is crafted. Only available if {@link import("factorio:prototype").RecipePrototype#raise_on_crafted RecipePrototype::raise_on_crafted} was set to true. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecipePrototype.html#on_crafted_event Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecipePrototype.html#on_crafted_event Online documentation} */ readonly on_crafted_event?: LuaEventType /** @@ -30287,27 +30303,27 @@ declare module "factorio:runtime" { } /** * A reference to a record in the blueprint library. Records in the "my blueprints" shelf are read-only, but records in the "game blueprints" shelf are read/write. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html Online documentation} * @noSelf */ export interface LuaRecord { /** * Exports this record to a string. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#export_record Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#export_record Online documentation} */ export_record(): string /** * Clears this blueprint. * * _Can only be used if this is BlueprintRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#clear_blueprint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#clear_blueprint Online documentation} */ clear_blueprint(): void /** * Is this blueprint setup? I.e. is it a non-empty blueprint? * * _Can only be used if this is BlueprintRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#is_blueprint_setup Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#is_blueprint_setup Online documentation} */ is_blueprint_setup(): boolean /** @@ -30317,7 +30333,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is BlueprintRecord_ * @returns Array of created ghosts - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#build_blueprint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#build_blueprint Online documentation} */ build_blueprint(params: { /** @@ -30358,7 +30374,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is BlueprintRecord_ * @returns The blueprint entity index to source entity mapping. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#create_blueprint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#create_blueprint Online documentation} */ create_blueprint(params: { /** @@ -30402,7 +30418,7 @@ declare module "factorio:runtime" { * Gets the tags for the given blueprint entity index in this blueprint. * * _Can only be used if this is BlueprintRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#get_blueprint_entity_tags Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#get_blueprint_entity_tags Online documentation} */ get_blueprint_entity_tags(index: uint32): Tags | nil /** @@ -30410,7 +30426,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is BlueprintRecord_ * @param index The entity index - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#set_blueprint_entity_tags Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#set_blueprint_entity_tags Online documentation} */ set_blueprint_entity_tags(index: uint32, tags: Tags): void /** @@ -30419,7 +30435,7 @@ declare module "factorio:runtime" { * _Can only be used if this is BlueprintRecord_ * @param index The entity index. * @param tag The tag to get. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#get_blueprint_entity_tag Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#get_blueprint_entity_tag Online documentation} */ get_blueprint_entity_tag(index: uint32, tag: string): AnyBasic | nil /** @@ -30429,14 +30445,14 @@ declare module "factorio:runtime" { * @param index The entity index. * @param tag The tag to set. * @param value The tag value to set or `nil` to clear the tag. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#set_blueprint_entity_tag Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#set_blueprint_entity_tag Online documentation} */ set_blueprint_entity_tag(index: uint32, tag: string, value: AnyBasic | nil): void /** * The entities in this blueprint. * * _Can only be used if this is BlueprintRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#get_blueprint_entities Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#get_blueprint_entities Online documentation} */ get_blueprint_entities(): BlueprintEntity[] | nil /** @@ -30445,14 +30461,14 @@ declare module "factorio:runtime" { * _Can only be used if this is BlueprintRecord_ * @param entities The new blueprint entities. * @param fix_positions If false, positions will be left unchanged unless invalid for the current snapping. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#set_blueprint_entities Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#set_blueprint_entities Online documentation} */ set_blueprint_entities(entities: readonly BlueprintEntityWrite[], fix_positions?: boolean): void /** * A list of the tiles in this blueprint. * * _Can only be used if this is BlueprintRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#get_blueprint_tiles Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#get_blueprint_tiles Online documentation} */ get_blueprint_tiles(): Tile[] | nil /** @@ -30460,21 +30476,21 @@ declare module "factorio:runtime" { * * _Can only be used if this is BlueprintRecord_ * @param tiles Tiles to be a part of the blueprint. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#set_blueprint_tiles Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#set_blueprint_tiles Online documentation} */ set_blueprint_tiles(tiles: readonly TileWrite[]): void /** * Gets the number of entities in this blueprint blueprint. * * _Can only be used if this is BlueprintRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#get_blueprint_entity_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#get_blueprint_entity_count Online documentation} */ get_blueprint_entity_count(): uint32 /** * The active index of this BlueprintBookRecord. For records in "my blueprints", the result will be the same regardless of the player, but records in "game blueprints" may have different active indices per player. * * _Can only be used if this is BlueprintBookRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#get_active_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#get_active_index Online documentation} */ get_active_index(player: PlayerIdentification): uint32 /** @@ -30483,14 +30499,14 @@ declare module "factorio:runtime" { * Note: this will return a record even if the book is in a preview state. * * _Can only be used if this is BlueprintBookRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#get_selected_record Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#get_selected_record Online documentation} */ get_selected_record(player: PlayerIdentification): LuaRecord | nil /** * Gets the entity filter at the given index for this deconstruction planner. * * _Can only be used if this is DeconstructionRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#get_entity_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#get_entity_filter Online documentation} */ get_entity_filter(index: uint32): ItemFilter | nil /** @@ -30499,14 +30515,14 @@ declare module "factorio:runtime" { * _Can only be used if this is DeconstructionRecord_ * @param filter Writing `nil` removes the filter. * @returns Whether the new filter was successfully set (ie. was valid). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#set_entity_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#set_entity_filter Online documentation} */ set_entity_filter(index: uint32, filter: ItemFilterWrite | nil): boolean /** * Gets the tile filter at the given index for this deconstruction planner. * * _Can only be used if this is DeconstructionRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#get_tile_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#get_tile_filter Online documentation} */ get_tile_filter(index: uint32): string | nil /** @@ -30515,14 +30531,14 @@ declare module "factorio:runtime" { * _Can only be used if this is DeconstructionRecord_ * @param filter Setting to nil erases the filter. * @returns Whether the new filter was successfully set (ie. was valid). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#set_tile_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#set_tile_filter Online documentation} */ set_tile_filter(index: uint32, filter: string | LuaTilePrototype | LuaTile | nil): boolean /** * Deconstruct the given area with this deconstruction planner. * * _Can only be used if this is DeconstructionRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#deconstruct_area Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#deconstruct_area Online documentation} */ deconstruct_area(params: { /** @@ -30554,7 +30570,7 @@ declare module "factorio:runtime" { * Cancel deconstruct the given area with this deconstruction planner. * * _Can only be used if this is DeconstructionRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#cancel_deconstruct_area Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#cancel_deconstruct_area Online documentation} */ cancel_deconstruct_area(params: { /** @@ -30586,14 +30602,14 @@ declare module "factorio:runtime" { * Clears all settings/filters on this deconstruction planner, resetting it to default values. * * _Can only be used if this is DeconstructionRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#clear_deconstruction_data Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#clear_deconstruction_data Online documentation} */ clear_deconstruction_data(): void /** * Clears all settings/filters on this upgrade planner, resetting it to default values. * * _Can only be used if this is UpgradeRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#clear_upgrade_data Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#clear_upgrade_data Online documentation} */ clear_upgrade_data(): void /** @@ -30603,7 +30619,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is UpgradeRecord_ * @param index The index of the mapper to read. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#get_mapper Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#get_mapper Online documentation} */ get_mapper(index: uint32, type: "from" | "to"): UpgradeMapperSource | UpgradeMapperDestination | nil /** @@ -30614,7 +30630,7 @@ declare module "factorio:runtime" { * _Can only be used if this is UpgradeRecord_ * @param index The index of the mapper to set. * @param mapper The mapper to set. Set `nil` to clear the mapper. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#set_mapper Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#set_mapper Online documentation} */ set_mapper( index: uint32, @@ -30623,30 +30639,30 @@ declare module "factorio:runtime" { ): void /** * Is this record valid for writing? A record is invalid for write if it is a BlueprintRecord preview or if it is in the "My blueprints" shelf. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#valid_for_write Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#valid_for_write Online documentation} */ readonly valid_for_write: boolean /** * The type of this blueprint record. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#type Online documentation} */ readonly type: "blueprint" | "blueprint-book" | "deconstruction-planner" | "upgrade-planner" /** * The preview icons for this record. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#preview_icons Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#preview_icons Online documentation} */ get preview_icons(): BlueprintSignalIcon[] set preview_icons(value: readonly BlueprintSignalIconWrite[]) /** * Checks if this record is in a preview state. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#is_preview Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#is_preview Online documentation} */ readonly is_preview: boolean /** * The snapping grid size in this blueprint. `nil` if snapping is not enabled. * * _Can only be used if this is BlueprintRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#blueprint_snap_to_grid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#blueprint_snap_to_grid Online documentation} */ get blueprint_snap_to_grid(): TilePosition | nil set blueprint_snap_to_grid(value: TilePosition | TilePositionArray | nil) @@ -30654,7 +30670,7 @@ declare module "factorio:runtime" { * The offset from the absolute grid. `nil` if absolute snapping is not enabled. * * _Can only be used if this is BlueprintRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#blueprint_position_relative_to_grid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#blueprint_position_relative_to_grid Online documentation} */ get blueprint_position_relative_to_grid(): TilePosition | nil set blueprint_position_relative_to_grid(value: TilePosition | TilePositionArray | nil) @@ -30662,49 +30678,49 @@ declare module "factorio:runtime" { * If absolute snapping is enabled on this blueprint. * * _Can only be used if this is BlueprintRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#blueprint_absolute_snapping Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#blueprint_absolute_snapping Online documentation} */ blueprint_absolute_snapping: boolean /** * The description for this blueprint or blueprint book. * * _Can only be used if this is BlueprintRecord or BlueprintBookRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#blueprint_description Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#blueprint_description Online documentation} */ blueprint_description: string /** * List of raw materials required to build this blueprint. * * _Can only be used if this is BlueprintRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#cost_to_build Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#cost_to_build Online documentation} */ readonly cost_to_build: ItemWithQualityCount[] /** * The default icons for a blueprint blueprint. * * _Can only be used if this is BlueprintRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#default_icons Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#default_icons Online documentation} */ readonly default_icons: BlueprintSignalIcon[] /** * The contents of this BlueprintBookRecord. This is sparse array - it may have gaps, so using `#` will not be reliable. Use {@link LuaRecord#contents_size LuaRecord::contents_size} or `pairs()` to iterate this table. * * _Can only be used if this is BlueprintBookRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#contents Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#contents Online documentation} */ readonly contents: Record /** * The highest populated index in the contents of this BlueprintBookRecord. * * _Can only be used if this is BlueprintBookRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#contents_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#contents_size Online documentation} */ readonly contents_size: ItemStackIndex /** * The entity filters for this deconstruction planner. The attribute is a sparse array with the keys representing the index of the filter. All prototypes in this array must not have the `"not-deconstructable"` flag set and are either a `cliff` or marked as `minable`. * * _Can only be used if this is DeconstructionRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#entity_filters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#entity_filters Online documentation} */ get entity_filters(): ItemFilter[] set entity_filters(value: readonly ItemFilterWrite[]) @@ -30712,7 +30728,7 @@ declare module "factorio:runtime" { * The tile filters for this deconstruction planner. The attribute is a sparse array with the keys representing the index of the filter. Reading filters always returns an array of strings which are the tile prototype names. * * _Can only be used if this is DeconstructionRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#tile_filters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#tile_filters Online documentation} */ get tile_filters(): LuaTilePrototype[] set tile_filters(value: readonly TileID[]) @@ -30720,61 +30736,61 @@ declare module "factorio:runtime" { * The blacklist/whitelist entity filter mode for this deconstruction planner. * * _Can only be used if this is DeconstructionRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#entity_filter_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#entity_filter_mode Online documentation} */ entity_filter_mode: defines.deconstruction_item.entity_filter_mode /** * The blacklist/whitelist tile filter mode for this deconstruction planner. * * _Can only be used if this is DeconstructionRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#tile_filter_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#tile_filter_mode Online documentation} */ tile_filter_mode: defines.deconstruction_item.tile_filter_mode /** * The tile selection mode for this deconstruction planner. * * _Can only be used if this is DeconstructionRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#tile_selection_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#tile_selection_mode Online documentation} */ tile_selection_mode: defines.deconstruction_item.tile_selection_mode /** * If this deconstruction planner, is set to allow trees and rocks only. * * _Can only be used if this is DeconstructionRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#trees_and_rocks_only Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#trees_and_rocks_only Online documentation} */ trees_and_rocks_only: boolean /** * The number of entity filters this deconstruction planner has. * * _Can only be used if this is DeconstructionRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#entity_filter_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#entity_filter_count Online documentation} */ readonly entity_filter_count: uint32 /** * The number of tile filters this deconstruction planner has. * * _Can only be used if this is DeconstructionRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#tile_filter_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#tile_filter_count Online documentation} */ readonly tile_filter_count: uint32 /** * The current count of mappers in the upgrade item. * * _Can only be used if this is UpgradeRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#mapper_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#mapper_count Online documentation} */ readonly mapper_count: uint32 /** * The current label for this record, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#label Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#label Online documentation} */ label?: string /** * The description for this deconstruction planner or upgrade planner. * * _Can only be used if this is DeconstructionRecord or UpgradeRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#planner_description Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#planner_description Online documentation} */ planner_description: string /** @@ -30792,33 +30808,33 @@ declare module "factorio:runtime" { export interface BaseRecord { /** * Exports this record to a string. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#export_record Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#export_record Online documentation} */ export_record(): string /** * Is this record valid for writing? A record is invalid for write if it is a BlueprintRecord preview or if it is in the "My blueprints" shelf. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#valid_for_write Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#valid_for_write Online documentation} */ readonly valid_for_write: boolean /** * The type of this blueprint record. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#type Online documentation} */ readonly type: "blueprint" | "blueprint-book" | "deconstruction-planner" | "upgrade-planner" /** * The preview icons for this record. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#preview_icons Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#preview_icons Online documentation} */ get preview_icons(): BlueprintSignalIcon[] set preview_icons(value: readonly BlueprintSignalIconWrite[]) /** * Checks if this record is in a preview state. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#is_preview Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#is_preview Online documentation} */ readonly is_preview: boolean /** * The current label for this record, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#label Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#label Online documentation} */ label?: string /** @@ -30838,14 +30854,14 @@ declare module "factorio:runtime" { * Clears this blueprint. * * _Can only be used if this is BlueprintRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#clear_blueprint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#clear_blueprint Online documentation} */ clear_blueprint(): void /** * Is this blueprint setup? I.e. is it a non-empty blueprint? * * _Can only be used if this is BlueprintRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#is_blueprint_setup Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#is_blueprint_setup Online documentation} */ is_blueprint_setup(): boolean /** @@ -30855,7 +30871,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is BlueprintRecord_ * @returns Array of created ghosts - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#build_blueprint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#build_blueprint Online documentation} */ build_blueprint(params: { /** @@ -30896,7 +30912,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is BlueprintRecord_ * @returns The blueprint entity index to source entity mapping. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#create_blueprint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#create_blueprint Online documentation} */ create_blueprint(params: { /** @@ -30940,7 +30956,7 @@ declare module "factorio:runtime" { * Gets the tags for the given blueprint entity index in this blueprint. * * _Can only be used if this is BlueprintRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#get_blueprint_entity_tags Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#get_blueprint_entity_tags Online documentation} */ get_blueprint_entity_tags(index: uint32): Tags | nil /** @@ -30948,7 +30964,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is BlueprintRecord_ * @param index The entity index - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#set_blueprint_entity_tags Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#set_blueprint_entity_tags Online documentation} */ set_blueprint_entity_tags(index: uint32, tags: Tags): void /** @@ -30957,7 +30973,7 @@ declare module "factorio:runtime" { * _Can only be used if this is BlueprintRecord_ * @param index The entity index. * @param tag The tag to get. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#get_blueprint_entity_tag Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#get_blueprint_entity_tag Online documentation} */ get_blueprint_entity_tag(index: uint32, tag: string): AnyBasic | nil /** @@ -30967,14 +30983,14 @@ declare module "factorio:runtime" { * @param index The entity index. * @param tag The tag to set. * @param value The tag value to set or `nil` to clear the tag. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#set_blueprint_entity_tag Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#set_blueprint_entity_tag Online documentation} */ set_blueprint_entity_tag(index: uint32, tag: string, value: AnyBasic | nil): void /** * The entities in this blueprint. * * _Can only be used if this is BlueprintRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#get_blueprint_entities Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#get_blueprint_entities Online documentation} */ get_blueprint_entities(): BlueprintEntity[] | nil /** @@ -30983,14 +30999,14 @@ declare module "factorio:runtime" { * _Can only be used if this is BlueprintRecord_ * @param entities The new blueprint entities. * @param fix_positions If false, positions will be left unchanged unless invalid for the current snapping. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#set_blueprint_entities Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#set_blueprint_entities Online documentation} */ set_blueprint_entities(entities: readonly BlueprintEntityWrite[], fix_positions?: boolean): void /** * A list of the tiles in this blueprint. * * _Can only be used if this is BlueprintRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#get_blueprint_tiles Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#get_blueprint_tiles Online documentation} */ get_blueprint_tiles(): Tile[] | nil /** @@ -30998,21 +31014,21 @@ declare module "factorio:runtime" { * * _Can only be used if this is BlueprintRecord_ * @param tiles Tiles to be a part of the blueprint. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#set_blueprint_tiles Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#set_blueprint_tiles Online documentation} */ set_blueprint_tiles(tiles: readonly TileWrite[]): void /** * Gets the number of entities in this blueprint blueprint. * * _Can only be used if this is BlueprintRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#get_blueprint_entity_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#get_blueprint_entity_count Online documentation} */ get_blueprint_entity_count(): uint32 /** * The snapping grid size in this blueprint. `nil` if snapping is not enabled. * * _Can only be used if this is BlueprintRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#blueprint_snap_to_grid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#blueprint_snap_to_grid Online documentation} */ get blueprint_snap_to_grid(): TilePosition | nil set blueprint_snap_to_grid(value: TilePosition | TilePositionArray | nil) @@ -31020,7 +31036,7 @@ declare module "factorio:runtime" { * The offset from the absolute grid. `nil` if absolute snapping is not enabled. * * _Can only be used if this is BlueprintRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#blueprint_position_relative_to_grid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#blueprint_position_relative_to_grid Online documentation} */ get blueprint_position_relative_to_grid(): TilePosition | nil set blueprint_position_relative_to_grid(value: TilePosition | TilePositionArray | nil) @@ -31028,28 +31044,28 @@ declare module "factorio:runtime" { * If absolute snapping is enabled on this blueprint. * * _Can only be used if this is BlueprintRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#blueprint_absolute_snapping Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#blueprint_absolute_snapping Online documentation} */ blueprint_absolute_snapping: boolean /** * The description for this blueprint or blueprint book. * * _Can only be used if this is BlueprintRecord or BlueprintBookRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#blueprint_description Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#blueprint_description Online documentation} */ blueprint_description: string /** * List of raw materials required to build this blueprint. * * _Can only be used if this is BlueprintRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#cost_to_build Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#cost_to_build Online documentation} */ readonly cost_to_build: ItemWithQualityCount[] /** * The default icons for a blueprint blueprint. * * _Can only be used if this is BlueprintRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#default_icons Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#default_icons Online documentation} */ readonly default_icons: BlueprintSignalIcon[] } @@ -31061,7 +31077,7 @@ declare module "factorio:runtime" { * The active index of this BlueprintBookRecord. For records in "my blueprints", the result will be the same regardless of the player, but records in "game blueprints" may have different active indices per player. * * _Can only be used if this is BlueprintBookRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#get_active_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#get_active_index Online documentation} */ get_active_index(player: PlayerIdentification): uint32 /** @@ -31070,28 +31086,28 @@ declare module "factorio:runtime" { * Note: this will return a record even if the book is in a preview state. * * _Can only be used if this is BlueprintBookRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#get_selected_record Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#get_selected_record Online documentation} */ get_selected_record(player: PlayerIdentification): LuaRecord | nil /** * The description for this blueprint or blueprint book. * * _Can only be used if this is BlueprintRecord or BlueprintBookRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#blueprint_description Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#blueprint_description Online documentation} */ blueprint_description: string /** * The contents of this BlueprintBookRecord. This is sparse array - it may have gaps, so using `#` will not be reliable. Use {@link LuaRecord#contents_size LuaRecord::contents_size} or `pairs()` to iterate this table. * * _Can only be used if this is BlueprintBookRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#contents Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#contents Online documentation} */ readonly contents: Record /** * The highest populated index in the contents of this BlueprintBookRecord. * * _Can only be used if this is BlueprintBookRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#contents_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#contents_size Online documentation} */ readonly contents_size: ItemStackIndex } @@ -31103,7 +31119,7 @@ declare module "factorio:runtime" { * Gets the entity filter at the given index for this deconstruction planner. * * _Can only be used if this is DeconstructionRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#get_entity_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#get_entity_filter Online documentation} */ get_entity_filter(index: uint32): ItemFilter | nil /** @@ -31112,14 +31128,14 @@ declare module "factorio:runtime" { * _Can only be used if this is DeconstructionRecord_ * @param filter Writing `nil` removes the filter. * @returns Whether the new filter was successfully set (ie. was valid). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#set_entity_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#set_entity_filter Online documentation} */ set_entity_filter(index: uint32, filter: ItemFilterWrite | nil): boolean /** * Gets the tile filter at the given index for this deconstruction planner. * * _Can only be used if this is DeconstructionRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#get_tile_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#get_tile_filter Online documentation} */ get_tile_filter(index: uint32): string | nil /** @@ -31128,14 +31144,14 @@ declare module "factorio:runtime" { * _Can only be used if this is DeconstructionRecord_ * @param filter Setting to nil erases the filter. * @returns Whether the new filter was successfully set (ie. was valid). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#set_tile_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#set_tile_filter Online documentation} */ set_tile_filter(index: uint32, filter: string | LuaTilePrototype | LuaTile | nil): boolean /** * Deconstruct the given area with this deconstruction planner. * * _Can only be used if this is DeconstructionRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#deconstruct_area Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#deconstruct_area Online documentation} */ deconstruct_area(params: { /** @@ -31167,7 +31183,7 @@ declare module "factorio:runtime" { * Cancel deconstruct the given area with this deconstruction planner. * * _Can only be used if this is DeconstructionRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#cancel_deconstruct_area Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#cancel_deconstruct_area Online documentation} */ cancel_deconstruct_area(params: { /** @@ -31199,14 +31215,14 @@ declare module "factorio:runtime" { * Clears all settings/filters on this deconstruction planner, resetting it to default values. * * _Can only be used if this is DeconstructionRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#clear_deconstruction_data Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#clear_deconstruction_data Online documentation} */ clear_deconstruction_data(): void /** * The entity filters for this deconstruction planner. The attribute is a sparse array with the keys representing the index of the filter. All prototypes in this array must not have the `"not-deconstructable"` flag set and are either a `cliff` or marked as `minable`. * * _Can only be used if this is DeconstructionRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#entity_filters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#entity_filters Online documentation} */ get entity_filters(): ItemFilter[] set entity_filters(value: readonly ItemFilterWrite[]) @@ -31214,7 +31230,7 @@ declare module "factorio:runtime" { * The tile filters for this deconstruction planner. The attribute is a sparse array with the keys representing the index of the filter. Reading filters always returns an array of strings which are the tile prototype names. * * _Can only be used if this is DeconstructionRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#tile_filters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#tile_filters Online documentation} */ get tile_filters(): LuaTilePrototype[] set tile_filters(value: readonly TileID[]) @@ -31222,49 +31238,49 @@ declare module "factorio:runtime" { * The blacklist/whitelist entity filter mode for this deconstruction planner. * * _Can only be used if this is DeconstructionRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#entity_filter_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#entity_filter_mode Online documentation} */ entity_filter_mode: defines.deconstruction_item.entity_filter_mode /** * The blacklist/whitelist tile filter mode for this deconstruction planner. * * _Can only be used if this is DeconstructionRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#tile_filter_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#tile_filter_mode Online documentation} */ tile_filter_mode: defines.deconstruction_item.tile_filter_mode /** * The tile selection mode for this deconstruction planner. * * _Can only be used if this is DeconstructionRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#tile_selection_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#tile_selection_mode Online documentation} */ tile_selection_mode: defines.deconstruction_item.tile_selection_mode /** * If this deconstruction planner, is set to allow trees and rocks only. * * _Can only be used if this is DeconstructionRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#trees_and_rocks_only Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#trees_and_rocks_only Online documentation} */ trees_and_rocks_only: boolean /** * The number of entity filters this deconstruction planner has. * * _Can only be used if this is DeconstructionRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#entity_filter_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#entity_filter_count Online documentation} */ readonly entity_filter_count: uint32 /** * The number of tile filters this deconstruction planner has. * * _Can only be used if this is DeconstructionRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#tile_filter_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#tile_filter_count Online documentation} */ readonly tile_filter_count: uint32 /** * The description for this deconstruction planner or upgrade planner. * * _Can only be used if this is DeconstructionRecord or UpgradeRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#planner_description Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#planner_description Online documentation} */ planner_description: string } @@ -31276,7 +31292,7 @@ declare module "factorio:runtime" { * Clears all settings/filters on this upgrade planner, resetting it to default values. * * _Can only be used if this is UpgradeRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#clear_upgrade_data Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#clear_upgrade_data Online documentation} */ clear_upgrade_data(): void /** @@ -31286,7 +31302,7 @@ declare module "factorio:runtime" { * * _Can only be used if this is UpgradeRecord_ * @param index The index of the mapper to read. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#get_mapper Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#get_mapper Online documentation} */ get_mapper(index: uint32, type: "from" | "to"): UpgradeMapperSource | UpgradeMapperDestination | nil /** @@ -31297,7 +31313,7 @@ declare module "factorio:runtime" { * _Can only be used if this is UpgradeRecord_ * @param index The index of the mapper to set. * @param mapper The mapper to set. Set `nil` to clear the mapper. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#set_mapper Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#set_mapper Online documentation} */ set_mapper( index: uint32, @@ -31308,14 +31324,14 @@ declare module "factorio:runtime" { * The current count of mappers in the upgrade item. * * _Can only be used if this is UpgradeRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#mapper_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#mapper_count Online documentation} */ readonly mapper_count: uint32 /** * The description for this deconstruction planner or upgrade planner. * * _Can only be used if this is DeconstructionRecord or UpgradeRecord_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRecord.html#planner_description Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRecord.html#planner_description Online documentation} */ planner_description: string } @@ -31331,7 +31347,7 @@ declare module "factorio:runtime" { * -- Some time later, possibly in a different mod... * remote.call("human interactor", "hello") * remote.call("human interactor", "bye", "dear reader") - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRemote.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRemote.html Online documentation} * @noSelf */ export interface LuaRemote { @@ -31339,14 +31355,14 @@ declare module "factorio:runtime" { * Add a remote interface. * @param name Name of the interface. If the name matches any existing interface, an error is thrown. * @param functions List of functions that are members of the new interface. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRemote.html#add_interface Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRemote.html#add_interface Online documentation} */ add_interface(name: string, functions: Record void>): void /** * Removes an interface with the given name. * @param name Name of the interface. * @returns Whether the interface was removed. `false` if the interface didn't exist. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRemote.html#remove_interface Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRemote.html#remove_interface Online documentation} */ remove_interface(name: string): boolean /** @@ -31356,7 +31372,7 @@ declare module "factorio:runtime" { * @param _interface Interface to look up `function` in. * @param _function Function name that belongs to the `interface`. * @param args Arguments to pass to the called function. Note that any arguments passed through the interface are a copy of the original, not a reference. Metatables are not retained, while references to LuaObjects stay intact. Functions cannot be passed through the interface. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRemote.html#call Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRemote.html#call Online documentation} */ call any>, K extends keyof I>( _interface: string, @@ -31371,7 +31387,7 @@ declare module "factorio:runtime" { * -- Assuming the "human interactor" interface is registered as above * game.player.print(tostring(remote.interfaces["human interactor"]["hello"])) -- prints true * game.player.print(tostring(remote.interfaces["human interactor"]["nonexistent"])) -- prints nil - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRemote.html#interfaces Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRemote.html#interfaces Online documentation} */ readonly interfaces: Record> /** @@ -31381,81 +31397,81 @@ declare module "factorio:runtime" { } /** * Reference to a single {@link LuaRendering} object. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html Online documentation} * @noSelf */ export interface LuaRenderObject { /** * Destroys this object. Does not error when the object is invalid. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#destroy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#destroy Online documentation} */ destroy(): void /** * Reorder this object so that it is drawn in front of the already existing objects. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#bring_to_front Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#bring_to_front Online documentation} */ bring_to_front(): void /** * Reorder this object so that it is drawn in the back of the already existing objects. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#move_to_back Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#move_to_back Online documentation} */ move_to_back(): void /** * Set the length of the dashes and the length of the gaps in this line. * * _Can only be used if this is Line_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#set_dashes Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#set_dashes Online documentation} */ set_dashes(dash_length: double, gap_length: double): void /** * Set the corners of the rectangle with this id. * * _Can only be used if this is Rectangle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#set_corners Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#set_corners Online documentation} */ set_corners(left_top: ScriptRenderTargetWrite, right_bottom: ScriptRenderTargetWrite): void /** * Unique identifier of this render object. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#id Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#id Online documentation} */ readonly id: uint64 /** * Type of this object. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#type Online documentation} */ readonly type: "text" | "line" | "circle" | "rectangle" | "arc" | "polygon" | "sprite" | "light" | "animation" /** * Surface this object is rendered on. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#surface Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#surface Online documentation} */ readonly surface: LuaSurface /** * Time to live of this object. This will be 0 if the object does not expire. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#time_to_live Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#time_to_live Online documentation} */ time_to_live: uint32 /** * Blink interval of this object based on the internal "update tick". When zero, blinking is disabled. For other values, the object will be visible the given number of ticks and then invisible for the same duration. Objects with the same blink interval will blink synchronously. Blink interval of game alerts is 30. * * For example, when the interval is 60, the object is visible for 60 ticks and hidden for the next 60. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#blink_interval Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#blink_interval Online documentation} */ blink_interval: uint16 /** * Forces for which this object is rendered or `nil` if visible to all forces. Writing `nil` or empty array will make this object visible to all forces. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#forces Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#forces Online documentation} */ get forces(): LuaForce[] | nil set forces(value: ForceSet | nil) /** * Players for which this object is visible or `nil` if visible to all players. Writing `nil` or empty array will make this object visible to all players. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#players Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#players Online documentation} */ get players(): LuaPlayer[] | nil set players(value: LuaPlayer[] | readonly PlayerIdentification[] | nil) /** * If this object is rendered to anyone at all. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#visible Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#visible Online documentation} */ visible: boolean /** @@ -31464,38 +31480,38 @@ declare module "factorio:runtime" { * In {@link LuaRenderObject#render_mode render_mode} == "chart", this value is unused. * * _Can only be used if this is Text, Line, Circle, Rectangle, Arc or Polygon_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#draw_on_ground Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#draw_on_ground Online documentation} */ draw_on_ground: boolean /** * If this object is only rendered in alt-mode. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#only_in_alt_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#only_in_alt_mode Online documentation} */ only_in_alt_mode: boolean /** * Whether the object is rendered in game world or on the chart (map view). * * When it is changed, the object is pushed to front of its new group. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#render_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#render_mode Online documentation} */ render_mode: ScriptRenderMode /** * If this object uses the target orientation. * * _Can only be used if this is Sprite, Polygon or Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#use_target_orientation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#use_target_orientation Online documentation} */ use_target_orientation: boolean /** * If this render object will be translucent when "Hide tall entities" mode is active. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#tall Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#tall Online documentation} */ tall: boolean /** * Color or tint of the object. * * _Can only be used if this is Text, Line, Circle, Rectangle, Arc, Polygon, Sprite, Light or Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#color Online documentation} */ get color(): Color set color(value: Color | ColorArray) @@ -31503,14 +31519,14 @@ declare module "factorio:runtime" { * Width of the object. Value is in pixels (32 per tile). * * _Can only be used if this is Line, Circle or Rectangle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#width Online documentation} */ width: float /** * Where this line is drawn from. * * _Can only be used if this is Line_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#from Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#from Online documentation} */ get from(): ScriptRenderTarget set from(value: ScriptRenderTargetWrite) @@ -31518,7 +31534,7 @@ declare module "factorio:runtime" { * Where this line is drawn to. * * _Can only be used if this is Line_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#to Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#to Online documentation} */ get to(): ScriptRenderTarget set to(value: ScriptRenderTargetWrite) @@ -31526,21 +31542,21 @@ declare module "factorio:runtime" { * Dash length of this line. * * _Can only be used if this is Line_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#dash_length Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#dash_length Online documentation} */ dash_length: double /** * Length of the gaps in this line. * * _Can only be used if this is Line_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#gap_length Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#gap_length Online documentation} */ gap_length: double /** * Starting offset to apply to dashes of this line. Cannot be greater than dash_length + gap_length. * * _Can only be used if this is Line_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#dash_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#dash_offset Online documentation} */ dash_offset: double /** @@ -31549,7 +31565,7 @@ declare module "factorio:runtime" { * Polygon vertices that are set to an entity will ignore this. * * _Can only be used if this is Text, Circle, Arc, Polygon, Sprite, Light or Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#target Online documentation} */ get target(): ScriptRenderTarget set target(value: ScriptRenderTargetWrite) @@ -31559,77 +31575,77 @@ declare module "factorio:runtime" { * Polygon vertices that are set to an entity will ignore this. * * _Can only be used if this is Text, Polygon, Sprite, Light or Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#orientation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#orientation Online documentation} */ orientation: RealOrientation /** * Scale of the text or light. * * _Can only be used if this is Text or Light_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#scale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#scale Online documentation} */ scale: double /** * Text that is displayed by this text object. * * _Can only be used if this is Text_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#text Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#text Online documentation} */ text: LocalisedString /** * Font of this text. * * _Can only be used if this is Text_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#font Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#font Online documentation} */ font: string /** * Alignment of this text. * * _Can only be used if this is Text_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#alignment Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#alignment Online documentation} */ alignment: TextAlign /** * Vertical alignment of this text. * * _Can only be used if this is Text_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#vertical_alignment Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#vertical_alignment Online documentation} */ vertical_alignment: VerticalTextAlign /** * If this text scales with player zoom. * * _Can only be used if this is Text_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#scale_with_zoom Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#scale_with_zoom Online documentation} */ scale_with_zoom: boolean /** * If this text parses rich text tags. * * _Can only be used if this is Text_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#use_rich_text Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#use_rich_text Online documentation} */ use_rich_text: boolean /** * If this circle or rectangle is filled. * * _Can only be used if this is Circle or Rectangle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#filled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#filled Online documentation} */ filled: boolean /** * Radius of this circle. * * _Can only be used if this is Circle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#radius Online documentation} */ radius: double /** * Where top left corner of this rectangle is drawn. * * _Can only be used if this is Rectangle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#left_top Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#left_top Online documentation} */ get left_top(): ScriptRenderTarget set left_top(value: ScriptRenderTargetWrite) @@ -31637,7 +31653,7 @@ declare module "factorio:runtime" { * Where bottom right corner of this rectangle is drawn. * * _Can only be used if this is Rectangle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#right_bottom Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#right_bottom Online documentation} */ get right_bottom(): ScriptRenderTarget set right_bottom(value: ScriptRenderTargetWrite) @@ -31645,35 +31661,35 @@ declare module "factorio:runtime" { * Radius of the outer edge of this arc. * * _Can only be used if this is Arc_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#max_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#max_radius Online documentation} */ max_radius: double /** * Radius of the inner edge of this arc. * * _Can only be used if this is Arc_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#min_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#min_radius Online documentation} */ min_radius: double /** * Where this arc starts. Angle in radian. * * _Can only be used if this is Arc_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#start_angle Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#start_angle Online documentation} */ start_angle: float /** * Angle of this arc. Angle in radian. * * _Can only be used if this is Arc_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#angle Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#angle Online documentation} */ angle: float /** * Vertices of this polygon. * * _Can only be used if this is Polygon_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#vertices Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#vertices Online documentation} */ get vertices(): ScriptRenderTarget[] set vertices(value: readonly ScriptRenderTargetWrite[]) @@ -31681,28 +31697,28 @@ declare module "factorio:runtime" { * Sprite of the sprite or light. * * _Can only be used if this is Sprite or Light_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#sprite Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#sprite Online documentation} */ sprite: SpritePath /** * Horizontal scale of this sprite or animation. * * _Can only be used if this is Sprite or Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#x_scale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#x_scale Online documentation} */ x_scale: double /** * Vertical scale of this sprite or animation. * * _Can only be used if this is Sprite or Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#y_scale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#y_scale Online documentation} */ y_scale: double /** * Render layer of this sprite or animation. * * _Can only be used if this is Sprite or Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#render_layer Online documentation} */ render_layer: RenderLayer /** @@ -31711,7 +31727,7 @@ declare module "factorio:runtime" { * Polygon vertices that are set to an entity will ignore this. * * _Can only be used if this is Polygon, Sprite or Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#orientation_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#orientation_target Online documentation} */ get orientation_target(): ScriptRenderTarget | nil set orientation_target(value: ScriptRenderTargetWrite | nil) @@ -31719,7 +31735,7 @@ declare module "factorio:runtime" { * Offsets the center of the sprite or animation if `orientation_target` is given. This offset will rotate together with the sprite or animation. * * _Can only be used if this is Sprite or Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#oriented_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#oriented_offset Online documentation} */ get oriented_offset(): Vector set oriented_offset(value: Vector | VectorTable) @@ -31727,49 +31743,49 @@ declare module "factorio:runtime" { * Whether this sprite or animation should be rendered as a sprite, light or both at once. * * _Can only be used if this is Sprite or Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#light_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#light_mode Online documentation} */ light_mode: ScriptSpriteLightMode /** * Intensity of this light. * * _Can only be used if this is Light_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#intensity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#intensity Online documentation} */ intensity: float /** * Minimum darkness at which this light is rendered. * * _Can only be used if this is Light_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#minimum_darkness Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#minimum_darkness Online documentation} */ minimum_darkness: float /** * If this light is rendered with the same orientation as the target entity. Note that `orientation` is still applied to the sprite. * * _Can only be used if this is Light_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#oriented Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#oriented Online documentation} */ oriented: boolean /** * Animation prototype name of this animation. * * _Can only be used if this is Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#animation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#animation Online documentation} */ animation: string /** * Animation speed of this animation. Animation speed in frames per tick. * * _Can only be used if this is Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#animation_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#animation_speed Online documentation} */ animation_speed: double /** * Animation offset of this animation. Animation offset in frames. * * _Can only be used if this is Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#animation_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#animation_offset Online documentation} */ animation_offset: double /** @@ -31787,78 +31803,78 @@ declare module "factorio:runtime" { export interface BaseRenderObject { /** * Destroys this object. Does not error when the object is invalid. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#destroy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#destroy Online documentation} */ destroy(): void /** * Reorder this object so that it is drawn in front of the already existing objects. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#bring_to_front Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#bring_to_front Online documentation} */ bring_to_front(): void /** * Reorder this object so that it is drawn in the back of the already existing objects. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#move_to_back Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#move_to_back Online documentation} */ move_to_back(): void /** * Unique identifier of this render object. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#id Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#id Online documentation} */ readonly id: uint64 /** * Type of this object. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#type Online documentation} */ readonly type: "text" | "line" | "circle" | "rectangle" | "arc" | "polygon" | "sprite" | "light" | "animation" /** * Surface this object is rendered on. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#surface Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#surface Online documentation} */ readonly surface: LuaSurface /** * Time to live of this object. This will be 0 if the object does not expire. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#time_to_live Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#time_to_live Online documentation} */ time_to_live: uint32 /** * Blink interval of this object based on the internal "update tick". When zero, blinking is disabled. For other values, the object will be visible the given number of ticks and then invisible for the same duration. Objects with the same blink interval will blink synchronously. Blink interval of game alerts is 30. * * For example, when the interval is 60, the object is visible for 60 ticks and hidden for the next 60. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#blink_interval Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#blink_interval Online documentation} */ blink_interval: uint16 /** * Forces for which this object is rendered or `nil` if visible to all forces. Writing `nil` or empty array will make this object visible to all forces. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#forces Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#forces Online documentation} */ get forces(): LuaForce[] | nil set forces(value: ForceSet | nil) /** * Players for which this object is visible or `nil` if visible to all players. Writing `nil` or empty array will make this object visible to all players. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#players Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#players Online documentation} */ get players(): LuaPlayer[] | nil set players(value: LuaPlayer[] | readonly PlayerIdentification[] | nil) /** * If this object is rendered to anyone at all. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#visible Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#visible Online documentation} */ visible: boolean /** * If this object is only rendered in alt-mode. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#only_in_alt_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#only_in_alt_mode Online documentation} */ only_in_alt_mode: boolean /** * Whether the object is rendered in game world or on the chart (map view). * * When it is changed, the object is pushed to front of its new group. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#render_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#render_mode Online documentation} */ render_mode: ScriptRenderMode /** * If this render object will be translucent when "Hide tall entities" mode is active. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#tall Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#tall Online documentation} */ tall: boolean /** @@ -31878,7 +31894,7 @@ declare module "factorio:runtime" { * Set the length of the dashes and the length of the gaps in this line. * * _Can only be used if this is Line_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#set_dashes Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#set_dashes Online documentation} */ set_dashes(dash_length: double, gap_length: double): void /** @@ -31887,14 +31903,14 @@ declare module "factorio:runtime" { * In {@link LuaRenderObject#render_mode render_mode} == "chart", this value is unused. * * _Can only be used if this is Text, Line, Circle, Rectangle, Arc or Polygon_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#draw_on_ground Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#draw_on_ground Online documentation} */ draw_on_ground: boolean /** * Color or tint of the object. * * _Can only be used if this is Text, Line, Circle, Rectangle, Arc, Polygon, Sprite, Light or Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#color Online documentation} */ get color(): Color set color(value: Color | ColorArray) @@ -31902,14 +31918,14 @@ declare module "factorio:runtime" { * Width of the object. Value is in pixels (32 per tile). * * _Can only be used if this is Line, Circle or Rectangle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#width Online documentation} */ width: float /** * Where this line is drawn from. * * _Can only be used if this is Line_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#from Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#from Online documentation} */ get from(): ScriptRenderTarget set from(value: ScriptRenderTargetWrite) @@ -31917,7 +31933,7 @@ declare module "factorio:runtime" { * Where this line is drawn to. * * _Can only be used if this is Line_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#to Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#to Online documentation} */ get to(): ScriptRenderTarget set to(value: ScriptRenderTargetWrite) @@ -31925,21 +31941,21 @@ declare module "factorio:runtime" { * Dash length of this line. * * _Can only be used if this is Line_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#dash_length Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#dash_length Online documentation} */ dash_length: double /** * Length of the gaps in this line. * * _Can only be used if this is Line_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#gap_length Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#gap_length Online documentation} */ gap_length: double /** * Starting offset to apply to dashes of this line. Cannot be greater than dash_length + gap_length. * * _Can only be used if this is Line_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#dash_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#dash_offset Online documentation} */ dash_offset: double } @@ -31951,7 +31967,7 @@ declare module "factorio:runtime" { * Set the corners of the rectangle with this id. * * _Can only be used if this is Rectangle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#set_corners Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#set_corners Online documentation} */ set_corners(left_top: ScriptRenderTargetWrite, right_bottom: ScriptRenderTargetWrite): void /** @@ -31960,14 +31976,14 @@ declare module "factorio:runtime" { * In {@link LuaRenderObject#render_mode render_mode} == "chart", this value is unused. * * _Can only be used if this is Text, Line, Circle, Rectangle, Arc or Polygon_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#draw_on_ground Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#draw_on_ground Online documentation} */ draw_on_ground: boolean /** * Color or tint of the object. * * _Can only be used if this is Text, Line, Circle, Rectangle, Arc, Polygon, Sprite, Light or Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#color Online documentation} */ get color(): Color set color(value: Color | ColorArray) @@ -31975,21 +31991,21 @@ declare module "factorio:runtime" { * Width of the object. Value is in pixels (32 per tile). * * _Can only be used if this is Line, Circle or Rectangle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#width Online documentation} */ width: float /** * If this circle or rectangle is filled. * * _Can only be used if this is Circle or Rectangle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#filled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#filled Online documentation} */ filled: boolean /** * Where top left corner of this rectangle is drawn. * * _Can only be used if this is Rectangle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#left_top Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#left_top Online documentation} */ get left_top(): ScriptRenderTarget set left_top(value: ScriptRenderTargetWrite) @@ -31997,7 +32013,7 @@ declare module "factorio:runtime" { * Where bottom right corner of this rectangle is drawn. * * _Can only be used if this is Rectangle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#right_bottom Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#right_bottom Online documentation} */ get right_bottom(): ScriptRenderTarget set right_bottom(value: ScriptRenderTargetWrite) @@ -32009,14 +32025,14 @@ declare module "factorio:runtime" { * In {@link LuaRenderObject#render_mode render_mode} == "chart", this value is unused. * * _Can only be used if this is Text, Line, Circle, Rectangle, Arc or Polygon_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#draw_on_ground Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#draw_on_ground Online documentation} */ draw_on_ground: boolean /** * Color or tint of the object. * * _Can only be used if this is Text, Line, Circle, Rectangle, Arc, Polygon, Sprite, Light or Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#color Online documentation} */ get color(): Color set color(value: Color | ColorArray) @@ -32026,7 +32042,7 @@ declare module "factorio:runtime" { * Polygon vertices that are set to an entity will ignore this. * * _Can only be used if this is Text, Circle, Arc, Polygon, Sprite, Light or Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#target Online documentation} */ get target(): ScriptRenderTarget set target(value: ScriptRenderTargetWrite) @@ -32036,56 +32052,56 @@ declare module "factorio:runtime" { * Polygon vertices that are set to an entity will ignore this. * * _Can only be used if this is Text, Polygon, Sprite, Light or Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#orientation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#orientation Online documentation} */ orientation: RealOrientation /** * Scale of the text or light. * * _Can only be used if this is Text or Light_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#scale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#scale Online documentation} */ scale: double /** * Text that is displayed by this text object. * * _Can only be used if this is Text_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#text Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#text Online documentation} */ text: LocalisedString /** * Font of this text. * * _Can only be used if this is Text_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#font Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#font Online documentation} */ font: string /** * Alignment of this text. * * _Can only be used if this is Text_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#alignment Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#alignment Online documentation} */ alignment: TextAlign /** * Vertical alignment of this text. * * _Can only be used if this is Text_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#vertical_alignment Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#vertical_alignment Online documentation} */ vertical_alignment: VerticalTextAlign /** * If this text scales with player zoom. * * _Can only be used if this is Text_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#scale_with_zoom Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#scale_with_zoom Online documentation} */ scale_with_zoom: boolean /** * If this text parses rich text tags. * * _Can only be used if this is Text_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#use_rich_text Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#use_rich_text Online documentation} */ use_rich_text: boolean } @@ -32096,14 +32112,14 @@ declare module "factorio:runtime" { * In {@link LuaRenderObject#render_mode render_mode} == "chart", this value is unused. * * _Can only be used if this is Text, Line, Circle, Rectangle, Arc or Polygon_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#draw_on_ground Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#draw_on_ground Online documentation} */ draw_on_ground: boolean /** * Color or tint of the object. * * _Can only be used if this is Text, Line, Circle, Rectangle, Arc, Polygon, Sprite, Light or Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#color Online documentation} */ get color(): Color set color(value: Color | ColorArray) @@ -32111,7 +32127,7 @@ declare module "factorio:runtime" { * Width of the object. Value is in pixels (32 per tile). * * _Can only be used if this is Line, Circle or Rectangle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#width Online documentation} */ width: float /** @@ -32120,7 +32136,7 @@ declare module "factorio:runtime" { * Polygon vertices that are set to an entity will ignore this. * * _Can only be used if this is Text, Circle, Arc, Polygon, Sprite, Light or Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#target Online documentation} */ get target(): ScriptRenderTarget set target(value: ScriptRenderTargetWrite) @@ -32128,14 +32144,14 @@ declare module "factorio:runtime" { * If this circle or rectangle is filled. * * _Can only be used if this is Circle or Rectangle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#filled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#filled Online documentation} */ filled: boolean /** * Radius of this circle. * * _Can only be used if this is Circle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#radius Online documentation} */ radius: double } @@ -32146,14 +32162,14 @@ declare module "factorio:runtime" { * In {@link LuaRenderObject#render_mode render_mode} == "chart", this value is unused. * * _Can only be used if this is Text, Line, Circle, Rectangle, Arc or Polygon_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#draw_on_ground Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#draw_on_ground Online documentation} */ draw_on_ground: boolean /** * Color or tint of the object. * * _Can only be used if this is Text, Line, Circle, Rectangle, Arc, Polygon, Sprite, Light or Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#color Online documentation} */ get color(): Color set color(value: Color | ColorArray) @@ -32163,7 +32179,7 @@ declare module "factorio:runtime" { * Polygon vertices that are set to an entity will ignore this. * * _Can only be used if this is Text, Circle, Arc, Polygon, Sprite, Light or Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#target Online documentation} */ get target(): ScriptRenderTarget set target(value: ScriptRenderTargetWrite) @@ -32171,28 +32187,28 @@ declare module "factorio:runtime" { * Radius of the outer edge of this arc. * * _Can only be used if this is Arc_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#max_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#max_radius Online documentation} */ max_radius: double /** * Radius of the inner edge of this arc. * * _Can only be used if this is Arc_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#min_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#min_radius Online documentation} */ min_radius: double /** * Where this arc starts. Angle in radian. * * _Can only be used if this is Arc_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#start_angle Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#start_angle Online documentation} */ start_angle: float /** * Angle of this arc. Angle in radian. * * _Can only be used if this is Arc_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#angle Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#angle Online documentation} */ angle: float } @@ -32203,21 +32219,21 @@ declare module "factorio:runtime" { * In {@link LuaRenderObject#render_mode render_mode} == "chart", this value is unused. * * _Can only be used if this is Text, Line, Circle, Rectangle, Arc or Polygon_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#draw_on_ground Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#draw_on_ground Online documentation} */ draw_on_ground: boolean /** * If this object uses the target orientation. * * _Can only be used if this is Sprite, Polygon or Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#use_target_orientation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#use_target_orientation Online documentation} */ use_target_orientation: boolean /** * Color or tint of the object. * * _Can only be used if this is Text, Line, Circle, Rectangle, Arc, Polygon, Sprite, Light or Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#color Online documentation} */ get color(): Color set color(value: Color | ColorArray) @@ -32227,7 +32243,7 @@ declare module "factorio:runtime" { * Polygon vertices that are set to an entity will ignore this. * * _Can only be used if this is Text, Circle, Arc, Polygon, Sprite, Light or Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#target Online documentation} */ get target(): ScriptRenderTarget set target(value: ScriptRenderTargetWrite) @@ -32237,14 +32253,14 @@ declare module "factorio:runtime" { * Polygon vertices that are set to an entity will ignore this. * * _Can only be used if this is Text, Polygon, Sprite, Light or Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#orientation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#orientation Online documentation} */ orientation: RealOrientation /** * Vertices of this polygon. * * _Can only be used if this is Polygon_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#vertices Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#vertices Online documentation} */ get vertices(): ScriptRenderTarget[] set vertices(value: readonly ScriptRenderTargetWrite[]) @@ -32254,7 +32270,7 @@ declare module "factorio:runtime" { * Polygon vertices that are set to an entity will ignore this. * * _Can only be used if this is Polygon, Sprite or Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#orientation_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#orientation_target Online documentation} */ get orientation_target(): ScriptRenderTarget | nil set orientation_target(value: ScriptRenderTargetWrite | nil) @@ -32264,14 +32280,14 @@ declare module "factorio:runtime" { * If this object uses the target orientation. * * _Can only be used if this is Sprite, Polygon or Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#use_target_orientation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#use_target_orientation Online documentation} */ use_target_orientation: boolean /** * Color or tint of the object. * * _Can only be used if this is Text, Line, Circle, Rectangle, Arc, Polygon, Sprite, Light or Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#color Online documentation} */ get color(): Color set color(value: Color | ColorArray) @@ -32281,7 +32297,7 @@ declare module "factorio:runtime" { * Polygon vertices that are set to an entity will ignore this. * * _Can only be used if this is Text, Circle, Arc, Polygon, Sprite, Light or Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#target Online documentation} */ get target(): ScriptRenderTarget set target(value: ScriptRenderTargetWrite) @@ -32291,35 +32307,35 @@ declare module "factorio:runtime" { * Polygon vertices that are set to an entity will ignore this. * * _Can only be used if this is Text, Polygon, Sprite, Light or Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#orientation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#orientation Online documentation} */ orientation: RealOrientation /** * Sprite of the sprite or light. * * _Can only be used if this is Sprite or Light_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#sprite Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#sprite Online documentation} */ sprite: SpritePath /** * Horizontal scale of this sprite or animation. * * _Can only be used if this is Sprite or Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#x_scale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#x_scale Online documentation} */ x_scale: double /** * Vertical scale of this sprite or animation. * * _Can only be used if this is Sprite or Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#y_scale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#y_scale Online documentation} */ y_scale: double /** * Render layer of this sprite or animation. * * _Can only be used if this is Sprite or Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#render_layer Online documentation} */ render_layer: RenderLayer /** @@ -32328,7 +32344,7 @@ declare module "factorio:runtime" { * Polygon vertices that are set to an entity will ignore this. * * _Can only be used if this is Polygon, Sprite or Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#orientation_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#orientation_target Online documentation} */ get orientation_target(): ScriptRenderTarget | nil set orientation_target(value: ScriptRenderTargetWrite | nil) @@ -32336,7 +32352,7 @@ declare module "factorio:runtime" { * Offsets the center of the sprite or animation if `orientation_target` is given. This offset will rotate together with the sprite or animation. * * _Can only be used if this is Sprite or Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#oriented_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#oriented_offset Online documentation} */ get oriented_offset(): Vector set oriented_offset(value: Vector | VectorTable) @@ -32344,7 +32360,7 @@ declare module "factorio:runtime" { * Whether this sprite or animation should be rendered as a sprite, light or both at once. * * _Can only be used if this is Sprite or Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#light_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#light_mode Online documentation} */ light_mode: ScriptSpriteLightMode } @@ -32353,14 +32369,14 @@ declare module "factorio:runtime" { * If this object uses the target orientation. * * _Can only be used if this is Sprite, Polygon or Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#use_target_orientation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#use_target_orientation Online documentation} */ use_target_orientation: boolean /** * Color or tint of the object. * * _Can only be used if this is Text, Line, Circle, Rectangle, Arc, Polygon, Sprite, Light or Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#color Online documentation} */ get color(): Color set color(value: Color | ColorArray) @@ -32370,7 +32386,7 @@ declare module "factorio:runtime" { * Polygon vertices that are set to an entity will ignore this. * * _Can only be used if this is Text, Circle, Arc, Polygon, Sprite, Light or Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#target Online documentation} */ get target(): ScriptRenderTarget set target(value: ScriptRenderTargetWrite) @@ -32380,28 +32396,28 @@ declare module "factorio:runtime" { * Polygon vertices that are set to an entity will ignore this. * * _Can only be used if this is Text, Polygon, Sprite, Light or Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#orientation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#orientation Online documentation} */ orientation: RealOrientation /** * Horizontal scale of this sprite or animation. * * _Can only be used if this is Sprite or Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#x_scale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#x_scale Online documentation} */ x_scale: double /** * Vertical scale of this sprite or animation. * * _Can only be used if this is Sprite or Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#y_scale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#y_scale Online documentation} */ y_scale: double /** * Render layer of this sprite or animation. * * _Can only be used if this is Sprite or Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#render_layer Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#render_layer Online documentation} */ render_layer: RenderLayer /** @@ -32410,7 +32426,7 @@ declare module "factorio:runtime" { * Polygon vertices that are set to an entity will ignore this. * * _Can only be used if this is Polygon, Sprite or Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#orientation_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#orientation_target Online documentation} */ get orientation_target(): ScriptRenderTarget | nil set orientation_target(value: ScriptRenderTargetWrite | nil) @@ -32418,7 +32434,7 @@ declare module "factorio:runtime" { * Offsets the center of the sprite or animation if `orientation_target` is given. This offset will rotate together with the sprite or animation. * * _Can only be used if this is Sprite or Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#oriented_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#oriented_offset Online documentation} */ get oriented_offset(): Vector set oriented_offset(value: Vector | VectorTable) @@ -32426,28 +32442,28 @@ declare module "factorio:runtime" { * Whether this sprite or animation should be rendered as a sprite, light or both at once. * * _Can only be used if this is Sprite or Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#light_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#light_mode Online documentation} */ light_mode: ScriptSpriteLightMode /** * Animation prototype name of this animation. * * _Can only be used if this is Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#animation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#animation Online documentation} */ animation: string /** * Animation speed of this animation. Animation speed in frames per tick. * * _Can only be used if this is Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#animation_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#animation_speed Online documentation} */ animation_speed: double /** * Animation offset of this animation. Animation offset in frames. * * _Can only be used if this is Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#animation_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#animation_offset Online documentation} */ animation_offset: double } @@ -32456,7 +32472,7 @@ declare module "factorio:runtime" { * Color or tint of the object. * * _Can only be used if this is Text, Line, Circle, Rectangle, Arc, Polygon, Sprite, Light or Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#color Online documentation} */ get color(): Color set color(value: Color | ColorArray) @@ -32466,7 +32482,7 @@ declare module "factorio:runtime" { * Polygon vertices that are set to an entity will ignore this. * * _Can only be used if this is Text, Circle, Arc, Polygon, Sprite, Light or Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#target Online documentation} */ get target(): ScriptRenderTarget set target(value: ScriptRenderTargetWrite) @@ -32476,42 +32492,42 @@ declare module "factorio:runtime" { * Polygon vertices that are set to an entity will ignore this. * * _Can only be used if this is Text, Polygon, Sprite, Light or Animation_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#orientation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#orientation Online documentation} */ orientation: RealOrientation /** * Scale of the text or light. * * _Can only be used if this is Text or Light_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#scale Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#scale Online documentation} */ scale: double /** * Sprite of the sprite or light. * * _Can only be used if this is Sprite or Light_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#sprite Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#sprite Online documentation} */ sprite: SpritePath /** * Intensity of this light. * * _Can only be used if this is Light_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#intensity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#intensity Online documentation} */ intensity: float /** * Minimum darkness at which this light is rendered. * * _Can only be used if this is Light_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#minimum_darkness Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#minimum_darkness Online documentation} */ minimum_darkness: float /** * If this light is rendered with the same orientation as the target entity. Note that `orientation` is still applied to the sprite. * * _Can only be used if this is Light_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRenderObject.html#oriented Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRenderObject.html#oriented Online documentation} */ oriented: boolean } @@ -32519,7 +32535,7 @@ declare module "factorio:runtime" { * Allows rendering of geometric shapes, text and sprites in the game world through the global object named `rendering`. Each render object is identified by an id that is universally unique for the lifetime of a whole game. * * If an entity target of an object (except its `orientation_target`) is destroyed or changes surface, then the object is also destroyed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRendering.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRendering.html Online documentation} * @noSelf */ export interface LuaRendering { @@ -32531,7 +32547,7 @@ declare module "factorio:runtime" { * @example * -- Draw a red and 3 pixel wide line from {0, 0} to {0, 5}. The line has 1 tile long dashes and gaps. * rendering.draw_line{surface = game.player.surface, from = {0, 0}, to = {0, 5}, color = {r = 1}, width = 3, gap_length = 1, dash_length = 1} - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRendering.html#draw_line Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRendering.html#draw_line Online documentation} */ draw_line(params: { readonly color: Color | ColorArray @@ -32595,7 +32611,7 @@ declare module "factorio:runtime" { * Create a text. * * Not all fonts support scaling. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRendering.html#draw_text Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRendering.html#draw_text Online documentation} */ draw_text(params: { /** @@ -32669,7 +32685,7 @@ declare module "factorio:runtime" { }): LuaRenderObject /** * Create a circle. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRendering.html#draw_circle Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRendering.html#draw_circle Online documentation} */ draw_circle(params: { readonly color: Color | ColorArray @@ -32729,7 +32745,7 @@ declare module "factorio:runtime" { * @example * -- Draw a white and 1 pixel wide square outline with the corners {0, 0} and {2, 2}. * rendering.draw_rectangle{surface = game.player.surface, left_top = {0, 0}, right_bottom = {2, 2}, color = {1, 1, 1}} - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRendering.html#draw_rectangle Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRendering.html#draw_rectangle Online documentation} */ draw_rectangle(params: { readonly color: Color | ColorArray @@ -32783,7 +32799,7 @@ declare module "factorio:runtime" { }): LuaRenderObject /** * Create an arc. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRendering.html#draw_arc Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRendering.html#draw_arc Online documentation} */ draw_arc(params: { readonly color: Color | ColorArray @@ -32844,7 +32860,7 @@ declare module "factorio:runtime" { }): LuaRenderObject /** * Create a triangle mesh defined by a triangle strip. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRendering.html#draw_polygon Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRendering.html#draw_polygon Online documentation} */ draw_polygon(params: { readonly color: Color | ColorArray @@ -32911,7 +32927,7 @@ declare module "factorio:runtime" { * @example * -- This will draw an iron plate icon at the character's head. The sprite will move together with the character. * rendering.draw_sprite{sprite = "item.iron-plate", target = {entity = game.player.character, offset = {0, -2}}, surface = game.player.surface} - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRendering.html#draw_sprite Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRendering.html#draw_sprite Online documentation} */ draw_sprite(params: { readonly sprite: SpritePath @@ -32990,7 +33006,7 @@ declare module "factorio:runtime" { * Create a gradient light which is not occluded by any sprites. It is rendered at lower resolution, so it takes less GPU power. The same technique is used for lights drawn by {@link import("factorio:prototype").LightDefinition LightDefinition}. * * The base game uses the utility sprites `light_medium` and `light_small` for lights. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRendering.html#draw_light Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRendering.html#draw_light Online documentation} */ draw_light(params: { readonly sprite: SpritePath @@ -33058,7 +33074,7 @@ declare module "factorio:runtime" { }): LuaRenderObject /** * Create an animation. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRendering.html#draw_animation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRendering.html#draw_animation Online documentation} */ draw_animation(params: { /** @@ -33147,18 +33163,18 @@ declare module "factorio:runtime" { /** * Gets an array of all valid objects. * @param mod_name If provided, get only the render objects created by this mod. An empty string (`""`) refers to all objects not belonging to a mod, such as those created using console commands. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRendering.html#get_all_objects Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRendering.html#get_all_objects Online documentation} */ get_all_objects(mod_name?: string): LuaRenderObject[] /** * Destroys all render objects. * @param mod_name If provided, only the render objects created by this mod are destroyed. An empty string (`""`) refers to all objects not belonging to a mod, such as those created using console commands. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRendering.html#clear Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRendering.html#clear Online documentation} */ clear(mod_name?: string): void /** * Gives LuaRenderObject for given object ID. May return nil if object does not exist or is invalid. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRendering.html#get_object_by_id Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRendering.html#get_object_by_id Online documentation} */ get_object_by_id(object_id: uint64): LuaRenderObject | nil /** @@ -33168,7 +33184,7 @@ declare module "factorio:runtime" { } /** * Prototype of a resource category. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaResourceCategoryPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaResourceCategoryPrototype.html Online documentation} */ export interface LuaResourceCategoryPrototype extends LuaPrototypeBase { /** @@ -33182,22 +33198,22 @@ declare module "factorio:runtime" { } /** * Control behavior for roboports. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRoboportControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRoboportControlBehavior.html Online documentation} */ export interface LuaRoboportControlBehavior extends LuaControlBehavior { /** * Selects contents that are to be read from the roboport - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRoboportControlBehavior.html#read_items_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRoboportControlBehavior.html#read_items_mode Online documentation} */ read_items_mode: defines.control_behavior.roboport.read_items_mode /** * Legacy field, please use LuaRoboportControlBehavior::read_items_mode instead. `true` if the roboport should report the logistics network content to the circuit network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRoboportControlBehavior.html#read_logistics Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRoboportControlBehavior.html#read_logistics Online documentation} */ read_logistics: boolean /** * `true` if the roboport should report the robot statistics to the circuit network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRoboportControlBehavior.html#read_robot_stats Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRoboportControlBehavior.html#read_robot_stats Online documentation} */ read_robot_stats: boolean get available_logistic_output_signal(): SignalID | nil @@ -33221,12 +33237,12 @@ declare module "factorio:runtime" { } /** * Control behavior for rocket silos. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRocketSiloControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRocketSiloControlBehavior.html Online documentation} */ export interface LuaRocketSiloControlBehavior extends LuaControlBehavior { /** * The items read mode for the rocket silo. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaRocketSiloControlBehavior.html#read_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaRocketSiloControlBehavior.html#read_mode Online documentation} */ read_mode: defines.control_behavior.rocket_silo.read_mode read_launched: boolean @@ -33243,29 +33259,29 @@ declare module "factorio:runtime" { } /** * The schedule of a particular {@link LuaTrain} or {@link LuaSpacePlatform}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSchedule.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSchedule.html Online documentation} * @noSelf */ export interface LuaSchedule { /** * Adds the given wait condition to the given record. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSchedule.html#add_wait_condition Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSchedule.html#add_wait_condition Online documentation} */ add_wait_condition(record_position: ScheduleRecordPosition, condition_index: uint32, type: WaitConditionType): void /** * Removes the given wait condition from the given record. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSchedule.html#remove_wait_condition Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSchedule.html#remove_wait_condition Online documentation} */ remove_wait_condition(record_position: ScheduleRecordPosition, condition_index: uint32): void /** * Sets the comparison on the given wait condition. * @param mode `"and"`, or `"or"` - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSchedule.html#set_wait_condition_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSchedule.html#set_wait_condition_mode Online documentation} */ set_wait_condition_mode(record_position: ScheduleRecordPosition, condition_index: uint32, mode: "and" | "or"): void /** * Changes the wait condition on the given record to the new values. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSchedule.html#change_wait_condition Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSchedule.html#change_wait_condition Online documentation} */ change_wait_condition( record_position: ScheduleRecordPosition, @@ -33275,86 +33291,86 @@ declare module "factorio:runtime" { /** * Adds the given record to the end of the current schedule or at the given index using the provided data. * @returns The index the record was added at. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSchedule.html#add_record Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSchedule.html#add_record Online documentation} */ add_record(data: AddRecordData): uint32 | nil /** * Removes the record at the given record position, if the record position is valid. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSchedule.html#remove_record Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSchedule.html#remove_record Online documentation} */ remove_record(record_position: ScheduleRecordPosition): void /** * Copies the record from the given schedule at the given index into this schedule at the given index. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSchedule.html#copy_record Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSchedule.html#copy_record Online documentation} */ copy_record(source_schedule: LuaSchedule, source_index: uint32, destination_index: uint32): void /** * Adds the given interrupt to the schedule if an interrupt with the given name does not already exist. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSchedule.html#add_interrupt Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSchedule.html#add_interrupt Online documentation} */ add_interrupt(interrupt: ScheduleInterruptWrite): void /** * Removes the interrupt at the given index, if the index is valid. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSchedule.html#remove_interrupt Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSchedule.html#remove_interrupt Online documentation} */ remove_interrupt(index: uint32): void /** * Activates the interrupt at the given index, if the index is valid. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSchedule.html#activate_interrupt Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSchedule.html#activate_interrupt Online documentation} */ activate_interrupt(index: uint32): void /** * Changes the interrupt at the given index to the provided values. Note, the names must match. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSchedule.html#change_interrupt Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSchedule.html#change_interrupt Online documentation} */ change_interrupt(index: uint32, interrupt: ScheduleInterruptWrite): void /** * @param old_name The interrupt to rename * @param new_name The new name - if it already exists, does nothing. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSchedule.html#rename_interrupt Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSchedule.html#rename_interrupt Online documentation} */ rename_interrupt(old_name: string, new_name: string): void /** * Sets the train or space platform to go to a destination, including changing the train/space platform to automatic mode. * @param schedule_index The schedule index - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSchedule.html#go_to_station Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSchedule.html#go_to_station Online documentation} */ go_to_station(schedule_index: uint32): void /** * Sets whether this train is in {@link LuaTrain#manual_mode manual mode} or this space platform is {@link LuaSpacePlatform#paused paused}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSchedule.html#set_stopped Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSchedule.html#set_stopped Online documentation} */ set_stopped(stopped: boolean): void /** * Sets if unloading is allowed at the given schedule record position. Only relevant for space platforms. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSchedule.html#set_allow_unloading Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSchedule.html#set_allow_unloading Online documentation} */ set_allow_unloading(record_position: ScheduleRecordPosition, allow: boolean): void /** * @param interrupt_index The interrupt to operate on, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSchedule.html#drag_record Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSchedule.html#drag_record Online documentation} */ drag_record(from: uint32, to: uint32, interrupt_index?: uint32): void drag_interrupt(from: uint32, to: uint32): void /** * @param record_position The record to change. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSchedule.html#drag_wait_condition Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSchedule.html#drag_wait_condition Online documentation} */ drag_wait_condition(record_position: ScheduleRecordPosition, from: uint32, to: uint32): void get_record(record_position: ScheduleRecordPosition): ScheduleRecord | nil /** * @param interrupt_index If provided, gets the records for this interrupt. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSchedule.html#get_records Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSchedule.html#get_records Online documentation} */ get_records(interrupt_index?: uint32): ScheduleRecord[] | nil /** * @param interrupt_index If provided, the records will be set on this interrupt. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSchedule.html#set_records Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSchedule.html#set_records Online documentation} */ set_records(records: readonly ScheduleRecordWrite[], interrupt_index?: uint32): void /** * @param interrupt_index If provided, clears the records for this interrupt. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSchedule.html#clear_records Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSchedule.html#clear_records Online documentation} */ clear_records(interrupt_index?: uint32): void get_interrupt(index: uint32): ScheduleInterrupt | nil @@ -33362,49 +33378,49 @@ declare module "factorio:runtime" { set_interrupts(interrupts: readonly ScheduleInterruptWrite[]): void /** * Removes all interrupts. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSchedule.html#clear_interrupts Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSchedule.html#clear_interrupts Online documentation} */ clear_interrupts(): void /** * Gets the wait condition at the given record position if one exists. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSchedule.html#get_wait_condition Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSchedule.html#get_wait_condition Online documentation} */ get_wait_condition(record_position: ScheduleRecordPosition, condition_index: uint32): WaitCondition | nil /** * Gets the wait conditions at the given record position if they exist. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSchedule.html#get_wait_conditions Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSchedule.html#get_wait_conditions Online documentation} */ get_wait_conditions(record_position: ScheduleRecordPosition): WaitCondition[] | nil /** * The number of wait conditions in the given schedule record. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSchedule.html#get_wait_condition_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSchedule.html#get_wait_condition_count Online documentation} */ get_wait_condition_count(record_position: ScheduleRecordPosition): uint32 | nil /** * Gets if the given interrupt can be triggered inside other interrupts. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSchedule.html#get_inside_interrupt Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSchedule.html#get_inside_interrupt Online documentation} */ get_inside_interrupt(interrupt_index: uint32): boolean /** * Sets if the given interrupt can be triggered inside other interrupts. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSchedule.html#set_inside_interrupt Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSchedule.html#set_inside_interrupt Online documentation} */ set_inside_interrupt(interrupt_index: uint32, value: boolean): void /** * If the given index is invalid, `nil` is returned. * @param interrupt_index If provided, the record count in this interrupt is read. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSchedule.html#get_record_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSchedule.html#get_record_count Online documentation} */ get_record_count(interrupt_index?: uint32): uint32 | nil /** * The owner of this schedule. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSchedule.html#owner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSchedule.html#owner Online documentation} */ readonly owner?: LuaTrain | LuaSpacePlatform readonly interrupt_count: uint32 /** * The schedule index of the current destination. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSchedule.html#current Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSchedule.html#current Online documentation} */ readonly current: uint32 readonly tick_of_last_schedule_change: MapTick @@ -33412,17 +33428,17 @@ declare module "factorio:runtime" { * The time when the train or space platform was last considered active for the inactivity condition. * * Note: when writing, value must not be larger than LuaGameScript::tick - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSchedule.html#tick_of_last_activity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSchedule.html#tick_of_last_activity Online documentation} */ tick_of_last_activity: MapTick /** * How long this train or space platform has been in the current station. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSchedule.html#ticks_in_station Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSchedule.html#ticks_in_station Online documentation} */ readonly ticks_in_station: MapTick /** * The group this schedule is part of, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSchedule.html#group Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSchedule.html#group Online documentation} */ group?: string /** @@ -33436,22 +33452,22 @@ declare module "factorio:runtime" { } /** * An individual segment of a {@link LuaSegmentedUnit}. If the segment exists in a generated chunk, you can access the entity representation using {@link LuaSegment#entity LuaSegment::entity}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSegment.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSegment.html Online documentation} */ export interface LuaSegment { /** * The prototype for the entity representation of the segment. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSegment.html#prototype Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSegment.html#prototype Online documentation} */ readonly prototype: LuaEntityPrototype /** * The segmented unit that owns the segment. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSegment.html#unit Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSegment.html#unit Online documentation} */ readonly unit: LuaSegmentedUnit /** * The actual entity representation of the segment if it exists. A segment's entity will be automatically destroyed if the segment moves into chunks that have not yet been fully generated or onto "out-of-map" tiles. Conversely, if a segment moves into a chunk that is fully generated and onto a non-"out-of-map" tile, then its entity will be created if it doesn't exist yet. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSegment.html#entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSegment.html#entity Online documentation} */ readonly entity?: LuaEntity /** @@ -33460,14 +33476,14 @@ declare module "factorio:runtime" { * This position may be in an un-generated chunk. Use {@link LuaSurface#is_chunk_generated LuaSurface::is_chunk_generated} to check before attempting to access the chunk. * * If {@link LuaSegment#entity LuaSegment::entity} is non-nil, this returns that entity's {@link LuaEntity#position LuaEntity::position}. If the entity is `nil`, then reading this field calculates the entity's would-be position if it existed. This can be expensive to compute, so avoid reading this field too often unless it is really necessary. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSegment.html#position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSegment.html#position Online documentation} */ readonly position?: MapPosition /** * The relative orientation of the segment if one has been assigned. An orientation may not be assigned if the unit's number of body nodes is fewer than {@link LuaSegmentedUnit#max_body_nodes LuaSegmentedUnit::max_body_nodes}. * * If {@link LuaSegment#entity LuaSegment::entity} is non-nil, this returns that entity's {@link LuaEntity#orientation LuaEntity::orientation}. If the entity is `nil`, then reading this field calculates the entity's would-be position if it existed. This can be expensive to compute, so avoid reading this field too often unless it is really necessary. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSegment.html#orientation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSegment.html#orientation Online documentation} */ readonly orientation?: RealOrientation /** @@ -33485,7 +33501,7 @@ declare module "factorio:runtime" { * This object is not an entity, and can exist on chunks that do not exist. Instead, the individual segments that compose its body will be destroyed as the unit's body crosses into un-generated or void terrain, and will be re-created when the body crosses into generated, non-void terrain. * * Use {@link LuaSurface#get_segmented_units LuaSurface::get_segmented_units} to iterate over all units on a surface, {@link LuaTerritory#get_segmented_units LuaTerritory::get_segmented_units} to iterate over all units that guard a territory, or {@link LuaEntity#segmented_unit LuaEntity::segmented_unit} to get the unit that controls any given segment entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSegmentedUnit.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSegmentedUnit.html Online documentation} * @noSelf */ export interface LuaSegmentedUnit { @@ -33494,7 +33510,7 @@ declare module "factorio:runtime" { * * ## Raised events * - {@link ScriptRaisedDestroySegmentedUnitEvent script_raised_destroy_segmented_unit}? _instantly_ Raised if the `raise_destroy` flag was set and the unit was successfully destroyed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSegmentedUnit.html#destroy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSegmentedUnit.html#destroy Online documentation} */ destroy(params?: { /** @@ -33513,7 +33529,7 @@ declare module "factorio:runtime" { * @param force The force to attribute the kill to. Defaults to the `"neutral"` force. * @param cause The cause to attribute the kill to. * @param damage_type The final damage type that caused the unit to die. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSegmentedUnit.html#die Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSegmentedUnit.html#die Online documentation} */ die(force?: ForceID, cause?: LuaEntity, damage_type?: DamageTypeID): void /** @@ -33527,13 +33543,13 @@ declare module "factorio:runtime" { * @param source The entity that is directly dealing the damage. This is the projectile, flame, sticker, grenade, laster beam, etc. Must be on the same surface as the entity being damaged. * @param cause The entity that originally triggered the events that led to this damage being dealt. This can be the player character, turret, unit, etc. that pulled the trigger. Does not need to be on the same surface as the segmented unit being damaged. * @returns The total damage actually applied after resistances. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSegmentedUnit.html#damage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSegmentedUnit.html#damage Online documentation} */ damage(damage: float, force: ForceID, type?: DamageTypeID, source?: LuaEntity, cause?: LuaEntity): float /** * Moves the unit forward by a fixed distance according to its natural movement patterns and AI configuration. This movement occurs in addition to the unit's current speed, but affects neither {@link LuaSegmentedUnit#speed LuaSegmentedUnit::speed} nor {@link LuaSegmentedUnit#acceleration LuaSegmentedUnit::acceleration}. * @param distance The distance in tiles to move the segmented unit forward. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSegmentedUnit.html#move_forward Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSegmentedUnit.html#move_forward Online documentation} */ move_forward(distance: double): void /** @@ -33542,7 +33558,7 @@ declare module "factorio:runtime" { * ## Raised events * - {@link OnSegmentedUnitCreatedEvent on_segmented_unit_created}? _instantly_ Raised if a clone of the segmented unit was successfully created. {@link OnSegmentedUnitCreatedEvent cause} will be set to {@link defines.segmented_unit_created_cause script_cloned}. * @returns The cloned unit or `nil` if the unit cannot be cloned. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSegmentedUnit.html#clone Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSegmentedUnit.html#clone Online documentation} */ clone(params: { /** @@ -33568,7 +33584,7 @@ declare module "factorio:runtime" { * The returned array will always contain at least 1 position, but will not contain more than {@link LuaSegmentedUnit#max_body_nodes LuaSegmentedUnit::max_body_nodes}. * * The returned table is a copy of the unit's actual body nodes. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSegmentedUnit.html#get_body_nodes Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSegmentedUnit.html#get_body_nodes Online documentation} */ get_body_nodes(): MapPosition[] /** @@ -33578,106 +33594,106 @@ declare module "factorio:runtime" { * * Segment entities may be created, destroyed, or moved as a result of setting this field's value. Any segment entities that have a {@link TriggerEffectWithCooldown}s will reduce that effect's distance cooldown. However, any effects that go off cooldown as a result will not trigger until the next game update. * @param nodes The new positions that make up the segmented unit's body nodes. Must not be empty. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSegmentedUnit.html#set_body_nodes Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSegmentedUnit.html#set_body_nodes Online documentation} */ set_body_nodes(nodes: readonly (MapPosition | MapPositionArray)[]): void /** * Gets the state of the unit's AI. * * This method returns a copy of the internal AI state. Modifying the returned table will not affect the unit's AI. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSegmentedUnit.html#get_ai_state Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSegmentedUnit.html#get_ai_state Online documentation} */ get_ai_state(): SegmentedUnitAIState /** * Sets the segmented unit's AI. * @param state The new AI state. A copy of this table used, so you can read or write to this table after calling this function without being affected by or affecting the unit's AI. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSegmentedUnit.html#set_ai_state Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSegmentedUnit.html#set_ai_state Online documentation} */ set_ai_state(state: SegmentedUnitAIStateWrite): void /** * The prototype of the `segmented-unit` entity that defines the traits and behaviors of the unit. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSegmentedUnit.html#prototype Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSegmentedUnit.html#prototype Online documentation} */ readonly prototype: LuaEntityPrototype /** * The surface on which the unit is located. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSegmentedUnit.html#surface Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSegmentedUnit.html#surface Online documentation} */ readonly surface: LuaSurface /** * The territory that the unit is protecting. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSegmentedUnit.html#territory Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSegmentedUnit.html#territory Online documentation} */ territory?: LuaTerritory /** * The segments that compose the unit. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSegmentedUnit.html#segments Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSegmentedUnit.html#segments Online documentation} */ readonly segments: LuaSegment[] /** * The force that the unit belongs to. Changing this also changes the force of all segment entities. * * Always returns a {@link LuaForce}, but may be assigned to any {@link ForceID} type. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSegmentedUnit.html#force Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSegmentedUnit.html#force Online documentation} */ get force(): LuaForce set force(value: ForceID) /** * A unique number identifying this unit for the lifetime of the save. These are allocated sequentially and not re-used (until overflow). These numbers are allocated from the same pool as {@link LuaEntity#unit_number LuaEntity::unit_number}, so segmented unit numbers are unique among all segmented units and all entities with owners. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSegmentedUnit.html#unit_number Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSegmentedUnit.html#unit_number Online documentation} */ readonly unit_number: UnitNumber /** * The current health of the unit. Health is automatically clamped to be between `0` and {@link LuaSegmentedUnit#max_health LuaSegmentedUnit::max_health}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSegmentedUnit.html#health Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSegmentedUnit.html#health Online documentation} */ health: float /** * The maximum health of the unit. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSegmentedUnit.html#max_health Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSegmentedUnit.html#max_health Online documentation} */ readonly max_health: float /** * The ratio of {@link LuaSegmentedUnit#health LuaSegmentedUnit::health} to {@link LuaSegmentedUnit#max_health LuaSegmentedUnit::max_health}. Values are clamped between `0` (no health) and `1` (full health) inclusive. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSegmentedUnit.html#health_ratio Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSegmentedUnit.html#health_ratio Online documentation} */ health_ratio: float /** * The current instantaneous speed in tiles per map tick. Must always be greater than or equal to 0; segmented units are currently incapable of naturally moving in reverse. * * When setting this value, note that unless the unit's AI is similarly overridden by a script, the unit's speed will continuously accelerate or decelerate to match {@link LuaSegmentedUnit#target_speed LuaSegmentedUnit::target_speed}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSegmentedUnit.html#speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSegmentedUnit.html#speed Online documentation} */ speed: double /** * The speed in tiles per tick that the unit is currently attempting to reach, as determined by its AI. Must always be greater than or equal to 0. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSegmentedUnit.html#target_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSegmentedUnit.html#target_speed Online documentation} */ readonly target_speed: double /** * The rate at which {@link LuaSegmentedUnit#speed LuaSegmentedUnit::speed} is changing over time, in tiles per tick per tick. * * This value represents unit's most recent change in speed. If its speed is not changing, the acceleration value will be 0. If it is gaining speed, the value will be positive. If it is losing speed, the value will be negative. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSegmentedUnit.html#acceleration Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSegmentedUnit.html#acceleration Online documentation} */ readonly acceleration: double /** * The maximum length of {@link LuaSegmentedUnit#get_body_nodes LuaSegmentedUnit::get_body_nodes}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSegmentedUnit.html#max_body_nodes Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSegmentedUnit.html#max_body_nodes Online documentation} */ readonly max_body_nodes: uint32 /** * The current activity mode of the unit. Setting this field can cause the segmented unit to "wake up" or force it into a lower activity mode, but not permanently. Segmented units will generally try to update their activity mode so that they are fully active whenever they are potentially being observed by players, minimally active when relevant to gameplay but not likely observed, and asleep when not relevant to gameplay. * * Will never be lower than {@link LuaSegmentedUnit#minimum_activity_mode LuaSegmentedUnit::minimum_activity_mode}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSegmentedUnit.html#activity_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSegmentedUnit.html#activity_mode Online documentation} */ activity_mode: defines.segmented_unit_activity_mode /** * The lowest-level activity mode that the unit is allowed to be in. Set this field to prevent the segmented unit from falling asleep or entering minimal mode. Set this field to `nil` or {@link defines.segmented_unit_activity_mode asleep} to reset this to the default and allow the engine to use whatever activity mode is appropriate. * * Performance note: it is NOT recommended to force many segmented units to be fully active or minimally active simultaneously, as they can significantly impact performance depending on how they are configured. When using this feature, remember to reset this field to allow irrelevant units to go back to sleep. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSegmentedUnit.html#minimum_activity_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSegmentedUnit.html#minimum_activity_mode Online documentation} */ minimum_activity_mode: defines.segmented_unit_activity_mode | nil /** @@ -33691,12 +33707,12 @@ declare module "factorio:runtime" { } /** * Control behavior for selector combinators. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSelectorCombinatorControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSelectorCombinatorControlBehavior.html Online documentation} */ export interface LuaSelectorCombinatorControlBehavior extends LuaCombinatorControlBehavior { /** * The selector combinator parameters. `parameters` may be `nil` in order to clear the parameters. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSelectorCombinatorControlBehavior.html#parameters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSelectorCombinatorControlBehavior.html#parameters Online documentation} */ get parameters(): SelectorCombinatorParameters | nil set parameters(value: SelectorCombinatorParametersWrite | nil) @@ -33711,7 +33727,7 @@ declare module "factorio:runtime" { } /** * Object containing the three different types of mod settings: startup settings, global runtime settings and per-player runtime settings. An instance of LuaSettings is available through the global object named `settings`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSettings.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSettings.html Online documentation} * @noSelf */ export interface LuaSettings { @@ -33722,12 +33738,12 @@ declare module "factorio:runtime" { * @example * -- Change the value of the "active_lifestyle" setting * settings.get_player_settings(player_index)["active_lifestyle"] = {value = true} - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSettings.html#get_player_settings Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSettings.html#get_player_settings Online documentation} */ get_player_settings(player: PlayerIdentification): LuaCustomTable /** * The startup mod settings, indexed by prototype name. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSettings.html#startup Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSettings.html#startup Online documentation} */ readonly startup: { readonly [name: string]: ModSetting @@ -33736,14 +33752,14 @@ declare module "factorio:runtime" { * The current global mod settings, indexed by prototype name. * * Even though this attribute is marked as read-only, individual settings can be changed by overwriting their {@link ModSetting} table. Mods can only change their own settings. Using the in-game console, all player settings can be changed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSettings.html#global Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSettings.html#global Online documentation} */ readonly global: LuaCustomTable /** * The **default** player mod settings for this map, indexed by prototype name. Changing these settings only affects the default settings for future players joining the game. * * Individual settings can be changed by overwriting their {@link ModSetting} table. Mods can only change their own settings. Using the in-game console, all player settings can be changed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSettings.html#player_default Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSettings.html#player_default Online documentation} */ readonly player_default: LuaCustomTable /** @@ -33753,24 +33769,24 @@ declare module "factorio:runtime" { } /** * Prototype of a shortcut. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaShortcutPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaShortcutPrototype.html Online documentation} */ export interface LuaShortcutPrototype extends LuaPrototypeBase { readonly action: string /** * The item to create when this shortcut is used, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaShortcutPrototype.html#item_to_spawn Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaShortcutPrototype.html#item_to_spawn Online documentation} */ readonly item_to_spawn?: LuaItemPrototype /** * The technology that needs to be researched once (in any save) for this shortcut to be unlocked (in all saves). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaShortcutPrototype.html#technology_to_unlock Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaShortcutPrototype.html#technology_to_unlock Online documentation} */ readonly technology_to_unlock?: LuaTechnologyPrototype readonly toggleable: boolean /** * The control input that is associated with this shortcut, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaShortcutPrototype.html#associated_control_input Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaShortcutPrototype.html#associated_control_input Online documentation} */ readonly associated_control_input?: string /** @@ -33937,13 +33953,13 @@ declare module "factorio:runtime" { * Functions for use during simulations. This object cannot be saved, and cannot be used outside of a simulation. * * The simulation object instance can be obtained from {@link LuaGameScript#simulation LuaGameScript::simulation}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSimulation.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSimulation.html Online documentation} * @noSelf */ export interface LuaSimulation { /** * @returns The created player. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSimulation.html#create_test_player Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSimulation.html#create_test_player Online documentation} */ create_test_player(params: { /** @@ -33953,7 +33969,7 @@ declare module "factorio:runtime" { }): LuaPlayer /** * @returns Position of the GUI slot on the screen, if successfully found. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSimulation.html#get_slot_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSimulation.html#get_slot_position Online documentation} */ get_slot_position(params: { readonly inventory_index: defines.inventory @@ -33985,12 +34001,12 @@ declare module "factorio:runtime" { * - `"check-box"`: {@link CheckBoxSimulationGetWidgetPosition} * - `"label"`: {@link LabelSimulationGetWidgetPosition} * @returns Center of the GUI widget on the screen, if successfully found. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSimulation.html#get_widget_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSimulation.html#get_widget_position Online documentation} */ get_widget_position(params: SimulationGetWidgetPosition): MapPosition | nil /** * Activate the rail planner at the given position. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSimulation.html#activate_rail_planner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSimulation.html#activate_rail_planner Online documentation} */ activate_rail_planner(params?: { readonly position?: MapPosition | MapPositionArray @@ -34005,13 +34021,13 @@ declare module "factorio:runtime" { }): void /** * Deactivate the rail planner. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSimulation.html#deactivate_rail_planner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSimulation.html#deactivate_rail_planner Online documentation} */ deactivate_rail_planner(): void /** * Move the cursor towards the given position at the given speed. * @returns Whether the cursor will reach the target position with this move. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSimulation.html#move_cursor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSimulation.html#move_cursor Online documentation} */ move_cursor(params: { readonly position: MapPosition | MapPositionArray @@ -34022,22 +34038,22 @@ declare module "factorio:runtime" { }): boolean /** * Send a left mouse button-down event at its current position. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSimulation.html#mouse_down Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSimulation.html#mouse_down Online documentation} */ mouse_down(): void /** * Send a left mouse button-up event at its current position. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSimulation.html#mouse_up Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSimulation.html#mouse_up Online documentation} */ mouse_up(): void /** * Send a left mouse button click event at its current position. This is equivalent to calling {@link LuaSimulation#mouse_down LuaSimulation::mouse_down}, then {@link LuaSimulation#mouse_up LuaSimulation::mouse_up}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSimulation.html#mouse_click Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSimulation.html#mouse_click Online documentation} */ mouse_click(): void /** * Send a control press event at the current cursor position. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSimulation.html#control_down Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSimulation.html#control_down Online documentation} */ control_down(params: { /** @@ -34051,7 +34067,7 @@ declare module "factorio:runtime" { }): void /** * Send a control release event at the current cursor position. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSimulation.html#control_up Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSimulation.html#control_up Online documentation} */ control_up(params: { /** @@ -34061,7 +34077,7 @@ declare module "factorio:runtime" { }): void /** * Send a control down and up event at the current cursor position. This is equivalent to calling {@link LuaSimulation#control_down LuaSimulation::control_down}, then {@link LuaSimulation#control_up LuaSimulation::control_up}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSimulation.html#control_press Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSimulation.html#control_press Online documentation} */ control_press(params: { /** @@ -34075,7 +34091,7 @@ declare module "factorio:runtime" { }): void /** * Write text as if it was typed by a player. Overwrites existing text by selecting it first. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSimulation.html#write Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSimulation.html#write Online documentation} */ write(params: { /** @@ -34085,12 +34101,12 @@ declare module "factorio:runtime" { }): void /** * Scroll the clipboard forwards by one entry. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSimulation.html#scroll_clipboard_forwards Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSimulation.html#scroll_clipboard_forwards Online documentation} */ scroll_clipboard_forwards(): void /** * Scroll the clipboard backwards by one entry. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSimulation.html#scroll_clipboard_backwards Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSimulation.html#scroll_clipboard_backwards Online documentation} */ scroll_clipboard_backwards(): void get camera_player_cursor_position(): MapPosition | nil @@ -34117,13 +34133,13 @@ declare module "factorio:runtime" { } /** * Control behavior for entities with a single fluid box (i.e. pipe, pipe-to-ground, storage-tank). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSingleFluidBoxControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSingleFluidBoxControlBehavior.html Online documentation} */ export interface LuaSingleFluidBoxControlBehavior extends LuaControlBehavior { circuit_exclusive_mode_of_operation: defines.control_behavior.single_fluid_box.exclusive_mode /** * If this will read the temperature of the fluid. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSingleFluidBoxControlBehavior.html#read_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSingleFluidBoxControlBehavior.html#read_temperature Online documentation} */ read_temperature: boolean get temperature_signal(): SignalID | nil @@ -34139,7 +34155,7 @@ declare module "factorio:runtime" { } /** * Prototype of a space connection. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpaceConnectionPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpaceConnectionPrototype.html Online documentation} */ export interface LuaSpaceConnectionPrototype extends LuaPrototypeBase { readonly origin: MapPosition @@ -34150,7 +34166,7 @@ declare module "factorio:runtime" { readonly asteroid_spawn_definitions?: SpaceConnectionAsteroidSpawnDefinition[] /** * An alternative prototype that will be used to display info about this prototype in Factoriopedia. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpaceConnectionPrototype.html#factoriopedia_alternative Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpaceConnectionPrototype.html#factoriopedia_alternative Online documentation} */ readonly factoriopedia_alternative?: LuaSpaceConnectionPrototype /** @@ -34164,7 +34180,7 @@ declare module "factorio:runtime" { } /** * Prototype of a space location, such as a planet. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpaceLocationPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpaceLocationPrototype.html Online documentation} */ export interface LuaSpaceLocationPrototype extends LuaPrototypeBase { readonly gravity_pull: double @@ -34184,44 +34200,44 @@ declare module "factorio:runtime" { readonly asteroid_spawn_definitions?: SpaceLocationAsteroidSpawnDefinition[] /** * An alternative prototype that will be used to display info about this prototype in Factoriopedia. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpaceLocationPrototype.html#factoriopedia_alternative Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpaceLocationPrototype.html#factoriopedia_alternative Online documentation} */ readonly factoriopedia_alternative?: LuaSpaceLocationPrototype /** * _Can only be used if this is Planet_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpaceLocationPrototype.html#map_seed_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpaceLocationPrototype.html#map_seed_offset Online documentation} */ readonly map_seed_offset?: uint32 /** * _Can only be used if this is Planet_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpaceLocationPrototype.html#map_gen_settings Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpaceLocationPrototype.html#map_gen_settings Online documentation} */ readonly map_gen_settings?: MapGenSettings /** * _Can only be used if this is Planet_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpaceLocationPrototype.html#entities_require_heating Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpaceLocationPrototype.html#entities_require_heating Online documentation} */ readonly entities_require_heating?: boolean /** * _Can only be used if this is Planet_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpaceLocationPrototype.html#pollutant_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpaceLocationPrototype.html#pollutant_type Online documentation} */ readonly pollutant_type?: LuaAirbornePollutantPrototype /** * _Can only be used if this is Planet_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpaceLocationPrototype.html#player_effects Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpaceLocationPrototype.html#player_effects Online documentation} */ readonly player_effects?: TriggerItem[] /** * _Can only be used if this is Planet_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpaceLocationPrototype.html#ticks_between_player_effects Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpaceLocationPrototype.html#ticks_between_player_effects Online documentation} */ readonly ticks_between_player_effects?: uint32 /** * A mapping of the surface property name to the value. * * _Can only be used if this is Planet_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpaceLocationPrototype.html#surface_properties Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpaceLocationPrototype.html#surface_properties Online documentation} */ readonly surface_properties?: Record /** @@ -34235,31 +34251,31 @@ declare module "factorio:runtime" { } /** * A space platform. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpacePlatform.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpacePlatform.html Online documentation} * @noSelf */ export interface LuaSpacePlatform { /** * Schedules this space platform for deletion. * @param ticks The number of ticks from now when this platform will be deleted. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpacePlatform.html#destroy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpacePlatform.html#destroy Online documentation} */ destroy(ticks?: MapTick): void /** * Cancels deletion of this space platform if it was scheduled for deletion. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpacePlatform.html#cancel_deletion Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpacePlatform.html#cancel_deletion Online documentation} */ cancel_deletion(): void /** * Applies the starter pack for this platform if it hasn't already been applied. * @param silent If the platform creation is announced to players on the force. Defaults to `false`. * @returns The platform hub. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpacePlatform.html#apply_starter_pack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpacePlatform.html#apply_starter_pack Online documentation} */ apply_starter_pack(silent?: boolean): LuaEntity | nil /** * Damages the given tile if it exists, the chunk is generated, and it is a platform foundation tile. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpacePlatform.html#damage_tile Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpacePlatform.html#damage_tile Online documentation} */ damage_tile(params?: { readonly position: TilePosition | TilePositionArray @@ -34268,13 +34284,13 @@ declare module "factorio:runtime" { }): void /** * Repairs the given tile if it's damaged. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpacePlatform.html#repair_tile Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpacePlatform.html#repair_tile Online documentation} */ repair_tile(position: TilePosition | TilePositionArray, amount?: float): void /** * Destroys all asteroid chunks from the given area. If no area and no position are given, then the entire surface is searched. * @returns The number of destroyed chunks. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpacePlatform.html#destroy_asteroid_chunks Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpacePlatform.html#destroy_asteroid_chunks Online documentation} */ destroy_asteroid_chunks(params: { readonly area?: BoundingBoxWrite | BoundingBoxArray @@ -34288,7 +34304,7 @@ declare module "factorio:runtime" { }): uint32 /** * Creates the given asteroid chunks on this platform. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpacePlatform.html#create_asteroid_chunks Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpacePlatform.html#create_asteroid_chunks Online documentation} */ create_asteroid_chunks(asteroid_chunks: readonly AsteroidChunkWrite[]): void /** @@ -34298,7 +34314,7 @@ declare module "factorio:runtime" { * @example * game.forces.player.platforms[1].find_asteroid_chunks_filtered{area = {{-10, -10}, {10, 10}}, name = "carbonic-asteroid"} -- gets all asteroids with the given name in the rectangle * game.forces.player.platforms[1].find_asteroid_chunks_filtered{area = {{-10, -10}, {10, 10}}, limit = 5} -- gets the first 5 asteroid chunks in the rectangle - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpacePlatform.html#find_asteroid_chunks_filtered Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpacePlatform.html#find_asteroid_chunks_filtered Online documentation} */ find_asteroid_chunks_filtered(params: { readonly area?: BoundingBoxWrite | BoundingBoxArray @@ -34312,12 +34328,12 @@ declare module "factorio:runtime" { }): AsteroidChunk[] /** * Returns `true` when the space platform isn't waiting on any delivery from the planet. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpacePlatform.html#can_leave_current_location Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpacePlatform.html#can_leave_current_location Online documentation} */ can_leave_current_location(): boolean /** * This allows full access to the space platform schedule, including modifying the schedule records, the group and the interrupts. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpacePlatform.html#get_schedule Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpacePlatform.html#get_schedule Online documentation} */ get_schedule(): LuaSchedule /** @@ -34325,7 +34341,7 @@ declare module "factorio:runtime" { * * If a LuaItemStack is provided, the actual item is ejected and removed from the source. * @param movement When inserters drop items into space, the {@link import("factorio:prototype").InserterPrototype#insert_position InserterPrototype::insert_position} rotated to the inserter direction is used. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpacePlatform.html#eject_item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpacePlatform.html#eject_item Online documentation} */ eject_item( item: ItemStackIdentification, @@ -34334,47 +34350,47 @@ declare module "factorio:runtime" { ): void /** * Removes all ejected items from this space platform. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpacePlatform.html#clear_ejected_items Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpacePlatform.html#clear_ejected_items Online documentation} */ clear_ejected_items(): void /** * The force of this space platform. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpacePlatform.html#force Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpacePlatform.html#force Online documentation} */ readonly force: LuaForce /** * The name of this space platform. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpacePlatform.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpacePlatform.html#name Online documentation} */ name: string /** * The unique index of this space platform. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpacePlatform.html#index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpacePlatform.html#index Online documentation} */ readonly index: uint32 /** * The space location this space platform is stopped at or `nil`. * * Write operation requires a valid space location and will cancel pending item requests. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpacePlatform.html#space_location Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpacePlatform.html#space_location Online documentation} */ get space_location(): LuaSpaceLocationPrototype | nil set space_location(value: SpaceLocationID | nil) /** * The space location this space platform previously went through or stopped at. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpacePlatform.html#last_visited_space_location Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpacePlatform.html#last_visited_space_location Online documentation} */ readonly last_visited_space_location?: LuaSpaceLocationPrototype /** * The number of trips completed between space locations. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpacePlatform.html#completed_trips Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpacePlatform.html#completed_trips Online documentation} */ completed_trips: uint32 /** * The space connection this space platform is traveling through or `nil`. * * Write operation requires a valid space connection and it sets the distance to 0.5. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpacePlatform.html#space_connection Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpacePlatform.html#space_connection Online documentation} */ get space_connection(): LuaSpaceConnectionPrototype | nil set space_connection(value: SpaceConnectionID | nil) @@ -34382,27 +34398,27 @@ declare module "factorio:runtime" { * The point on space connection this platform is at or `nil`. * * It is represented as a number in range `{@link LuaSpaceConnectionPrototype#from 0, 1]`, with 0 being [LuaSpaceConnectionPrototype::from} and 1 being {@link LuaSpaceConnectionPrototype#to LuaSpaceConnectionPrototype::to}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpacePlatform.html#distance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpacePlatform.html#distance Online documentation} */ distance?: double /** * The current state of this space platform. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpacePlatform.html#state Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpacePlatform.html#state Online documentation} */ readonly state: defines.space_platform_state /** * When `true`, the platform has paused thrust and does not advance its schedule. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpacePlatform.html#paused Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpacePlatform.html#paused Online documentation} */ paused: boolean /** * The starter pack used to create this space platform. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpacePlatform.html#starter_pack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpacePlatform.html#starter_pack Online documentation} */ readonly starter_pack?: ItemIDAndQualityIDPair /** * The surface that belongs to this platform (if it has been created yet). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpacePlatform.html#surface Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpacePlatform.html#surface Online documentation} */ readonly surface: LuaSurface /** @@ -34411,7 +34427,7 @@ declare module "factorio:runtime" { * If the hub {@link LuaEntity#die dies} the platform will be deleted at the end of the tick but is otherwise valid to use until that point. * * If the hub is {@link LuaEntity#destroy destroyed} the platform is not affected. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpacePlatform.html#hub Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpacePlatform.html#hub Online documentation} */ readonly hub?: LuaEntity /** @@ -34420,7 +34436,7 @@ declare module "factorio:runtime" { * The schedule can't be changed by modifying the returned table. Instead, changes must be made by assigning a new table to this attribute. * * This is a simplified schedule that does **not** include groups and interrupts. See {@link LuaSpacePlatform#get_schedule LuaSpacePlatform::get_schedule} for full access to the schedule, including interrupts and groups. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpacePlatform.html#schedule Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpacePlatform.html#schedule Online documentation} */ get schedule(): PlatformSchedule | nil set schedule(value: PlatformScheduleWrite | nil) @@ -34429,17 +34445,17 @@ declare module "factorio:runtime" { * If this platform is scheduled for deletion. * * Returns how many ticks are left before the platform will be deleted. 0 if not scheduled for deletion. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpacePlatform.html#scheduled_for_deletion Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpacePlatform.html#scheduled_for_deletion Online documentation} */ readonly scheduled_for_deletion: uint32 /** * The total weight of the platform. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpacePlatform.html#weight Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpacePlatform.html#weight Online documentation} */ readonly weight: Weight /** * The damaged tiles on this platform. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpacePlatform.html#damaged_tiles Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpacePlatform.html#damaged_tiles Online documentation} */ readonly damaged_tiles: { readonly position: TilePosition @@ -34447,12 +34463,12 @@ declare module "factorio:runtime" { }[] /** * All items that have been thrown overboard. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpacePlatform.html#ejected_items Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpacePlatform.html#ejected_items Online documentation} */ readonly ejected_items: EjectedItem[] /** * If this platform is hidden from the remote view surface list. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpacePlatform.html#hidden Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpacePlatform.html#hidden Online documentation} */ hidden: boolean /** @@ -34466,12 +34482,12 @@ declare module "factorio:runtime" { } /** * Control behavior for space platform hubs - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpacePlatformHubControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpacePlatformHubControlBehavior.html Online documentation} */ export interface LuaSpacePlatformHubControlBehavior extends LuaControlBehavior { /** * `true` if this hub is sending its content to a circuit network - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpacePlatformHubControlBehavior.html#read_contents Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpacePlatformHubControlBehavior.html#read_contents Online documentation} */ read_contents: boolean read_empty_slots: boolean @@ -34480,38 +34496,38 @@ declare module "factorio:runtime" { set_requests: boolean /** * Whether the signals are used for circuit conditions in the platform's schedule - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpacePlatformHubControlBehavior.html#send_to_platform Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpacePlatformHubControlBehavior.html#send_to_platform Online documentation} */ send_to_platform: boolean /** * Whether current connection "from" end is sent to circuit network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpacePlatformHubControlBehavior.html#read_moving_from Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpacePlatformHubControlBehavior.html#read_moving_from Online documentation} */ read_moving_from: boolean /** * Whether current connection "to" end is sent to circuit network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpacePlatformHubControlBehavior.html#read_moving_to Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpacePlatformHubControlBehavior.html#read_moving_to Online documentation} */ read_moving_to: boolean /** * Whether current speed of space platform is sent to circuit network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpacePlatformHubControlBehavior.html#read_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpacePlatformHubControlBehavior.html#read_speed Online documentation} */ read_speed: boolean /** * Signal to be transmitted with platform's current speed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpacePlatformHubControlBehavior.html#speed_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpacePlatformHubControlBehavior.html#speed_signal Online documentation} */ get speed_signal(): SignalID | nil set speed_signal(value: SignalIDWrite | nil) /** * Whether damage taken by the space platform is sent to circuit network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpacePlatformHubControlBehavior.html#read_damage_taken Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpacePlatformHubControlBehavior.html#read_damage_taken Online documentation} */ read_damage_taken: boolean /** * Signal to be transmitted with platform's damage taken value. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSpacePlatformHubControlBehavior.html#damage_taken_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSpacePlatformHubControlBehavior.html#damage_taken_signal Online documentation} */ get damage_taken_signal(): SignalID | nil set damage_taken_signal(value: SignalIDWrite | nil) @@ -34526,7 +34542,7 @@ declare module "factorio:runtime" { } /** * Control behavior for splitter. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSplitterControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSplitterControlBehavior.html Online documentation} */ export interface LuaSplitterControlBehavior extends LuaControlBehavior { set_input_side: boolean @@ -34551,7 +34567,7 @@ declare module "factorio:runtime" { } /** * Style of a GUI element. All of the attributes listed here may be `nil` if not available for a particular GUI element. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html Online documentation} * @noSelf */ export interface LuaStyle { @@ -34563,47 +34579,47 @@ declare module "factorio:runtime" { * Note: when the parent {@link LuaGuiElement#style LuaGuiElement::style} is directly changed (element.style = "new_style") any sub-styles will be invalidated. * @param style_name The style to get. * @param create If true, and the given sub-style is valid - it will be created if it does not exist. Defaults to `false`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#get_style Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#get_style Online documentation} */ get_style(style_name: string, create?: boolean): LuaStyle | nil /** * GUI of the {@link LuaGuiElement} of this style. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#gui Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#gui Online documentation} */ readonly gui: LuaGui /** * Name of this style. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#name Online documentation} */ name: string /** * Minimal width ensures, that the widget will never be smaller than than that size. It can't be squashed to be smaller. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#minimal_width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#minimal_width Online documentation} */ minimal_width: int32 /** * Maximal width ensures, that the widget will never be bigger than than that size. It can't be stretched to be bigger. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#maximal_width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#maximal_width Online documentation} */ maximal_width: int32 /** * Minimal height ensures, that the widget will never be smaller than than that size. It can't be squashed to be smaller. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#minimal_height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#minimal_height Online documentation} */ minimal_height: int32 /** * Maximal height ensures, that the widget will never be bigger than than that size. It can't be stretched to be bigger. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#maximal_height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#maximal_height Online documentation} */ maximal_height: int32 /** * Natural width specifies the width of the element tries to have, but it can still be squashed/stretched to have a smaller or bigger size. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#natural_width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#natural_width Online documentation} */ natural_width: int32 /** * Natural height specifies the height of the element tries to have, but it can still be squashed/stretched to have a smaller or bigger size. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#natural_height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#natural_height Online documentation} */ natural_height: int32 top_padding: int16 @@ -34616,12 +34632,12 @@ declare module "factorio:runtime" { left_margin: int16 /** * Horizontal align of the inner content of the widget, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#horizontal_align Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#horizontal_align Online documentation} */ horizontal_align?: "left" | "center" | "right" /** * Vertical align of the inner content of the widget, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#vertical_align Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#vertical_align Online documentation} */ vertical_align?: "top" | "center" | "bottom" get font_color(): Color @@ -34631,148 +34647,148 @@ declare module "factorio:runtime" { * Space between the table cell contents top and border. * * _Can only be used if this is LuaTableStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#top_cell_padding Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#top_cell_padding Online documentation} */ top_cell_padding: int16 /** * Space between the table cell contents right and border. * * _Can only be used if this is LuaTableStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#right_cell_padding Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#right_cell_padding Online documentation} */ right_cell_padding: int16 /** * Space between the table cell contents bottom and border. * * _Can only be used if this is LuaTableStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#bottom_cell_padding Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#bottom_cell_padding Online documentation} */ bottom_cell_padding: int16 /** * Space between the table cell contents left and border. * * _Can only be used if this is LuaTableStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#left_cell_padding Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#left_cell_padding Online documentation} */ left_cell_padding: int16 /** * Whether the GUI element stretches its size horizontally to other elements. `nil` if this element does not support stretching. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#horizontally_stretchable Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#horizontally_stretchable Online documentation} */ horizontally_stretchable?: boolean /** * Whether the GUI element stretches its size vertically to other elements. `nil` if this element does not support stretching. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#vertically_stretchable Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#vertically_stretchable Online documentation} */ vertically_stretchable?: boolean /** * Whether the GUI element can be squashed (by maximal width of some parent element) horizontally. `nil` if this element does not support squashing. * * This is mainly meant to be used for scroll-pane. The default value is false. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#horizontally_squashable Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#horizontally_squashable Online documentation} */ horizontally_squashable?: boolean /** * Whether the GUI element can be squashed (by maximal height of some parent element) vertically. `nil` if this element does not support squashing. * * This is mainly meant to be used for scroll-pane. The default (parent) value for scroll pane is true, false otherwise. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#vertically_squashable Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#vertically_squashable Online documentation} */ vertically_squashable?: boolean /** * How this GUI element handles rich text. * * _Can only be used if this is LuaLabelStyle or LuaTextBoxStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#rich_text_setting Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#rich_text_setting Online documentation} */ rich_text_setting: defines.rich_text_setting /** * _Can only be used if this is LuaButtonStyle or LuaLabelStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#hovered_font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#hovered_font_color Online documentation} */ get hovered_font_color(): Color set hovered_font_color(value: Color | ColorArray) /** * _Can only be used if this is LuaButtonStyle or LuaLabelStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#clicked_font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#clicked_font_color Online documentation} */ get clicked_font_color(): Color set clicked_font_color(value: Color | ColorArray) /** * _Can only be used if this is LuaButtonStyle, LuaTabStyle, LuaLabelStyle or LuaTextBoxStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#disabled_font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#disabled_font_color Online documentation} */ get disabled_font_color(): Color set disabled_font_color(value: Color | ColorArray) /** * _Can only be used if this is LuaButtonStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#pie_progress_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#pie_progress_color Online documentation} */ get pie_progress_color(): Color set pie_progress_color(value: Color | ColorArray) /** * _Can only be used if this is LuaButtonStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#clicked_vertical_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#clicked_vertical_offset Online documentation} */ clicked_vertical_offset: uint32 /** * _Can only be used if this is LuaButtonStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#selected_font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#selected_font_color Online documentation} */ get selected_font_color(): Color set selected_font_color(value: Color | ColorArray) /** * _Can only be used if this is LuaButtonStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#selected_hovered_font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#selected_hovered_font_color Online documentation} */ get selected_hovered_font_color(): Color set selected_hovered_font_color(value: Color | ColorArray) /** * _Can only be used if this is LuaButtonStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#selected_clicked_font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#selected_clicked_font_color Online documentation} */ get selected_clicked_font_color(): Color set selected_clicked_font_color(value: Color | ColorArray) /** * _Can only be used if this is LuaButtonStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#strikethrough_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#strikethrough_color Online documentation} */ get strikethrough_color(): Color set strikethrough_color(value: Color | ColorArray) /** * _Can only be used if this is LuaButtonStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#draw_grayscale_picture Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#draw_grayscale_picture Online documentation} */ draw_grayscale_picture: boolean /** * Horizontal space between individual cells. * * _Can only be used if this is LuaTableStyle, LuaFlowStyle or LuaHorizontalFlowStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#horizontal_spacing Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#horizontal_spacing Online documentation} */ horizontal_spacing: int32 /** * Vertical space between individual cells. * * _Can only be used if this is LuaTableStyle, LuaFlowStyle, LuaVerticalFlowStyle or LuaTabbedPaneStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#vertical_spacing Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#vertical_spacing Online documentation} */ vertical_spacing: int32 /** * _Can only be used if this is LuaFrameStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#use_header_filler Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#use_header_filler Online documentation} */ use_header_filler: boolean /** * The thickness of the bar, not the horizontal width. * * _Can only be used if this is LuaProgressBarStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#bar_width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#bar_width Online documentation} */ bar_width: uint32 /** * _Can only be used if this is LuaProgressBarStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#color Online documentation} */ get color(): Color set color(value: Color | ColorArray) @@ -34780,135 +34796,135 @@ declare module "factorio:runtime" { * Array containing the alignment for every column of this table element. Even though this property is marked as read-only, the alignment can be changed by indexing the LuaCustomTable, like so: * @example * table_element.style.column_alignments[1] = "center" - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#column_alignments Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#column_alignments Online documentation} */ readonly column_alignments: LuaCustomTable /** * _Can only be used if this is LabelStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#single_line Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#single_line Online documentation} */ single_line: boolean /** * _Can only be used if this is ScrollPaneStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#extra_top_padding_when_activated Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#extra_top_padding_when_activated Online documentation} */ extra_top_padding_when_activated: int32 /** * _Can only be used if this is ScrollPaneStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#extra_bottom_padding_when_activated Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#extra_bottom_padding_when_activated Online documentation} */ extra_bottom_padding_when_activated: int32 /** * _Can only be used if this is ScrollPaneStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#extra_left_padding_when_activated Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#extra_left_padding_when_activated Online documentation} */ extra_left_padding_when_activated: int32 /** * _Can only be used if this is ScrollPaneStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#extra_right_padding_when_activated Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#extra_right_padding_when_activated Online documentation} */ extra_right_padding_when_activated: int32 /** * _Can only be used if this is ScrollPaneStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#extra_top_margin_when_activated Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#extra_top_margin_when_activated Online documentation} */ extra_top_margin_when_activated: int32 /** * _Can only be used if this is ScrollPaneStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#extra_bottom_margin_when_activated Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#extra_bottom_margin_when_activated Online documentation} */ extra_bottom_margin_when_activated: int32 /** * _Can only be used if this is ScrollPaneStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#extra_left_margin_when_activated Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#extra_left_margin_when_activated Online documentation} */ extra_left_margin_when_activated: int32 /** * _Can only be used if this is ScrollPaneStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#extra_right_margin_when_activated Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#extra_right_margin_when_activated Online documentation} */ extra_right_margin_when_activated: int32 /** * Sets `extra_top/right/bottom/left_padding_when_activated` to this value. * * An array with two values sets top/bottom padding to the first value and left/right padding to the second value. An array with four values sets top, right, bottom, left padding respectively. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#extra_padding_when_activated Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#extra_padding_when_activated Online documentation} */ set extra_padding_when_activated(value: int32 | StyleValuesArray) /** * Sets `extra_top/right/bottom/left_margin_when_activated` to this value. * * An array with two values sets top/bottom margin to the first value and left/right margin to the second value. An array with four values sets top, right, bottom, left margin respectively. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#extra_margin_when_activated Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#extra_margin_when_activated Online documentation} */ set extra_margin_when_activated(value: int32 | StyleValuesArray) /** * _Can only be used if this is ImageStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#stretch_image_to_widget_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#stretch_image_to_widget_size Online documentation} */ stretch_image_to_widget_size: boolean /** * _Can only be used if this is TabStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#badge_font Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#badge_font Online documentation} */ badge_font: string /** * _Can only be used if this is TabStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#badge_horizontal_spacing Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#badge_horizontal_spacing Online documentation} */ badge_horizontal_spacing: int32 /** * _Can only be used if this is TabStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#default_badge_font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#default_badge_font_color Online documentation} */ get default_badge_font_color(): Color set default_badge_font_color(value: Color | ColorArray) /** * _Can only be used if this is TabStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#selected_badge_font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#selected_badge_font_color Online documentation} */ get selected_badge_font_color(): Color set selected_badge_font_color(value: Color | ColorArray) /** * _Can only be used if this is TabStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#disabled_badge_font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#disabled_badge_font_color Online documentation} */ get disabled_badge_font_color(): Color set disabled_badge_font_color(value: Color | ColorArray) /** * Sets both minimal and maximal width to the given value. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#width Online documentation} */ set width(value: int32) /** * Sets both minimal and maximal height to the given value. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#height Online documentation} */ set height(value: int32) /** * Sets both width and height to the given value. Also accepts an array with two values, setting width to the first and height to the second one. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#size Online documentation} */ set size(value: int32 | SizeArray) /** * Sets top/right/bottom/left paddings to this value. * * An array with two values sets top/bottom padding to the first value and left/right padding to the second value. An array with four values sets top, right, bottom, left padding respectively. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#padding Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#padding Online documentation} */ set padding(value: int32 | StyleValuesArray) /** * Sets top/right/bottom/left margins to this value. * * An array with two values sets top/bottom margin to the first value and left/right margin to the second value. An array with four values sets top, right, bottom, left margin respectively. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#margin Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#margin Online documentation} */ set margin(value: int32 | StyleValuesArray) /** * Space between the table cell contents and border. Sets top/right/bottom/left cell paddings to this value. * * _Can only be used if this is LuaTableStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#cell_padding Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#cell_padding Online documentation} */ set cell_padding(value: int16) /** @@ -34932,47 +34948,47 @@ declare module "factorio:runtime" { * Note: when the parent {@link LuaGuiElement#style LuaGuiElement::style} is directly changed (element.style = "new_style") any sub-styles will be invalidated. * @param style_name The style to get. * @param create If true, and the given sub-style is valid - it will be created if it does not exist. Defaults to `false`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#get_style Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#get_style Online documentation} */ get_style(style_name: string, create?: boolean): LuaStyle | nil /** * GUI of the {@link LuaGuiElement} of this style. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#gui Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#gui Online documentation} */ readonly gui: LuaGui /** * Name of this style. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#name Online documentation} */ name: string /** * Minimal width ensures, that the widget will never be smaller than than that size. It can't be squashed to be smaller. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#minimal_width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#minimal_width Online documentation} */ minimal_width: int32 /** * Maximal width ensures, that the widget will never be bigger than than that size. It can't be stretched to be bigger. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#maximal_width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#maximal_width Online documentation} */ maximal_width: int32 /** * Minimal height ensures, that the widget will never be smaller than than that size. It can't be squashed to be smaller. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#minimal_height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#minimal_height Online documentation} */ minimal_height: int32 /** * Maximal height ensures, that the widget will never be bigger than than that size. It can't be stretched to be bigger. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#maximal_height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#maximal_height Online documentation} */ maximal_height: int32 /** * Natural width specifies the width of the element tries to have, but it can still be squashed/stretched to have a smaller or bigger size. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#natural_width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#natural_width Online documentation} */ natural_width: int32 /** * Natural height specifies the height of the element tries to have, but it can still be squashed/stretched to have a smaller or bigger size. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#natural_height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#natural_height Online documentation} */ natural_height: int32 top_padding: int16 @@ -34985,12 +35001,12 @@ declare module "factorio:runtime" { left_margin: int16 /** * Horizontal align of the inner content of the widget, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#horizontal_align Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#horizontal_align Online documentation} */ horizontal_align?: "left" | "center" | "right" /** * Vertical align of the inner content of the widget, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#vertical_align Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#vertical_align Online documentation} */ vertical_align?: "top" | "center" | "bottom" get font_color(): Color @@ -34998,62 +35014,62 @@ declare module "factorio:runtime" { font: string /** * Whether the GUI element stretches its size horizontally to other elements. `nil` if this element does not support stretching. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#horizontally_stretchable Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#horizontally_stretchable Online documentation} */ horizontally_stretchable?: boolean /** * Whether the GUI element stretches its size vertically to other elements. `nil` if this element does not support stretching. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#vertically_stretchable Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#vertically_stretchable Online documentation} */ vertically_stretchable?: boolean /** * Whether the GUI element can be squashed (by maximal width of some parent element) horizontally. `nil` if this element does not support squashing. * * This is mainly meant to be used for scroll-pane. The default value is false. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#horizontally_squashable Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#horizontally_squashable Online documentation} */ horizontally_squashable?: boolean /** * Whether the GUI element can be squashed (by maximal height of some parent element) vertically. `nil` if this element does not support squashing. * * This is mainly meant to be used for scroll-pane. The default (parent) value for scroll pane is true, false otherwise. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#vertically_squashable Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#vertically_squashable Online documentation} */ vertically_squashable?: boolean /** * Array containing the alignment for every column of this table element. Even though this property is marked as read-only, the alignment can be changed by indexing the LuaCustomTable, like so: * @example * table_element.style.column_alignments[1] = "center" - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#column_alignments Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#column_alignments Online documentation} */ readonly column_alignments: LuaCustomTable /** * Sets both minimal and maximal width to the given value. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#width Online documentation} */ set width(value: int32) /** * Sets both minimal and maximal height to the given value. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#height Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#height Online documentation} */ set height(value: int32) /** * Sets both width and height to the given value. Also accepts an array with two values, setting width to the first and height to the second one. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#size Online documentation} */ set size(value: int32 | SizeArray) /** * Sets top/right/bottom/left paddings to this value. * * An array with two values sets top/bottom padding to the first value and left/right padding to the second value. An array with four values sets top, right, bottom, left padding respectively. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#padding Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#padding Online documentation} */ set padding(value: int32 | StyleValuesArray) /** * Sets top/right/bottom/left margins to this value. * * An array with two values sets top/bottom margin to the first value and left/right margin to the second value. An array with four values sets top, right, bottom, left margin respectively. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#margin Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#margin Online documentation} */ set margin(value: int32 | StyleValuesArray) /** @@ -35070,49 +35086,49 @@ declare module "factorio:runtime" { * Space between the table cell contents top and border. * * _Can only be used if this is LuaTableStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#top_cell_padding Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#top_cell_padding Online documentation} */ top_cell_padding: int16 /** * Space between the table cell contents right and border. * * _Can only be used if this is LuaTableStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#right_cell_padding Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#right_cell_padding Online documentation} */ right_cell_padding: int16 /** * Space between the table cell contents bottom and border. * * _Can only be used if this is LuaTableStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#bottom_cell_padding Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#bottom_cell_padding Online documentation} */ bottom_cell_padding: int16 /** * Space between the table cell contents left and border. * * _Can only be used if this is LuaTableStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#left_cell_padding Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#left_cell_padding Online documentation} */ left_cell_padding: int16 /** * Horizontal space between individual cells. * * _Can only be used if this is LuaTableStyle, LuaFlowStyle or LuaHorizontalFlowStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#horizontal_spacing Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#horizontal_spacing Online documentation} */ horizontal_spacing: int32 /** * Vertical space between individual cells. * * _Can only be used if this is LuaTableStyle, LuaFlowStyle, LuaVerticalFlowStyle or LuaTabbedPaneStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#vertical_spacing Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#vertical_spacing Online documentation} */ vertical_spacing: int32 /** * Space between the table cell contents and border. Sets top/right/bottom/left cell paddings to this value. * * _Can only be used if this is LuaTableStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#cell_padding Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#cell_padding Online documentation} */ set cell_padding(value: int16) } @@ -35121,30 +35137,30 @@ declare module "factorio:runtime" { * How this GUI element handles rich text. * * _Can only be used if this is LuaLabelStyle or LuaTextBoxStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#rich_text_setting Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#rich_text_setting Online documentation} */ rich_text_setting: defines.rich_text_setting /** * _Can only be used if this is LuaButtonStyle or LuaLabelStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#hovered_font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#hovered_font_color Online documentation} */ get hovered_font_color(): Color set hovered_font_color(value: Color | ColorArray) /** * _Can only be used if this is LuaButtonStyle or LuaLabelStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#clicked_font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#clicked_font_color Online documentation} */ get clicked_font_color(): Color set clicked_font_color(value: Color | ColorArray) /** * _Can only be used if this is LuaButtonStyle, LuaTabStyle, LuaLabelStyle or LuaTextBoxStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#disabled_font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#disabled_font_color Online documentation} */ get disabled_font_color(): Color set disabled_font_color(value: Color | ColorArray) /** * _Can only be used if this is LabelStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#single_line Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#single_line Online documentation} */ single_line: boolean } @@ -35153,12 +35169,12 @@ declare module "factorio:runtime" { * How this GUI element handles rich text. * * _Can only be used if this is LuaLabelStyle or LuaTextBoxStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#rich_text_setting Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#rich_text_setting Online documentation} */ rich_text_setting: defines.rich_text_setting /** * _Can only be used if this is LuaButtonStyle, LuaTabStyle, LuaLabelStyle or LuaTextBoxStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#disabled_font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#disabled_font_color Online documentation} */ get disabled_font_color(): Color set disabled_font_color(value: Color | ColorArray) @@ -35166,95 +35182,95 @@ declare module "factorio:runtime" { export interface ButtonStyle extends BaseStyle { /** * _Can only be used if this is LuaButtonStyle or LuaLabelStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#hovered_font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#hovered_font_color Online documentation} */ get hovered_font_color(): Color set hovered_font_color(value: Color | ColorArray) /** * _Can only be used if this is LuaButtonStyle or LuaLabelStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#clicked_font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#clicked_font_color Online documentation} */ get clicked_font_color(): Color set clicked_font_color(value: Color | ColorArray) /** * _Can only be used if this is LuaButtonStyle, LuaTabStyle, LuaLabelStyle or LuaTextBoxStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#disabled_font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#disabled_font_color Online documentation} */ get disabled_font_color(): Color set disabled_font_color(value: Color | ColorArray) /** * _Can only be used if this is LuaButtonStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#pie_progress_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#pie_progress_color Online documentation} */ get pie_progress_color(): Color set pie_progress_color(value: Color | ColorArray) /** * _Can only be used if this is LuaButtonStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#clicked_vertical_offset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#clicked_vertical_offset Online documentation} */ clicked_vertical_offset: uint32 /** * _Can only be used if this is LuaButtonStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#selected_font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#selected_font_color Online documentation} */ get selected_font_color(): Color set selected_font_color(value: Color | ColorArray) /** * _Can only be used if this is LuaButtonStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#selected_hovered_font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#selected_hovered_font_color Online documentation} */ get selected_hovered_font_color(): Color set selected_hovered_font_color(value: Color | ColorArray) /** * _Can only be used if this is LuaButtonStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#selected_clicked_font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#selected_clicked_font_color Online documentation} */ get selected_clicked_font_color(): Color set selected_clicked_font_color(value: Color | ColorArray) /** * _Can only be used if this is LuaButtonStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#strikethrough_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#strikethrough_color Online documentation} */ get strikethrough_color(): Color set strikethrough_color(value: Color | ColorArray) /** * _Can only be used if this is LuaButtonStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#draw_grayscale_picture Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#draw_grayscale_picture Online documentation} */ draw_grayscale_picture: boolean } export interface TabStyle extends BaseStyle { /** * _Can only be used if this is LuaButtonStyle, LuaTabStyle, LuaLabelStyle or LuaTextBoxStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#disabled_font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#disabled_font_color Online documentation} */ get disabled_font_color(): Color set disabled_font_color(value: Color | ColorArray) /** * _Can only be used if this is TabStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#badge_font Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#badge_font Online documentation} */ badge_font: string /** * _Can only be used if this is TabStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#badge_horizontal_spacing Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#badge_horizontal_spacing Online documentation} */ badge_horizontal_spacing: int32 /** * _Can only be used if this is TabStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#default_badge_font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#default_badge_font_color Online documentation} */ get default_badge_font_color(): Color set default_badge_font_color(value: Color | ColorArray) /** * _Can only be used if this is TabStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#selected_badge_font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#selected_badge_font_color Online documentation} */ get selected_badge_font_color(): Color set selected_badge_font_color(value: Color | ColorArray) /** * _Can only be used if this is TabStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#disabled_badge_font_color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#disabled_badge_font_color Online documentation} */ get disabled_badge_font_color(): Color set disabled_badge_font_color(value: Color | ColorArray) @@ -35264,14 +35280,14 @@ declare module "factorio:runtime" { * Horizontal space between individual cells. * * _Can only be used if this is LuaTableStyle, LuaFlowStyle or LuaHorizontalFlowStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#horizontal_spacing Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#horizontal_spacing Online documentation} */ horizontal_spacing: int32 /** * Vertical space between individual cells. * * _Can only be used if this is LuaTableStyle, LuaFlowStyle, LuaVerticalFlowStyle or LuaTabbedPaneStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#vertical_spacing Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#vertical_spacing Online documentation} */ vertical_spacing: int32 } @@ -35280,7 +35296,7 @@ declare module "factorio:runtime" { * Horizontal space between individual cells. * * _Can only be used if this is LuaTableStyle, LuaFlowStyle or LuaHorizontalFlowStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#horizontal_spacing Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#horizontal_spacing Online documentation} */ horizontal_spacing: int32 } @@ -35289,7 +35305,7 @@ declare module "factorio:runtime" { * Vertical space between individual cells. * * _Can only be used if this is LuaTableStyle, LuaFlowStyle, LuaVerticalFlowStyle or LuaTabbedPaneStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#vertical_spacing Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#vertical_spacing Online documentation} */ vertical_spacing: int32 } @@ -35298,14 +35314,14 @@ declare module "factorio:runtime" { * Vertical space between individual cells. * * _Can only be used if this is LuaTableStyle, LuaFlowStyle, LuaVerticalFlowStyle or LuaTabbedPaneStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#vertical_spacing Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#vertical_spacing Online documentation} */ vertical_spacing: int32 } export interface FrameStyle extends BaseStyle { /** * _Can only be used if this is LuaFrameStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#use_header_filler Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#use_header_filler Online documentation} */ use_header_filler: boolean } @@ -35314,12 +35330,12 @@ declare module "factorio:runtime" { * The thickness of the bar, not the horizontal width. * * _Can only be used if this is LuaProgressBarStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#bar_width Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#bar_width Online documentation} */ bar_width: uint32 /** * _Can only be used if this is LuaProgressBarStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#color Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#color Online documentation} */ get color(): Color set color(value: Color | ColorArray) @@ -35327,63 +35343,63 @@ declare module "factorio:runtime" { export interface ScrollPaneStyle extends BaseStyle { /** * _Can only be used if this is ScrollPaneStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#extra_top_padding_when_activated Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#extra_top_padding_when_activated Online documentation} */ extra_top_padding_when_activated: int32 /** * _Can only be used if this is ScrollPaneStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#extra_bottom_padding_when_activated Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#extra_bottom_padding_when_activated Online documentation} */ extra_bottom_padding_when_activated: int32 /** * _Can only be used if this is ScrollPaneStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#extra_left_padding_when_activated Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#extra_left_padding_when_activated Online documentation} */ extra_left_padding_when_activated: int32 /** * _Can only be used if this is ScrollPaneStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#extra_right_padding_when_activated Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#extra_right_padding_when_activated Online documentation} */ extra_right_padding_when_activated: int32 /** * _Can only be used if this is ScrollPaneStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#extra_top_margin_when_activated Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#extra_top_margin_when_activated Online documentation} */ extra_top_margin_when_activated: int32 /** * _Can only be used if this is ScrollPaneStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#extra_bottom_margin_when_activated Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#extra_bottom_margin_when_activated Online documentation} */ extra_bottom_margin_when_activated: int32 /** * _Can only be used if this is ScrollPaneStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#extra_left_margin_when_activated Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#extra_left_margin_when_activated Online documentation} */ extra_left_margin_when_activated: int32 /** * _Can only be used if this is ScrollPaneStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#extra_right_margin_when_activated Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#extra_right_margin_when_activated Online documentation} */ extra_right_margin_when_activated: int32 /** * Sets `extra_top/right/bottom/left_padding_when_activated` to this value. * * An array with two values sets top/bottom padding to the first value and left/right padding to the second value. An array with four values sets top, right, bottom, left padding respectively. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#extra_padding_when_activated Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#extra_padding_when_activated Online documentation} */ set extra_padding_when_activated(value: int32 | StyleValuesArray) /** * Sets `extra_top/right/bottom/left_margin_when_activated` to this value. * * An array with two values sets top/bottom margin to the first value and left/right margin to the second value. An array with four values sets top, right, bottom, left margin respectively. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#extra_margin_when_activated Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#extra_margin_when_activated Online documentation} */ set extra_margin_when_activated(value: int32 | StyleValuesArray) } export interface ImageStyle extends BaseStyle { /** * _Can only be used if this is ImageStyle_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaStyle.html#stretch_image_to_widget_size Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaStyle.html#stretch_image_to_widget_size Online documentation} */ stretch_image_to_widget_size: boolean } @@ -36463,7 +36479,7 @@ declare module "factorio:runtime" { PositionAndDirectionSurfaceCreateSegmentedUnit | BodyNodesSurfaceCreateSegmentedUnit /** * A "domain" of the world, such as a planet or space platform. Surfaces are uniquely identified by their name. Every game contains at least the surface "nauvis". - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html Online documentation} * @noSelf */ export interface LuaSurface { @@ -36474,7 +36490,7 @@ declare module "factorio:runtime" { * @param position The position to poll the chunk's pollution * @example * game.surfaces[1].get_pollution({1,2}) - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#get_pollution Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#get_pollution Online documentation} */ get_pollution(position: MapPosition | MapPositionArray): double /** @@ -36483,12 +36499,12 @@ declare module "factorio:runtime" { * Pollution changes by this are not included in pollution statistics and do not affect evolution factors (as opposed to {@link LuaSurface#pollute LuaSurface::pollute}). * @param position The position to set the chunk's pollution * @param amount New amount of pollution to be set on the chunk. Must be >= 0. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#set_pollution Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#set_pollution Online documentation} */ set_pollution(position: MapPosition | MapPositionArray, amount: double): void /** * Check for collisions with terrain or other entities. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#can_place_entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#can_place_entity Online documentation} */ can_place_entity(params: { /** @@ -36522,7 +36538,7 @@ declare module "factorio:runtime" { }): boolean /** * If there exists an entity at the given location that can be fast-replaced with the given entity parameters. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#can_fast_replace Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#can_fast_replace Online documentation} */ can_fast_replace(params: { /** @@ -36549,7 +36565,7 @@ declare module "factorio:runtime" { * @returns `nil` if no such entity is found. * @example * game.player.selected.surface.find_entity('filter-inserter', {0,0}) - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#find_entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#find_entity Online documentation} */ find_entity(entity: EntityWithQualityID, position: MapPosition | MapPositionArray): LuaEntity | nil /** @@ -36559,7 +36575,7 @@ declare module "factorio:runtime" { * @example * -- Will evaluate to a list of all entities within given area. * game.surfaces["nauvis"].find_entities({{-10, -10}, {10, 10}}) - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#find_entities Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#find_entities Online documentation} */ find_entities(area?: BoundingBoxWrite | BoundingBoxArray): LuaEntity[] /** @@ -36581,7 +36597,7 @@ declare module "factorio:runtime" { * game.surfaces[1].find_entities_filtered{area = {{-10, -10}, {10, 10}}, force = "player"} -- gets player owned entities in the rectangle * game.surfaces[1].find_entities_filtered{area = {{-10, -10}, {10, 10}}, limit = 5} -- gets the first 5 entities in the rectangle * game.surfaces[1].find_entities_filtered{position = {0, 0}, radius = 10} -- gets all entities within 10 tiles of the position [0,0]. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#find_entities_filtered Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#find_entities_filtered Online documentation} */ find_entities_filtered(filter: EntitySearchFilters): LuaEntity[] /** @@ -36590,7 +36606,7 @@ declare module "factorio:runtime" { * If no filters are given, this returns all tiles in the search area. * * If no `area` or `position` and `radius` is given, the entire surface is searched. If `position` and `radius` are given, only tiles within the radius of the position are included. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#find_tiles_filtered Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#find_tiles_filtered Online documentation} */ find_tiles_filtered(filter: TileSearchFilters): LuaTile[] /** @@ -36603,14 +36619,14 @@ declare module "factorio:runtime" { * - If `position` and `radius` are given, this returns entities in the radius of the position. * * - If `area` is specified, this returns entities colliding with that area. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#count_entities_filtered Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#count_entities_filtered Online documentation} */ count_entities_filtered(filter: EntitySearchFilters): uint32 /** * Count tiles of a given name in a given area. Works just like {@link LuaSurface#find_tiles_filtered LuaSurface::find_tiles_filtered}, except this only returns the count. As it doesn't construct all the wrapper objects, this is more efficient if one is only interested in the number of tiles. * * If no `area` or `position` and `radius` is given, the entire surface is searched. If `position` and `radius` are given, only tiles within the radius of the position are included. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#count_tiles_filtered Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#count_tiles_filtered Online documentation} */ count_tiles_filtered(filter: TileSearchFilters): uint32 /** @@ -36623,7 +36639,7 @@ declare module "factorio:runtime" { * @param precision The step length from the given position as it searches, in tiles. Minimum value is `0.01`. * @param force_to_tile_center Will only check tile centers. This can be useful when your intent is to place a building at the resulting position, as they must generally be placed at tile centers. Defaults to `false`. * @returns The non-colliding position. May be `nil` if no suitable position was found. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#find_non_colliding_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#find_non_colliding_position Online documentation} */ find_non_colliding_position( name: EntityID, @@ -36639,7 +36655,7 @@ declare module "factorio:runtime" { * @param precision The step length from the given position as it searches, in tiles. Minimum value is 0.01. * @param force_to_tile_center Will only check tile centers. This can be useful when your intent is to place a building at the resulting position, as they must generally be placed at tile centers. Defaults to `false`. * @returns The non-colliding position. May be `nil` if no suitable position was found. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#find_non_colliding_position_in_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#find_non_colliding_position_in_box Online documentation} */ find_non_colliding_position_in_box( name: EntityID, @@ -36650,7 +36666,7 @@ declare module "factorio:runtime" { /** * Spill items on the ground centered at a given location. * @returns The created item-on-ground entities. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#spill_item_stack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#spill_item_stack Online documentation} */ spill_item_stack(params: { /** @@ -36689,7 +36705,7 @@ declare module "factorio:runtime" { /** * Spill inventory on the ground centered at a given location. * @returns The created item-on-ground entities. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#spill_inventory Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#spill_inventory Online documentation} */ spill_inventory(params: { /** @@ -36735,7 +36751,7 @@ declare module "factorio:runtime" { * @example * -- Find all units who would be interested to attack the player, within 100-tile area. * local enemies = game.player.surface.find_enemy_units(game.player.position, 100) - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#find_enemy_units Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#find_enemy_units Online documentation} */ find_enemy_units(center: MapPosition | MapPositionArray, radius: double, force?: ForceID): LuaEntity[] /** @@ -36748,7 +36764,7 @@ declare module "factorio:runtime" { * @example * -- Find units of "player" force * local units = game.player.surface.find_units({area = {{-10, -10},{10, 10}}, force = "player", condition = "same"}) - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#find_units Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#find_units Online documentation} */ find_units(params: { /** @@ -36767,7 +36783,7 @@ declare module "factorio:runtime" { /** * Find the enemy military target ({@linkplain https://wiki.factorio.com/Military_units_and_structures military entity}) closest to the given position. * @returns The nearest enemy military target or `nil` if no enemy could be found within the given area. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#find_nearest_enemy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#find_nearest_enemy Online documentation} */ find_nearest_enemy(params: { /** @@ -36786,7 +36802,7 @@ declare module "factorio:runtime" { /** * Find the enemy entity-with-owner closest to the given position. * @returns The nearest enemy entity-with-owner or `nil` if no enemy could be found within the given area. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#find_nearest_enemy_entity_with_owner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#find_nearest_enemy_entity_with_owner Online documentation} */ find_nearest_enemy_entity_with_owner(params: { /** @@ -36805,7 +36821,7 @@ declare module "factorio:runtime" { /** * Give a command to multiple units. This will automatically select suitable units for the task. * @returns Number of units actually sent. May be less than `count` if not enough units were available. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#set_multi_command Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#set_multi_command Online documentation} */ set_multi_command(params: { readonly command: CommandWrite @@ -36942,7 +36958,7 @@ declare module "factorio:runtime" { * @example * -- Creates a basic inserter at the player's location facing north * game.surfaces[1].create_entity{name = "inserter", position = game.player.position, direction = defines.direction.north} - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#create_entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#create_entity Online documentation} */ create_entity(params: SurfaceCreateEntity): LuaEntity | nil /** @@ -36957,7 +36973,7 @@ declare module "factorio:runtime" { * ## Raised events * - {@link OnSegmentedUnitCreatedEvent on_segmented_unit_created}? _instantly_ Raised if the segmented unit was successfully created. {@link OnSegmentedUnitCreatedEvent cause} will be set to {@link defines.segmented_unit_created_cause script_created}. * @returns The created segmented unit or `nil` if the creation failed or the unit was destroyed during creation. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#create_segmented_unit Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#create_segmented_unit Online documentation} */ create_segmented_unit(params: SurfaceCreateSegmentedUnit): LuaSegmentedUnit | nil /** @@ -36966,7 +36982,7 @@ declare module "factorio:runtime" { * ## Raised events * - {@link OnTerritoryCreatedEvent on_territory_created}? _instantly_ Raised if the territory was successfully created. * @returns The created territory or `nil` if the creation failed or the territory was destroyed during creation. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#create_territory Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#create_territory Online documentation} */ create_territory(params: { /** @@ -36990,7 +37006,7 @@ declare module "factorio:runtime" { }): void /** * Creates a particle at the given location - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#create_particle Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#create_particle Online documentation} */ create_particle(params: { /** @@ -37011,7 +37027,7 @@ declare module "factorio:runtime" { * * ## Raised events * - {@link OnUnitGroupCreatedEvent on_unit_group_created} _instantly_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#create_unit_group Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#create_unit_group Online documentation} */ create_unit_group(params: { /** @@ -37030,14 +37046,14 @@ declare module "factorio:runtime" { * @param position Location of the new base. * @param unit_count Number of biters to send for the base-building task. * @param force Force the new base will belong to. Defaults to enemy. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#build_enemy_base Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#build_enemy_base Online documentation} */ build_enemy_base(position: MapPosition | MapPositionArray, unit_count: uint32, force?: ForceID): void /** * Get the tile at a given position. An alternative call signature for this method is passing it a single {@link TilePosition}. * * Non-integer values will result in them being rounded down. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#get_tile Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#get_tile Online documentation} */ get_tile(x: int32, y: int32): LuaTile get_tile(position: TilePosition): LuaTile @@ -37056,7 +37072,7 @@ declare module "factorio:runtime" { * @param raise_event Defaults to `false`. * @param player The player whose undo queue to add these actions to. * @param undo_index The index of the undo item to add this action to. An index of `0` creates a new undo item for it. Defaults to putting it into the appropriate undo item automatically if not specified. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#set_tiles Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#set_tiles Online documentation} */ set_tiles( tiles: readonly TileWrite[], @@ -37072,39 +37088,39 @@ declare module "factorio:runtime" { * @param source Where to spawn the pollution. * @param amount How much pollution to add. * @param prototype The entity prototype to attribute the pollution change to in statistics. If not defined, the pollution change will not show up in statistics. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#pollute Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#pollute Online documentation} */ pollute(source: MapPosition | MapPositionArray, amount: double, prototype?: EntityID): void /** * Get an iterator going over every chunk on this surface. * * Chunks may or may not be generated; use {@link LuaSurface#is_chunk_generated LuaSurface::is_chunk_generated} to check a chunk's state before accessing it. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#get_chunks Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#get_chunks Online documentation} */ get_chunks(): LuaChunkIterator /** * Is a given chunk generated? * @param chunk_position The chunk's position. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#is_chunk_generated Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#is_chunk_generated Online documentation} */ is_chunk_generated(chunk_position: ChunkPosition | ChunkPositionArray): boolean /** * Request that the game's map generator generate chunks at the given position for the given radius on this surface. If the radius is `0`, then only the chunk at the given position is generated. * @param position Where to generate the new chunks. * @param radius The chunk radius from `position` to generate new chunks in. Defaults to `0`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#request_to_generate_chunks Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#request_to_generate_chunks Online documentation} */ request_to_generate_chunks(position: MapPosition | MapPositionArray, radius?: uint32): void /** * Blocks and generates all chunks that have been requested using all available threads. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#force_generate_chunk_requests Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#force_generate_chunk_requests Online documentation} */ force_generate_chunk_requests(): void /** * Set generated status of a chunk. Useful when copying chunks. * @param chunk_position The chunk's position. * @param status The chunk's new status. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#set_chunk_generated_status Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#set_chunk_generated_status Online documentation} */ set_chunk_generated_status( chunk_position: ChunkPosition | ChunkPositionArray, @@ -37112,13 +37128,13 @@ declare module "factorio:runtime" { ): void /** * Get all territories on the surface. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#get_territories Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#get_territories Online documentation} */ get_territories(): LuaTerritory[] /** * Get the territory that the given chunk is assigned to. If the chunk is not part of any territory or the territory for the chunk has not yet been generated, then this returns `nil`. * @param chunk_position The chunk's position. The chunk at this position does not need to exist. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#get_territory_for_chunk Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#get_territory_for_chunk Online documentation} */ get_territory_for_chunk(chunk_position: ChunkPosition | ChunkPositionArray): LuaTerritory | nil /** @@ -37134,7 +37150,7 @@ declare module "factorio:runtime" { * - {@link OnTerritoryDestroyedEvent on_territory_destroyed}? _instantly_ Raised for each territory that is destroyed as a result of calling this method. * @param chunk_positions The chunk positions. The chunks at these positions do not need to exist in order to be assigned to a territory. * @param territory The territory to associate the chunks with. If not `nil`, the territory must belong to this same surface or else an error will be produced. If `nil`, then the chunks get removed from the territory it is currently associated with and will prevent the map generator from automatically re-generate a new territory for the chunk in the future. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#set_territory_for_chunks Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#set_territory_for_chunks Online documentation} */ set_territory_for_chunks( chunk_positions: readonly (ChunkPosition | ChunkPositionArray)[], @@ -37145,19 +37161,19 @@ declare module "factorio:runtime" { * * Territories that do not contain at least one generated chunk as a result of calling this method will be automatically deleted. * @param chunk_positions The chunk positions. The chunks at these positions does not need to exist. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#clear_territory_for_chunks Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#clear_territory_for_chunks Online documentation} */ clear_territory_for_chunks(chunk_positions: readonly (ChunkPosition | ChunkPositionArray)[]): void /** * Get all segmented units that exist on the surface. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#get_segmented_units Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#get_segmented_units Online documentation} */ get_segmented_units(): LuaSegmentedUnit[] /** * Find the logistic network that covers a given position. * @param force Force the logistic network should belong to. * @returns The found network or `nil` if no such network was found. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#find_logistic_network_by_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#find_logistic_network_by_position Online documentation} */ find_logistic_network_by_position( position: MapPosition | MapPositionArray, @@ -37167,7 +37183,7 @@ declare module "factorio:runtime" { * Find the logistic network with a cell closest to a given position. * @param force Force the logistic network should belong to. * @returns The found network or `nil` if no such network was found. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#find_closest_logistic_network_by_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#find_closest_logistic_network_by_position Online documentation} */ find_closest_logistic_network_by_position( position: MapPosition | MapPositionArray, @@ -37176,7 +37192,7 @@ declare module "factorio:runtime" { /** * Finds all of the logistics networks whose construction area intersects with the given position. * @param force Force the logistic networks should belong to. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#find_logistic_networks_by_construction_area Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#find_logistic_networks_by_construction_area Online documentation} */ find_logistic_networks_by_construction_area( position: MapPosition | MapPositionArray, @@ -37187,7 +37203,7 @@ declare module "factorio:runtime" { * * ## Raised events * - {@link OnMarkedForDeconstructionEvent on_marked_for_deconstruction}? _instantly_ Raised for every entity that has been successfully marked for deconstruction. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#deconstruct_area Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#deconstruct_area Online documentation} */ deconstruct_area(params: { /** @@ -37220,7 +37236,7 @@ declare module "factorio:runtime" { * * ## Raised events * - {@link OnCancelledDeconstructionEvent on_cancelled_deconstruction}? _instantly_ Raised for every entity whose deconstruction has been successfully cancelled. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#cancel_deconstruct_area Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#cancel_deconstruct_area Online documentation} */ cancel_deconstruct_area(params: { /** @@ -37257,7 +37273,7 @@ declare module "factorio:runtime" { * * ## Raised events * - {@link OnMarkedForUpgradeEvent on_marked_for_upgrade}? _instantly_ Raised for every entity that has been successfully marked for upgrade. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#upgrade_area Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#upgrade_area Online documentation} */ upgrade_area(params: { /** @@ -37286,7 +37302,7 @@ declare module "factorio:runtime" { * * ## Raised events * - {@link OnCancelledUpgradeEvent on_cancelled_upgrade}? _instantly_ Raised for every entity whose upgrade has been successfully cancelled. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#cancel_upgrade_area Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#cancel_upgrade_area Online documentation} */ cancel_upgrade_area(params: { /** @@ -37314,20 +37330,20 @@ declare module "factorio:runtime" { * The hidden tile name. * @param position The tile position. * @returns `nil` if there isn't one for the given position. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#get_hidden_tile Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#get_hidden_tile Online documentation} */ get_hidden_tile(position: TilePosition | TilePositionArray): string | nil /** * The double hidden tile name or `nil` if there isn't one for the given position. * @param position The tile position. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#get_double_hidden_tile Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#get_double_hidden_tile Online documentation} */ get_double_hidden_tile(position: TilePosition | TilePositionArray): string | nil /** * Set the hidden tile for the specified position. While during normal gameplay only {@link LuaTilePrototype#mineable_properties non-mineable} or {@link LuaTilePrototype#is_foundation foundation} tiles can become hidden, this method allows any kind of tile to be set as the hidden one. * @param position The tile position. * @param tile The new hidden tile or `nil` to clear the hidden tile. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#set_hidden_tile Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#set_hidden_tile Online documentation} */ set_hidden_tile(position: TilePosition | TilePositionArray, tile?: TileID): void /** @@ -37336,7 +37352,7 @@ declare module "factorio:runtime" { * Does nothing if hidden tile at specified position does not exist. * @param position The tile position. * @param tile The new double hidden tile or `nil` to clear the double hidden tile. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#set_double_hidden_tile Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#set_double_hidden_tile Online documentation} */ set_double_hidden_tile(position: TilePosition | TilePositionArray, tile?: TileID): void /** @@ -37348,7 +37364,7 @@ declare module "factorio:runtime" { * @param include_diagonal Include tiles that are connected diagonally. * @param area The area to find connected tiles in. If provided the start position must be in this area. * @returns The resulting set of tiles. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#get_connected_tiles Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#get_connected_tiles Online documentation} */ get_connected_tiles( position: TilePosition | TilePositionArray, @@ -37362,7 +37378,7 @@ declare module "factorio:runtime" { * - {@link OnChunkDeletedEvent on_chunk_deleted} _future_tick_ * - {@link OnTerritoryDestroyedEvent on_territory_destroyed}? _future_tick_ Raised if a territory is automatically destroyed as a result of deleting the chunk. * @param chunk_position The chunk position to delete - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#delete_chunk Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#delete_chunk Online documentation} */ delete_chunk(chunk_position: ChunkPosition | ChunkPositionArray): void /** @@ -37371,7 +37387,7 @@ declare module "factorio:runtime" { * All specified entity prototypes must be autoplacable. If nothing is given all entities are generated on all chunks. * @param entities Prototype names of entity or entities to autoplace. When `nil` all entities with an autoplace are used. * @param chunks The chunk positions to regenerate the entities on. If not given all chunks are regenerated. Note chunks with status < entities are ignored. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#regenerate_entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#regenerate_entity Online documentation} */ regenerate_entity( entities?: string | readonly string[], @@ -37383,7 +37399,7 @@ declare module "factorio:runtime" { * All specified decorative prototypes must be autoplacable. If nothing is given all decoratives are generated on all chunks. * @param decoratives Prototype names of decorative or decoratives to autoplace. When `nil` all decoratives with an autoplace are used. * @param chunks The chunk positions to regenerate the decoratives on. If not given all chunks are regenerated. Note chunks with status < entities are ignored. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#regenerate_decorative Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#regenerate_decorative Online documentation} */ regenerate_decorative( decoratives?: string | readonly string[], @@ -37393,12 +37409,12 @@ declare module "factorio:runtime" { * Print text to the chat console of all players on this surface. * * By default, messages that are identical to a message sent in the last 60 ticks are not printed again. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#print Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#print Online documentation} */ print(message: LocalisedString, print_settings?: PrintSettings): void /** * Removes all decoratives from the given area. If no area and no position are given, then the entire surface is searched. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#destroy_decoratives Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#destroy_decoratives Online documentation} */ destroy_decoratives(params: { readonly area?: BoundingBoxWrite | BoundingBoxArray @@ -37421,7 +37437,7 @@ declare module "factorio:runtime" { * Adds the given decoratives to the surface. * * This will merge decoratives of the same type that already exist effectively increasing the "amount" field. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#create_decoratives Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#create_decoratives Online documentation} */ create_decoratives(params: { /** @@ -37437,7 +37453,7 @@ declare module "factorio:runtime" { * @example * game.surfaces[1].find_decoratives_filtered{area = {{-10, -10}, {10, 10}}, name = "sand-decal"} -- gets all sand-decals in the rectangle * game.surfaces[1].find_decoratives_filtered{area = {{-10, -10}, {10, 10}}, limit = 5} -- gets the first 5 decoratives in the rectangle - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#find_decoratives_filtered Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#find_decoratives_filtered Online documentation} */ find_decoratives_filtered(params: { readonly area?: BoundingBoxWrite | BoundingBoxArray @@ -37458,7 +37474,7 @@ declare module "factorio:runtime" { }): DecorativeResult[] /** * Clears all pollution on this surface. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#clear_pollution Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#clear_pollution Online documentation} */ clear_pollution(): void /** @@ -37466,23 +37482,23 @@ declare module "factorio:runtime" { * * The sound is not played if its location is not {@link LuaForce#chart charted} for that player. * @param sound_specification The sound to play. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#play_sound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#play_sound Online documentation} */ play_sound(sound_specification: PlaySoundSpecification): void /** * Play a music track for every player on this surface. * @param music_specification The track to play. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#play_music Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#play_music Online documentation} */ play_music(music_specification: PlayMusicSpecification): void /** * Gets the resource amount of all resources on this surface - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#get_resource_counts Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#get_resource_counts Online documentation} */ get_resource_counts(): Record /** * Gets a random generated chunk position or nil if no chunks have been generated on this surface. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#get_random_chunk Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#get_random_chunk Online documentation} */ get_random_chunk(): ChunkPosition | nil /** @@ -37493,7 +37509,7 @@ declare module "factorio:runtime" { * ## Raised events * - {@link OnEntityClonedEvent on_entity_cloned} _instantly_ Raised for every entity that was cloned. * - {@link OnAreaClonedEvent on_area_cloned} _instantly_ Raised after the individual `on_entity_cloned` events. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#clone_area Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#clone_area Online documentation} */ clone_area(params: { readonly source_area: BoundingBoxWrite | BoundingBoxArray @@ -37535,7 +37551,7 @@ declare module "factorio:runtime" { * {@link defines.events.on_entity_cloned} is raised for each entity, and then {@link defines.events.on_area_cloned} is raised. * * Entities are cloned in an order such that they can always be created, eg rails before trains. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#clone_brush Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#clone_brush Online documentation} */ clone_brush(params: { readonly source_offset: TilePosition | TilePositionArray @@ -37583,7 +37599,7 @@ declare module "factorio:runtime" { * * ## Raised events * - {@link OnEntityClonedEvent on_entity_cloned} _instantly_ Raised for every entity that was cloned. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#clone_entities Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#clone_entities Online documentation} */ clone_entities(params: { readonly entities: readonly LuaEntity[] @@ -37603,7 +37619,7 @@ declare module "factorio:runtime" { * - {@link OnPreSurfaceClearedEvent on_pre_surface_cleared} _future_tick_ * - {@link OnSurfaceClearedEvent on_surface_cleared} _future_tick_ * @param ignore_characters Whether characters on this surface that are connected to or associated with players should be ignored (not destroyed). Defaults to `false`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#clear Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#clear Online documentation} */ clear(ignore_characters?: boolean): void /** @@ -37614,7 +37630,7 @@ declare module "factorio:runtime" { * ## Raised events * - {@link OnScriptPathRequestFinishedEvent on_script_path_request_finished} _future_tick_ * @returns A unique handle to identify this call when {@link OnScriptPathRequestFinishedEvent on_script_path_request_finished} fires. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#request_path Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#request_path Online documentation} */ request_path(params: { /** @@ -37668,81 +37684,81 @@ declare module "factorio:runtime" { }): uint32 /** * Gets the script areas that match the given name or if no name is given all areas are returned. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#get_script_areas Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#get_script_areas Online documentation} */ get_script_areas(name?: string): ScriptArea[] /** * Gets the first script area by name or id. * @param key The name or id of the area to get. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#get_script_area Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#get_script_area Online documentation} */ get_script_area(key?: string | uint32): ScriptArea | nil /** * Sets the given script area to the new values. * @param id The area to edit. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#edit_script_area Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#edit_script_area Online documentation} */ edit_script_area(id: uint32, area: ScriptAreaWrite): void /** * Adds the given script area. * @returns The id of the created area. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#add_script_area Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#add_script_area Online documentation} */ add_script_area(area: ScriptAreaWrite): uint32 /** * Removes the given script area. * @returns If the area was actually removed. False when it didn't exist. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#remove_script_area Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#remove_script_area Online documentation} */ remove_script_area(id: uint32): boolean /** * Gets the script positions that match the given name or if no name is given all positions are returned. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#get_script_positions Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#get_script_positions Online documentation} */ get_script_positions(name?: string): ScriptPosition[] /** * Gets the first script position by name or id. * @param key The name or id of the position to get. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#get_script_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#get_script_position Online documentation} */ get_script_position(key?: string | uint32): ScriptPosition | nil /** * Sets the given script position to the new values. * @param id The position to edit. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#edit_script_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#edit_script_position Online documentation} */ edit_script_position(id: uint32, position: ScriptPositionWrite): void /** * Adds the given script position. * @returns The id of the created position. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#add_script_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#add_script_position Online documentation} */ add_script_position(position: ScriptPositionWrite): uint32 /** * Removes the given script position. * @returns If the position was actually removed. False when it didn't exist. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#remove_script_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#remove_script_position Online documentation} */ remove_script_position(id: uint32): boolean /** * Gets the map exchange string for the current map generation settings of this surface. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#get_map_exchange_string Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#get_map_exchange_string Online documentation} */ get_map_exchange_string(): string /** * Gets the starting area radius of this surface. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#get_starting_area_radius Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#get_starting_area_radius Online documentation} */ get_starting_area_radius(): double /** * Gets the closest entity in the list to this position. * @param entities The Entities to check. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#get_closest Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#get_closest Online documentation} */ get_closest(position: MapPosition | MapPositionArray, entities: readonly LuaEntity[]): LuaEntity | nil /** * Gets the total amount of pollution on the surface by iterating over all the chunks containing pollution. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#get_total_pollution Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#get_total_pollution Online documentation} */ get_total_pollution(): double /** @@ -37750,7 +37766,7 @@ declare module "factorio:runtime" { * @param prototype The entity prototype to check. * @param position The position to check. * @param use_map_generation_bounding_box If the map generation bounding box should be used instead of the collision bounding box. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#entity_prototype_collides Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#entity_prototype_collides Online documentation} */ entity_prototype_collides( prototype: EntityID, @@ -37762,7 +37778,7 @@ declare module "factorio:runtime" { * Whether the given decorative prototype collides at the given position and direction. * @param prototype The decorative prototype to check. * @param position The position to check. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#decorative_prototype_collides Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#decorative_prototype_collides Online documentation} */ decorative_prototype_collides(prototype: DecorativeID, position: MapPosition | MapPositionArray): boolean /** @@ -37770,7 +37786,7 @@ declare module "factorio:runtime" { * @param property_names Names of properties (`"elevation"`, etc) to calculate. * @param positions Positions for which to calculate property values. * @returns Table of property value lists, keyed by property name. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#calculate_tile_properties Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#calculate_tile_properties Online documentation} */ calculate_tile_properties( property_names: readonly string[], @@ -37780,7 +37796,7 @@ declare module "factorio:runtime" { * Returns all the military targets (entities with force) on this chunk for the given force. * @param chunk_position The chunk's position. * @param force Entities of this force will be returned. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#get_entities_with_force Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#get_entities_with_force Online documentation} */ get_entities_with_force(chunk_position: ChunkPosition | ChunkPositionArray, force: ForceID): LuaEntity[] /** @@ -37788,7 +37804,7 @@ declare module "factorio:runtime" { * * Places entities via the given blueprint string. These entities are force-built. * @returns If the blueprint string was invalid, `1` is returned. Otherwise, `nil` is returned. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#create_entities_from_blueprint_string Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#create_entities_from_blueprint_string Online documentation} */ create_entities_from_blueprint_string(params: { /** @@ -37823,51 +37839,51 @@ declare module "factorio:runtime" { /** * Sets the given area to the checkerboard lab tiles. * @param area The tile area. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#build_checkerboard Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#build_checkerboard Online documentation} */ build_checkerboard(area: BoundingBoxWrite | BoundingBoxArray): void /** * Gets the value of surface property on this surface. * @param property Property to read. * @returns Value of the property. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#get_property Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#get_property Online documentation} */ get_property(property: SurfacePropertyID): double /** * Sets the value of surface property on this surface. * @param property Property to change. * @param value The wanted value of the property. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#set_property Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#set_property Online documentation} */ set_property(property: SurfacePropertyID, value: double): void /** * Creates a global electric network for this surface, if one doesn't exist already. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#create_global_electric_network Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#create_global_electric_network Online documentation} */ create_global_electric_network(): void /** * Destroys the global electric network for this surface, if it exists. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#destroy_global_electric_network Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#destroy_global_electric_network Online documentation} */ destroy_global_electric_network(): void /** * Creates lightning. If other entities which can be lightning targets are nearby, the final position will be adjusted. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#execute_lightning Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#execute_lightning Online documentation} */ execute_lightning(params: { readonly name: EntityID; readonly position: MapPosition | MapPositionArray }): void /** * Completely removes hidden and double hidden tiles data on this surface. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#clear_hidden_tiles Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#clear_hidden_tiles Online documentation} */ clear_hidden_tiles(): void /** * Gets the cover tile for the given force and tile on this surface if one is set. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#get_default_cover_tile Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#get_default_cover_tile Online documentation} */ get_default_cover_tile(force: ForceID, tile: TileID): LuaTilePrototype | nil /** * Sets the cover tile for the given force and tile on this surface. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#set_default_cover_tile Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#set_default_cover_tile Online documentation} */ set_default_cover_tile(force: ForceID, from_tile: TileID, to_tile: TileID | nil): void /** @@ -37877,100 +37893,100 @@ declare module "factorio:runtime" { * * ## Raised events * - {@link OnSurfaceRenamedEvent on_surface_renamed} _instantly_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#name Online documentation} */ name: string /** * This surface's index in {@link LuaGameScript#surfaces LuaGameScript::surfaces} (unique ID). It is assigned when a surface is created, and remains so until it is {@link OnSurfaceDeletedEvent deleted}. Indexes of deleted surfaces can be reused. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#index Online documentation} */ readonly index: SurfaceIndex /** * The generation settings for this surface. These can be modified after surface generation, but note that this will not retroactively update the surface. To manually regenerate it, {@link LuaSurface#regenerate_entity LuaSurface::regenerate_entity}, {@link LuaSurface#regenerate_decorative LuaSurface::regenerate_decorative}, and {@link LuaSurface#delete_chunk LuaSurface::delete_chunk} can be used. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#map_gen_settings Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#map_gen_settings Online documentation} */ get map_gen_settings(): MapGenSettings set map_gen_settings(value: MapGenSettingsWrite) /** * When set to true, new chunks will be generated with lab tiles, instead of using the surface's map generation settings. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#generate_with_lab_tiles Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#generate_with_lab_tiles Online documentation} */ generate_with_lab_tiles: boolean /** * When set to true, the sun will always shine. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#always_day Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#always_day Online documentation} */ always_day: boolean /** * Current time of day, as a number in range `[0, 1)`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#daytime Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#daytime Online documentation} */ daytime: double /** * Amount of darkness at the current time, as a number in range `[0, 1]`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#darkness Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#darkness Online documentation} */ readonly darkness: float /** * Current wind speed in tiles per tick. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#wind_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#wind_speed Online documentation} */ wind_speed: double /** * Current wind direction. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#wind_orientation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#wind_orientation Online documentation} */ wind_orientation: RealOrientation /** * Change in wind orientation per tick. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#wind_orientation_change Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#wind_orientation_change Online documentation} */ wind_orientation_change: double /** * Is peaceful mode enabled on this surface? - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#peaceful_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#peaceful_mode Online documentation} */ peaceful_mode: boolean /** * Is no-enemies mode enabled on this surface? - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#no_enemies_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#no_enemies_mode Online documentation} */ no_enemies_mode: boolean /** * True if daytime is currently frozen. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#freeze_daytime Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#freeze_daytime Online documentation} */ freeze_daytime: boolean /** * The number of ticks per day for this surface. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#ticks_per_day Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#ticks_per_day Online documentation} */ ticks_per_day: uint32 /** * The daytime when dusk starts. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#dusk Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#dusk Online documentation} */ dusk: double /** * The daytime when dawn starts. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#dawn Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#dawn Online documentation} */ dawn: double /** * The daytime when evening starts. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#evening Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#evening Online documentation} */ evening: double /** * The daytime when morning starts. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#morning Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#morning Online documentation} */ morning: double /** * Parameters of daytime. Equivalent as reading {@link LuaSurface#dusk dusk}, {@link LuaSurface#evening evening}, {@link LuaSurface#morning morning} and {@link LuaSurface#dawn dawn} at the same time. * * In order for a write to take place, a new table needs to be written in one go: changing individual members of the returned table has no effect as those are value copies. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#daytime_parameters Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#daytime_parameters Online documentation} */ daytime_parameters: { /** @@ -37992,12 +38008,12 @@ declare module "factorio:runtime" { } /** * The multiplier of solar power on this surface. Cannot be less than 0. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#solar_power_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#solar_power_multiplier Online documentation} */ solar_power_multiplier: double /** * The minimal brightness during the night. Defaults to `0.15`. This has an effect on both rendering and game mechanics such as biter spawns and solar power. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#min_brightness Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#min_brightness Online documentation} */ min_brightness: double /** @@ -38009,7 +38025,7 @@ declare module "factorio:runtime" { * @example * -- Makes night on the surface pitch black, LuaSurface::min_brightness is set to default value 0.15. * game.surfaces[1].brightness_visual_weights = { 1 / 0.85, 1 / 0.85, 1 / 0.85 } - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#brightness_visual_weights Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#brightness_visual_weights Online documentation} */ get brightness_visual_weights(): ColorModifier set brightness_visual_weights(value: ColorModifier | ColorModifierArray) @@ -38017,12 +38033,12 @@ declare module "factorio:runtime" { * If clouds are shown on this surface. If false, clouds are never shown. If true the player must also have clouds enabled in graphics settings for them to be shown. * * By default, clouds are shown on all surfaces. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#show_clouds Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#show_clouds Online documentation} */ show_clouds: boolean /** * Whether this surface currently has a global electric network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#has_global_electric_network Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#has_global_electric_network Online documentation} */ readonly has_global_electric_network: boolean readonly platform?: LuaSpacePlatform @@ -38030,22 +38046,22 @@ declare module "factorio:runtime" { * The planet associated with this surface, if there is one. * * Use {@link LuaPlanet#associate_surface LuaPlanet::associate_surface} to create a new association with a planet. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#planet Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#planet Online documentation} */ readonly planet?: LuaPlanet /** * If this surface can be deleted. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#deletable Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#deletable Online documentation} */ readonly deletable: boolean /** * Surface-wide effects applied to entities with effect receivers. `nil` if this surface is not using surface-wide effect source. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#global_effect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#global_effect Online documentation} */ global_effect?: Effect /** * The type of pollutant enabled on the surface, or `nil` if no pollutant is enabled. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#pollutant_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#pollutant_type Online documentation} */ readonly pollutant_type?: LuaAirbornePollutantPrototype /** @@ -38054,36 +38070,36 @@ declare module "factorio:runtime" { * If set to an empty table, pollution is disabled. If set to `nil`, the override is 'unset'. * * Reading will be `nil` if unset or a table with the current override (`nil` if overridden to disabled). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#override_pollution_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#override_pollution_type Online documentation} */ override_pollution_type?: Pollutant /** * Localised name of this surface. When set, will replace the internal surface name in places where a player sees surface name. * * Value may be ignored if a surface has a SpacePlatform or Planet object attached to it, which take the precedence. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#localised_name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#localised_name Online documentation} */ localised_name?: LocalisedString /** * If surface condition checks should not be performed on this surface. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#ignore_surface_conditions Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#ignore_surface_conditions Online documentation} */ ignore_surface_conditions: boolean /** * The pollution statistics for this surface. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#pollution_statistics Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#pollution_statistics Online documentation} */ readonly pollution_statistics: LuaFlowStatistics /** * The global electric network statistics for this surface. * * If this global network is disabled or this surface is removed, the flow statistics obtained from it will also become invalid. However if the surface index of a deleted surface is reused, the related flow statistics may become valid again. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#global_electric_network_statistics Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#global_electric_network_statistics Online documentation} */ readonly global_electric_network_statistics?: LuaFlowStatistics /** * Global electric network for this surface. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurface.html#global_electric_network Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurface.html#global_electric_network Online documentation} */ readonly global_electric_network?: LuaElectricSubNetwork /** @@ -38097,7 +38113,7 @@ declare module "factorio:runtime" { } /** * Prototype of a surface property. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurfacePropertyPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurfacePropertyPrototype.html Online documentation} */ export interface LuaSurfacePropertyPrototype extends LuaPrototypeBase { readonly localised_unit_key: string @@ -38114,13 +38130,13 @@ declare module "factorio:runtime" { } /** * Prototype of a surface. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurfacePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurfacePrototype.html Online documentation} */ export interface LuaSurfacePrototype extends LuaPrototypeBase { readonly surface_properties: Record /** * An alternative prototype that will be used to display info about this prototype in Factoriopedia. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaSurfacePrototype.html#factoriopedia_alternative Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaSurfacePrototype.html#factoriopedia_alternative Online documentation} */ readonly factoriopedia_alternative?: LuaSurfacePrototype /** @@ -38134,106 +38150,106 @@ declare module "factorio:runtime" { } /** * One research item. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTechnology.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTechnology.html Online documentation} * @noSelf */ export interface LuaTechnology { /** * Reload this technology from its prototype. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTechnology.html#reload Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTechnology.html#reload Online documentation} */ reload(): void /** * Research this technology and all of its prerequisites recursively. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTechnology.html#research_recursive Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTechnology.html#research_recursive Online documentation} */ research_recursive(): void /** * The force this technology belongs to. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTechnology.html#force Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTechnology.html#force Online documentation} */ readonly force: LuaForce /** * Name of this technology. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTechnology.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTechnology.html#name Online documentation} */ readonly name: string /** * Localised name of this technology. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTechnology.html#localised_name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTechnology.html#localised_name Online documentation} */ readonly localised_name: LocalisedString readonly localised_description: LocalisedString /** * The prototype of this technology. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTechnology.html#prototype Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTechnology.html#prototype Online documentation} */ readonly prototype: LuaTechnologyPrototype /** * Can this technology be researched? - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTechnology.html#enabled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTechnology.html#enabled Online documentation} */ enabled: boolean /** * If this technology will be visible in the research GUI even though it is disabled. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTechnology.html#visible_when_disabled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTechnology.html#visible_when_disabled Online documentation} */ visible_when_disabled: boolean /** * Is this an upgrade-type research? - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTechnology.html#upgrade Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTechnology.html#upgrade Online documentation} */ readonly upgrade: boolean /** * Has this technology been researched? Switching from `false` to `true` will trigger the technology advancement perks; switching from `true` to `false` will reverse them. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTechnology.html#researched Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTechnology.html#researched Online documentation} */ researched: boolean /** * Prerequisites of this technology. The result maps technology name to the {@link LuaTechnology} object. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTechnology.html#prerequisites Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTechnology.html#prerequisites Online documentation} */ readonly prerequisites: Record /** * Successors of this technology, i.e. technologies which have this technology as a prerequisite. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTechnology.html#successors Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTechnology.html#successors Online documentation} */ readonly successors: Record /** * The types of ingredients that labs will require to research this technology. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTechnology.html#research_unit_ingredients Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTechnology.html#research_unit_ingredients Online documentation} */ readonly research_unit_ingredients: ResearchIngredient[] /** * The number of research units required for this technology. * * This is multiplied by the current research cost multiplier, unless {@link LuaTechnologyPrototype#ignore_tech_cost_multiplier LuaTechnologyPrototype::ignore_tech_cost_multiplier} is `true`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTechnology.html#research_unit_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTechnology.html#research_unit_count Online documentation} */ readonly research_unit_count: uint32 /** * Amount of energy required to finish a unit of research. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTechnology.html#research_unit_energy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTechnology.html#research_unit_energy Online documentation} */ readonly research_unit_energy: double /** * The string used to alphabetically sort these prototypes. It is a simple string that has no additional semantic meaning. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTechnology.html#order Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTechnology.html#order Online documentation} */ readonly order: string /** * The current level of this technology. For level-based technology writing to this is the same as researching the technology to the previous level. Writing the level will set {@link LuaTechnology#enabled LuaTechnology::enabled} to `true`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTechnology.html#level Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTechnology.html#level Online documentation} */ level: uint32 /** * The count formula, if this research has any. See {@link import("factorio:prototype").TechnologyUnit#count_formula TechnologyUnit::count_formula} for details. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTechnology.html#research_unit_count_formula Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTechnology.html#research_unit_count_formula Online documentation} */ readonly research_unit_count_formula?: MathExpression /** * Saved technology progress fraction as a value in range `[0, 1)`. 0 means there is no saved progress. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTechnology.html#saved_progress Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTechnology.html#saved_progress Online documentation} */ saved_progress: double /** @@ -38247,92 +38263,92 @@ declare module "factorio:runtime" { } /** * A Technology prototype. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTechnologyPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTechnologyPrototype.html Online documentation} */ export interface LuaTechnologyPrototype extends LuaPrototypeBase { /** * If this technology prototype is enabled by default (enabled at the beginning of a game). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTechnologyPrototype.html#enabled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTechnologyPrototype.html#enabled Online documentation} */ readonly enabled: boolean /** * If this technology prototype is essential, meaning it is shown in the condensed technology graph. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTechnologyPrototype.html#essential Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTechnologyPrototype.html#essential Online documentation} */ readonly essential: boolean /** * If this technology will be visible in the research GUI even though it is disabled. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTechnologyPrototype.html#visible_when_disabled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTechnologyPrototype.html#visible_when_disabled Online documentation} */ readonly visible_when_disabled: boolean /** * If this technology ignores the technology cost multiplier setting. * * {@link LuaTechnologyPrototype#research_unit_count LuaTechnologyPrototype::research_unit_count} will already take this setting into account. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTechnologyPrototype.html#ignore_tech_cost_multiplier Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTechnologyPrototype.html#ignore_tech_cost_multiplier Online documentation} */ readonly ignore_tech_cost_multiplier: boolean /** * If the is technology prototype is an upgrade to some other technology. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTechnologyPrototype.html#upgrade Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTechnologyPrototype.html#upgrade Online documentation} */ readonly upgrade: boolean /** * Prerequisites of this technology. The result maps technology name to the {@link LuaTechnologyPrototype} object. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTechnologyPrototype.html#prerequisites Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTechnologyPrototype.html#prerequisites Online documentation} */ readonly prerequisites: Record /** * Successors of this technology, i.e. technologies which have this technology as a prerequisite. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTechnologyPrototype.html#successors Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTechnologyPrototype.html#successors Online documentation} */ readonly successors: Record /** * The types of ingredients that labs will require to research this technology. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTechnologyPrototype.html#research_unit_ingredients Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTechnologyPrototype.html#research_unit_ingredients Online documentation} */ readonly research_unit_ingredients: ResearchIngredient[] /** * Effects applied when this technology is researched. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTechnologyPrototype.html#effects Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTechnologyPrototype.html#effects Online documentation} */ readonly effects: TechnologyModifier[] /** * The number of research units required for this technology. * * This is multiplied by the current research cost multiplier, unless {@link LuaTechnologyPrototype#ignore_tech_cost_multiplier LuaTechnologyPrototype::ignore_tech_cost_multiplier} is `true`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTechnologyPrototype.html#research_unit_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTechnologyPrototype.html#research_unit_count Online documentation} */ readonly research_unit_count: uint32 /** * Amount of energy required to finish a unit of research. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTechnologyPrototype.html#research_unit_energy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTechnologyPrototype.html#research_unit_energy Online documentation} */ readonly research_unit_energy: double /** * The level of this research. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTechnologyPrototype.html#level Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTechnologyPrototype.html#level Online documentation} */ readonly level: uint32 /** * The max level of this research. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTechnologyPrototype.html#max_level Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTechnologyPrototype.html#max_level Online documentation} */ readonly max_level: uint32 /** * The count formula, if this research has any. See {@link import("factorio:prototype").TechnologyUnit#count_formula TechnologyUnit::count_formula} for details. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTechnologyPrototype.html#research_unit_count_formula Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTechnologyPrototype.html#research_unit_count_formula Online documentation} */ readonly research_unit_count_formula?: MathExpression /** * The trigger that will research this technology if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTechnologyPrototype.html#research_trigger Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTechnologyPrototype.html#research_trigger Online documentation} */ readonly research_trigger?: ResearchTrigger readonly allows_productivity: boolean /** * An alternative prototype that will be used to display info about this prototype in Factoriopedia. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTechnologyPrototype.html#factoriopedia_alternative Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTechnologyPrototype.html#factoriopedia_alternative Online documentation} */ readonly factoriopedia_alternative?: LuaTechnologyPrototype /** @@ -38354,7 +38370,7 @@ declare module "factorio:runtime" { * Territories may define a patrol path that {@link LuaSegmentedUnit}s will follow. If no such path is defined, then units will wander randomly throughout the territory chunks. If a territory contains no patrol path and no chunks, then units will behave as if they are assigned to any territory. * * The game will automatically destroy any territory that does not have at least one chunk that is generated or requested to be generated. This is to prevent bloat when chunks are deleted. This can happen as a result of any operation that modifies a territory's chunks, including but not limited to {@link LuaSurface#delete_chunk LuaSurface::delete_chunk}, {@link LuaSurface#set_territory_for_chunks LuaSurface::set_territory_for_chunks}, and {@link LuaSurface#clear_territory_for_chunks LuaSurface::clear_territory_for_chunks}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTerritory.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTerritory.html Online documentation} * @noSelf */ export interface LuaTerritory { @@ -38365,19 +38381,19 @@ declare module "factorio:runtime" { * * ## Raised events * - {@link OnTerritoryDestroyedEvent on_territory_destroyed} _instantly_ - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTerritory.html#destroy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTerritory.html#destroy Online documentation} */ destroy(): void /** * Gets all chunks that are a part of the territory. * * Chunks may or may not be generated; use {@link LuaSurface#is_chunk_generated LuaSurface::is_chunk_generated} to check a chunk's state before accessing it. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTerritory.html#get_chunks Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTerritory.html#get_chunks Online documentation} */ get_chunks(): ChunkPositionAndArea[] /** * Gets the {@link LuaSegmentedUnit}s that guard this territory. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTerritory.html#get_segmented_units Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTerritory.html#get_segmented_units Online documentation} */ get_segmented_units(): LuaSegmentedUnit[] /** @@ -38387,19 +38403,19 @@ declare module "factorio:runtime" { * * ## Raised events * - {@link OnSegmentedUnitCreatedEvent on_segmented_unit_created}? _instantly_ Raised for each segmented unit successfully created. {@link OnSegmentedUnitCreatedEvent cause} will be set to {@link defines.segmented_unit_created_cause map_generated}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTerritory.html#regenerate_segmented_units Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTerritory.html#regenerate_segmented_units Online documentation} */ regenerate_segmented_units(): void /** * Regenerates the patrol path for the territory according to the game's default territory generation algorithm and overwrites the territory's current patrol path. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTerritory.html#regenerate_patrol_path Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTerritory.html#regenerate_patrol_path Online documentation} */ regenerate_patrol_path(): void /** * Get the path that the territory's units follow when patrolling the territory. Will not be empty. * * It is common that the territory's patrol path is fully contained within the territory's chunks, but it is not strictly necessary. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTerritory.html#get_patrol_path Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTerritory.html#get_patrol_path Online documentation} */ get_patrol_path(): MapPosition[] /** @@ -38409,17 +38425,17 @@ declare module "factorio:runtime" { * * To let the territory system generate a patrol path, use {@link LuaTerritory#regenerate_patrol_path LuaTerritory::regenerate_patrol_path}. * @param patrol_path The new patrol path for the territory. Must not be empty. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTerritory.html#set_patrol_path Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTerritory.html#set_patrol_path Online documentation} */ set_patrol_path(patrol_path: readonly (MapPosition | MapPositionArray)[]): void /** * The surface on which this territory is located. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTerritory.html#surface Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTerritory.html#surface Online documentation} */ readonly surface: LuaSurface /** * Condition when this territory is visible. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTerritory.html#visibility_condition Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTerritory.html#visibility_condition Online documentation} */ visibility_condition: TerritoryVisibilityCondition /** @@ -38433,7 +38449,7 @@ declare module "factorio:runtime" { } /** * A single "square" on the map. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTile.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTile.html Online documentation} * @noSelf */ export interface LuaTile { @@ -38442,13 +38458,13 @@ declare module "factorio:runtime" { * @example * -- Check if the character would collide with a tile * game.player.print(tostring(game.player.surface.get_tile(1, 1).collides_with("player"))) - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTile.html#collides_with Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTile.html#collides_with Online documentation} */ collides_with(layer: CollisionLayerID): boolean /** * Is this tile marked for deconstruction? * @param force The force whose robots are supposed to do the deconstruction. If not given, checks if to be deconstructed by any force. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTile.html#to_be_deconstructed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTile.html#to_be_deconstructed Online documentation} */ to_be_deconstructed(force?: ForceID): boolean /** @@ -38459,7 +38475,7 @@ declare module "factorio:runtime" { * @param force The force whose robots are supposed to do the deconstruction. * @param player The player to set the last_user to if any. * @returns The deconstructible tile proxy created, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTile.html#order_deconstruction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTile.html#order_deconstruction Online documentation} */ order_deconstruction(force: ForceID, player?: PlayerIdentification): LuaEntity | nil /** @@ -38469,50 +38485,50 @@ declare module "factorio:runtime" { * - {@link OnCancelledDeconstructionEvent on_cancelled_deconstruction}? _instantly_ Raised if the tile's deconstruction was successfully cancelled. * @param force The force who did the deconstruction order. * @param player The player to set the last_user to if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTile.html#cancel_deconstruction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTile.html#cancel_deconstruction Online documentation} */ cancel_deconstruction(force: ForceID, player?: PlayerIdentification): void /** * Does this tile have any tile ghosts on it. * @param force Check for tile ghosts of this force. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTile.html#has_tile_ghost Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTile.html#has_tile_ghost Online documentation} */ has_tile_ghost(force?: ForceID): boolean /** * Gets all tile ghosts on this tile. * @param force Get tile ghosts of this force. * @returns The tile ghosts. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTile.html#get_tile_ghosts Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTile.html#get_tile_ghosts Online documentation} */ get_tile_ghosts(force?: ForceID): LuaEntity[] /** * Prototype name of this tile. E.g. `"sand-3"` or `"grass-2"`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTile.html#name Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTile.html#name Online documentation} */ readonly name: string readonly prototype: LuaTilePrototype /** * The position this tile references. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTile.html#position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTile.html#position Online documentation} */ readonly position: TilePosition /** * The name of the {@link LuaTilePrototype} hidden under this tile, if any. * * During normal gameplay, only {@link LuaTilePrototype#mineable_properties non-mineable} or {@link LuaTilePrototype#is_foundation foundation} tiles can become hidden. This can however be circumvented with {@link LuaSurface#set_hidden_tile LuaSurface::set_hidden_tile}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTile.html#hidden_tile Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTile.html#hidden_tile Online documentation} */ readonly hidden_tile?: string /** * The name of the {@link LuaTilePrototype} double hidden under this tile or `nil` if there is no double hidden tile. * * During normal gameplay, only {@link LuaTilePrototype#mineable_properties non-mineable} tiles can become double hidden. This can however be circumvented with {@link LuaSurface#set_double_hidden_tile LuaSurface::set_double_hidden_tile}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTile.html#double_hidden_tile Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTile.html#double_hidden_tile Online documentation} */ readonly double_hidden_tile?: string /** * The surface this tile is on. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTile.html#surface Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTile.html#surface Online documentation} */ readonly surface: LuaSurface /** @@ -38526,18 +38542,18 @@ declare module "factorio:runtime" { } /** * Prototype of a tile. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTilePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTilePrototype.html Online documentation} */ export interface LuaTilePrototype extends LuaPrototypeBase { /** * The collision mask this tile uses - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTilePrototype.html#collision_mask Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTilePrototype.html#collision_mask Online documentation} */ readonly collision_mask: TileCollisionMask readonly layer: uint32 /** * Autoplace specification for this prototype, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTilePrototype.html#autoplace_specification Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTilePrototype.html#autoplace_specification Online documentation} */ readonly autoplace_specification?: AutoplaceSpecification readonly walking_speed_modifier: float @@ -38545,14 +38561,14 @@ declare module "factorio:runtime" { readonly map_color: Color /** * The probability that decorative entities will be removed from on top of this tile when this tile is generated. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTilePrototype.html#decorative_removal_probability Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTilePrototype.html#decorative_removal_probability Online documentation} */ readonly decorative_removal_probability: float readonly automatic_neighbors: boolean readonly allowed_neighbors: Record /** * If this tile needs correction logic applied when it's generated in the world. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTilePrototype.html#needs_correction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTilePrototype.html#needs_correction Online documentation} */ readonly needs_correction: boolean readonly mineable_properties: { @@ -38575,42 +38591,42 @@ declare module "factorio:runtime" { } /** * The fluid offshore pump produces on this tile, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTilePrototype.html#fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTilePrototype.html#fluid Online documentation} */ readonly fluid?: LuaFluidPrototype /** * The next direction of this tile, if any. Used when a tile has multiple directions (such as hazard concrete) - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTilePrototype.html#next_direction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTilePrototype.html#next_direction Online documentation} */ readonly next_direction?: LuaTilePrototype /** * Items that when placed will produce this tile, if any. Construction bots will choose the first item in the list to build this tile. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTilePrototype.html#items_to_place_this Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTilePrototype.html#items_to_place_this Online documentation} */ readonly items_to_place_this?: ItemToPlace[] /** * False if this tile is not allowed in blueprints regardless of the ability to build it. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTilePrototype.html#can_be_part_of_blueprint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTilePrototype.html#can_be_part_of_blueprint Online documentation} */ readonly can_be_part_of_blueprint: boolean /** * A table of pollution emissions per second this tile will absorb, indexed by the name of each absorbed pollution type. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTilePrototype.html#absorptions_per_second Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTilePrototype.html#absorptions_per_second Online documentation} */ readonly absorptions_per_second: Record /** * True if this tile can be used as a foundation for other tiles, false otherwise. Foundation tiles can be {@link LuaTile#hidden_tile hidden}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTilePrototype.html#is_foundation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTilePrototype.html#is_foundation Online documentation} */ readonly is_foundation: boolean /** * True if this tile can be {@link LuaTile#hidden_tile hidden} or replaced by another tile through player actions. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTilePrototype.html#allows_being_covered Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTilePrototype.html#allows_being_covered Online documentation} */ readonly allows_being_covered: boolean /** * True if building this tile should check for colliding entities above and prevent building if such are found. Also during mining tiles above this tile checks for entities colliding with this tile and prevents mining if such are found. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTilePrototype.html#check_collision_with_entities Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTilePrototype.html#check_collision_with_entities Online documentation} */ readonly check_collision_with_entities: boolean readonly destroys_dropped_items: boolean @@ -38626,7 +38642,7 @@ declare module "factorio:runtime" { readonly ambient_sounds_group?: LuaTilePrototype /** * An alternative prototype that will be used to display info about this prototype in Factoriopedia. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTilePrototype.html#factoriopedia_alternative Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTilePrototype.html#factoriopedia_alternative Online documentation} */ readonly factoriopedia_alternative?: LuaTilePrototype /** @@ -38640,125 +38656,125 @@ declare module "factorio:runtime" { } /** * A train. Trains are a sequence of connected rolling stocks -- locomotives and wagons. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrain.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrain.html Online documentation} * @noSelf */ export interface LuaTrain { /** * Get the amount of a particular item stored in the train. * @param item If not given, counts all items. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrain.html#get_item_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrain.html#get_item_count Online documentation} */ get_item_count(item?: ItemFilterWrite): uint32 /** * Get a mapping of the train's inventory. * @returns List of all items in the train. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrain.html#get_contents Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrain.html#get_contents Online documentation} */ get_contents(): ItemWithQualityCount[] /** * Remove some items from the train. * @param stack The amount and type of items to remove * @returns Number of items actually removed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrain.html#remove_item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrain.html#remove_item Online documentation} */ remove_item(stack: ItemStackIdentification): uint32 /** * Insert a stack into the train. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrain.html#insert Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrain.html#insert Online documentation} */ insert(stack: ItemStackIdentification): void /** * Clear all items in this train. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrain.html#clear_items_inside Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrain.html#clear_items_inside Online documentation} */ clear_items_inside(): void /** * Checks if the path is invalid and tries to re-path if it isn't. * @param force Forces the train to re-path regardless of the current path being valid or not. * @returns If the train has a path after the repath attempt. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrain.html#recalculate_path Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrain.html#recalculate_path Online documentation} */ recalculate_path(force?: boolean): boolean /** * Get the amount of a particular fluid stored in the train. * @param fluid Fluid name to count. If not given, counts all fluids. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrain.html#get_fluid_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrain.html#get_fluid_count Online documentation} */ get_fluid_count(fluid?: string): double /** * Gets a mapping of the train's fluid inventory. * @returns The counts, indexed by fluid names. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrain.html#get_fluid_contents Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrain.html#get_fluid_contents Online documentation} */ get_fluid_contents(): Record /** * Remove some fluid from the train. * @returns The amount of fluid actually removed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrain.html#remove_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrain.html#remove_fluid Online documentation} */ remove_fluid(fluid: Fluid): double /** * Inserts the given fluid into the first available location in this train. * @returns The amount inserted. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrain.html#insert_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrain.html#insert_fluid Online documentation} */ insert_fluid(fluid: Fluid): double /** * Clears all fluids in this train. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrain.html#clear_fluids_inside Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrain.html#clear_fluids_inside Online documentation} */ clear_fluids_inside(): void /** * Go to the station specified by the index in the train's schedule. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrain.html#go_to_station Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrain.html#go_to_station Online documentation} */ go_to_station(index: uint32): void /** * Gets all rails under the train. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrain.html#get_rails Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrain.html#get_rails Online documentation} */ get_rails(): LuaEntity[] /** * Gets a LuaRailEnd object pointing away from the train at specified end of the train - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrain.html#get_rail_end Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrain.html#get_rail_end Online documentation} */ get_rail_end(direction: defines.rail_direction): LuaRailEnd /** * This allows full access to the train schedule, including modifying the schedule records, the train group and the interrupts. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrain.html#get_schedule Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrain.html#get_schedule Online documentation} */ get_schedule(): LuaSchedule /** * When `true`, the train is explicitly controlled by the player or script. When `false`, the train moves autonomously according to its schedule. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrain.html#manual_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrain.html#manual_mode Online documentation} */ manual_mode: boolean /** * Current speed. * * Changing the speed of the train is potentially an unsafe operation because train uses the speed for its internal calculations of break distances, etc. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrain.html#speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrain.html#speed Online documentation} */ speed: double /** * Current max speed when moving forward, depends on locomotive prototype and fuel. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrain.html#max_forward_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrain.html#max_forward_speed Online documentation} */ readonly max_forward_speed: double /** * Current max speed when moving backwards, depends on locomotive prototype and fuel. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrain.html#max_backward_speed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrain.html#max_backward_speed Online documentation} */ readonly max_backward_speed: double /** * The weight of this train. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrain.html#weight Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrain.html#weight Online documentation} */ readonly weight: double /** * The rolling stocks this train is composed of, with the numbering starting at the {@link LuaTrain#front_stock front} of the train. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrain.html#carriages Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrain.html#carriages Online documentation} */ readonly carriages: LuaEntity[] /** @@ -38766,7 +38782,7 @@ declare module "factorio:runtime" { * @example * -- called on a LuaTrain with 3 locomotives, it returns 3 LuaEntities: * train.locomotives -- => {front_movers = {loco1, loco2}, back_movers = {loco3}} - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrain.html#locomotives Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrain.html#locomotives Online documentation} */ readonly locomotives: { /** @@ -38780,12 +38796,12 @@ declare module "factorio:runtime" { } /** * The cargo carriages the train contains. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrain.html#cargo_wagons Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrain.html#cargo_wagons Online documentation} */ readonly cargo_wagons: LuaEntity[] /** * The fluid carriages the train contains. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrain.html#fluid_wagons Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrain.html#fluid_wagons Online documentation} */ readonly fluid_wagons: LuaEntity[] /** @@ -38794,99 +38810,99 @@ declare module "factorio:runtime" { * The schedule can't be changed by modifying the returned table. Instead, changes must be made by assigning a new table to this attribute. * * This is a simplified schedule that does **not** include train groups and interrupts. See {@link LuaTrain#get_schedule LuaTrain::get_schedule} for full access to the train schedule, including interrupts and train groups. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrain.html#schedule Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrain.html#schedule Online documentation} */ get schedule(): TrainSchedule | nil set schedule(value: TrainScheduleWrite | nil) /** * This train's current state. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrain.html#state Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrain.html#state Online documentation} */ readonly state: defines.train_state /** * The front stock of this train, if any. The front of the train is in the direction that a majority of locomotives are pointing in. If it's a tie, the North and West directions take precedence. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrain.html#front_stock Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrain.html#front_stock Online documentation} */ readonly front_stock?: LuaEntity /** * The back stock of this train, if any. The back of the train is at the opposite end of the {@link LuaTrain#front_stock front}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrain.html#back_stock Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrain.html#back_stock Online documentation} */ readonly back_stock?: LuaEntity /** * The train stop this train is stopped at, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrain.html#station Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrain.html#station Online documentation} */ readonly station?: LuaEntity /** * If this train has a path. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrain.html#has_path Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrain.html#has_path Online documentation} */ readonly has_path: boolean /** * The destination rail this train is currently pathing to, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrain.html#path_end_rail Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrain.html#path_end_rail Online documentation} */ readonly path_end_rail?: LuaEntity /** * The destination train stop this train is currently pathing to, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrain.html#path_end_stop Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrain.html#path_end_stop Online documentation} */ readonly path_end_stop?: LuaEntity /** * The unique train ID. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrain.html#id Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrain.html#id Online documentation} */ readonly id: uint32 /** * The player passengers on the train * * This does *not* index using player index. See {@link LuaPlayer#index LuaPlayer::index} on each player instance for the player index. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrain.html#passengers Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrain.html#passengers Online documentation} */ readonly passengers: LuaPlayer[] /** * The riding state of this train. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrain.html#riding_state Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrain.html#riding_state Online documentation} */ readonly riding_state: RidingState /** * The players killed by this train. * * The keys are the player indices, the values are how often this train killed that player. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrain.html#killed_players Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrain.html#killed_players Online documentation} */ readonly killed_players: Record /** * The total number of kills by this train. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrain.html#kill_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrain.html#kill_count Online documentation} */ readonly kill_count: uint32 /** * The path this train is using, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrain.html#path Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrain.html#path Online documentation} */ readonly path?: LuaRailPath /** * The signal this train is arriving or waiting at, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrain.html#signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrain.html#signal Online documentation} */ readonly signal?: LuaEntity /** * The group this train belongs to. * * Setting the group will apply the schedule of the group to this train. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrain.html#group Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrain.html#group Online documentation} */ group: string /** * Front end of the train: Rail and direction on that rail where the train will go when moving forward - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrain.html#front_end Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrain.html#front_end Online documentation} */ readonly front_end: LuaRailEnd /** * Back end of the train: Rail and direction on that rail where the train will go when moving backward - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrain.html#back_end Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrain.html#back_end Online documentation} */ readonly back_end: LuaRailEnd /** @@ -38902,7 +38918,7 @@ declare module "factorio:runtime" { * The train manager manages all the train in the game. LuaTrainManager allows to perform some direct queries to the train manager. * * There is always exactly one train manager instance in a game, it can be obtained from {@link LuaGameScript#train_manager LuaGameScript::train_manager}. This object is always valid and is equal to any other instance of LuaTrainManager from this game. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrainManager.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrainManager.html Online documentation} * @noSelf */ export interface LuaTrainManager { @@ -38910,25 +38926,25 @@ declare module "factorio:runtime" { * Searches for a train with given ID. * @param train_id Train ID to search * @returns Train if found - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrainManager.html#get_train_by_id Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrainManager.html#get_train_by_id Online documentation} */ get_train_by_id(train_id: uint32): LuaTrain | nil /** * Gets all trains that pass given filter * @param filter Filters the train must pass in order to be returned here - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrainManager.html#get_trains Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrainManager.html#get_trains Online documentation} */ get_trains(filter: TrainFilter): LuaTrain[] /** * Gets all train stops that pass given filter * @param filter Filters the train stop must pass in order to be returned here - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrainManager.html#get_train_stops Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrainManager.html#get_train_stops Online documentation} */ get_train_stops(filter: TrainStopFilter): LuaEntity[] /** * Direct access to train pathfinder. Allows to search rail paths or querying which stops are accessible * @returns The type of the returned value depends on `type`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrainManager.html#request_train_path Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrainManager.html#request_train_path Online documentation} */ request_train_path(params: { /** @@ -38976,60 +38992,60 @@ declare module "factorio:runtime" { } /** * Control behavior for train stops. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrainStopControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrainStopControlBehavior.html Online documentation} */ export interface LuaTrainStopControlBehavior extends LuaGenericOnOffControlBehavior { /** * `true` if the train stop should send the circuit network contents to the train to use. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrainStopControlBehavior.html#send_to_train Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrainStopControlBehavior.html#send_to_train Online documentation} */ send_to_train: boolean /** * `true` if the train stop should send the train contents to the circuit network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrainStopControlBehavior.html#read_from_train Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrainStopControlBehavior.html#read_from_train Online documentation} */ read_from_train: boolean /** * `true` if the train stop should send the stopped train id to the circuit network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrainStopControlBehavior.html#read_stopped_train Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrainStopControlBehavior.html#read_stopped_train Online documentation} */ read_stopped_train: boolean /** * `true` if the trains_limit_signal is used to set a limit of trains incoming for train stop. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrainStopControlBehavior.html#set_trains_limit Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrainStopControlBehavior.html#set_trains_limit Online documentation} */ set_trains_limit: boolean /** * `true` if the train stop should send amount of incoming trains to the circuit network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrainStopControlBehavior.html#read_trains_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrainStopControlBehavior.html#read_trains_count Online documentation} */ read_trains_count: boolean /** * The signal that will be sent when using the send-train-id option. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrainStopControlBehavior.html#stopped_train_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrainStopControlBehavior.html#stopped_train_signal Online documentation} */ get stopped_train_signal(): SignalID | nil set stopped_train_signal(value: SignalIDWrite | nil) /** * The signal that will be sent when using the read-trains-count option. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrainStopControlBehavior.html#trains_count_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrainStopControlBehavior.html#trains_count_signal Online documentation} */ get trains_count_signal(): SignalID | nil set trains_count_signal(value: SignalIDWrite | nil) /** * The signal to be used by set-trains-limit to limit amount of incoming trains - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrainStopControlBehavior.html#trains_limit_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrainStopControlBehavior.html#trains_limit_signal Online documentation} */ get trains_limit_signal(): SignalID | nil set trains_limit_signal(value: SignalIDWrite | nil) /** * `true` if the priority_signal is used to set a priority of the train stop. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrainStopControlBehavior.html#set_priority Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrainStopControlBehavior.html#set_priority Online documentation} */ set_priority: boolean /** * The signal to be used by set-priority change priority of the train stop - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrainStopControlBehavior.html#priority_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrainStopControlBehavior.html#priority_signal Online documentation} */ get priority_signal(): SignalID | nil set priority_signal(value: SignalIDWrite | nil) @@ -39044,17 +39060,17 @@ declare module "factorio:runtime" { } /** * Control behavior for transport belts. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTransportBeltControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTransportBeltControlBehavior.html Online documentation} */ export interface LuaTransportBeltControlBehavior extends LuaGenericOnOffControlBehavior { /** * If the belt will read the contents and send them to the circuit network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTransportBeltControlBehavior.html#read_contents Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTransportBeltControlBehavior.html#read_contents Online documentation} */ read_contents: boolean /** * The read mode for the belt. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTransportBeltControlBehavior.html#read_contents_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTransportBeltControlBehavior.html#read_contents_mode Online documentation} */ read_contents_mode: defines.control_behavior.transport_belt.content_read_mode /** @@ -39068,37 +39084,37 @@ declare module "factorio:runtime" { } /** * One line on a transport belt. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTransportLine.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTransportLine.html Online documentation} * @noSelf */ export interface LuaTransportLine extends ReadonlyArray { /** * Remove all items from this transport line. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTransportLine.html#clear Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTransportLine.html#clear Online documentation} */ clear(): void /** * Count some or all items on this line, similar to how {@link LuaInventory#get_item_count LuaInventory::get_item_count} does. * @param item If not specified, count all items. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTransportLine.html#get_item_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTransportLine.html#get_item_count Online documentation} */ get_item_count(item?: ItemFilterWrite): uint32 /** * Remove some items from this line. * @param items Items to remove. * @returns Number of items actually removed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTransportLine.html#remove_item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTransportLine.html#remove_item Online documentation} */ remove_item(items: ItemStackIdentification): uint32 /** * Can an item be inserted at a given position? * @param position Where to insert an item. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTransportLine.html#can_insert_at Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTransportLine.html#can_insert_at Online documentation} */ can_insert_at(position: float): boolean /** * Can an item be inserted at the back of this line? - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTransportLine.html#can_insert_at_back Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTransportLine.html#can_insert_at_back Online documentation} */ can_insert_at_back(): boolean /** @@ -39107,14 +39123,14 @@ declare module "factorio:runtime" { * @param items Items to insert. * @param belt_stack_size Maximum size of stack created on belt * @returns Were the items inserted successfully? - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTransportLine.html#insert_at Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTransportLine.html#insert_at Online documentation} */ insert_at(position: float, items: ItemStackIdentification, belt_stack_size?: uint8): boolean /** * Insert items at the back of this line. * @param belt_stack_size Maximum size of stack created on belt * @returns Were the items inserted successfully? - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTransportLine.html#insert_at_back Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTransportLine.html#insert_at_back Online documentation} */ insert_at_back(items: ItemStackIdentification, belt_stack_size?: uint8): boolean /** @@ -39122,18 +39138,18 @@ declare module "factorio:runtime" { * @param position Where on the line to insert the items. * @param items Items to insert. * @param belt_stack_size Maximum size of stack created on belt - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTransportLine.html#force_insert_at Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTransportLine.html#force_insert_at Online documentation} */ force_insert_at(position: float, items: ItemStackIdentification, belt_stack_size?: uint8): void /** * Get counts of all items on this line, similar to how {@link LuaInventory#get_contents LuaInventory::get_contents} does. * @returns List of all items on this line. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTransportLine.html#get_contents Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTransportLine.html#get_contents Online documentation} */ get_contents(): ItemWithQualityCount[] /** * Get detailed information of items on this line, such as their position. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTransportLine.html#get_detailed_contents Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTransportLine.html#get_detailed_contents Online documentation} */ get_detailed_contents(): DetailedItemOnLine[] /** @@ -39141,55 +39157,55 @@ declare module "factorio:runtime" { * @param index Index of the item. Allowed values are from 1 up to {@link LuaTransportLine#length # (length)}. * @returns Linear position of the item along the transport line * @returns Map position of the item - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTransportLine.html#get_item_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTransportLine.html#get_item_position Online documentation} */ get_item_position(index: uint32): LuaMultiReturn<[float, MapPosition]> /** * Returns whether the associated internal transport line of this line is the same as the others associated internal transport line. * * This can return true even when the {@link LuaTransportLine#owner LuaTransportLine::owner}s are different (so `this == other` is false), because the internal transport lines can span multiple tiles. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTransportLine.html#line_equals Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTransportLine.html#line_equals Online documentation} */ line_equals(other: LuaTransportLine): boolean /** * Get a map position related to a position on a transport line. * @param position Linear position along the transport line. Clamped to the transport line range. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTransportLine.html#get_line_item_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTransportLine.html#get_line_item_position Online documentation} */ get_line_item_position(position: float): MapPosition /** * Get the number of items on this transport line. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTransportLine.html#length_operator Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTransportLine.html#length_operator Online documentation} */ readonly length: uint32 /** * The indexing operator. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTransportLine.html#index_operator Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTransportLine.html#index_operator Online documentation} */ readonly [index: number]: LuaItemStack /** * The entity this transport line belongs to. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTransportLine.html#owner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTransportLine.html#owner Online documentation} */ readonly owner: LuaEntity /** * The transport lines that this transport line outputs items to or an empty table if none. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTransportLine.html#output_lines Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTransportLine.html#output_lines Online documentation} */ readonly output_lines: LuaTransportLine[] /** * The transport lines that this transport line is fed by or an empty table if none. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTransportLine.html#input_lines Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTransportLine.html#input_lines Online documentation} */ readonly input_lines: LuaTransportLine[] /** * Length of the transport line. Items can be inserted at line position from 0 up to returned value - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTransportLine.html#line_length Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTransportLine.html#line_length Online documentation} */ readonly line_length: float /** * Total length of segment which consists of this line, all lines in front and lines in the back directly connected. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTransportLine.html#total_segment_length Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTransportLine.html#total_segment_length Online documentation} */ readonly total_segment_length: double /** @@ -39203,7 +39219,7 @@ declare module "factorio:runtime" { } /** * Prototype of a trivial smoke. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTrivialSmokePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTrivialSmokePrototype.html Online documentation} */ export interface LuaTrivialSmokePrototype extends LuaPrototypeBase { readonly color: Color @@ -39231,28 +39247,28 @@ declare module "factorio:runtime" { } /** * Control behavior for turrets. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTurretControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTurretControlBehavior.html Online documentation} */ export interface LuaTurretControlBehavior extends LuaGenericOnOffControlBehavior { /** * `true` if the turret's target priority list will be determined from the signals on the circuit network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTurretControlBehavior.html#set_priority_list Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTurretControlBehavior.html#set_priority_list Online documentation} */ set_priority_list: boolean /** * `true` if the turret will ignore targets not on its priority list if a circuit condition is met. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTurretControlBehavior.html#set_ignore_unlisted_targets Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTurretControlBehavior.html#set_ignore_unlisted_targets Online documentation} */ set_ignore_unlisted_targets: boolean /** * The condition under which the turret will ignore targets not on its priority list. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTurretControlBehavior.html#ignore_unlisted_targets_condition Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTurretControlBehavior.html#ignore_unlisted_targets_condition Online documentation} */ get ignore_unlisted_targets_condition(): CircuitConditionDefinition set ignore_unlisted_targets_condition(value: CircuitConditionDefinitionWrite) /** * `true` if the turret will send the ammunition or fluid it contains to the circuit network. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaTurretControlBehavior.html#read_ammo Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaTurretControlBehavior.html#read_ammo Online documentation} */ read_ammo: boolean /** @@ -39268,63 +39284,63 @@ declare module "factorio:runtime" { * The undo queue for a player. The term `item_index` refers to the index of an undo item in the queue, while `action_index` refers to the index of one of the individual actions that make up an undo item. * * Items are added to the undo queue through player actions and Lua methods that emulate player actions like {@link LuaEntity#order_upgrade LuaEntity::order_upgrade}. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaUndoRedoStack.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaUndoRedoStack.html Online documentation} * @noSelf */ export interface LuaUndoRedoStack { /** * Gets an undo item from the undo stack. * @param index The index of the undo item to get, ordered from most recent to oldest. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaUndoRedoStack.html#get_undo_item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaUndoRedoStack.html#get_undo_item Online documentation} */ get_undo_item(index: uint32): UndoRedoAction[] /** * The number undo items in the undo stack. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaUndoRedoStack.html#get_undo_item_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaUndoRedoStack.html#get_undo_item_count Online documentation} */ get_undo_item_count(): uint32 /** * Removes an undo item from the undo stack. * @param index The index of the undo item to remove, ordered from most recent to oldest. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaUndoRedoStack.html#remove_undo_item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaUndoRedoStack.html#remove_undo_item Online documentation} */ remove_undo_item(index: uint32): void /** * Removes an undo action from the specified undo item on the undo stack. * @param item_index The index of the undo item to change, ordered from most recent to oldest. * @param action_index The index of the undo action to remove. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaUndoRedoStack.html#remove_undo_action Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaUndoRedoStack.html#remove_undo_action Online documentation} */ remove_undo_action(item_index: uint32, action_index: uint32): void /** * Gets an undo item from the redo stack. * @param index The index of the item to get, ordered from most recent to oldest. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaUndoRedoStack.html#get_redo_item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaUndoRedoStack.html#get_redo_item Online documentation} */ get_redo_item(index: uint32): UndoRedoAction[] /** * The number of undo items in the redo stack. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaUndoRedoStack.html#get_redo_item_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaUndoRedoStack.html#get_redo_item_count Online documentation} */ get_redo_item_count(): uint32 /** * Removes an undo item from the redo stack. * @param index The index of the undo item to remove, ordered from most recent to oldest. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaUndoRedoStack.html#remove_redo_item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaUndoRedoStack.html#remove_redo_item Online documentation} */ remove_redo_item(index: uint32): void /** * Removes an undo action from the specified undo item on the redo stack. * @param item_index The index of the undo item to change, ordered from most recent to oldest. * @param action_index The index of the undo action to remove. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaUndoRedoStack.html#remove_redo_action Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaUndoRedoStack.html#remove_redo_action Online documentation} */ remove_redo_action(item_index: uint32, action_index: uint32): void /** * Gets all tags for the given undo action. * @param item_index The index of the undo item, ordered from most recent to oldest. * @param action_index The index of the undo action. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaUndoRedoStack.html#get_undo_tags Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaUndoRedoStack.html#get_undo_tags Online documentation} */ get_undo_tags(item_index: uint32, action_index: uint32): Tags /** @@ -39332,7 +39348,7 @@ declare module "factorio:runtime" { * @param item_index The index of the undo item, ordered from most recent to oldest. * @param action_index The index of the undo action. * @param tag_name The name of the tag to get. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaUndoRedoStack.html#get_undo_tag Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaUndoRedoStack.html#get_undo_tag Online documentation} */ get_undo_tag(item_index: uint32, action_index: uint32, tag_name: string): AnyBasic | nil /** @@ -39341,7 +39357,7 @@ declare module "factorio:runtime" { * @param action_index The index of the undo action. * @param tag_name The name of the tag to set. * @param tag The contents of the new tag. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaUndoRedoStack.html#set_undo_tag Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaUndoRedoStack.html#set_undo_tag Online documentation} */ set_undo_tag(item_index: uint32, action_index: uint32, tag_name: string, tag: AnyBasic): void /** @@ -39350,14 +39366,14 @@ declare module "factorio:runtime" { * @param action_index The index of the undo action. * @param tag The name of the tag to remove. * @returns Whether the tag existed and was successfully removed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaUndoRedoStack.html#remove_undo_tag Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaUndoRedoStack.html#remove_undo_tag Online documentation} */ remove_undo_tag(item_index: uint32, action_index: uint32, tag: string): boolean /** * Gets all tags for the given redo action. * @param item_index The index of the redo item, ordered from most recent to oldest. * @param action_index The index of the redo action. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaUndoRedoStack.html#get_redo_tags Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaUndoRedoStack.html#get_redo_tags Online documentation} */ get_redo_tags(item_index: uint32, action_index: uint32): Tags /** @@ -39365,7 +39381,7 @@ declare module "factorio:runtime" { * @param item_index The index of the redo item, ordered from most recent to oldest. * @param action_index The index of the redo action. * @param tag_name The name of the tag to get. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaUndoRedoStack.html#get_redo_tag Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaUndoRedoStack.html#get_redo_tag Online documentation} */ get_redo_tag(item_index: uint32, action_index: uint32, tag_name: string): AnyBasic | nil /** @@ -39374,7 +39390,7 @@ declare module "factorio:runtime" { * @param action_index The index of the redo action. * @param tag_name The name of the tag to set. * @param tag The contents of the new tag. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaUndoRedoStack.html#set_redo_tag Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaUndoRedoStack.html#set_redo_tag Online documentation} */ set_redo_tag(item_index: uint32, action_index: uint32, tag_name: string, tag: AnyBasic): void /** @@ -39383,12 +39399,12 @@ declare module "factorio:runtime" { * @param action_index The index of the redo action. * @param tag The name of the tag to remove. * @returns Whether the tag existed and was successfully removed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaUndoRedoStack.html#remove_redo_tag Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaUndoRedoStack.html#remove_redo_tag Online documentation} */ remove_redo_tag(item_index: uint32, action_index: uint32, tag: string): boolean /** * The index of the player to whom this stack belongs to. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaUndoRedoStack.html#player_index Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaUndoRedoStack.html#player_index Online documentation} */ readonly player_index: PlayerIndex /** @@ -39402,17 +39418,17 @@ declare module "factorio:runtime" { } /** * Prototype of a virtual signal. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaVirtualSignalPrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaVirtualSignalPrototype.html Online documentation} */ export interface LuaVirtualSignalPrototype extends LuaPrototypeBase { /** * Whether this is a special signal. The `everything`, `anything`, `each`, and `unknown` signals are considered special. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaVirtualSignalPrototype.html#special Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaVirtualSignalPrototype.html#special Online documentation} */ readonly special: boolean /** * An alternative prototype that will be used to display info about this prototype in Factoriopedia. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaVirtualSignalPrototype.html#factoriopedia_alternative Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaVirtualSignalPrototype.html#factoriopedia_alternative Online documentation} */ readonly factoriopedia_alternative?: LuaVirtualSignalPrototype /** @@ -39426,12 +39442,12 @@ declare module "factorio:runtime" { } /** * Prototype of a void energy source. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaVoidEnergySourcePrototype.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaVoidEnergySourcePrototype.html Online documentation} */ export interface LuaVoidEnergySourcePrototype { /** * The table of emissions of this energy source in `pollution/Joule`, indexed by pollutant type. Multiplying it by energy consumption in `Watt` gives `pollution/second`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaVoidEnergySourcePrototype.html#emissions_per_joule Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaVoidEnergySourcePrototype.html#emissions_per_joule Online documentation} */ readonly emissions_per_joule: Record readonly render_no_network_icon: boolean @@ -39447,12 +39463,12 @@ declare module "factorio:runtime" { } /** * Control behavior for walls. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaWallControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaWallControlBehavior.html Online documentation} */ export interface LuaWallControlBehavior extends LuaControlBehavior { /** * The circuit condition. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaWallControlBehavior.html#circuit_condition Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaWallControlBehavior.html#circuit_condition Online documentation} */ get circuit_condition(): CircuitConditionDefinition set circuit_condition(value: CircuitConditionDefinitionWrite) @@ -39471,7 +39487,7 @@ declare module "factorio:runtime" { } /** * A wire connector of a given entity. Allows to find wires, add or remove wires and do some basic operations specific to those connectors. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaWireConnector.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaWireConnector.html Online documentation} * @noSelf */ export interface LuaWireConnector { @@ -39479,7 +39495,7 @@ declare module "factorio:runtime" { * Checks if this connector has any wire going to the other connector. * @param target Other connector to check for a connection to. * @param origin Origin of the wire. Defaults to `defines.wire_origin.player`. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaWireConnector.html#is_connected_to Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaWireConnector.html#is_connected_to Online documentation} */ is_connected_to(target: LuaWireConnector, origin?: defines.wire_origin): boolean /** @@ -39488,7 +39504,7 @@ declare module "factorio:runtime" { * @param reach_check True by default. For wires out of reach or on different surfaces, `false` must be provided. * @param origin Origin of the wire. Defaults to `defines.wire_origin.player`. * @returns Whether a connection was made. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaWireConnector.html#connect_to Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaWireConnector.html#connect_to Online documentation} */ connect_to(target: LuaWireConnector, reach_check?: boolean, origin?: defines.wire_origin): boolean /** @@ -39496,78 +39512,78 @@ declare module "factorio:runtime" { * @param target Other connector to which wire to be removed should be removed. * @param origin Origin of the wire. Defaults to `defines.wire_origin.player`. * @returns Whether a connection was removed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaWireConnector.html#disconnect_from Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaWireConnector.html#disconnect_from Online documentation} */ disconnect_from(target: LuaWireConnector, origin?: defines.wire_origin): boolean /** * Removes all wires going out of this wire connector. * @param origin Origin of the wires to remove. Defaults to `defines.wire_origin.player`. * @returns True if any wire was removed. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaWireConnector.html#disconnect_all Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaWireConnector.html#disconnect_all Online documentation} */ disconnect_all(origin?: defines.wire_origin): boolean /** * Checks if a wire can reach from this connector to the other connector. * @param other_connector Target to which a wire reach is to be checked. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaWireConnector.html#can_wire_reach Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaWireConnector.html#can_wire_reach Online documentation} */ can_wire_reach(other_connector: LuaWireConnector | LuaEntity): boolean /** * Checks if this and other wire connector have a common neighbour. * @param other_connector Other connector to check for common neighbour. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaWireConnector.html#have_common_neighbour Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaWireConnector.html#have_common_neighbour Online documentation} */ have_common_neighbour(other_connector: LuaWireConnector, ignore_ghost_neighbours?: boolean): boolean /** * The entity this wire connector belongs to. May return entity ghost instead if this wire connector belongs to inner entity. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaWireConnector.html#owner Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaWireConnector.html#owner Online documentation} */ readonly owner: LuaEntity /** * The type of wires that can be connected to this connector. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaWireConnector.html#wire_type Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaWireConnector.html#wire_type Online documentation} */ readonly wire_type: defines.wire_type /** * Identifier of this connector in the entity this connector belongs to. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaWireConnector.html#wire_connector_id Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaWireConnector.html#wire_connector_id Online documentation} */ readonly wire_connector_id: defines.wire_connector_id /** * If this connector is owned by an entity inside of a ghost. If any of 2 ends of a wire attaches to a ghost connector, then a wire is considered to be a ghost. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaWireConnector.html#is_ghost Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaWireConnector.html#is_ghost Online documentation} */ readonly is_ghost: boolean /** * Amount of wires going out of this connector. It includes all wires (ghost wires and real wires). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaWireConnector.html#connection_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaWireConnector.html#connection_count Online documentation} */ readonly connection_count: uint32 /** * All wire connectors this connector is connected to. It includes all wires (ghost wires and real wires). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaWireConnector.html#connections Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaWireConnector.html#connections Online documentation} */ readonly connections: WireConnection[] /** * Amount of real wires going out of this connector. It only includes wires for which both wire connectors are real (not ghosts). - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaWireConnector.html#real_connection_count Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaWireConnector.html#real_connection_count Online documentation} */ readonly real_connection_count: uint32 /** * All wire connectors this connector is connected to with real wires. It only includes wires that are between two non-ghost entities. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaWireConnector.html#real_connections Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaWireConnector.html#real_connections Online documentation} */ readonly real_connections: WireConnection[] /** * Index of a CircuitNetwork or ElectricSubNetwork which is going through this wire connector. Returns 0 if there is no network associated with this wire connector right now. CircuitNetwork indexes are independent of indexes of ElectricSubNetwork so they may collide with each other. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaWireConnector.html#network_id Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaWireConnector.html#network_id Online documentation} */ readonly network_id: uint32 /** * The electric sub network this copper wire connector provides. * * No value will be provided if this is not a copper wire connector. May be `nil` in case of a copper wire connector when it belongs to a ghost or its from a power switch when there are no real wires connecting it to other entities. - * @see {@link https://lua-api.factorio.com/2.1.22/classes/LuaWireConnector.html#electric_network Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/classes/LuaWireConnector.html#electric_network Online documentation} */ readonly electric_network?: LuaElectricSubNetwork /** diff --git a/runtime/generated/concepts.d.ts b/runtime/generated/concepts.d.ts index 4b94829..48a9ee4 100644 --- a/runtime/generated/concepts.d.ts +++ b/runtime/generated/concepts.d.ts @@ -12,7 +12,7 @@ import type { VersionString } from "factorio:common" declare module "factorio:runtime" { /** * Weight of an object. The weight is stored as a fixed-size 64 bit integer, with 16 bits reserved for decimal precision, meaning the smallest value step is `1/2^16`. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/Weight.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/Weight.html Online documentation} */ export type Weight = double export interface CircularParticleCreationSpecification { @@ -54,8 +54,8 @@ declare module "factorio:runtime" { _customEventIdBrand: any } /** - * Information about the event that has been raised. The table can also contain other fields depending on the type of event. See {@linkplain https://lua-api.factorio.com/2.1.22/events.html the list of Factorio events} for more information on these. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/EventData.html Online documentation} + * Information about the event that has been raised. The table can also contain other fields depending on the type of event. See {@linkplain https://lua-api.factorio.com/2.1.24/events.html the list of Factorio events} for more information on these. + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/EventData.html Online documentation} */ export interface EventData { /** @@ -115,7 +115,7 @@ declare module "factorio:runtime" { } /** * Information about an individual segment in a segmented unit when the unit died. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/PostSegmentDiedData.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/PostSegmentDiedData.html Online documentation} */ export interface PostSegmentDiedData { /** @@ -131,7 +131,7 @@ declare module "factorio:runtime" { * ## Union members * - `"input"` * - `"output"` - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/BeltConnectionType.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/BeltConnectionType.html Online documentation} */ export type BeltConnectionType = "input" | "output" /** @@ -142,7 +142,7 @@ declare module "factorio:runtime" { * - {@link FluidID}: Used with fluid production statistics. * - {@link EntityWithQualityID}: Used with electric network, entity build count, and kill count statistics. * - {@link EntityID}: Used with pollution statistics. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/FlowStatisticsID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/FlowStatisticsID.html Online documentation} */ export type FlowStatisticsID = ItemWithQualityID | FluidID | EntityWithQualityID | EntityID export type ItemStackIndex = uint16 @@ -164,7 +164,7 @@ declare module "factorio:runtime" { * - `"<="`: "lesser than or equal to" * - `"≠"`: "not equal to" * - `"!="`: "not equal to" - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ComparatorString.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ComparatorString.html Online documentation} */ export type ComparatorString = "=" | ">" | "<" | "≥" | ">=" | "≤" | "<=" | "≠" | "!=" export type ComparatorStringRead = "=" | ">" | "<" | "≥" | "≤" | "≠" @@ -195,116 +195,116 @@ declare module "factorio:runtime" { * * The validity of a SpritePath can be verified at runtime using {@link LuaHelpers#is_valid_sprite_path LuaHelpers::is_valid_sprite_path}. * - * {@link https://lua-api.factorio.com/2.1.22/concepts/SpritePath.html > The supported types are:} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/SpritePath.html Online documentation} + * {@link https://lua-api.factorio.com/2.1.24/concepts/SpritePath.html > The supported types are:} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/SpritePath.html Online documentation} */ export type SpritePath = (string & { _?: never }) | `${SpriteType}${"/" | "."}${string}` /** * Parameters that affect the look and control of the game. Updating any of the member attributes here will immediately take effect in the game engine. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/GameViewSettings.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/GameViewSettings.html Online documentation} */ export interface GameViewSettings { /** * Show the controller GUI elements. This includes the toolbar, the selected tool slot, the armour slot, and the gun and ammunition slots. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/GameViewSettings.show_controller_gui.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/GameViewSettings.show_controller_gui.html Online documentation} */ show_controller_gui: boolean /** * Show the chart in the upper right-hand corner of the screen. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/GameViewSettings.show_minimap.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/GameViewSettings.show_minimap.html Online documentation} */ show_minimap: boolean /** * Show research progress and name in the upper right-hand corner of the screen. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/GameViewSettings.show_research_info.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/GameViewSettings.show_research_info.html Online documentation} */ show_research_info: boolean /** * Show overlay icons on entities. Also known as "alt-mode". - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/GameViewSettings.show_entity_info.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/GameViewSettings.show_entity_info.html Online documentation} */ show_entity_info: boolean /** * Show the flashing alert icons next to the player's toolbar. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/GameViewSettings.show_alert_gui.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/GameViewSettings.show_alert_gui.html Online documentation} */ show_alert_gui: boolean /** * When `true` (the default), mousing over an entity will select it. Otherwise, moving the mouse won't update entity selection. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/GameViewSettings.update_entity_selection.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/GameViewSettings.update_entity_selection.html Online documentation} */ update_entity_selection: boolean /** * When `true` (`false` is default), the rails will always show the rail block visualisation. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/GameViewSettings.show_rail_block_visualisation.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/GameViewSettings.show_rail_block_visualisation.html Online documentation} */ show_rail_block_visualisation: boolean /** * Shows or hides the buttons row. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/GameViewSettings.show_side_menu.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/GameViewSettings.show_side_menu.html Online documentation} */ show_side_menu: boolean /** * Shows or hides the pins GUI on the right side of the screen. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/GameViewSettings.show_pins_gui.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/GameViewSettings.show_pins_gui.html Online documentation} */ show_pins_gui: boolean /** * Shows or hides the view options when map is opened. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/GameViewSettings.show_map_view_options.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/GameViewSettings.show_map_view_options.html Online documentation} */ show_map_view_options: boolean /** * Shows or hides the tooltip that is displayed when selecting an entity. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/GameViewSettings.show_entity_tooltip.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/GameViewSettings.show_entity_tooltip.html Online documentation} */ show_entity_tooltip: boolean /** * Shows or hides quickbar of shortcuts. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/GameViewSettings.show_quickbar.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/GameViewSettings.show_quickbar.html Online documentation} */ show_quickbar: boolean /** * Shows or hides the shortcut bar. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/GameViewSettings.show_shortcut_bar.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/GameViewSettings.show_shortcut_bar.html Online documentation} */ show_shortcut_bar: boolean /** * Shows or hides the crafting queue. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/GameViewSettings.show_crafting_queue.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/GameViewSettings.show_crafting_queue.html Online documentation} */ show_crafting_queue: boolean /** * Shows or hides the tool window with the weapons and armor. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/GameViewSettings.show_tool_bar.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/GameViewSettings.show_tool_bar.html Online documentation} */ show_tool_bar: boolean /** * Shows or hides the mouse and keyboard/controller button hints in the bottom left corner if they are enabled in the interface settings. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/GameViewSettings.show_hotkey_suggestions.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/GameViewSettings.show_hotkey_suggestions.html Online documentation} */ show_hotkey_suggestions: boolean /** * Shows or hides the surface list while in Remote View. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/GameViewSettings.show_surface_list.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/GameViewSettings.show_surface_list.html Online documentation} */ show_surface_list: boolean /** * Makes tall entities translucent and unselectable. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/GameViewSettings.hide_tall_entities.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/GameViewSettings.hide_tall_entities.html Online documentation} */ hide_tall_entities: boolean } /** * Precision is ignored beyond four decimals - `0.56789` results in `0.5678` and means 56.78% etc. Values can range from `-1000.0000` to `1000.0000`. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/EffectValue.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/EffectValue.html Online documentation} */ export type EffectValue = float /** * @example * -- These are the effects of the vanilla Speed Module 3 * {speed = 0.5, consumption = 0.7, quality = -0.025} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/Effect.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/Effect.html Online documentation} */ export interface Effect { readonly consumption?: EffectValue @@ -315,12 +315,12 @@ declare module "factorio:runtime" { } /** * `math.huge` represents the maximum possible tick. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/MapTick.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/MapTick.html Online documentation} */ export type MapTick = uint64 /** * @see BlueprintSignalIconWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintSignalIcon.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintSignalIcon.html Online documentation} */ export interface BlueprintSignalIcon { /** @@ -334,7 +334,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link BlueprintSignalIcon}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintSignalIcon.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintSignalIcon.html Online documentation} */ export interface BlueprintSignalIconWrite { /** @@ -423,7 +423,7 @@ declare module "factorio:runtime" { * - `"collision-selection-box"`: 189 * - `"arrow"`: 190 * - `"cursor"`: 226 - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/RenderLayer.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/RenderLayer.html Online documentation} */ export type RenderLayer = | `${bigint}` @@ -507,7 +507,7 @@ declare module "factorio:runtime" { } /** * What is shown in the map view. If a field is not given, that setting will not be changed. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/MapViewSettings.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/MapViewSettings.html Online documentation} */ export interface MapViewSettings { readonly "show-logistic-network"?: boolean @@ -537,7 +537,7 @@ declare module "factorio:runtime" { * - `"blueprint-snap-rectangle"`: Green by default. * - `"spidertron-remote-selected"` * - `"spidertron-remote-to-be-selected"` - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/CursorBoxRenderType.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/CursorBoxRenderType.html Online documentation} */ export type CursorBoxRenderType = | "entity" @@ -564,14 +564,14 @@ declare module "factorio:runtime" { * The name of a {@link LuaCollisionLayerPrototype}. * @example * "is_lower_object" - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/CollisionLayerID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/CollisionLayerID.html Online documentation} */ export type CollisionLayerID = string /** * @example * -- Most common collision mask of buildings: * collision_mask = {layers = {item = true, meltable = true, object = true, player = true, water_tile = true, is_object = true, is_lower_object = true}} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/CollisionMask.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/CollisionMask.html Online documentation} */ export interface CollisionMask { /** @@ -606,7 +606,7 @@ declare module "factorio:runtime" { * - `"always"` * - `"auto"` * - `"auto-and-reserve-space"` - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ScrollPolicy.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ScrollPolicy.html Online documentation} */ export type ScrollPolicy = "never" | "dont-show-but-allow-scrolling" | "always" | "auto" | "auto-and-reserve-space" export interface EmptySlotInfo { @@ -636,7 +636,7 @@ declare module "factorio:runtime" { * - `"button-7"` * - `"button-8"` * - `"button-9"` - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ActiveMouseButtonFlags.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ActiveMouseButtonFlags.html Online documentation} */ export interface ActiveMouseButtonFlags { readonly "left"?: true @@ -661,7 +661,7 @@ declare module "factorio:runtime" { * - `"button-7"` * - `"button-8"` * - `"button-9"` - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/MouseButtonFlags.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/MouseButtonFlags.html Online documentation} */ export type MouseButtonFlags = readonly ( | "left" @@ -682,7 +682,7 @@ declare module "factorio:runtime" { * - `"left"` * - `"right"` * - `"none"` - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/SwitchState.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/SwitchState.html Online documentation} */ export type SwitchState = "left" | "right" | "none" /** @@ -713,7 +713,7 @@ declare module "factorio:runtime" { * - `"tab"`: A tab for use in a `tabbed-pane`. * - `"switch"`: A switch with three possible states. Can have labels attached to either side. Relevant event: {@link OnGuiSwitchStateChangedEvent on_gui_switch_state_changed} * - `"inventory"` - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/GuiElementType.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/GuiElementType.html Online documentation} */ export type GuiElementType = | "button" @@ -784,7 +784,7 @@ declare module "factorio:runtime" { * - `"space-connection"` * - `"surface"` * - `"virtual-signal"` - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ElemType.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ElemType.html Online documentation} */ export type ElemType = | "achievement" @@ -842,7 +842,7 @@ declare module "factorio:runtime" { } /** * The supported subset of {@linkplain https://microsoft.github.io/debug-adapter-protocol/specification#Types_VariablePresentationHint DebugAdapter VariablePresentationHint} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/DebugVariablePresentationHint.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/DebugVariablePresentationHint.html Online documentation} */ export interface DebugVariablePresentationHint { /** @@ -857,7 +857,7 @@ declare module "factorio:runtime" { } /** * The supported subset of {@linkplain https://microsoft.github.io/debug-adapter-protocol/specification#Types_Variable DebugAdapter Variable} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/DebugVariable.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/DebugVariable.html Online documentation} */ export interface DebugVariable { readonly name: string @@ -873,13 +873,13 @@ declare module "factorio:runtime" { * @see VectorTable * @example * right = {1.0, 0.0} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/Vector.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/Vector.html Online documentation} */ export type Vector = readonly [float, float] /** * Table form of {@link Vector}. * @see Vector - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/Vector.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/Vector.html Online documentation} */ export interface VectorTable { readonly x: float @@ -888,7 +888,7 @@ declare module "factorio:runtime" { /** * Coordinates of a chunk in a {@link LuaSurface} where each integer `x`/`y` represents a different chunk. This uses the same format as {@link MapPosition}, meaning it can be specified either with or without explicit keys. A {@link MapPosition} can be translated to a ChunkPosition by dividing the `x`/`y` values by 32. * @see ChunkPositionArray - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ChunkPosition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ChunkPosition.html Online documentation} */ export interface ChunkPosition { readonly x: int32 @@ -897,7 +897,7 @@ declare module "factorio:runtime" { /** * Array form of {@link ChunkPosition}. * @see ChunkPosition - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ChunkPosition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ChunkPosition.html Online documentation} */ export type ChunkPositionArray = readonly [int32, int32] export interface ItemStackLocation { @@ -920,8 +920,10 @@ declare module "factorio:runtime" { } /** * An item filter may be specified in two ways, either as a string which is an item prototype name or as a table. + * + * If this is specified as a string that is an item prototype name, then quality is set to `"normal"` and the comparator is set to `"="`, so only normal quality items will match the filter. * @see ItemFilterWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ItemFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ItemFilter.html Online documentation} */ export type ItemFilter = | { @@ -930,18 +932,18 @@ declare module "factorio:runtime" { */ readonly name?: LuaItemPrototype /** - * The quality. + * The quality. Defaults to empty, so any quality items will match the filter. */ readonly quality?: LuaQualityPrototype /** - * The quality comparison type. + * The quality comparison type. Defaults to `"="`. */ readonly comparator?: ComparatorStringRead } | string /** * Write form of {@link ItemFilter}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ItemFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ItemFilter.html Online documentation} */ export type ItemFilterWrite = | { @@ -950,18 +952,18 @@ declare module "factorio:runtime" { */ readonly name?: ItemID /** - * The quality. + * The quality. Defaults to empty, so any quality items will match the filter. */ readonly quality?: QualityID /** - * The quality comparison type. + * The quality comparison type. Defaults to `"="`. */ readonly comparator?: ComparatorString } | string /** * @see SavedLogisticFiltersWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/SavedLogisticFilters.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/SavedLogisticFilters.html Online documentation} */ export interface SavedLogisticFilters { readonly trash_not_requested: boolean @@ -969,7 +971,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link SavedLogisticFilters}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/SavedLogisticFilters.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/SavedLogisticFilters.html Online documentation} */ export interface SavedLogisticFiltersWrite { readonly trash_not_requested: boolean @@ -977,7 +979,7 @@ declare module "factorio:runtime" { } /** * @see SavedLogisticSectionWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/SavedLogisticSection.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/SavedLogisticSection.html Online documentation} */ export interface SavedLogisticSection { readonly group?: string @@ -987,7 +989,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link SavedLogisticSection}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/SavedLogisticSection.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/SavedLogisticSection.html Online documentation} */ export interface SavedLogisticSectionWrite { readonly group?: string @@ -1026,7 +1028,7 @@ declare module "factorio:runtime" { * -- If 'entity-description.furnace' exists, it is concatenated with "\n" and returned. Otherwise, if 'item-description.furnace' * -- exists, it is returned as-is. Otherwise, "optional fallback" is returned. If this value wasn't specified, the * -- translation result would be "Unknown key: 'item-description.furnace'". - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LocalisedString.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LocalisedString.html Online documentation} */ export type LocalisedString = string | number | boolean | LuaObject | nil | [string, ...LocalisedString[]] export interface BaseCommand { @@ -1259,7 +1261,7 @@ declare module "factorio:runtime" { * - {@link defines.command.stop}: {@link StopCommand} * - {@link defines.command.flee}: {@link FleeCommand} * - {@link defines.command.build_base}: {@link BuildBaseCommand} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/Command.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/Command.html Online documentation} */ export type Command = | AttackCommand @@ -1273,7 +1275,7 @@ declare module "factorio:runtime" { | BuildBaseCommand /** * Write form of {@link Command}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/Command.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/Command.html Online documentation} */ export type CommandWrite = | AttackCommand @@ -1350,7 +1352,7 @@ declare module "factorio:runtime" { * - `"position"`: {@link PositionGuiArrowSpecification} * - `"crafting_queue"`: {@link CraftingQueueGuiArrowSpecification} * - `"item_stack"`: {@link ItemStackGuiArrowSpecification} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/GuiArrowSpecification.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/GuiArrowSpecification.html Online documentation} */ export type GuiArrowSpecification = | EntityGuiArrowSpecification @@ -1370,7 +1372,7 @@ declare module "factorio:runtime" { * - `"position"` * - `"crafting_queue"` * - `"item_stack"`: Will point to a given item stack in an inventory. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/GuiArrowType.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/GuiArrowType.html Online documentation} */ export type GuiArrowType = "nowhere" | "goal" | "entity_info" | "active_window" | "entity" | "position" | "crafting_queue" | "item_stack" @@ -1379,7 +1381,7 @@ declare module "factorio:runtime" { * * If this is specified as a three-element array then the array items are x, y and z, in that order. * @see Vector3DArray - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/Vector3D.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/Vector3D.html Online documentation} */ export interface Vector3D { readonly x: float @@ -1389,7 +1391,7 @@ declare module "factorio:runtime" { /** * Array form of {@link Vector3D}. * @see Vector3D - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/Vector3D.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/Vector3D.html Online documentation} */ export type Vector3DArray = readonly [float, float, float] export interface TrainVisualizationConstants { @@ -1428,12 +1430,12 @@ declare module "factorio:runtime" { } /** * Does not return the value at runtime. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ColorLookupTable.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ColorLookupTable.html Online documentation} */ export type ColorLookupTable = nil /** * Returns an empty table at runtime. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/DaytimeColorLookupTable.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/DaytimeColorLookupTable.html Online documentation} */ export type DaytimeColorLookupTable = "{}" export interface ColorFilterData { @@ -1541,7 +1543,7 @@ declare module "factorio:runtime" { } /** * @see TrainScheduleWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/TrainSchedule.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/TrainSchedule.html Online documentation} */ export interface TrainSchedule { /** @@ -1552,7 +1554,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link TrainSchedule}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/TrainSchedule.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/TrainSchedule.html Online documentation} */ export interface TrainScheduleWrite { /** @@ -1563,7 +1565,7 @@ declare module "factorio:runtime" { } /** * @see PlatformScheduleWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/PlatformSchedule.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/PlatformSchedule.html Online documentation} */ export interface PlatformSchedule { /** @@ -1574,7 +1576,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link PlatformSchedule}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/PlatformSchedule.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/PlatformSchedule.html Online documentation} */ export interface PlatformScheduleWrite { /** @@ -1649,7 +1651,7 @@ declare module "factorio:runtime" { } /** * A recipe prototype with optional quality specification. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/RecipeIDAndQualityIDPair.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/RecipeIDAndQualityIDPair.html Online documentation} */ export interface RecipeIDAndQualityIDPair { /** @@ -1714,7 +1716,7 @@ declare module "factorio:runtime" { } /** * A runtime representation of {@link SegmentEngineSpecification}. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/SegmentEngineSpecification.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/SegmentEngineSpecification.html Online documentation} */ export interface SegmentEngineSpecification { /** @@ -1728,7 +1730,7 @@ declare module "factorio:runtime" { } /** * A runtime representation of {@link SegmentSpecification}. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/SegmentSpecification.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/SegmentSpecification.html Online documentation} */ export interface SegmentSpecification { /** @@ -1742,7 +1744,7 @@ declare module "factorio:runtime" { } /** * A runtime representation of {@link TileBuildabilityRule}. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/TileBuildabilityRule.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/TileBuildabilityRule.html Online documentation} */ export interface TileBuildabilityRule { /** @@ -1936,7 +1938,7 @@ declare module "factorio:runtime" { * - `string`: Name of the force, same as {@link LuaForce#name LuaForce::name}. * - {@link uint8}: Index of the force, same as {@link LuaForce#index LuaForce::index}. * - {@link LuaForce}: A reference to {@link LuaForce} may be passed directly. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ForceID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ForceID.html Online documentation} */ export type ForceID = string | uint8 | LuaForce /** @@ -1946,7 +1948,7 @@ declare module "factorio:runtime" { * - `string`: The fluid name. * - {@link LuaFluidPrototype}: The fluid prototype. * - {@link Fluid}: The fluid. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/FluidID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/FluidID.html Online documentation} */ export type FluidID = string | LuaFluidPrototype | Fluid /** @@ -1957,12 +1959,12 @@ declare module "factorio:runtime" { * - {@link LuaEntityPrototype}: The entity prototype. Normal quality will be used. * - `string`: The prototype name. Normal quality will be used. * - {@link EntityIDAndQualityIDPair}: A table of entity prototype and quality. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/EntityWithQualityID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/EntityWithQualityID.html Online documentation} */ export type EntityWithQualityID = LuaEntity | LuaEntityPrototype | string | EntityIDAndQualityIDPair /** * An entity prototype with optional quality specification. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/EntityIDAndQualityIDPair.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/EntityIDAndQualityIDPair.html Online documentation} */ export interface EntityIDAndQualityIDPair { /** @@ -1982,13 +1984,13 @@ declare module "factorio:runtime" { * - {@link LuaItemPrototype}: The item prototype. Normal quality will be used. * - `string`: The prototype name. Normal quality will be used. * - {@link ItemIDAndQualityIDPair}: A table of item prototype and quality. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ItemWithQualityID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ItemWithQualityID.html Online documentation} */ export type ItemWithQualityID = LuaItemStack | LuaItemPrototype | string | ItemIDAndQualityIDPairWrite /** * An item prototype with optional quality specification. * @see ItemIDAndQualityIDPairWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ItemIDAndQualityIDPair.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ItemIDAndQualityIDPair.html Online documentation} */ export interface ItemIDAndQualityIDPair { /** @@ -2002,7 +2004,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link ItemIDAndQualityIDPair}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ItemIDAndQualityIDPair.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ItemIDAndQualityIDPair.html Online documentation} */ export interface ItemIDAndQualityIDPairWrite { /** @@ -2022,7 +2024,7 @@ declare module "factorio:runtime" { * - {@link LuaItemStack}: Non empty item stack. * - {@link LuaItem}: The item. * - `string`: The prototype name. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ItemID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ItemID.html Online documentation} */ export type ItemID = LuaItemPrototype | LuaItemStack | LuaItem | string /** @@ -2031,7 +2033,7 @@ declare module "factorio:runtime" { * ## Union members * - {@link LuaItemGroup}: The item group prototype. * - `string`: The prototype name. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ItemGroupID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ItemGroupID.html Online documentation} */ export type ItemGroupID = LuaItemGroup | string /** @@ -2041,7 +2043,7 @@ declare module "factorio:runtime" { * - {@link LuaEntityPrototype}: The entity prototype. * - {@link LuaEntity}: The entity. * - `string`: The prototype name. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/EntityID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/EntityID.html Online documentation} */ export type EntityID = LuaEntityPrototype | LuaEntity | string /** @@ -2051,7 +2053,7 @@ declare module "factorio:runtime" { * - {@link LuaTechnologyPrototype}: The technology prototype. * - {@link LuaTechnology}: Instance of the technology. * - `string`: The prototype name. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/TechnologyID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/TechnologyID.html Online documentation} */ export type TechnologyID = LuaTechnologyPrototype | LuaTechnology | string /** @@ -2060,7 +2062,7 @@ declare module "factorio:runtime" { * ## Union members * - {@link LuaParticlePrototype}: The particle prototype. * - `string`: The prototype name. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ParticleID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ParticleID.html Online documentation} */ export type ParticleID = LuaParticlePrototype | string /** @@ -2069,7 +2071,7 @@ declare module "factorio:runtime" { * ## Union members * - {@link LuaDamagePrototype}: The damage type prototype. * - `string`: The prototype name. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/DamageTypeID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/DamageTypeID.html Online documentation} */ export type DamageTypeID = LuaDamagePrototype | string /** @@ -2078,7 +2080,7 @@ declare module "factorio:runtime" { * ## Union members * - {@link LuaTrivialSmokePrototype}: The trivial smoke prototype. * - `string`: The prototype name. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/TrivialSmokeID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/TrivialSmokeID.html Online documentation} */ export type TrivialSmokeID = LuaTrivialSmokePrototype | string /** @@ -2090,7 +2092,7 @@ declare module "factorio:runtime" { * - `"left"` * - `"right"` * - `"center"` - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/TextAlign.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/TextAlign.html Online documentation} */ export type TextAlign = "left" | "right" | "center" /** @@ -2103,7 +2105,7 @@ declare module "factorio:runtime" { * - `"middle"` * - `"baseline"` * - `"bottom"` - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/VerticalTextAlign.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/VerticalTextAlign.html Online documentation} */ export type VerticalTextAlign = "top" | "middle" | "baseline" | "bottom" /** @@ -2112,7 +2114,7 @@ declare module "factorio:runtime" { * ## Union members * - {@link LuaQualityPrototype}: The quality prototype. * - `string`: The prototype name. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/QualityID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/QualityID.html Online documentation} */ export type QualityID = LuaQualityPrototype | string /** @@ -2121,7 +2123,7 @@ declare module "factorio:runtime" { * ## Union members * - {@link LuaRecipeCategoryPrototype}: By recipe category prototype. * - `string`: By name of the recipe category prototype. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/RecipeCategoryID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/RecipeCategoryID.html Online documentation} */ export type RecipeCategoryID = LuaRecipeCategoryPrototype | string /** @@ -2131,7 +2133,7 @@ declare module "factorio:runtime" { * - {@link LuaRecipePrototype}: By recipe prototype. * - {@link LuaRecipe}: By instance of recipe. * - `string`: By name of the recipe prototype. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/RecipeID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/RecipeID.html Online documentation} */ export type RecipeID = LuaRecipePrototype | LuaRecipe | string /** @@ -2141,7 +2143,7 @@ declare module "factorio:runtime" { * - {@link LuaTilePrototype}: By tile prototype. * - {@link LuaTile}: By instance of tile. * - `string`: By name of the tile prototype. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/TileID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/TileID.html Online documentation} */ export type TileID = LuaTilePrototype | LuaTile | string export interface Fluid { @@ -2165,7 +2167,7 @@ declare module "factorio:runtime" { * - {@link LuaEquipmentPrototype}: The equipment prototype. * - {@link LuaEquipment}: The equipment. * - `string`: The prototype name. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/EquipmentID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/EquipmentID.html Online documentation} */ export type EquipmentID = LuaEquipmentPrototype | LuaEquipment | string /** @@ -2177,19 +2179,19 @@ declare module "factorio:runtime" { * - `string`: The prototype name. Normal quality will be used. * - {@link EquipmentIDAndQualityIDPair}: A table of equipment prototype and quality. * @see EquipmentWithQualityIDWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/EquipmentWithQualityID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/EquipmentWithQualityID.html Online documentation} */ export type EquipmentWithQualityID = LuaEquipmentPrototype | LuaEquipment | string | EquipmentIDAndQualityIDPair /** * Write form of {@link EquipmentWithQualityID}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/EquipmentWithQualityID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/EquipmentWithQualityID.html Online documentation} */ export type EquipmentWithQualityIDWrite = LuaEquipmentPrototype | LuaEquipment | string | EquipmentIDAndQualityIDPairWrite /** * An equipment prototype with optional quality specification. * @see EquipmentIDAndQualityIDPairWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/EquipmentIDAndQualityIDPair.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/EquipmentIDAndQualityIDPair.html Online documentation} */ export interface EquipmentIDAndQualityIDPair { /** @@ -2203,7 +2205,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link EquipmentIDAndQualityIDPair}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/EquipmentIDAndQualityIDPair.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/EquipmentIDAndQualityIDPair.html Online documentation} */ export interface EquipmentIDAndQualityIDPairWrite { /** @@ -2250,7 +2252,7 @@ declare module "factorio:runtime" { * @example * -- Shorthand * {{-2, -3}, {5, 8}} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/BoundingBox.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/BoundingBox.html Online documentation} */ export interface BoundingBox { readonly left_top: MapPosition @@ -2260,7 +2262,7 @@ declare module "factorio:runtime" { /** * Array form of {@link BoundingBox}. * @see BoundingBox - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/BoundingBox.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/BoundingBox.html Online documentation} */ export type BoundingBoxArray = readonly [MapPosition | MapPositionArray, MapPosition | MapPositionArray] export interface BoundingBoxWrite { @@ -2323,7 +2325,7 @@ declare module "factorio:runtime" { * - SurfaceIndex: It will be the index of the surface. `nauvis` has index `1`, the first surface-created surface will have index `2` and so on. * - `string`: It will be the surface name. E.g. `"nauvis"`. * - {@link LuaSurface}: A reference to {@link LuaSurface} may be passed directly. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/SurfaceIdentification.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/SurfaceIdentification.html Online documentation} */ export type SurfaceIdentification = SurfaceIndex | string | LuaSurface /** @@ -2333,7 +2335,7 @@ declare module "factorio:runtime" { * - PlayerIndex: The player index. * - `string`: The player name. * - {@link LuaPlayer}: A reference to {@link LuaPlayer} may be passed directly. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/PlayerIdentification.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/PlayerIdentification.html Online documentation} */ export type PlayerIdentification = PlayerIndex | string | LuaPlayer /** @@ -2342,7 +2344,7 @@ declare module "factorio:runtime" { * ## Union members * - {@link ForceID}[]: Array of many forces. * - {@link ForceID}: A single force. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ForceSet.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ForceSet.html Online documentation} */ export type ForceSet = readonly ForceID[] | ForceID /** @@ -2351,7 +2353,7 @@ declare module "factorio:runtime" { * ## Union members * - {@link LuaDecorativePrototype}: The decorative prototype. * - `string`: The prototype name. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/DecorativeID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/DecorativeID.html Online documentation} */ export type DecorativeID = LuaDecorativePrototype | string /** @@ -2360,7 +2362,7 @@ declare module "factorio:runtime" { * ## Union members * - {@link LuaAsteroidChunkPrototype}: The asteroid chunk prototype. * - `string`: The prototype name. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/AsteroidChunkID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/AsteroidChunkID.html Online documentation} */ export type AsteroidChunkID = LuaAsteroidChunkPrototype | string /** @@ -2369,7 +2371,7 @@ declare module "factorio:runtime" { * ## Union members * - {@link LuaSpaceConnectionPrototype}: The space connection prototype. * - `string`: The prototype name. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/SpaceConnectionID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/SpaceConnectionID.html Online documentation} */ export type SpaceConnectionID = LuaSpaceConnectionPrototype | string /** @@ -2378,7 +2380,7 @@ declare module "factorio:runtime" { * ## Union members * - {@link LuaSpaceLocationPrototype}: The space location prototype. * - `string`: The prototype name. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/SpaceLocationID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/SpaceLocationID.html Online documentation} */ export type SpaceLocationID = LuaSpaceLocationPrototype | string /** @@ -2386,7 +2388,7 @@ declare module "factorio:runtime" { * * When the LogisticFilter that this is used in has a non-zero `min` value then `comparator` must be `"="` (the default when writing) and `quality` is mandatory. * @see SignalFilterWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/SignalFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/SignalFilter.html Online documentation} */ export type SignalFilter = | { @@ -2410,7 +2412,7 @@ declare module "factorio:runtime" { | string /** * Write form of {@link SignalFilter}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/SignalFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/SignalFilter.html Online documentation} */ export type SignalFilterWrite = | { @@ -2434,7 +2436,7 @@ declare module "factorio:runtime" { | string /** * @see LogisticFilterWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LogisticFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LogisticFilter.html Online documentation} */ export interface LogisticFilter { /** @@ -2464,7 +2466,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link LogisticFilter}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LogisticFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LogisticFilter.html Online documentation} */ export interface LogisticFilterWrite { /** @@ -2540,7 +2542,7 @@ declare module "factorio:runtime" { * ## Union members * - {@link LuaSurfacePropertyPrototype}: The surface property prototype. * - `string`: The prototype name. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/SurfacePropertyID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/SurfacePropertyID.html Online documentation} */ export type SurfacePropertyID = LuaSurfacePropertyPrototype | string /** @@ -2562,12 +2564,12 @@ declare module "factorio:runtime" { * target = {type = "cursor", offset = {6, 7}} * @example * target = {type = "build-cursor", offset = {3.2, -4.5}} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ScriptRenderTarget.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ScriptRenderTarget.html Online documentation} */ export type ScriptRenderTarget = LuaEntity | MapPosition | ScriptRenderTargetTable /** * Write form of {@link ScriptRenderTarget}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ScriptRenderTarget.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ScriptRenderTarget.html Online documentation} */ export type ScriptRenderTargetWrite = LuaEntity | (MapPosition | MapPositionArray) | ScriptRenderTargetTableWrite /** @@ -2589,7 +2591,7 @@ declare module "factorio:runtime" { * {type = "cursor", offset = {6, 7}} * @example * {type = "build-cursor", offset = {3.2, -4.5}} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ScriptRenderTargetTable.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ScriptRenderTargetTable.html Online documentation} */ export interface ScriptRenderTargetTable { /** @@ -2611,7 +2613,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link ScriptRenderTargetTable}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ScriptRenderTargetTable.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ScriptRenderTargetTable.html Online documentation} */ export interface ScriptRenderTargetTableWrite { /** @@ -2650,13 +2652,13 @@ declare module "factorio:runtime" { * --These are both full stacks of iron plates (for iron-plate, a full stack is 100 plates) * "iron-plate" * {name="iron-plate", count=100} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ItemStackIdentification.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ItemStackIdentification.html Online documentation} */ export type ItemStackIdentification = string | ItemStackDefinition | LuaItemStack /** * An item filter may be specified in two ways, either as a string which is a quality prototype name or as a table. * @see QualityConditionWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/QualityCondition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/QualityCondition.html Online documentation} */ export type QualityCondition = | { @@ -2672,7 +2674,7 @@ declare module "factorio:runtime" { | string /** * Write form of {@link QualityCondition}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/QualityCondition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/QualityCondition.html Online documentation} */ export type QualityConditionWrite = | { @@ -2689,7 +2691,7 @@ declare module "factorio:runtime" { /** * The destination of a cargo pod. * @see CargoDestinationWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/CargoDestination.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/CargoDestination.html Online documentation} */ export interface CargoDestination { /** @@ -2727,7 +2729,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link CargoDestination}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/CargoDestination.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/CargoDestination.html Online documentation} */ export interface CargoDestinationWrite { /** @@ -2781,7 +2783,7 @@ declare module "factorio:runtime" { * furthest = { zoom = 1 / 16 }, * furthest_game_view = { distance = 200, max_distance = 400 } * } - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ZoomLimits.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ZoomLimits.html Online documentation} */ export interface ZoomLimits { /** @@ -2811,7 +2813,7 @@ declare module "factorio:runtime" { * * -- Method 2: Specify a dynamic zoom level based on the window dimensions. * { distance = 200, max_distance = 500 } - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ZoomSpecification.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ZoomSpecification.html Online documentation} */ export interface ZoomSpecification { /** @@ -2832,7 +2834,7 @@ declare module "factorio:runtime" { * - `"game"`: Draw the object in the game world. * - `"chart"`: Draw the object on the map. * - `"build-cursor"`: Draw the object only when the player holds a buildable item trying to build an entity. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ScriptRenderMode.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ScriptRenderMode.html Online documentation} */ export type ScriptRenderMode = "game" | "chart" | "build-cursor" /** @@ -2840,7 +2842,7 @@ declare module "factorio:runtime" { * - `"occluder"`: Draw as a regular sprite which occludes light under it if this option is enabled in graphics settings. * - `"light"`: Draw as light. * - `"glow"`: Draw as both occluder and light at once to make the sprite visible during the day and glow at night. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ScriptSpriteLightMode.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ScriptSpriteLightMode.html Online documentation} */ export type ScriptSpriteLightMode = "occluder" | "light" | "glow" /** @@ -2851,7 +2853,7 @@ declare module "factorio:runtime" { * - {@link LuaCustomInputPrototype}: Custom input prototype. * - {@link defines.events}: Event identifier. * - `string`: Name of the event. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaEventType.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaEventType.html Online documentation} */ export type LuaEventType = LuaCustomEventPrototype | LuaCustomInputPrototype | defines.events | string | EventId export interface UnlockableID { @@ -2890,7 +2892,7 @@ declare module "factorio:runtime" { * - `"starter-packs-available"` * - `"thrusters-available"` * - `"capture-robots-available"` - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/UnlockableIDType.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/UnlockableIDType.html Online documentation} */ export type UnlockableIDType = | "space-location" @@ -2916,7 +2918,7 @@ declare module "factorio:runtime" { * - `"planet"` * - `"platforms"` * - `"all"` - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/RequestFromLocation.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/RequestFromLocation.html Online documentation} */ export type RequestFromLocation = "planet" | "platforms" | "all" /** @@ -2924,13 +2926,13 @@ declare module "factorio:runtime" { * - `"never"` * - `"has-unit"` * - `"always"` - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/TerritoryVisibilityCondition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/TerritoryVisibilityCondition.html Online documentation} */ export type TerritoryVisibilityCondition = "never" | "has-unit" | "always" /** * Coordinates of a tile on a {@link LuaSurface} where each integer `x`/`y` represents a different tile. This uses the same format as {@link MapPosition}, except it rounds any non-integer `x`/`y` down to whole numbers. It can be specified either with or without explicit keys. * @see TilePositionArray - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/TilePosition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/TilePosition.html Online documentation} */ export interface TilePosition { readonly x: int32 @@ -2939,14 +2941,14 @@ declare module "factorio:runtime" { /** * Array form of {@link TilePosition}. * @see TilePosition - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/TilePosition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/TilePosition.html Online documentation} */ export type TilePositionArray = readonly [int32, int32] /** * The smooth orientation. It is a `float` in the range `[0, 1)` that covers a full circle, starting at the top and going clockwise. * * This means a value of `0` indicates "north", a value of `0.5` indicates "south". For example then, a value of `0.625` would indicate "south-west", and a value of `0.875` would indicate "north-west". - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/RealOrientation.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/RealOrientation.html Online documentation} */ export type RealOrientation = float export interface MapLocation { @@ -2965,7 +2967,7 @@ declare module "factorio:runtime" { * @example * -- Shorthand * {1.625, 2.375} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/MapPosition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/MapPosition.html Online documentation} */ export interface MapPosition { readonly x: double @@ -2974,7 +2976,7 @@ declare module "factorio:runtime" { /** * Array form of {@link MapPosition}. * @see MapPosition - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/MapPosition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/MapPosition.html Online documentation} */ export type MapPositionArray = readonly [double, double] /** @@ -2987,7 +2989,7 @@ declare module "factorio:runtime" { * red2 = {r = 0.5, a = 0.5} -- Same color as red1 * black = {} -- All channels omitted: black * red1_short = {0.5, 0, 0, 0.5} -- Same color as red1 in short-hand notation - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/Color.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/Color.html Online documentation} */ export interface Color { readonly r?: float @@ -2998,7 +3000,7 @@ declare module "factorio:runtime" { /** * Array form of {@link Color}. * @see Color - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/Color.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/Color.html Online documentation} */ export type ColorArray = readonly [r: double, g: double, b: double, a?: double] /** @@ -3006,7 +3008,7 @@ declare module "factorio:runtime" { * - `"center-to-center"` * - `"bounding-box-to-bounding-box"` * - `"center-to-bounding-box"` - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/RangeMode.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/RangeMode.html Online documentation} */ export type RangeMode = "center-to-center" | "bounding-box-to-bounding-box" | "center-to-bounding-box" export interface BlueprintRollingStockConnection { @@ -4074,7 +4076,7 @@ declare module "factorio:runtime" { * - `"underground-belt"`: {@link UndergroundBeltBlueprintEntity} * - `"valve"`: {@link ValveBlueprintEntity} * - `"wall"`: {@link WallBlueprintEntity} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintEntity.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintEntity.html Online documentation} */ export type BlueprintEntity = | AccumulatorBlueprintEntity @@ -4141,7 +4143,7 @@ declare module "factorio:runtime" { | WallBlueprintEntity /** * Write form of {@link BlueprintEntity}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintEntity.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintEntity.html Online documentation} */ export type BlueprintEntityWrite = | AccumulatorBlueprintEntityWrite @@ -4216,7 +4218,7 @@ declare module "factorio:runtime" { * - `target_entity_number` * * - `target_wire_connector_id` - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintWire.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintWire.html Online documentation} */ export type BlueprintWire = [ source_entity_number: uint32, @@ -4421,7 +4423,7 @@ declare module "factorio:runtime" { * - `"wire-removed"`: {@link WireRemovedUndoRedoAction} * - `"rotated-entity"`: {@link RotatedEntityUndoRedoAction} * - `"copy-entity-settings"`: {@link CopyEntitySettingsUndoRedoAction} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/UndoRedoAction.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/UndoRedoAction.html Online documentation} */ export type UndoRedoAction = | BuiltEntityUndoRedoAction @@ -4638,7 +4640,7 @@ declare module "factorio:runtime" { * - `"play-previous-track"` * - `"pause-resume-music"` * - `""`: Indicates no linked game control. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LinkedGameControl.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LinkedGameControl.html Online documentation} */ export type LinkedGameControl = | "move-up" @@ -4846,7 +4848,7 @@ declare module "factorio:runtime" { * - {@link LuaSpaceLocationPrototype} * - {@link LuaTilePrototype} * - {@link LuaVirtualSignalPrototype} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/PipetteID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/PipetteID.html Online documentation} */ export type PipetteID = | LuaEntityPrototype @@ -4866,7 +4868,7 @@ declare module "factorio:runtime" { * - `"not-friend"`: Forces which are not friends pass. * - `"same"`: The same force pass. * - `"not-same"`: The non-same forces pass. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ForceCondition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ForceCondition.html Online documentation} */ export type ForceCondition = "all" | "enemy" | "ally" | "friend" | "not-friend" | "same" | "not-same" /** @@ -4874,7 +4876,7 @@ declare module "factorio:runtime" { * - `"input-output"` * - `"input"` * - `"output"` - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/FluidFlowDirection.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/FluidFlowDirection.html Online documentation} */ export type FluidFlowDirection = "input-output" | "input" | "output" /** @@ -4882,7 +4884,7 @@ declare module "factorio:runtime" { * - `"normal"`: 2 connections are required to be adjacent tiles next to each other on their respective directions. * - `"underground"`: Allows distant connection up to a certain limit. Those connections may be blocked by tiles. * - `"linked"`: For mods, connections between entities have to be explicitly requested by script. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/PipeConnectionType.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/PipeConnectionType.html Online documentation} */ export type PipeConnectionType = "normal" | "underground" | "linked" export interface PipeConnectionDefinition { @@ -4914,7 +4916,7 @@ declare module "factorio:runtime" { } /** * A fluid amount. The amount is stored as a fixed-size signed 64 bit integer, with 24 bits reserved for decimal precision, meaning the smallest value step is `1/2^24`. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/FluidAmount.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/FluidAmount.html Online documentation} */ export type FluidAmount = double /** @@ -4925,7 +4927,7 @@ declare module "factorio:runtime" { * - `"input"` * - `"input-output"` * - `"output"` - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ProductionType.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ProductionType.html Online documentation} */ export type ProductionType = "none" | "input" | "input-output" | "output" export interface SurfaceCondition { @@ -4937,7 +4939,7 @@ declare module "factorio:runtime" { * A set of flags. Active flags are in the dictionary as `true`, while inactive flags aren't present at all. * * By default, none of these flags are set. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ItemPrototypeFlags.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ItemPrototypeFlags.html Online documentation} */ export type ItemPrototypeFlags = { readonly [T in ItemPrototypeFlag]?: true @@ -4947,6 +4949,7 @@ declare module "factorio:runtime" { * * ## Union members * - `"draw-logistic-overlay"`: Determines whether the logistics areas of roboports should be drawn when holding this item. Used by the deconstruction planner by default. + * - `"disable-logistic-overlay"`: Prevents the logistics areas of roboports from being drawn when holding this item. * - `"excluded-from-trash-unrequested"`: If this item is skipped by the trash-unrequested logic. * - `"excluded-from-character-lift-weight"`: Whether the rocket passenger feature skips this item when checking lift weight. * - `"always-show"`: Always shows the item in the logistic requests and filters GUIs (among others) even when the recipe for that item is locked. @@ -4962,10 +4965,11 @@ declare module "factorio:runtime" { * - `"hide-health-bar-in-world"` * - `"hide-spoilage-bar-in-world"` * - `"no-item-on-ground-merging"` - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ItemPrototypeFlag.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ItemPrototypeFlag.html Online documentation} */ export type ItemPrototypeFlag = | "draw-logistic-overlay" + | "disable-logistic-overlay" | "excluded-from-trash-unrequested" | "excluded-from-character-lift-weight" | "always-show" @@ -4983,7 +4987,7 @@ declare module "factorio:runtime" { | "no-item-on-ground-merging" /** * @see UpgradeMapperSourceWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/UpgradeMapperSource.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/UpgradeMapperSource.html Online documentation} */ export interface UpgradeMapperSource { readonly type: "item" | "entity" @@ -5006,7 +5010,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link UpgradeMapperSource}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/UpgradeMapperSource.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/UpgradeMapperSource.html Online documentation} */ export interface UpgradeMapperSourceWrite { readonly type: "item" | "entity" @@ -5096,7 +5100,7 @@ declare module "factorio:runtime" { * - `"controllable-remove"` * - `"entity-ghost"`: Selects entities that are `entity-ghost`s. * - `"tile-ghost"`: Selects entities that are `tile-ghost`s. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/SelectionModeFlags.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/SelectionModeFlags.html Online documentation} */ export interface SelectionModeFlags { /** @@ -5253,7 +5257,7 @@ declare module "factorio:runtime" { * - `"use-on-self"`: {@link UseOnSelfCapsuleAction} * - `"artillery-remote"`: {@link ArtilleryRemoteCapsuleAction} * - `"destroy-cliffs"`: {@link DestroyCliffsCapsuleAction} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/CapsuleAction.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/CapsuleAction.html Online documentation} */ export type CapsuleAction = | ThrowCapsuleAction @@ -5266,7 +5270,7 @@ declare module "factorio:runtime" { * - `"none"` * - `"whitelist"` * - `"blacklist"` - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/PrototypeFilterMode.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/PrototypeFilterMode.html Online documentation} */ export type PrototypeFilterMode = "none" | "whitelist" | "blacklist" export interface SpoilToTriggerResult { @@ -5305,7 +5309,7 @@ declare module "factorio:runtime" { * - `"entity"`: Fires at an entity. * - `"position"`: Fires directly at a position. * - `"direction"`: Fires in a direction. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/TargetType.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/TargetType.html Online documentation} */ export type TargetType = "entity" | "position" | "direction" export interface AmmoType { @@ -5329,7 +5333,7 @@ declare module "factorio:runtime" { } /** * @see BlueprintItemFilterWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintItemFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintItemFilter.html Online documentation} */ export interface BlueprintItemFilter { readonly index: uint32 @@ -5348,7 +5352,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link BlueprintItemFilter}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintItemFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintItemFilter.html Online documentation} */ export interface BlueprintItemFilterWrite { readonly index: uint32 @@ -5367,7 +5371,7 @@ declare module "factorio:runtime" { } /** * @see BlueprintInventoryWithFiltersWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintInventoryWithFilters.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintInventoryWithFilters.html Online documentation} */ export interface BlueprintInventoryWithFilters { readonly bar?: ItemStackIndex @@ -5375,7 +5379,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link BlueprintInventoryWithFilters}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintInventoryWithFilters.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintInventoryWithFilters.html Online documentation} */ export interface BlueprintInventoryWithFiltersWrite { readonly bar?: ItemStackIndex @@ -5442,7 +5446,7 @@ declare module "factorio:runtime" { } /** * @see BlueprintEquipmentWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintEquipment.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintEquipment.html Online documentation} */ export interface BlueprintEquipment { readonly equipment: LuaEquipmentPrototype @@ -5466,7 +5470,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link BlueprintEquipment}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintEquipment.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintEquipment.html Online documentation} */ export interface BlueprintEquipmentWrite { readonly equipment: EquipmentWithQualityID @@ -5498,7 +5502,7 @@ declare module "factorio:runtime" { * @example * -- Shorthand * {1, 2} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/EquipmentPosition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/EquipmentPosition.html Online documentation} */ export interface EquipmentPosition { readonly x: int32 @@ -5507,12 +5511,12 @@ declare module "factorio:runtime" { /** * Array form of {@link EquipmentPosition}. * @see EquipmentPosition - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/EquipmentPosition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/EquipmentPosition.html Online documentation} */ export type EquipmentPositionArray = readonly [int32, int32] /** * @see MapEditorSettingWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/MapEditorSetting.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/MapEditorSetting.html Online documentation} */ export interface MapEditorSetting { readonly position?: MapPosition @@ -5550,7 +5554,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link MapEditorSetting}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/MapEditorSetting.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/MapEditorSetting.html Online documentation} */ export interface MapEditorSettingWrite { readonly position?: MapPosition | MapPositionArray @@ -5588,7 +5592,7 @@ declare module "factorio:runtime" { } /** * An actual signal transmitted by the network. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/Signal.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/Signal.html Online documentation} */ export interface Signal { /** @@ -5602,7 +5606,7 @@ declare module "factorio:runtime" { } /** * @see DisplayPanelMessageDefinitionWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/DisplayPanelMessageDefinition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/DisplayPanelMessageDefinition.html Online documentation} */ export interface DisplayPanelMessageDefinition { /** @@ -5620,7 +5624,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link DisplayPanelMessageDefinition}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/DisplayPanelMessageDefinition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/DisplayPanelMessageDefinition.html Online documentation} */ export interface DisplayPanelMessageDefinitionWrite { /** @@ -5648,7 +5652,7 @@ declare module "factorio:runtime" { } /** * @see CircuitConditionWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/CircuitCondition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/CircuitCondition.html Online documentation} */ export interface CircuitCondition { /** @@ -5670,7 +5674,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link CircuitCondition}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/CircuitCondition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/CircuitCondition.html Online documentation} */ export interface CircuitConditionWrite { /** @@ -5692,7 +5696,7 @@ declare module "factorio:runtime" { } /** * @see SignalIDWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/SignalID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/SignalID.html Online documentation} */ export interface SignalID { /** @@ -5710,7 +5714,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link SignalID}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/SignalID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/SignalID.html Online documentation} */ export interface SignalIDWrite { /** @@ -5746,13 +5750,13 @@ declare module "factorio:runtime" { * - `"space-location"` * - `"asteroid-chunk"` * - `"quality"` - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/SignalIDType.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/SignalIDType.html Online documentation} */ export type SignalIDType = "item" | "fluid" | "virtual" | "entity" | "recipe" | "space-location" | "asteroid-chunk" | "quality" /** * @see DeciderCombinatorParametersWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/DeciderCombinatorParameters.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/DeciderCombinatorParameters.html Online documentation} */ export interface DeciderCombinatorParameters { /** @@ -5770,7 +5774,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link DeciderCombinatorParameters}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/DeciderCombinatorParameters.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/DeciderCombinatorParameters.html Online documentation} */ export interface DeciderCombinatorParametersWrite { /** @@ -5788,7 +5792,7 @@ declare module "factorio:runtime" { } /** * @see DeciderCombinatorConditionWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/DeciderCombinatorCondition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/DeciderCombinatorCondition.html Online documentation} */ export interface DeciderCombinatorCondition { /** @@ -5822,7 +5826,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link DeciderCombinatorCondition}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/DeciderCombinatorCondition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/DeciderCombinatorCondition.html Online documentation} */ export interface DeciderCombinatorConditionWrite { /** @@ -5856,7 +5860,7 @@ declare module "factorio:runtime" { } /** * @see DeciderCombinatorOutputWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/DeciderCombinatorOutput.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/DeciderCombinatorOutput.html Online documentation} */ export interface DeciderCombinatorOutput { /** @@ -5878,7 +5882,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link DeciderCombinatorOutput}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/DeciderCombinatorOutput.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/DeciderCombinatorOutput.html Online documentation} */ export interface DeciderCombinatorOutputWrite { /** @@ -5900,7 +5904,7 @@ declare module "factorio:runtime" { } /** * @see ArithmeticCombinatorParametersWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ArithmeticCombinatorParameters.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ArithmeticCombinatorParameters.html Online documentation} */ export interface ArithmeticCombinatorParameters { /** @@ -5938,7 +5942,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link ArithmeticCombinatorParameters}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ArithmeticCombinatorParameters.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ArithmeticCombinatorParameters.html Online documentation} */ export interface ArithmeticCombinatorParametersWrite { /** @@ -5987,7 +5991,7 @@ declare module "factorio:runtime" { * - `"AND"` * - `"OR"` * - `"XOR"` - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ArithmeticCombinatorParameterOperation.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ArithmeticCombinatorParameterOperation.html Online documentation} */ export type ArithmeticCombinatorParameterOperation = "*" | "/" | "+" | "-" | "%" | "^" | "<<" | ">>" | "AND" | "OR" | "XOR" @@ -6163,7 +6167,7 @@ declare module "factorio:runtime" { * - `"quality-transfer"`: {@link QualityTransferSelectorCombinatorParameters} * - `"time"`: {@link TimeSelectorCombinatorParameters} * - `"quality-select"`: {@link QualitySelectSelectorCombinatorParameters} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/SelectorCombinatorParameters.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/SelectorCombinatorParameters.html Online documentation} */ export type SelectorCombinatorParameters = | SelectSelectorCombinatorParameters @@ -6176,7 +6180,7 @@ declare module "factorio:runtime" { | OtherSelectorCombinatorParameters /** * Write form of {@link SelectorCombinatorParameters}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/SelectorCombinatorParameters.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/SelectorCombinatorParameters.html Online documentation} */ export type SelectorCombinatorParametersWrite = | SelectSelectorCombinatorParametersWrite @@ -6198,7 +6202,7 @@ declare module "factorio:runtime" { * - `"quality-filter"` * - `"time"` * - `"quality-select"` - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/SelectorCombinatorParameterOperation.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/SelectorCombinatorParameterOperation.html Online documentation} */ export type SelectorCombinatorParameterOperation = | "select" @@ -6259,7 +6263,7 @@ declare module "factorio:runtime" { * -- What a custom recipe would look like that had a probability of 0.5 to return a * -- minimum amount of 1 and a maximum amount of 5 * {{type="item", name="custom-item", independent_probability=0.5, amount_min=1, amount_max=5}} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/Product.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/Product.html Online documentation} */ export type Product = ItemProduct | FluidProduct export interface SharedProbabilityDefinition { @@ -6280,7 +6284,7 @@ declare module "factorio:runtime" { * -- What a custom recipe would look like that had a probability of 0.5 to return a * -- minimum amount of 1 and a maximum amount of 5 * {{type="item", name="custom-item", independent_probability=0.5, amount_min=1, amount_max=5}} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ItemProduct.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ItemProduct.html Online documentation} */ export interface ItemProduct { readonly type: "item" @@ -6331,7 +6335,7 @@ declare module "factorio:runtime" { * {{type="fluid", name="heavy-oil", amount=1}, * {type="fluid", name="light-oil", amount=4.5}, * {type="fluid", name="petroleum-gas", amount=5.5}} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/FluidProduct.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/FluidProduct.html Online documentation} */ export interface FluidProduct { readonly type: "fluid" @@ -6372,7 +6376,7 @@ declare module "factorio:runtime" { } /** * @see BlueprintScheduleRecordWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintScheduleRecord.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintScheduleRecord.html Online documentation} */ export interface BlueprintScheduleRecord { /** @@ -6386,7 +6390,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link BlueprintScheduleRecord}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintScheduleRecord.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintScheduleRecord.html Online documentation} */ export interface BlueprintScheduleRecordWrite { /** @@ -6400,7 +6404,7 @@ declare module "factorio:runtime" { } /** * @see ScheduleRecordWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ScheduleRecord.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ScheduleRecord.html Online documentation} */ export interface ScheduleRecord { /** @@ -6419,7 +6423,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link ScheduleRecord}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ScheduleRecord.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ScheduleRecord.html Online documentation} */ export interface ScheduleRecordWrite { /** @@ -6438,7 +6442,7 @@ declare module "factorio:runtime" { } /** * @see BlueprintScheduleInterruptWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintScheduleInterrupt.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintScheduleInterrupt.html Online documentation} */ export interface BlueprintScheduleInterrupt { /** @@ -6454,7 +6458,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link BlueprintScheduleInterrupt}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintScheduleInterrupt.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintScheduleInterrupt.html Online documentation} */ export interface BlueprintScheduleInterruptWrite { /** @@ -6470,7 +6474,7 @@ declare module "factorio:runtime" { } /** * @see ScheduleInterruptWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ScheduleInterrupt.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ScheduleInterrupt.html Online documentation} */ export interface ScheduleInterrupt { /** @@ -6486,7 +6490,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link ScheduleInterrupt}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ScheduleInterrupt.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ScheduleInterrupt.html Online documentation} */ export interface ScheduleInterruptWrite { /** @@ -6502,7 +6506,7 @@ declare module "factorio:runtime" { } /** * @see WaitConditionWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/WaitCondition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/WaitCondition.html Online documentation} */ export interface WaitCondition { readonly type: WaitConditionType @@ -6533,7 +6537,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link WaitCondition}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/WaitCondition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/WaitCondition.html Online documentation} */ export interface WaitConditionWrite { readonly type: WaitConditionType @@ -6592,7 +6596,7 @@ declare module "factorio:runtime" { * - `"at_station"` * - `"not_at_station"` * - `"damage_taken"` - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/WaitConditionType.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/WaitConditionType.html Online documentation} */ export type WaitConditionType = | "time" @@ -6623,7 +6627,7 @@ declare module "factorio:runtime" { | "damage_taken" /** * @see BlueprintScheduleWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintSchedule.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintSchedule.html Online documentation} */ export interface BlueprintSchedule { readonly records?: BlueprintScheduleRecord[] @@ -6632,7 +6636,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link BlueprintSchedule}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintSchedule.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintSchedule.html Online documentation} */ export interface BlueprintScheduleWrite { readonly records?: readonly BlueprintScheduleRecordWrite[] @@ -6704,7 +6708,7 @@ declare module "factorio:runtime" { * - `"vehicle-logistics"` * - `"unlock-logistic-network"` * - `"unlock-travel-to-space-platforms"` - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ModifierType.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ModifierType.html Online documentation} */ export type ModifierType = | "inserter-stack-size-bonus" @@ -7359,7 +7363,7 @@ declare module "factorio:runtime" { * - `"worker-robot-speed"`: {@link WorkerRobotSpeedTechnologyModifier} * - `"worker-robot-storage"`: {@link WorkerRobotStorageTechnologyModifier} * - `"unlock-logistic-network"`: {@link UnlockLogisticNetworkTechnologyModifier} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/TechnologyModifier.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/TechnologyModifier.html Online documentation} */ export type TechnologyModifier = | AmmoDamageTechnologyModifier @@ -7467,7 +7471,7 @@ declare module "factorio:runtime" { * Other attributes may be specified depending on `type`: * - `"fluid"`: {@link FluidIngredient} * - `"item"`: {@link ItemIngredient} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/Ingredient.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/Ingredient.html Online documentation} */ export type Ingredient = FluidIngredient | ItemIngredient /** @@ -7488,7 +7492,7 @@ declare module "factorio:runtime" { * * other_base_coefficient * score(chunk) = 1 / (1 + player + base) * ``` - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/EnemyExpansionMapSettings.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/EnemyExpansionMapSettings.html Online documentation} */ export interface EnemyExpansionMapSettings { /** @@ -7753,23 +7757,23 @@ declare module "factorio:runtime" { } /** * Technology difficulty settings. Updating any of the attributes will immediately take effect in the game engine. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/DifficultySettings.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/DifficultySettings.html Online documentation} */ export interface DifficultySettings { /** * A value in range [0.001, 100000]. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/DifficultySettings.technology_price_multiplier.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/DifficultySettings.technology_price_multiplier.html Online documentation} */ technology_price_multiplier: double /** * A value in range [0.01, 100]. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/DifficultySettings.spoil_time_modifier.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/DifficultySettings.spoil_time_modifier.html Online documentation} */ spoil_time_modifier: double } /** * A standard table containing all {@link MapSettings} attributes plus an additional table that contains all {@link DifficultySettings} properties. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/MapAndDifficultySettings.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/MapAndDifficultySettings.html Online documentation} */ export interface MapAndDifficultySettings { readonly pollution: PollutionMapSettings @@ -7789,7 +7793,7 @@ declare module "factorio:runtime" { * @example * -- Increase the number of short paths the pathfinder can cache. * game.map_settings.path_finder.short_cache_size = 15 - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/MapSettings.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/MapSettings.html Online documentation} */ export interface MapSettings { pollution: PollutionMapSettings @@ -7800,7 +7804,7 @@ declare module "factorio:runtime" { asteroids: AsteroidMapSettings /** * If a behavior fails this many times, the enemy (or enemy group) is destroyed. This solves biters getting stuck within their own base. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/MapSettings.max_failed_behavior_count.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/MapSettings.max_failed_behavior_count.html Online documentation} */ max_failed_behavior_count: uint32 } @@ -7829,7 +7833,7 @@ declare module "factorio:runtime" { * - `"very-high"`: equivalent to `2`. * - `"very-big"`: equivalent to `2`. * - `"very-good"`: equivalent to `2`. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/MapGenSize.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/MapGenSize.html Online documentation} */ export type MapGenSize = | float @@ -7851,7 +7855,7 @@ declare module "factorio:runtime" { | "very-good" /** * These values are for the time frame of one second (60 ticks). - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/PollutionMapSettings.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/PollutionMapSettings.html Online documentation} */ export interface PollutionMapSettings { /** @@ -7901,7 +7905,7 @@ declare module "factorio:runtime" { } /** * These values represent a percentual increase in evolution. This means a value of `0.1` would increase evolution by 10%. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/EnemyEvolutionMapSettings.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/EnemyEvolutionMapSettings.html Online documentation} */ export interface EnemyEvolutionMapSettings { /** @@ -7923,7 +7927,7 @@ declare module "factorio:runtime" { } /** * @see AutoplaceControlWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/AutoplaceControl.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/AutoplaceControl.html Online documentation} */ export interface AutoplaceControl { /** @@ -7941,7 +7945,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link AutoplaceControl}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/AutoplaceControl.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/AutoplaceControl.html Online documentation} */ export interface AutoplaceControlWrite { /** @@ -7959,7 +7963,7 @@ declare module "factorio:runtime" { } /** * @see CliffPlacementSettingsWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/CliffPlacementSettings.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/CliffPlacementSettings.html Online documentation} */ export interface CliffPlacementSettings { /** @@ -7989,7 +7993,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link CliffPlacementSettings}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/CliffPlacementSettings.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/CliffPlacementSettings.html Online documentation} */ export interface CliffPlacementSettingsWrite { /** @@ -8019,7 +8023,7 @@ declare module "factorio:runtime" { } /** * @see AutoplaceSettingsWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/AutoplaceSettings.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/AutoplaceSettings.html Online documentation} */ export interface AutoplaceSettings { /** @@ -8033,7 +8037,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link AutoplaceSettings}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/AutoplaceSettings.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/AutoplaceSettings.html Online documentation} */ export interface AutoplaceSettingsWrite { /** @@ -8069,7 +8073,7 @@ declare module "factorio:runtime" { * surface.map_gen_settings = mgs * -- This does not require a NamedNoiseExpression to be defined, since literal numbers (and strings naming literal * -- numbers, e.g. `"123"`) are understood to stand for constant value expressions. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/MapGenSettings.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/MapGenSettings.html Online documentation} */ export interface MapGenSettings { /** @@ -8124,7 +8128,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link MapGenSettings}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/MapGenSettings.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/MapGenSettings.html Online documentation} */ export interface MapGenSettingsWrite { /** @@ -8208,12 +8212,12 @@ declare module "factorio:runtime" { } /** * The string representation of a noise expression. More detailed information is found on the {@link import("factorio:prototype").NamedNoiseExpression prototype docs}. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/NoiseExpressionSourceString.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/NoiseExpressionSourceString.html Online documentation} */ export type NoiseExpressionSourceString = string /** * Specifies how probability and richness are calculated when placing something on the map. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/AutoplaceSpecification.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/AutoplaceSpecification.html Online documentation} */ export interface AutoplaceSpecification { readonly placement_density: uint32 @@ -8296,13 +8300,13 @@ declare module "factorio:runtime" { */ readonly migration_applied: boolean /** - * Dictionary of prototype changes due to {@linkplain https://lua-api.factorio.com/2.1.22/auxiliary/migrations.html migrations}. The inner dictionary maps the old prototype name to the new prototype name. The new name will be an empty string if the prototype was removed. Entries are omitted if the old and new prototype name are the same. + * Dictionary of prototype changes due to {@linkplain https://lua-api.factorio.com/2.1.24/auxiliary/migrations.html migrations}. The inner dictionary maps the old prototype name to the new prototype name. The new name will be an empty string if the prototype was removed. Entries are omitted if the old and new prototype name are the same. */ readonly migrations: Record> } /** * @see AsteroidChunkWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/AsteroidChunk.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/AsteroidChunk.html Online documentation} */ export interface AsteroidChunk { /** @@ -8314,7 +8318,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link AsteroidChunk}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/AsteroidChunk.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/AsteroidChunk.html Online documentation} */ export interface AsteroidChunkWrite { /** @@ -8326,7 +8330,7 @@ declare module "factorio:runtime" { } /** * An item thrown overboard on a space platform. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/EjectedItem.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/EjectedItem.html Online documentation} */ export interface EjectedItem { readonly item: ItemIDAndQualityIDPair @@ -8338,7 +8342,7 @@ declare module "factorio:runtime" { } /** * The data that can be extracted from a map exchange string, as a plain table. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/MapExchangeStringData.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/MapExchangeStringData.html Online documentation} */ export interface MapExchangeStringData { readonly map_settings: MapAndDifficultySettings @@ -8364,7 +8368,7 @@ declare module "factorio:runtime" { } /** * A {@link ChunkPosition} with an added bounding box for the area of the chunk. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ChunkPositionAndArea.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ChunkPositionAndArea.html Online documentation} */ export interface ChunkPositionAndArea { readonly x: int32 @@ -8413,7 +8417,7 @@ declare module "factorio:runtime" { * - `"check-box"` * - `"switch"` * - `"label"` - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/SimulationWidgetType.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/SimulationWidgetType.html Online documentation} */ export type SimulationWidgetType = | "signal-id" @@ -8602,7 +8606,7 @@ declare module "factorio:runtime" { * - {@link defines.segmented_unit_ai_state.attacking}: {@link AttackingSegmentedUnitAIState} * - {@link defines.segmented_unit_ai_state.enraged_at_target}: {@link EnragedAtTargetSegmentedUnitAIState} * - {@link defines.segmented_unit_ai_state.enraged_at_nothing}: {@link EnragedAtNothingSegmentedUnitAIState} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/SegmentedUnitAIState.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/SegmentedUnitAIState.html Online documentation} */ export type SegmentedUnitAIState = | PatrollingSegmentedUnitAIState @@ -8612,7 +8616,7 @@ declare module "factorio:runtime" { | EnragedAtNothingSegmentedUnitAIState /** * Write form of {@link SegmentedUnitAIState}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/SegmentedUnitAIState.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/SegmentedUnitAIState.html Online documentation} */ export type SegmentedUnitAIStateWrite = | PatrollingSegmentedUnitAIStateWrite @@ -8760,7 +8764,7 @@ declare module "factorio:runtime" { /** * Same as {@link Color}, but red, green, blue and alpha values can be any floating point number, without any special handling of the range [1, 255]. * @see ColorModifierArray - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ColorModifier.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ColorModifier.html Online documentation} */ export interface ColorModifier { readonly r?: float @@ -8771,7 +8775,7 @@ declare module "factorio:runtime" { /** * Array form of {@link ColorModifier}. * @see ColorModifier - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ColorModifier.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ColorModifier.html Online documentation} */ export type ColorModifierArray = readonly [r: double, g: double, b: double, a?: double] export interface Decorative { @@ -8790,7 +8794,7 @@ declare module "factorio:runtime" { /** * An area defined using the map editor. * @see ScriptAreaWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ScriptArea.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ScriptArea.html Online documentation} */ export interface ScriptArea { readonly area: BoundingBox @@ -8800,7 +8804,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link ScriptArea}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ScriptArea.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ScriptArea.html Online documentation} */ export interface ScriptAreaWrite { readonly area: BoundingBoxWrite | BoundingBoxArray @@ -8811,7 +8815,7 @@ declare module "factorio:runtime" { /** * A position defined using the map editor. * @see ScriptPositionWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ScriptPosition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ScriptPosition.html Online documentation} */ export interface ScriptPosition { readonly position: MapPosition @@ -8821,7 +8825,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link ScriptPosition}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ScriptPosition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ScriptPosition.html Online documentation} */ export interface ScriptPositionWrite { readonly position: MapPosition | MapPositionArray @@ -8837,7 +8841,7 @@ declare module "factorio:runtime" { } /** * A table used to define a manual shape for a piece of equipment. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/EquipmentPoint.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/EquipmentPoint.html Online documentation} */ export interface EquipmentPoint { readonly x: uint32 @@ -8846,7 +8850,7 @@ declare module "factorio:runtime" { /** * Screen coordinates of a GUI element in a {@link LuaGui}. This uses the same format as {@link TilePosition}, meaning it can be specified either with or without explicit keys. * @see GuiLocationArray - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/GuiLocation.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/GuiLocation.html Online documentation} */ export interface GuiLocation { readonly x: int32 @@ -8855,7 +8859,7 @@ declare module "factorio:runtime" { /** * Array form of {@link GuiLocation}. * @see GuiLocation - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/GuiLocation.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/GuiLocation.html Online documentation} */ export type GuiLocationArray = readonly [int32, int32] export interface TabAndContent { @@ -8884,7 +8888,7 @@ declare module "factorio:runtime" { } /** * Either `icon`, `text`, or both must be provided. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ChartTagSpec.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ChartTagSpec.html Online documentation} */ export interface ChartTagSpec { readonly position: MapPosition | MapPositionArray @@ -9027,7 +9031,7 @@ declare module "factorio:runtime" { * - `"any-goal-accessible"`: The method will return {@link TrainPathFinderOneGoalResult}. * - `"all-goals-accessible"`: The method will return {@link TrainPathAllGoalsResult}. * - `"all-goals-penalties"`: The method will return {@link TrainPathAllGoalsResult} with `penalties`. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/TrainPathRequestType.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/TrainPathRequestType.html Online documentation} */ export type TrainPathRequestType = "path" | "any-goal-accessible" | "all-goals-accessible" | "all-goals-penalties" /** @@ -9036,7 +9040,7 @@ declare module "factorio:runtime" { * - {@link RailEndGoal} * - {@link LuaRailEnd} * - {@link LuaEntity}: Only if it points at train-stop that is connected to a rail. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/TrainPathFinderGoal.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/TrainPathFinderGoal.html Online documentation} */ export type TrainPathFinderGoal = TrainStopGoal | RailEndGoal | LuaRailEnd | LuaEntity export interface TrainStopGoal { @@ -9169,7 +9173,7 @@ declare module "factorio:runtime" { } /** * @see QuickBarSlotWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/QuickBarSlot.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/QuickBarSlot.html Online documentation} */ export interface QuickBarSlot { /** @@ -9195,7 +9199,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link QuickBarSlot}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/QuickBarSlot.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/QuickBarSlot.html Online documentation} */ export interface QuickBarSlotWrite { /** @@ -9248,7 +9252,7 @@ declare module "factorio:runtime" { } /** * Valid values are from 1 up to {@link LuaEntity#fluids_count LuaEntity::fluids_count}. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/FluidStorageIndex.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/FluidStorageIndex.html Online documentation} */ export type FluidStorageIndex = uint32 export interface FluidBoxNeighbourRecord { @@ -9257,7 +9261,7 @@ declare module "factorio:runtime" { } /** * A single pipe connection for a given fluidbox. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/PipeConnection.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/PipeConnection.html Online documentation} */ export interface PipeConnection { readonly flow_direction: FluidFlowDirection @@ -9306,7 +9310,7 @@ declare module "factorio:runtime" { } /** * @see LabStoredDurabilityWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LabStoredDurability.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LabStoredDurability.html Online documentation} */ export interface LabStoredDurability { /** @@ -9320,7 +9324,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link LabStoredDurability}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LabStoredDurability.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LabStoredDurability.html Online documentation} */ export interface LabStoredDurabilityWrite { /** @@ -9382,7 +9386,7 @@ declare module "factorio:runtime" { * - `"surface"` * - `"mod-data"` * - `"custom-event"` - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/IDType.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/IDType.html Online documentation} */ export type IDType = | "custom-input" @@ -9435,7 +9439,7 @@ declare module "factorio:runtime" { } /** * An item prototype with optional quality specification. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintItemIDAndQualityIDPair.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintItemIDAndQualityIDPair.html Online documentation} */ export interface BlueprintItemIDAndQualityIDPair { /** @@ -9463,7 +9467,7 @@ declare module "factorio:runtime" { } /** * @see EntityIDFilterWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/EntityIDFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/EntityIDFilter.html Online documentation} */ export interface EntityIDFilter { /** @@ -9481,7 +9485,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link EntityIDFilter}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/EntityIDFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/EntityIDFilter.html Online documentation} */ export interface EntityIDFilterWrite { /** @@ -9501,7 +9505,7 @@ declare module "factorio:runtime" { * A set of flags. Active flags are in the dictionary as `true`, while inactive flags aren't present at all. * * By default, none of these flags are set. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/EntityPrototypeFlags.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/EntityPrototypeFlags.html Online documentation} */ export type EntityPrototypeFlags = { readonly [T in EntityPrototypeFlag]?: true @@ -9539,7 +9543,7 @@ declare module "factorio:runtime" { * - `"not-in-made-in"`: Prevents the entity from being shown in the "made in" list in recipe tooltips and Factoriopedia. * - `"not-in-bonus-gui"`: Prevents the entity from being shown in the bonus GUI. * - `"not-in-mined-by"`: Prevents the entity from being shown in the mined-by tooltip of resources. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/EntityPrototypeFlag.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/EntityPrototypeFlag.html Online documentation} */ export type EntityPrototypeFlag = | "not-rotatable" @@ -9573,7 +9577,7 @@ declare module "factorio:runtime" { | "not-in-mined-by" /** * A single filter used by an infinity-pipe type entity. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/InfinityPipeFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/InfinityPipeFilter.html Online documentation} */ export interface InfinityPipeFilter { /** @@ -9603,7 +9607,7 @@ declare module "factorio:runtime" { } /** * @see ProgrammableSpeakerParametersWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ProgrammableSpeakerParameters.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ProgrammableSpeakerParameters.html Online documentation} */ export interface ProgrammableSpeakerParameters { readonly playback_volume: float @@ -9614,7 +9618,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link ProgrammableSpeakerParameters}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ProgrammableSpeakerParameters.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ProgrammableSpeakerParameters.html Online documentation} */ export interface ProgrammableSpeakerParametersWrite { readonly playback_volume: float @@ -9630,12 +9634,12 @@ declare module "factorio:runtime" { * - `"local"`: The sound can be heard within the audible range around the speaker. * - `"surface"`: The sound can be heard anywhere on the speaker's surface. * - `"global"`: The sound can be heard everywhere. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ProgrammableSpeakerPlaybackMode.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ProgrammableSpeakerPlaybackMode.html Online documentation} */ export type ProgrammableSpeakerPlaybackMode = "local" | "surface" | "global" /** * @see ProgrammableSpeakerAlertParametersWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ProgrammableSpeakerAlertParameters.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ProgrammableSpeakerAlertParameters.html Online documentation} */ export interface ProgrammableSpeakerAlertParameters { readonly show_alert: boolean @@ -9645,7 +9649,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link ProgrammableSpeakerAlertParameters}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ProgrammableSpeakerAlertParameters.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ProgrammableSpeakerAlertParameters.html Online documentation} */ export interface ProgrammableSpeakerAlertParametersWrite { readonly show_alert: boolean @@ -9673,12 +9677,12 @@ declare module "factorio:runtime" { * - `"exactly"` * - `"add"` * - `"remove"` - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/HeatSettingMode.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/HeatSettingMode.html Online documentation} */ export type HeatSettingMode = "at-least" | "at-most" | "exactly" | "add" | "remove" /** * The settings used by a heat-interface type entity. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/HeatSetting.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/HeatSetting.html Online documentation} */ export interface HeatSetting { /** @@ -9712,7 +9716,7 @@ declare module "factorio:runtime" { * - `"none-to-south"` * - `"south-to-none"` * - `"none-to-north"` - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/CliffOrientation.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/CliffOrientation.html Online documentation} */ export type CliffOrientation = | "west-to-east" @@ -9742,14 +9746,14 @@ declare module "factorio:runtime" { * - `"one-way"`: Fluid will flow if input level > output level. * - `"overflow"`: Fluid will flow if input level > {@link import("factorio:prototype").ValvePrototype#threshold ValvePrototype::threshold} and input level > output level. * - `"top-up"`: Fluid will flow if output level < {@link import("factorio:prototype").ValvePrototype#threshold ValvePrototype::threshold} and input level > output level. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ValveMode.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ValveMode.html Online documentation} */ export type ValveMode = "one-way" | "overflow" | "top-up" /** * ## Union members * - `"fresh-first"` * - `"spoiled-first"` - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintSpoilPriority.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintSpoilPriority.html Online documentation} */ export type BlueprintSpoilPriority = "fresh-first" | "spoiled-first" /** @@ -9757,7 +9761,7 @@ declare module "factorio:runtime" { * - `"fresh-first"` * - `"none"` * - `"spoiled-first"` - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/SpoilPriority.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/SpoilPriority.html Online documentation} */ export type SpoilPriority = "fresh-first" | "none" | "spoiled-first" export interface SpiderLegSpecification { @@ -9777,7 +9781,7 @@ declare module "factorio:runtime" { } /** * @see BlueprintInfinityInventorySettingsWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintInfinityInventorySettings.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintInfinityInventorySettings.html Online documentation} */ export interface BlueprintInfinityInventorySettings { readonly filters?: InfinityInventoryFilter[] @@ -9788,7 +9792,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link BlueprintInfinityInventorySettings}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintInfinityInventorySettings.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintInfinityInventorySettings.html Online documentation} */ export interface BlueprintInfinityInventorySettingsWrite { readonly filters?: readonly InfinityInventoryFilterWrite[] @@ -9832,7 +9836,7 @@ declare module "factorio:runtime" { } /** * Defines an item type that a blueprint entity will request. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintInsertPlan.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintInsertPlan.html Online documentation} */ export interface BlueprintInsertPlan { /** @@ -9870,7 +9874,7 @@ declare module "factorio:runtime" { } /** * A single offer on a market entity. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/Offer.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/Offer.html Online documentation} */ export interface Offer { /** @@ -9916,7 +9920,7 @@ declare module "factorio:runtime" { /** * A single filter used by an infinity-filters instance. * @see InfinityInventoryFilterWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/InfinityInventoryFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/InfinityInventoryFilter.html Online documentation} */ export interface InfinityInventoryFilter { /** @@ -9942,7 +9946,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link InfinityInventoryFilter}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/InfinityInventoryFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/InfinityInventoryFilter.html Online documentation} */ export interface InfinityInventoryFilterWrite { /** @@ -9985,7 +9989,7 @@ declare module "factorio:runtime" { } /** * Used to specify what type of damage and how much damage something deals. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/DamageParameters.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/DamageParameters.html Online documentation} */ export interface DamageParameters { readonly amount: float @@ -10015,14 +10019,14 @@ declare module "factorio:runtime" { * * The validity of a SoundPath can be verified at runtime using {@link LuaHelpers#is_valid_sound_path LuaHelpers::is_valid_sound_path}. * - * {@link https://lua-api.factorio.com/2.1.22/concepts/SoundPath.html > The utility and ambient types each contain general use sound prototypes defined by the game itself.} + * {@link https://lua-api.factorio.com/2.1.24/concepts/SoundPath.html > The utility and ambient types each contain general use sound prototypes defined by the game itself.} * - * {@link https://lua-api.factorio.com/2.1.22/concepts/SoundPath.html > The following types can be combined with any tile name as long as its prototype defines the corresponding sound.} + * {@link https://lua-api.factorio.com/2.1.24/concepts/SoundPath.html > The following types can be combined with any tile name as long as its prototype defines the corresponding sound.} * - * {@link https://lua-api.factorio.com/2.1.22/concepts/SoundPath.html > The following types can be combined with any entity name as long as its prototype defines the corresponding sound.} + * {@link https://lua-api.factorio.com/2.1.24/concepts/SoundPath.html > The following types can be combined with any entity name as long as its prototype defines the corresponding sound.} * - * {@link https://lua-api.factorio.com/2.1.22/concepts/SoundPath.html > The following types can be combined with any item name as long as its prototype defines the corresponding sound.} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/SoundPath.html Online documentation} + * {@link https://lua-api.factorio.com/2.1.24/concepts/SoundPath.html > The following types can be combined with any item name as long as its prototype defines the corresponding sound.} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/SoundPath.html Online documentation} */ export type SoundPath = (string & { _?: never }) | `${SoundCategory}/${string}` /** @@ -10040,7 +10044,7 @@ declare module "factorio:runtime" { * - `"weapon"` * - `"explosion"` * - `"enemy"` - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/SoundType.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/SoundType.html Online documentation} */ export type SoundType = | "game-effect" @@ -10090,12 +10094,12 @@ declare module "factorio:runtime" { * - `"requester"` * - `"storage"` * - `"buffer"` - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LogisticMode.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LogisticMode.html Online documentation} */ export type LogisticMode = "active-provider" | "passive-provider" | "requester" | "storage" | "buffer" /** * @see BlueprintLogisticFilterWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintLogisticFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintLogisticFilter.html Online documentation} */ export interface BlueprintLogisticFilter { readonly index: LogisticFilterIndex @@ -10129,7 +10133,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link BlueprintLogisticFilter}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintLogisticFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintLogisticFilter.html Online documentation} */ export interface BlueprintLogisticFilterWrite { readonly index: LogisticFilterIndex @@ -10163,7 +10167,7 @@ declare module "factorio:runtime" { } /** * @see BlueprintLogisticSectionsWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintLogisticSections.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintLogisticSections.html Online documentation} */ export interface BlueprintLogisticSections { readonly sections?: LogisticSection[] @@ -10178,7 +10182,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link BlueprintLogisticSections}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/BlueprintLogisticSections.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/BlueprintLogisticSections.html Online documentation} */ export interface BlueprintLogisticSectionsWrite { readonly sections?: readonly LogisticSectionWrite[] @@ -10193,7 +10197,7 @@ declare module "factorio:runtime" { } /** * @see LogisticSectionWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LogisticSection.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LogisticSection.html Online documentation} */ export interface LogisticSection { readonly index: uint8 @@ -10210,7 +10214,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link LogisticSection}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LogisticSection.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LogisticSection.html Online documentation} */ export interface LogisticSectionWrite { readonly index: uint8 @@ -10227,7 +10231,7 @@ declare module "factorio:runtime" { } /** * @see LogisticSectionsWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LogisticSections.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LogisticSections.html Online documentation} */ export interface LogisticSections { readonly sections?: LogisticSection[] @@ -10238,7 +10242,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link LogisticSections}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LogisticSections.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LogisticSections.html Online documentation} */ export interface LogisticSectionsWrite { readonly sections?: readonly LogisticSectionWrite[] @@ -10261,7 +10265,7 @@ declare module "factorio:runtime" { * - {@link LuaAsteroidChunkPrototype} * - {@link LuaVirtualSignalPrototype} * - {@link LuaSurfacePrototype} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/FactoriopediaID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/FactoriopediaID.html Online documentation} */ export type FactoriopediaID = | LuaItemPrototype @@ -10282,7 +10286,7 @@ declare module "factorio:runtime" { * ## Union members * - `"horizontal"` * - `"vertical"` - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/GuiDirection.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/GuiDirection.html Online documentation} */ export type GuiDirection = "horizontal" | "vertical" export interface AttackParameterFluid { @@ -10369,7 +10373,7 @@ declare module "factorio:runtime" { * - `"cluster"`: {@link ClusterTriggerItem} * - `"direct"`: {@link DirectTriggerItem} * - `"line"`: {@link LineTriggerItem} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/TriggerItem.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/TriggerItem.html Online documentation} */ export type TriggerItem = AreaTriggerItem | ClusterTriggerItem | DirectTriggerItem | LineTriggerItem export type CircularProjectileCreationSpecification = (readonly [RealOrientation, Vector])[] @@ -10384,12 +10388,12 @@ declare module "factorio:runtime" { * ## Union members * - `"primary"` * - `"secondary"` - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ApplyTileTint.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ApplyTileTint.html Online documentation} */ export type ApplyTileTint = "primary" | "secondary" /** * A set of trigger target masks. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/TriggerTargetMask.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/TriggerTargetMask.html Online documentation} */ export type TriggerTargetMask = Record export interface AttackReactionItem { @@ -10482,7 +10486,7 @@ declare module "factorio:runtime" { * - `"delayed"`: {@link DelayedTriggerDelivery} * - `"projectile"`: {@link ProjectileTriggerDelivery} * - `"stream"`: {@link StreamTriggerDelivery} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/TriggerDelivery.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/TriggerDelivery.html Online documentation} */ export type TriggerDelivery = | ArtilleryTriggerDelivery @@ -10549,7 +10553,7 @@ declare module "factorio:runtime" { * - `"camera-effect"` * - `"activate-impact"` * - `"create-pollution"` - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/TriggerEffectItemType.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/TriggerEffectItemType.html Online documentation} */ export type TriggerEffectItemType = | "damage" @@ -10923,7 +10927,7 @@ declare module "factorio:runtime" { * - `"script"`: {@link ScriptTriggerEffectItem} * - `"set-tile"`: {@link SetTileTriggerEffectItem} * - `"show-explosion-on-chart"`: {@link ShowExplosionOnChartTriggerEffectItem} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/TriggerEffectItem.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/TriggerEffectItem.html Online documentation} */ export type TriggerEffectItem = | ActivateImpactTriggerEffectItem @@ -11052,7 +11056,7 @@ declare module "factorio:runtime" { * Other attributes may be specified depending on `type`: * - `"projectile"`: {@link ProjectileAttackParameters} * - `"stream"`: {@link StreamAttackParameters} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/AttackParameters.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/AttackParameters.html Online documentation} */ export type AttackParameters = ProjectileAttackParameters | StreamAttackParameters | OtherAttackParameters /** @@ -11060,7 +11064,7 @@ declare module "factorio:runtime" { * - `"left"` * - `"none"` * - `"right"` - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/SplitterPriority.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/SplitterPriority.html Online documentation} */ export type SplitterPriority = "left" | "none" | "right" /** @@ -11079,7 +11083,7 @@ declare module "factorio:runtime" { * - `"middle-right"` * - `"right"`: The same as `"middle-right"` * - `"bottom-right"` - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/Alignment.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/Alignment.html Online documentation} */ export type Alignment = | "top-left" @@ -11114,7 +11118,7 @@ declare module "factorio:runtime" { * - {@link FluidPrototypeFilter} * - {@link EntityPrototypeFilter} * @see PrototypeFilterWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/PrototypeFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/PrototypeFilter.html Online documentation} */ export type PrototypeFilter = | ModSettingPrototypeFilter[] @@ -11132,7 +11136,7 @@ declare module "factorio:runtime" { | EntityPrototypeFilter[] /** * Write form of {@link PrototypeFilter}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/PrototypeFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/PrototypeFilter.html Online documentation} */ export type PrototypeFilterWrite = | readonly ModSettingPrototypeFilter[] @@ -11185,7 +11189,7 @@ declare module "factorio:runtime" { * - {@link LuaSegmentedUnitCreatedEventFilter} * - {@link LuaScriptRaisedDestroyEventFilter} * @see EventFilterWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/EventFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/EventFilter.html Online documentation} */ export type EventFilter = | LuaSegmentedUnitDiedEventFilter[] @@ -11220,7 +11224,7 @@ declare module "factorio:runtime" { | LuaScriptRaisedDestroyEventFilter[] /** * Write form of {@link EventFilter}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/EventFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/EventFilter.html Online documentation} */ export type EventFilterWrite = | readonly LuaSegmentedUnitDiedEventFilter[] @@ -11255,7 +11259,7 @@ declare module "factorio:runtime" { | readonly LuaScriptRaisedDestroyEventFilter[] /** * @see CircuitConditionDefinitionWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/CircuitConditionDefinition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/CircuitConditionDefinition.html Online documentation} */ export interface CircuitConditionDefinition { /** @@ -11281,7 +11285,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link CircuitConditionDefinition}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/CircuitConditionDefinition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/CircuitConditionDefinition.html Online documentation} */ export interface CircuitConditionDefinitionWrite { /** @@ -11309,7 +11313,7 @@ declare module "factorio:runtime" { * Constants used by the game that are not specific to certain prototypes. See {@linkplain https://github.com/wube/factorio-data/blob/master/core/prototypes/utility-constants.lua utility-constants.lua} for the values used by the base game. * * Note that this is actually implemented as a {@link LuaCustomTable}, not a regular table. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/UtilityConstants.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/UtilityConstants.html Online documentation} */ export interface UtilityConstants { /** @@ -11779,7 +11783,7 @@ declare module "factorio:runtime" { * - {@link LuaElectricNetwork}: Target type {@link defines.target_type.electric_network electric_network} * - {@link LuaElectricSubNetwork}: Target type {@link defines.target_type.electric_sub_network electric_sub_network}; `useful_id` {@link LuaElectricSubNetwork#id LuaElectricSubNetwork::id} * - {@link LuaForce}: Target type {@link defines.target_type.force force}; `useful_id` {@link LuaForce#index LuaForce::index} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/RegistrationTarget.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/RegistrationTarget.html Online documentation} */ export type RegistrationTarget = | LuaEntity @@ -11887,7 +11891,7 @@ declare module "factorio:runtime" { * - `"build-entity"`: {@link BuildEntityResearchTrigger} * - `"send-item-to-orbit"`: {@link SendItemToOrbitResearchTrigger} * - `"scripted"`: {@link ScriptedResearchTrigger} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ResearchTrigger.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ResearchTrigger.html Online documentation} */ export type ResearchTrigger = | CraftItemResearchTrigger @@ -11900,26 +11904,26 @@ declare module "factorio:runtime" { | OtherResearchTrigger /** * The name of a {@link import("factorio:prototype").ProcessionPrototype ProcessionPrototype}. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ProcessionID.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ProcessionID.html Online documentation} */ export type ProcessionID = string /** * @see DeciderCombinatorBlueprintControlBehaviorWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/DeciderCombinatorBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/DeciderCombinatorBlueprintControlBehavior.html Online documentation} */ export interface DeciderCombinatorBlueprintControlBehavior { readonly decider_conditions: DeciderCombinatorParameters } /** * Write form of {@link DeciderCombinatorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/DeciderCombinatorBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/DeciderCombinatorBlueprintControlBehavior.html Online documentation} */ export interface DeciderCombinatorBlueprintControlBehaviorWrite { readonly decider_conditions: DeciderCombinatorParametersWrite } /** * @see RocketSiloBlueprintControlBehaviorWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/RocketSiloBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/RocketSiloBlueprintControlBehavior.html Online documentation} */ export interface RocketSiloBlueprintControlBehavior { readonly output_networks?: CircuitNetworkSelection @@ -11935,7 +11939,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link RocketSiloBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/RocketSiloBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/RocketSiloBlueprintControlBehavior.html Online documentation} */ export interface RocketSiloBlueprintControlBehaviorWrite { readonly output_networks?: CircuitNetworkSelection @@ -11951,7 +11955,7 @@ declare module "factorio:runtime" { } /** * @see SpacePlatformHubBlueprintControlBehaviorWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/SpacePlatformHubBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/SpacePlatformHubBlueprintControlBehavior.html Online documentation} */ export interface SpacePlatformHubBlueprintControlBehavior { readonly input_networks?: CircuitNetworkSelection @@ -11994,7 +11998,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link SpacePlatformHubBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/SpacePlatformHubBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/SpacePlatformHubBlueprintControlBehavior.html Online documentation} */ export interface SpacePlatformHubBlueprintControlBehaviorWrite { readonly input_networks?: CircuitNetworkSelection @@ -12037,7 +12041,7 @@ declare module "factorio:runtime" { } /** * @see RailSignalBaseBlueprintControlBehaviorWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/RailSignalBaseBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/RailSignalBaseBlueprintControlBehavior.html Online documentation} */ export interface RailSignalBaseBlueprintControlBehavior { readonly input_networks?: CircuitNetworkSelection @@ -12052,7 +12056,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link RailSignalBaseBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/RailSignalBaseBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/RailSignalBaseBlueprintControlBehavior.html Online documentation} */ export interface RailSignalBaseBlueprintControlBehaviorWrite { readonly input_networks?: CircuitNetworkSelection @@ -12067,7 +12071,7 @@ declare module "factorio:runtime" { } /** * @see FurnaceBlueprintControlBehaviorWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/FurnaceBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/FurnaceBlueprintControlBehavior.html Online documentation} */ export interface FurnaceBlueprintControlBehavior { readonly input_networks?: CircuitNetworkSelection @@ -12111,7 +12115,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link FurnaceBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/FurnaceBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/FurnaceBlueprintControlBehavior.html Online documentation} */ export interface FurnaceBlueprintControlBehaviorWrite { readonly input_networks?: CircuitNetworkSelection @@ -12155,21 +12159,21 @@ declare module "factorio:runtime" { } /** * @see ArithmeticCombinatorBlueprintControlBehaviorWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ArithmeticCombinatorBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ArithmeticCombinatorBlueprintControlBehavior.html Online documentation} */ export interface ArithmeticCombinatorBlueprintControlBehavior { readonly arithmetic_conditions: ArithmeticCombinatorParameters } /** * Write form of {@link ArithmeticCombinatorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ArithmeticCombinatorBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ArithmeticCombinatorBlueprintControlBehavior.html Online documentation} */ export interface ArithmeticCombinatorBlueprintControlBehaviorWrite { readonly arithmetic_conditions: ArithmeticCombinatorParametersWrite } /** * @see CargoLandingPadBlueprintControlBehaviorWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/CargoLandingPadBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/CargoLandingPadBlueprintControlBehavior.html Online documentation} */ export interface CargoLandingPadBlueprintControlBehavior { readonly input_networks?: CircuitNetworkSelection @@ -12190,7 +12194,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link CargoLandingPadBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/CargoLandingPadBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/CargoLandingPadBlueprintControlBehavior.html Online documentation} */ export interface CargoLandingPadBlueprintControlBehaviorWrite { readonly input_networks?: CircuitNetworkSelection @@ -12211,7 +12215,7 @@ declare module "factorio:runtime" { } /** * @see LampBlueprintControlBehaviorWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LampBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LampBlueprintControlBehavior.html Online documentation} */ export interface LampBlueprintControlBehavior { readonly input_networks?: CircuitNetworkSelection @@ -12240,7 +12244,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link LampBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LampBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LampBlueprintControlBehavior.html Online documentation} */ export interface LampBlueprintControlBehaviorWrite { readonly input_networks?: CircuitNetworkSelection @@ -12269,7 +12273,7 @@ declare module "factorio:runtime" { } /** * @see ProxyContainerBlueprintControlBehaviorWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ProxyContainerBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ProxyContainerBlueprintControlBehavior.html Online documentation} */ export interface ProxyContainerBlueprintControlBehavior { readonly output_networks?: CircuitNetworkSelection @@ -12285,7 +12289,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link ProxyContainerBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ProxyContainerBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ProxyContainerBlueprintControlBehavior.html Online documentation} */ export interface ProxyContainerBlueprintControlBehaviorWrite { readonly output_networks?: CircuitNetworkSelection @@ -12301,7 +12305,7 @@ declare module "factorio:runtime" { } /** * @see MiningDrillBlueprintControlBehaviorWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/MiningDrillBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/MiningDrillBlueprintControlBehavior.html Online documentation} */ export interface MiningDrillBlueprintControlBehavior { readonly input_networks?: CircuitNetworkSelection @@ -12321,7 +12325,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link MiningDrillBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/MiningDrillBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/MiningDrillBlueprintControlBehavior.html Online documentation} */ export interface MiningDrillBlueprintControlBehaviorWrite { readonly input_networks?: CircuitNetworkSelection @@ -12341,7 +12345,7 @@ declare module "factorio:runtime" { } /** * @see LoaderBlueprintControlBehaviorWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LoaderBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LoaderBlueprintControlBehavior.html Online documentation} */ export interface LoaderBlueprintControlBehavior { readonly input_networks?: CircuitNetworkSelection @@ -12367,7 +12371,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link LoaderBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LoaderBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LoaderBlueprintControlBehavior.html Online documentation} */ export interface LoaderBlueprintControlBehaviorWrite { readonly input_networks?: CircuitNetworkSelection @@ -12393,7 +12397,7 @@ declare module "factorio:runtime" { } /** * @see WallBlueprintControlBehaviorWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/WallBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/WallBlueprintControlBehavior.html Online documentation} */ export interface WallBlueprintControlBehavior { readonly input_networks?: CircuitNetworkSelection @@ -12405,7 +12409,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link WallBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/WallBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/WallBlueprintControlBehavior.html Online documentation} */ export interface WallBlueprintControlBehaviorWrite { readonly input_networks?: CircuitNetworkSelection @@ -12417,7 +12421,7 @@ declare module "factorio:runtime" { } /** * @see GenericOnOffBlueprintControlBehaviorWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/GenericOnOffBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/GenericOnOffBlueprintControlBehavior.html Online documentation} */ export interface GenericOnOffBlueprintControlBehavior { readonly input_networks?: CircuitNetworkSelection @@ -12434,7 +12438,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link GenericOnOffBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/GenericOnOffBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/GenericOnOffBlueprintControlBehavior.html Online documentation} */ export interface GenericOnOffBlueprintControlBehaviorWrite { readonly input_networks?: CircuitNetworkSelection @@ -12451,7 +12455,7 @@ declare module "factorio:runtime" { } /** * @see ResearchConditionWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ResearchCondition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ResearchCondition.html Online documentation} */ export interface ResearchCondition { readonly condition?: CircuitCondition @@ -12466,7 +12470,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link ResearchCondition}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ResearchCondition.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ResearchCondition.html Online documentation} */ export interface ResearchConditionWrite { readonly condition?: CircuitConditionWrite @@ -12481,7 +12485,7 @@ declare module "factorio:runtime" { } /** * @see BoilerBlueprintControlBehaviorWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/BoilerBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/BoilerBlueprintControlBehavior.html Online documentation} */ export interface BoilerBlueprintControlBehavior { readonly input_networks?: CircuitNetworkSelection @@ -12503,7 +12507,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link BoilerBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/BoilerBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/BoilerBlueprintControlBehavior.html Online documentation} */ export interface BoilerBlueprintControlBehaviorWrite { readonly input_networks?: CircuitNetworkSelection @@ -12525,7 +12529,7 @@ declare module "factorio:runtime" { } /** * @see ContainerBlueprintControlBehaviorWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ContainerBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ContainerBlueprintControlBehavior.html Online documentation} */ export interface ContainerBlueprintControlBehavior { readonly output_networks?: CircuitNetworkSelection @@ -12541,7 +12545,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link ContainerBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ContainerBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ContainerBlueprintControlBehavior.html Online documentation} */ export interface ContainerBlueprintControlBehaviorWrite { readonly output_networks?: CircuitNetworkSelection @@ -12557,7 +12561,7 @@ declare module "factorio:runtime" { } /** * @see PumpBlueprintControlBehaviorWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/PumpBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/PumpBlueprintControlBehavior.html Online documentation} */ export interface PumpBlueprintControlBehavior { readonly input_networks?: CircuitNetworkSelection @@ -12578,7 +12582,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link PumpBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/PumpBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/PumpBlueprintControlBehavior.html Online documentation} */ export interface PumpBlueprintControlBehaviorWrite { readonly input_networks?: CircuitNetworkSelection @@ -12599,7 +12603,7 @@ declare module "factorio:runtime" { } /** * @see TrainStopBlueprintControlBehaviorWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/TrainStopBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/TrainStopBlueprintControlBehavior.html Online documentation} */ export interface TrainStopBlueprintControlBehavior { readonly input_networks?: CircuitNetworkSelection @@ -12645,7 +12649,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link TrainStopBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/TrainStopBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/TrainStopBlueprintControlBehavior.html Online documentation} */ export interface TrainStopBlueprintControlBehaviorWrite { readonly input_networks?: CircuitNetworkSelection @@ -12691,7 +12695,7 @@ declare module "factorio:runtime" { } /** * @see LandMineBlueprintControlBehaviorWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LandMineBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LandMineBlueprintControlBehavior.html Online documentation} */ export interface LandMineBlueprintControlBehavior { readonly input_networks?: CircuitNetworkSelection @@ -12708,7 +12712,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link LandMineBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LandMineBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LandMineBlueprintControlBehavior.html Online documentation} */ export interface LandMineBlueprintControlBehaviorWrite { readonly input_networks?: CircuitNetworkSelection @@ -12725,7 +12729,7 @@ declare module "factorio:runtime" { } /** * @see ProgrammableSpeakerBlueprintControlBehaviorWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ProgrammableSpeakerBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ProgrammableSpeakerBlueprintControlBehavior.html Online documentation} */ export interface ProgrammableSpeakerBlueprintControlBehavior { readonly circuit_condition: CircuitCondition @@ -12733,7 +12737,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link ProgrammableSpeakerBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ProgrammableSpeakerBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ProgrammableSpeakerBlueprintControlBehavior.html Online documentation} */ export interface ProgrammableSpeakerBlueprintControlBehaviorWrite { readonly circuit_condition: CircuitConditionWrite @@ -12741,7 +12745,7 @@ declare module "factorio:runtime" { } /** * @see HeatPipeBlueprintControlBehaviorWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/HeatPipeBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/HeatPipeBlueprintControlBehavior.html Online documentation} */ export interface HeatPipeBlueprintControlBehavior { readonly output_networks?: CircuitNetworkSelection @@ -12753,7 +12757,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link HeatPipeBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/HeatPipeBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/HeatPipeBlueprintControlBehavior.html Online documentation} */ export interface HeatPipeBlueprintControlBehaviorWrite { readonly output_networks?: CircuitNetworkSelection @@ -12765,7 +12769,7 @@ declare module "factorio:runtime" { } /** * @see SplitterBlueprintControlBehaviorWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/SplitterBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/SplitterBlueprintControlBehavior.html Online documentation} */ export interface SplitterBlueprintControlBehavior { readonly input_networks?: CircuitNetworkSelection @@ -12788,7 +12792,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link SplitterBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/SplitterBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/SplitterBlueprintControlBehavior.html Online documentation} */ export interface SplitterBlueprintControlBehaviorWrite { readonly input_networks?: CircuitNetworkSelection @@ -12811,7 +12815,7 @@ declare module "factorio:runtime" { } /** * @see TransportBeltBlueprintControlBehaviorWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/TransportBeltBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/TransportBeltBlueprintControlBehavior.html Online documentation} */ export interface TransportBeltBlueprintControlBehavior { readonly input_networks?: CircuitNetworkSelection @@ -12831,7 +12835,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link TransportBeltBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/TransportBeltBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/TransportBeltBlueprintControlBehavior.html Online documentation} */ export interface TransportBeltBlueprintControlBehaviorWrite { readonly input_networks?: CircuitNetworkSelection @@ -12851,7 +12855,7 @@ declare module "factorio:runtime" { } /** * @see LogisticContainerBlueprintControlBehaviorWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LogisticContainerBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LogisticContainerBlueprintControlBehavior.html Online documentation} */ export interface LogisticContainerBlueprintControlBehavior { readonly input_networks?: CircuitNetworkSelection @@ -12877,7 +12881,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link LogisticContainerBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LogisticContainerBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LogisticContainerBlueprintControlBehavior.html Online documentation} */ export interface LogisticContainerBlueprintControlBehaviorWrite { readonly input_networks?: CircuitNetworkSelection @@ -12903,7 +12907,7 @@ declare module "factorio:runtime" { } /** * @see ReactorBlueprintControlBehaviorWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ReactorBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ReactorBlueprintControlBehavior.html Online documentation} */ export interface ReactorBlueprintControlBehavior { readonly output_networks?: CircuitNetworkSelection @@ -12919,7 +12923,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link ReactorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ReactorBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ReactorBlueprintControlBehavior.html Online documentation} */ export interface ReactorBlueprintControlBehaviorWrite { readonly output_networks?: CircuitNetworkSelection @@ -12935,7 +12939,7 @@ declare module "factorio:runtime" { } /** * @see ConstantCombinatorBlueprintControlBehaviorWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ConstantCombinatorBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ConstantCombinatorBlueprintControlBehavior.html Online documentation} */ export interface ConstantCombinatorBlueprintControlBehavior { readonly sections: LogisticSections @@ -12946,7 +12950,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link ConstantCombinatorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ConstantCombinatorBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ConstantCombinatorBlueprintControlBehavior.html Online documentation} */ export interface ConstantCombinatorBlueprintControlBehaviorWrite { readonly sections: LogisticSectionsWrite @@ -12957,7 +12961,7 @@ declare module "factorio:runtime" { } /** * @see ArtilleryTurretBlueprintControlBehaviorWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ArtilleryTurretBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ArtilleryTurretBlueprintControlBehavior.html Online documentation} */ export interface ArtilleryTurretBlueprintControlBehavior { readonly input_networks?: CircuitNetworkSelection @@ -12976,7 +12980,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link ArtilleryTurretBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ArtilleryTurretBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ArtilleryTurretBlueprintControlBehavior.html Online documentation} */ export interface ArtilleryTurretBlueprintControlBehaviorWrite { readonly input_networks?: CircuitNetworkSelection @@ -12995,7 +12999,7 @@ declare module "factorio:runtime" { } /** * @see LabBlueprintControlBehaviorWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LabBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LabBlueprintControlBehavior.html Online documentation} */ export interface LabBlueprintControlBehavior { readonly input_networks?: CircuitNetworkSelection @@ -13010,7 +13014,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link LabBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LabBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LabBlueprintControlBehavior.html Online documentation} */ export interface LabBlueprintControlBehaviorWrite { readonly input_networks?: CircuitNetworkSelection @@ -13025,7 +13029,7 @@ declare module "factorio:runtime" { } /** * @see RadarBlueprintControlBehaviorWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/RadarBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/RadarBlueprintControlBehavior.html Online documentation} */ export interface RadarBlueprintControlBehavior { /** @@ -13036,7 +13040,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link RadarBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/RadarBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/RadarBlueprintControlBehavior.html Online documentation} */ export interface RadarBlueprintControlBehaviorWrite { /** @@ -13047,7 +13051,7 @@ declare module "factorio:runtime" { } /** * @see AccumulatorBlueprintControlBehaviorWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/AccumulatorBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/AccumulatorBlueprintControlBehavior.html Online documentation} */ export interface AccumulatorBlueprintControlBehavior { readonly output_networks?: CircuitNetworkSelection @@ -13059,7 +13063,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link AccumulatorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/AccumulatorBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/AccumulatorBlueprintControlBehavior.html Online documentation} */ export interface AccumulatorBlueprintControlBehaviorWrite { readonly output_networks?: CircuitNetworkSelection @@ -13071,7 +13075,7 @@ declare module "factorio:runtime" { } /** * @see SingleFluidBoxBlueprintControlBehaviorWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/SingleFluidBoxBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/SingleFluidBoxBlueprintControlBehavior.html Online documentation} */ export interface SingleFluidBoxBlueprintControlBehavior { readonly output_networks?: CircuitNetworkSelection @@ -13087,7 +13091,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link SingleFluidBoxBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/SingleFluidBoxBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/SingleFluidBoxBlueprintControlBehavior.html Online documentation} */ export interface SingleFluidBoxBlueprintControlBehaviorWrite { readonly output_networks?: CircuitNetworkSelection @@ -13103,7 +13107,7 @@ declare module "factorio:runtime" { } /** * @see TurretBlueprintControlBehaviorWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/TurretBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/TurretBlueprintControlBehavior.html Online documentation} */ export interface TurretBlueprintControlBehavior { readonly input_networks?: CircuitNetworkSelection @@ -13134,7 +13138,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link TurretBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/TurretBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/TurretBlueprintControlBehavior.html Online documentation} */ export interface TurretBlueprintControlBehaviorWrite { readonly input_networks?: CircuitNetworkSelection @@ -13165,7 +13169,7 @@ declare module "factorio:runtime" { } /** * @see AsteroidCollectorBlueprintControlBehaviorWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/AsteroidCollectorBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/AsteroidCollectorBlueprintControlBehavior.html Online documentation} */ export interface AsteroidCollectorBlueprintControlBehavior { readonly input_networks?: CircuitNetworkSelection @@ -13195,7 +13199,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link AsteroidCollectorBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/AsteroidCollectorBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/AsteroidCollectorBlueprintControlBehavior.html Online documentation} */ export interface AsteroidCollectorBlueprintControlBehaviorWrite { readonly input_networks?: CircuitNetworkSelection @@ -13225,7 +13229,7 @@ declare module "factorio:runtime" { } /** * @see InserterBlueprintControlBehaviorWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/InserterBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/InserterBlueprintControlBehavior.html Online documentation} */ export interface InserterBlueprintControlBehavior { readonly input_networks?: CircuitNetworkSelection @@ -13260,7 +13264,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link InserterBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/InserterBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/InserterBlueprintControlBehavior.html Online documentation} */ export interface InserterBlueprintControlBehaviorWrite { readonly input_networks?: CircuitNetworkSelection @@ -13295,21 +13299,21 @@ declare module "factorio:runtime" { } /** * @see DisplayPanelBlueprintControlBehaviorWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/DisplayPanelBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/DisplayPanelBlueprintControlBehavior.html Online documentation} */ export interface DisplayPanelBlueprintControlBehavior { readonly parameters?: DisplayPanelMessageDefinition[] } /** * Write form of {@link DisplayPanelBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/DisplayPanelBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/DisplayPanelBlueprintControlBehavior.html Online documentation} */ export interface DisplayPanelBlueprintControlBehaviorWrite { readonly parameters?: readonly DisplayPanelMessageDefinitionWrite[] } /** * @see RoboportBlueprintControlBehaviorWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/RoboportBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/RoboportBlueprintControlBehavior.html Online documentation} */ export interface RoboportBlueprintControlBehavior { readonly output_networks?: CircuitNetworkSelection @@ -13323,7 +13327,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link RoboportBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/RoboportBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/RoboportBlueprintControlBehavior.html Online documentation} */ export interface RoboportBlueprintControlBehaviorWrite { readonly output_networks?: CircuitNetworkSelection @@ -13337,7 +13341,7 @@ declare module "factorio:runtime" { } /** * @see AssemblingMachineBlueprintControlBehaviorWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/AssemblingMachineBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/AssemblingMachineBlueprintControlBehavior.html Online documentation} */ export interface AssemblingMachineBlueprintControlBehavior { readonly input_networks?: CircuitNetworkSelection @@ -13385,7 +13389,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link AssemblingMachineBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/AssemblingMachineBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/AssemblingMachineBlueprintControlBehavior.html Online documentation} */ export interface AssemblingMachineBlueprintControlBehaviorWrite { readonly input_networks?: CircuitNetworkSelection @@ -13433,7 +13437,7 @@ declare module "factorio:runtime" { } /** * @see AgriculturalTowerBlueprintControlBehaviorWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/AgriculturalTowerBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/AgriculturalTowerBlueprintControlBehavior.html Online documentation} */ export interface AgriculturalTowerBlueprintControlBehavior { readonly input_networks?: CircuitNetworkSelection @@ -13465,7 +13469,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link AgriculturalTowerBlueprintControlBehavior}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/AgriculturalTowerBlueprintControlBehavior.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/AgriculturalTowerBlueprintControlBehavior.html Online documentation} */ export interface AgriculturalTowerBlueprintControlBehaviorWrite { readonly input_networks?: CircuitNetworkSelection @@ -13531,7 +13535,7 @@ declare module "factorio:runtime" { * "2500 * (L - 3)" * @example * "(4e5 * (abs(speed) + 10.5)) / weight" - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/MathExpression.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/MathExpression.html Online documentation} */ export type MathExpression = string /** @@ -13542,12 +13546,12 @@ declare module "factorio:runtime" { * Tables inside Tags that have numeric keys but are not sequences (e.g. `tags = {foo = {nil, "something"}}` or `tags = {bar = {[4] = "cat"}}`) will have their keys converted to strings when read back from the game (e.g. `{foo = {["2"] = "something"}}` or `{bar = {["4"] = "cat"}}`). Only sequences without gaps will have their keys maintained as numeric. * @example * {a = 1, b = true, c = "three", d = {e = "f"}} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/Tags.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/Tags.html Online documentation} */ export type Tags = Record /** * @see TileWrite - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/Tile.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/Tile.html Online documentation} */ export interface Tile { /** @@ -13561,7 +13565,7 @@ declare module "factorio:runtime" { } /** * Write form of {@link Tile}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/Tile.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/Tile.html Online documentation} */ export interface TileWrite { /** @@ -13585,99 +13589,99 @@ declare module "factorio:runtime" { } /** * A floating-point number. This is a single-precision floating point number. Whilst Lua only uses double-precision numbers, when a function takes a float, the game engine will immediately convert the double-precision number to single-precision. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/float.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/float.html Online documentation} */ export type float = number /** * A double-precision floating-point number. This is the same data type as all Lua numbers use. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/double.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/double.html Online documentation} */ export type double = number /** * 8-bit unsigned integer. Possible values are `0` to `255`. * * Since Lua 5.2 only uses doubles, any API that asks for `uint8` will floor the given double. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/uint8.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/uint8.html Online documentation} */ export type uint8 = number /** * 8-bit signed integer. Possible values are `-128` to `127`. * * Since Lua 5.2 only uses doubles, any API that asks for `int8` will floor the given double. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/int8.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/int8.html Online documentation} */ export type int8 = number /** * 16-bit unsigned integer. Possible values are `0` to `65 535`. * * Since Lua 5.2 only uses doubles, any API that asks for `uint16` will floor the given double. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/uint16.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/uint16.html Online documentation} */ export type uint16 = number /** * 16 bit signed integer. Possible values are `-32 768` to `32 767`. * * Since Lua 5.2 only uses doubles, any API that asks for `int16` will floor the given double. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/int16.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/int16.html Online documentation} */ export type int16 = number /** * 32-bit unsigned integer. Possible values are `0` to `4 294 967 295`. * * Since Lua 5.2 only uses doubles, any API that asks for `uint` will floor the given double. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/uint32.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/uint32.html Online documentation} */ export type uint32 = number /** * 32-bit signed integer. Possible values are `-2 147 483 648` to `2 147 483 647`. * * Since Lua 5.2 only uses doubles, any API that asks for `int` will floor the given double. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/int32.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/int32.html Online documentation} */ export type int32 = number /** * 64-bit unsigned integer. Possible values are `0` to `18 446 744 073 709 551 615`. * * Since Lua 5.2 only uses doubles, any API that asks for `uint64` will floor the given double. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/uint64.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/uint64.html Online documentation} */ export type uint64 = number /** * Nil is the type of the value `nil`, whose main property is to be different from any other value. It usually represents the absence of a useful value. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/nil.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/nil.html Online documentation} */ export type nil = undefined /** * Tables are enclosed in curly brackets, like this `{}`. * * Throughout the API docs, the terms "array" and "dictionary" are used. These are fundamentally just {@linkplain https://www.lua.org/pil/2.5.html Lua tables}, but have a limitation on which kind of table keys can be used. An array is a table that uses continuous integer keys starting at `1`, while a dictionary can use numeric or string keys in any order or combination. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/table.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/table.html Online documentation} */ export type table = object /** - * Any LuaObject listed on the {@linkplain https://lua-api.factorio.com/2.1.22/classes.html Classes} page. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaObject.html Online documentation} + * Any LuaObject listed on the {@linkplain https://lua-api.factorio.com/2.1.24/classes.html Classes} page. + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaObject.html Online documentation} */ export interface LuaObject { readonly object_name: string } /** * Any basic type (string, number, boolean) or table. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/AnyBasic.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/AnyBasic.html Online documentation} */ export type AnyBasic = string | boolean | number | table /** * Any basic type (string, number, boolean), table, or LuaObject. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/Any.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/Any.html Online documentation} */ export type Any = string | boolean | number | table | LuaObject /** * All other MapGenSettings feed into named noise expressions, and therefore placement can be overridden by including the name of a property in this dictionary. The probability and richness functions for placing specific tiles, entities, and decoratives can be overridden by including an entry named `{tile|entity|decorative}:(prototype name):{probability|richness}`. * - * {@link https://lua-api.factorio.com/2.1.22/concepts/PropertyExpressionNames.html > Values either name a NamedNoiseExpression or can be literal numbers, stored as strings (e.g. `5`). All other controls can be overridden by a property expression names. Notable properties:} + * {@link https://lua-api.factorio.com/2.1.24/concepts/PropertyExpressionNames.html > Values either name a NamedNoiseExpression or can be literal numbers, stored as strings (e.g. `5`). All other controls can be overridden by a property expression names. Notable properties:} * - * {@link https://lua-api.factorio.com/2.1.22/concepts/PropertyExpressionNames.html > Climate controls ('Moisture' and 'Terrain type' at the bottom of the Terrain tab in the map generator GUI) don't have their own dedicated structures in MapGenSettings. Instead, their values are stored as property expression overrides with long names:} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/PropertyExpressionNames.html Online documentation} + * {@link https://lua-api.factorio.com/2.1.24/concepts/PropertyExpressionNames.html > Climate controls ('Moisture' and 'Terrain type' at the bottom of the Terrain tab in the map generator GUI) don't have their own dedicated structures in MapGenSettings. Instead, their values are stored as property expression overrides with long names:} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/PropertyExpressionNames.html Online documentation} */ export type PropertyExpressionNames = Record /** @@ -13734,7 +13738,7 @@ declare module "factorio:runtime" { * - `"type"`: {@link TypeModSettingPrototypeFilter} * - `"mod"`: {@link ModModSettingPrototypeFilter} * - `"setting-type"`: {@link SettingTypeModSettingPrototypeFilter} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ModSettingPrototypeFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ModSettingPrototypeFilter.html Online documentation} */ export type ModSettingPrototypeFilter = TypeModSettingPrototypeFilter | ModModSettingPrototypeFilter | SettingTypeModSettingPrototypeFilter @@ -13796,13 +13800,13 @@ declare module "factorio:runtime" { * Other attributes may be specified depending on `filter`: * - `"type"`: {@link TypeSpaceLocationPrototypeFilter} * - `"solar-power-in-space"`: {@link SolarPowerInSpaceSpaceLocationPrototypeFilter} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/SpaceLocationPrototypeFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/SpaceLocationPrototypeFilter.html Online documentation} */ export type SpaceLocationPrototypeFilter = TypeSpaceLocationPrototypeFilter | SolarPowerInSpaceSpaceLocationPrototypeFilter | OtherSpaceLocationPrototypeFilter /** * Write form of {@link SpaceLocationPrototypeFilter}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/SpaceLocationPrototypeFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/SpaceLocationPrototypeFilter.html Online documentation} */ export type SpaceLocationPrototypeFilterWrite = | TypeSpaceLocationPrototypeFilter @@ -13850,7 +13854,7 @@ declare module "factorio:runtime" { * * Other attributes may be specified depending on `filter`: * - `"collision-mask"`: {@link CollisionMaskDecorativePrototypeFilter} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/DecorativePrototypeFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/DecorativePrototypeFilter.html Online documentation} */ export type DecorativePrototypeFilter = CollisionMaskDecorativePrototypeFilter | OtherDecorativePrototypeFilter /** @@ -13992,7 +13996,7 @@ declare module "factorio:runtime" { * - `"vehicle-friction-modifier"`: {@link VehicleFrictionModifierTilePrototypeFilter} * - `"decorative-removal-probability"`: {@link DecorativeRemovalProbabilityTilePrototypeFilter} * - `"absorptions-per-second"`: {@link AbsorptionsPerSecondTilePrototypeFilter} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/TilePrototypeFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/TilePrototypeFilter.html Online documentation} */ export type TilePrototypeFilter = | CollisionMaskTilePrototypeFilter @@ -14003,7 +14007,7 @@ declare module "factorio:runtime" { | OtherTilePrototypeFilter /** * Write form of {@link TilePrototypeFilter}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/TilePrototypeFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/TilePrototypeFilter.html Online documentation} */ export type TilePrototypeFilterWrite = | CollisionMaskTilePrototypeFilter @@ -14360,7 +14364,7 @@ declare module "factorio:runtime" { * - `"fuel-acceleration-multiplier"`: {@link FuelAccelerationMultiplierItemPrototypeFilter} * - `"fuel-top-speed-multiplier"`: {@link FuelTopSpeedMultiplierItemPrototypeFilter} * - `"fuel-emissions-multiplier"`: {@link FuelEmissionsMultiplierItemPrototypeFilter} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ItemPrototypeFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ItemPrototypeFilter.html Online documentation} */ export type ItemPrototypeFilter = | PlaceResultItemPrototypeFilter @@ -14382,7 +14386,7 @@ declare module "factorio:runtime" { | OtherItemPrototypeFilter /** * Write form of {@link ItemPrototypeFilter}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/ItemPrototypeFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/ItemPrototypeFilter.html Online documentation} */ export type ItemPrototypeFilterWrite = | PlaceResultItemPrototypeFilterWrite @@ -14522,7 +14526,7 @@ declare module "factorio:runtime" { * - `"level"`: {@link LevelTechnologyPrototypeFilter} * - `"max-level"`: {@link MaxLevelTechnologyPrototypeFilter} * - `"time"`: {@link TimeTechnologyPrototypeFilter} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/TechnologyPrototypeFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/TechnologyPrototypeFilter.html Online documentation} */ export type TechnologyPrototypeFilter = | ResearchUnitIngredientTechnologyPrototypeFilter @@ -14533,7 +14537,7 @@ declare module "factorio:runtime" { | OtherTechnologyPrototypeFilter /** * Write form of {@link TechnologyPrototypeFilter}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/TechnologyPrototypeFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/TechnologyPrototypeFilter.html Online documentation} */ export type TechnologyPrototypeFilterWrite = | ResearchUnitIngredientTechnologyPrototypeFilter @@ -14789,7 +14793,7 @@ declare module "factorio:runtime" { * - `"emissions-multiplier"`: {@link EmissionsMultiplierRecipePrototypeFilter} * - `"request-paste-multiplier"`: {@link RequestPasteMultiplierRecipePrototypeFilter} * - `"overload-multiplier"`: {@link OverloadMultiplierRecipePrototypeFilter} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/RecipePrototypeFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/RecipePrototypeFilter.html Online documentation} */ export type RecipePrototypeFilter = | HasIngredientItemRecipePrototypeFilter @@ -14805,7 +14809,7 @@ declare module "factorio:runtime" { | OtherRecipePrototypeFilter /** * Write form of {@link RecipePrototypeFilter}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/RecipePrototypeFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/RecipePrototypeFilter.html Online documentation} */ export type RecipePrototypeFilterWrite = | HasIngredientItemRecipePrototypeFilterWrite @@ -14857,7 +14861,7 @@ declare module "factorio:runtime" { * * Other attributes may be specified depending on `filter`: * - `"type"`: {@link TypeAchievementPrototypeFilter} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/AchievementPrototypeFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/AchievementPrototypeFilter.html Online documentation} */ export type AchievementPrototypeFilter = TypeAchievementPrototypeFilter | OtherAchievementPrototypeFilter export interface VirtualSignalPrototypeFilter { @@ -14912,7 +14916,7 @@ declare module "factorio:runtime" { * * Other attributes may be specified depending on `filter`: * - `"type"`: {@link TypeEquipmentPrototypeFilter} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/EquipmentPrototypeFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/EquipmentPrototypeFilter.html Online documentation} */ export type EquipmentPrototypeFilter = TypeEquipmentPrototypeFilter | OtherEquipmentPrototypeFilter /** @@ -15097,7 +15101,7 @@ declare module "factorio:runtime" { * - `"fuel-value"`: {@link FuelValueFluidPrototypeFilter} * - `"emissions-multiplier"`: {@link EmissionsMultiplierFluidPrototypeFilter} * - `"gas-temperature"`: {@link GasTemperatureFluidPrototypeFilter} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/FluidPrototypeFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/FluidPrototypeFilter.html Online documentation} */ export type FluidPrototypeFilter = | NameFluidPrototypeFilter @@ -15111,7 +15115,7 @@ declare module "factorio:runtime" { | OtherFluidPrototypeFilter /** * Write form of {@link FluidPrototypeFilter}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/FluidPrototypeFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/FluidPrototypeFilter.html Online documentation} */ export type FluidPrototypeFilterWrite = | NameFluidPrototypeFilter @@ -15330,7 +15334,7 @@ declare module "factorio:runtime" { * - `"selection-priority"`: {@link SelectionPriorityEntityPrototypeFilter} * - `"emissions-per-second"`: {@link EmissionsPerSecondEntityPrototypeFilter} * - `"crafting-category"`: {@link CraftingCategoryEntityPrototypeFilter} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/EntityPrototypeFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/EntityPrototypeFilter.html Online documentation} */ export type EntityPrototypeFilter = | NameEntityPrototypeFilter @@ -15343,7 +15347,7 @@ declare module "factorio:runtime" { | OtherEntityPrototypeFilter /** * Write form of {@link EntityPrototypeFilter}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/EntityPrototypeFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/EntityPrototypeFilter.html Online documentation} */ export type EntityPrototypeFilterWrite = | NameEntityPrototypeFilter @@ -15386,7 +15390,7 @@ declare module "factorio:runtime" { * * Other attributes may be specified depending on `filter`: * - `"name"`: {@link NameSegmentedUnitDiedEventFilter} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaSegmentedUnitDiedEventFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaSegmentedUnitDiedEventFilter.html Online documentation} */ export type LuaSegmentedUnitDiedEventFilter = NameSegmentedUnitDiedEventFilter /** @@ -15486,7 +15490,7 @@ declare module "factorio:runtime" { * - `"name"`: {@link NameScriptRaisedTeleportedEventFilter} * - `"ghost_type"`: {@link GhostTypeScriptRaisedTeleportedEventFilter} * - `"ghost_name"`: {@link GhostNameScriptRaisedTeleportedEventFilter} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaScriptRaisedTeleportedEventFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaScriptRaisedTeleportedEventFilter.html Online documentation} */ export type LuaScriptRaisedTeleportedEventFilter = | TypeScriptRaisedTeleportedEventFilter @@ -15591,7 +15595,7 @@ declare module "factorio:runtime" { * - `"name"`: {@link NamePreRobotMinedEntityEventFilter} * - `"ghost_type"`: {@link GhostTypePreRobotMinedEntityEventFilter} * - `"ghost_name"`: {@link GhostNamePreRobotMinedEntityEventFilter} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaPreRobotMinedEntityEventFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaPreRobotMinedEntityEventFilter.html Online documentation} */ export type LuaPreRobotMinedEntityEventFilter = | TypePreRobotMinedEntityEventFilter @@ -15696,7 +15700,7 @@ declare module "factorio:runtime" { * - `"name"`: {@link NameScriptRaisedBuiltEventFilter} * - `"ghost_type"`: {@link GhostTypeScriptRaisedBuiltEventFilter} * - `"ghost_name"`: {@link GhostNameScriptRaisedBuiltEventFilter} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaScriptRaisedBuiltEventFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaScriptRaisedBuiltEventFilter.html Online documentation} */ export type LuaScriptRaisedBuiltEventFilter = | TypeScriptRaisedBuiltEventFilter @@ -15801,7 +15805,7 @@ declare module "factorio:runtime" { * - `"name"`: {@link NamePlatformMinedEntityEventFilter} * - `"ghost_type"`: {@link GhostTypePlatformMinedEntityEventFilter} * - `"ghost_name"`: {@link GhostNamePlatformMinedEntityEventFilter} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaPlatformMinedEntityEventFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaPlatformMinedEntityEventFilter.html Online documentation} */ export type LuaPlatformMinedEntityEventFilter = | TypePlatformMinedEntityEventFilter @@ -15918,7 +15922,7 @@ declare module "factorio:runtime" { * - `"ghost_type"`: {@link GhostTypeRobotBuiltEntityEventFilter} * - `"ghost_name"`: {@link GhostNameRobotBuiltEntityEventFilter} * - `"force"`: {@link ForceRobotBuiltEntityEventFilter} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaRobotBuiltEntityEventFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaRobotBuiltEntityEventFilter.html Online documentation} */ export type LuaRobotBuiltEntityEventFilter = | TypeRobotBuiltEntityEventFilter @@ -16024,7 +16028,7 @@ declare module "factorio:runtime" { * - `"name"`: {@link NamePrePlayerMinedEntityEventFilter} * - `"ghost_type"`: {@link GhostTypePrePlayerMinedEntityEventFilter} * - `"ghost_name"`: {@link GhostNamePrePlayerMinedEntityEventFilter} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaPrePlayerMinedEntityEventFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaPrePlayerMinedEntityEventFilter.html Online documentation} */ export type LuaPrePlayerMinedEntityEventFilter = | TypePrePlayerMinedEntityEventFilter @@ -16129,7 +16133,7 @@ declare module "factorio:runtime" { * - `"name"`: {@link NameEntityDeconstructionCancelledEventFilter} * - `"ghost_type"`: {@link GhostTypeEntityDeconstructionCancelledEventFilter} * - `"ghost_name"`: {@link GhostNameEntityDeconstructionCancelledEventFilter} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaEntityDeconstructionCancelledEventFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaEntityDeconstructionCancelledEventFilter.html Online documentation} */ export type LuaEntityDeconstructionCancelledEventFilter = | TypeEntityDeconstructionCancelledEventFilter @@ -16234,7 +16238,7 @@ declare module "factorio:runtime" { * - `"name"`: {@link NamePreGhostUpgradedEventFilter} * - `"ghost_type"`: {@link GhostTypePreGhostUpgradedEventFilter} * - `"ghost_name"`: {@link GhostNamePreGhostUpgradedEventFilter} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaPreGhostUpgradedEventFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaPreGhostUpgradedEventFilter.html Online documentation} */ export type LuaPreGhostUpgradedEventFilter = | TypePreGhostUpgradedEventFilter @@ -16351,7 +16355,7 @@ declare module "factorio:runtime" { * - `"ghost_type"`: {@link GhostTypePlatformBuiltEntityEventFilter} * - `"ghost_name"`: {@link GhostNamePlatformBuiltEntityEventFilter} * - `"force"`: {@link ForcePlatformBuiltEntityEventFilter} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaPlatformBuiltEntityEventFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaPlatformBuiltEntityEventFilter.html Online documentation} */ export type LuaPlatformBuiltEntityEventFilter = | TypePlatformBuiltEntityEventFilter @@ -16457,7 +16461,7 @@ declare module "factorio:runtime" { * - `"name"`: {@link NamePrePlatformMinedEntityEventFilter} * - `"ghost_type"`: {@link GhostTypePrePlatformMinedEntityEventFilter} * - `"ghost_name"`: {@link GhostNamePrePlatformMinedEntityEventFilter} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaPrePlatformMinedEntityEventFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaPrePlatformMinedEntityEventFilter.html Online documentation} */ export type LuaPrePlatformMinedEntityEventFilter = | TypePrePlatformMinedEntityEventFilter @@ -16562,7 +16566,7 @@ declare module "factorio:runtime" { * - `"name"`: {@link NameEntityClonedEventFilter} * - `"ghost_type"`: {@link GhostTypeEntityClonedEventFilter} * - `"ghost_name"`: {@link GhostNameEntityClonedEventFilter} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaEntityClonedEventFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaEntityClonedEventFilter.html Online documentation} */ export type LuaEntityClonedEventFilter = | TypeEntityClonedEventFilter @@ -16667,7 +16671,7 @@ declare module "factorio:runtime" { * - `"name"`: {@link NamePlayerRepairedEntityEventFilter} * - `"ghost_type"`: {@link GhostTypePlayerRepairedEntityEventFilter} * - `"ghost_name"`: {@link GhostNamePlayerRepairedEntityEventFilter} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaPlayerRepairedEntityEventFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaPlayerRepairedEntityEventFilter.html Online documentation} */ export type LuaPlayerRepairedEntityEventFilter = | TypePlayerRepairedEntityEventFilter @@ -16707,7 +16711,7 @@ declare module "factorio:runtime" { * * Other attributes may be specified depending on `filter`: * - `"type"`: {@link TypePostEntityDiedEventFilter} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaPostEntityDiedEventFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaPostEntityDiedEventFilter.html Online documentation} */ export type LuaPostEntityDiedEventFilter = TypePostEntityDiedEventFilter /** @@ -16742,7 +16746,7 @@ declare module "factorio:runtime" { * * Other attributes may be specified depending on `filter`: * - `"name"`: {@link NameScriptRaisedDestroySegmentedUnitEventFilter} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaScriptRaisedDestroySegmentedUnitEventFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaScriptRaisedDestroySegmentedUnitEventFilter.html Online documentation} */ export type LuaScriptRaisedDestroySegmentedUnitEventFilter = NameScriptRaisedDestroySegmentedUnitEventFilter /** @@ -16848,7 +16852,7 @@ declare module "factorio:runtime" { * - `"final-damage-amount"`: {@link FinalDamageAmountSegmentedUnitDamagedEventFilter} * - `"damage-type"`: {@link DamageTypeSegmentedUnitDamagedEventFilter} * - `"final-health"`: {@link FinalHealthSegmentedUnitDamagedEventFilter} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaSegmentedUnitDamagedEventFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaSegmentedUnitDamagedEventFilter.html Online documentation} */ export type LuaSegmentedUnitDamagedEventFilter = | NameSegmentedUnitDamagedEventFilter @@ -16858,7 +16862,7 @@ declare module "factorio:runtime" { | FinalHealthSegmentedUnitDamagedEventFilter /** * Write form of {@link LuaSegmentedUnitDamagedEventFilter}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaSegmentedUnitDamagedEventFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaSegmentedUnitDamagedEventFilter.html Online documentation} */ export type LuaSegmentedUnitDamagedEventFilterWrite = | NameSegmentedUnitDamagedEventFilter @@ -16963,7 +16967,7 @@ declare module "factorio:runtime" { * - `"name"`: {@link NamePreGhostDeconstructedEventFilter} * - `"ghost_type"`: {@link GhostTypePreGhostDeconstructedEventFilter} * - `"ghost_name"`: {@link GhostNamePreGhostDeconstructedEventFilter} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaPreGhostDeconstructedEventFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaPreGhostDeconstructedEventFilter.html Online documentation} */ export type LuaPreGhostDeconstructedEventFilter = | TypePreGhostDeconstructedEventFilter @@ -17068,7 +17072,7 @@ declare module "factorio:runtime" { * - `"name"`: {@link NamePlayerMinedEntityEventFilter} * - `"ghost_type"`: {@link GhostTypePlayerMinedEntityEventFilter} * - `"ghost_name"`: {@link GhostNamePlayerMinedEntityEventFilter} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaPlayerMinedEntityEventFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaPlayerMinedEntityEventFilter.html Online documentation} */ export type LuaPlayerMinedEntityEventFilter = | TypePlayerMinedEntityEventFilter @@ -17173,7 +17177,7 @@ declare module "factorio:runtime" { * - `"name"`: {@link NameSectorScannedEventFilter} * - `"ghost_type"`: {@link GhostTypeSectorScannedEventFilter} * - `"ghost_name"`: {@link GhostNameSectorScannedEventFilter} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaSectorScannedEventFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaSectorScannedEventFilter.html Online documentation} */ export type LuaSectorScannedEventFilter = | TypeSectorScannedEventFilter @@ -17278,7 +17282,7 @@ declare module "factorio:runtime" { * - `"name"`: {@link NameRobotMinedEntityEventFilter} * - `"ghost_type"`: {@link GhostTypeRobotMinedEntityEventFilter} * - `"ghost_name"`: {@link GhostNameRobotMinedEntityEventFilter} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaRobotMinedEntityEventFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaRobotMinedEntityEventFilter.html Online documentation} */ export type LuaRobotMinedEntityEventFilter = | TypeRobotMinedEntityEventFilter @@ -17383,7 +17387,7 @@ declare module "factorio:runtime" { * - `"name"`: {@link NameEntityMarkedForDeconstructionEventFilter} * - `"ghost_type"`: {@link GhostTypeEntityMarkedForDeconstructionEventFilter} * - `"ghost_name"`: {@link GhostNameEntityMarkedForDeconstructionEventFilter} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaEntityMarkedForDeconstructionEventFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaEntityMarkedForDeconstructionEventFilter.html Online documentation} */ export type LuaEntityMarkedForDeconstructionEventFilter = | TypeEntityMarkedForDeconstructionEventFilter @@ -17423,7 +17427,7 @@ declare module "factorio:runtime" { * * Other attributes may be specified depending on `filter`: * - `"name"`: {@link NamePostSegmentedUnitDiedEventFilter} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaPostSegmentedUnitDiedEventFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaPostSegmentedUnitDiedEventFilter.html Online documentation} */ export type LuaPostSegmentedUnitDiedEventFilter = NamePostSegmentedUnitDiedEventFilter /** @@ -17523,7 +17527,7 @@ declare module "factorio:runtime" { * - `"name"`: {@link NameScriptRaisedReviveEventFilter} * - `"ghost_type"`: {@link GhostTypeScriptRaisedReviveEventFilter} * - `"ghost_name"`: {@link GhostNameScriptRaisedReviveEventFilter} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaScriptRaisedReviveEventFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaScriptRaisedReviveEventFilter.html Online documentation} */ export type LuaScriptRaisedReviveEventFilter = | TypeScriptRaisedReviveEventFilter @@ -17640,7 +17644,7 @@ declare module "factorio:runtime" { * - `"ghost_type"`: {@link GhostTypePlayerBuiltEntityEventFilter} * - `"ghost_name"`: {@link GhostNamePlayerBuiltEntityEventFilter} * - `"force"`: {@link ForcePlayerBuiltEntityEventFilter} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaPlayerBuiltEntityEventFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaPlayerBuiltEntityEventFilter.html Online documentation} */ export type LuaPlayerBuiltEntityEventFilter = | TypePlayerBuiltEntityEventFilter @@ -17746,7 +17750,7 @@ declare module "factorio:runtime" { * - `"name"`: {@link NameUpgradeCancelledEventFilter} * - `"ghost_type"`: {@link GhostTypeUpgradeCancelledEventFilter} * - `"ghost_name"`: {@link GhostNameUpgradeCancelledEventFilter} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaUpgradeCancelledEventFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaUpgradeCancelledEventFilter.html Online documentation} */ export type LuaUpgradeCancelledEventFilter = | TypeUpgradeCancelledEventFilter @@ -17926,7 +17930,7 @@ declare module "factorio:runtime" { * - `"final-damage-amount"`: {@link FinalDamageAmountEntityDamagedEventFilter} * - `"damage-type"`: {@link DamageTypeEntityDamagedEventFilter} * - `"final-health"`: {@link FinalHealthEntityDamagedEventFilter} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaEntityDamagedEventFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaEntityDamagedEventFilter.html Online documentation} */ export type LuaEntityDamagedEventFilter = | TypeEntityDamagedEventFilter @@ -17940,7 +17944,7 @@ declare module "factorio:runtime" { | OtherEntityDamagedEventFilter /** * Write form of {@link LuaEntityDamagedEventFilter}, where some properties allow additional values as input compared to the read form. - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaEntityDamagedEventFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaEntityDamagedEventFilter.html Online documentation} */ export type LuaEntityDamagedEventFilterWrite = | TypeEntityDamagedEventFilter @@ -18061,7 +18065,7 @@ declare module "factorio:runtime" { * - `"ghost_type"`: {@link GhostTypeEntityDiedEventFilter} * - `"ghost_name"`: {@link GhostNameEntityDiedEventFilter} * - `"force"`: {@link ForceEntityDiedEventFilter} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaEntityDiedEventFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaEntityDiedEventFilter.html Online documentation} */ export type LuaEntityDiedEventFilter = | TypeEntityDiedEventFilter @@ -18167,7 +18171,7 @@ declare module "factorio:runtime" { * - `"name"`: {@link NameEntityMarkedForUpgradeEventFilter} * - `"ghost_type"`: {@link GhostTypeEntityMarkedForUpgradeEventFilter} * - `"ghost_name"`: {@link GhostNameEntityMarkedForUpgradeEventFilter} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaEntityMarkedForUpgradeEventFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaEntityMarkedForUpgradeEventFilter.html Online documentation} */ export type LuaEntityMarkedForUpgradeEventFilter = | TypeEntityMarkedForUpgradeEventFilter @@ -18218,7 +18222,7 @@ declare module "factorio:runtime" { * Other attributes may be specified depending on `filter`: * - `"name"`: {@link NameSegmentedUnitCreatedEventFilter} * - `"cause"`: {@link CauseSegmentedUnitCreatedEventFilter} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaSegmentedUnitCreatedEventFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaSegmentedUnitCreatedEventFilter.html Online documentation} */ export type LuaSegmentedUnitCreatedEventFilter = NameSegmentedUnitCreatedEventFilter | CauseSegmentedUnitCreatedEventFilter @@ -18319,7 +18323,7 @@ declare module "factorio:runtime" { * - `"name"`: {@link NameScriptRaisedDestroyEventFilter} * - `"ghost_type"`: {@link GhostTypeScriptRaisedDestroyEventFilter} * - `"ghost_name"`: {@link GhostNameScriptRaisedDestroyEventFilter} - * @see {@link https://lua-api.factorio.com/2.1.22/concepts/LuaScriptRaisedDestroyEventFilter.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/concepts/LuaScriptRaisedDestroyEventFilter.html Online documentation} */ export type LuaScriptRaisedDestroyEventFilter = | TypeScriptRaisedDestroyEventFilter diff --git a/runtime/generated/defines.d.ts b/runtime/generated/defines.d.ts index f1cd326..00ac9c3 100644 --- a/runtime/generated/defines.d.ts +++ b/runtime/generated/defines.d.ts @@ -288,7 +288,7 @@ declare global { } /** * AI command exit status, see {@link LuaCommandable#set_command LuaCommandable::set_command} - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.behavior_result Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.behavior_result Online documentation} */ enum behavior_result { in_progress, @@ -312,33 +312,33 @@ declare global { enum cargo_destination { /** * The default destination type of a cargo pod when created runtime. Setting its destination to any other type will instantly launch it. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.cargo_destination.invalid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.cargo_destination.invalid Online documentation} */ invalid, /** * Cargo pods with orbit destination are destroyed when ascent is completed. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.cargo_destination.orbit Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.cargo_destination.orbit Online documentation} */ orbit, /** * Any cargo landing pad or space platform hub. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.cargo_destination.station Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.cargo_destination.station Online documentation} */ station, /** * Cargo pods will switch destination type from surface to station before starting descent if there is a station available and {@link CargoDestination#position CargoDestination::position} has not been specified. Note, setting the destination to "surface" when the surface is the same as the one the pod is on forces it to find and set a landing position. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.cargo_destination.surface Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.cargo_destination.surface Online documentation} */ surface, /** * Only used for sending a space platform starter pack to a platform that is waiting for one. Regular deliveries to space platform hubs use {@link defines.cargo_destination.station station} destination type instead. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.cargo_destination.space_platform Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.cargo_destination.space_platform Online documentation} */ space_platform, } /** * State of a chain signal. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.chain_signal_state Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.chain_signal_state Online documentation} */ enum chain_signal_state { none, @@ -356,73 +356,73 @@ declare global { } /** * Command given to units describing what they should do. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.command Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.command Online documentation} */ enum command { /** * Attack another entity. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.command.attack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.command.attack Online documentation} */ attack = 0, /** * Go to a specific position. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.command.go_to_location Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.command.go_to_location Online documentation} */ go_to_location = 1, /** * Chain commands together, see {@link defines.compound_command}. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.command.compound Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.command.compound Online documentation} */ compound = 2, /** * Do what your group wants you to do. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.command.group Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.command.group Online documentation} */ group = 3, /** * Go to a place and attack what you see. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.command.attack_area Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.command.attack_area Online documentation} */ attack_area = 4, /** * Chill. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.command.wander Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.command.wander Online documentation} */ wander = 5, /** * Flee from another entity. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.command.flee Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.command.flee Online documentation} */ flee = 6, /** * Stop moving and stay where you are. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.command.stop Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.command.stop Online documentation} */ stop = 7, /** * Go to a position and build a base there. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.command.build_base Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.command.build_base Online documentation} */ build_base = 8, } /** * How commands are joined together in a compound command (see {@link defines.command.compound}). - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.compound_command Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.compound_command Online documentation} */ enum compound_command { /** * Fail on first failure. Only succeeds if all commands (executed one after another) succeed. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.compound_command.logical_and Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.compound_command.logical_and Online documentation} */ logical_and, /** * Succeed on first success. Only fails if all commands (executed one after another) fail. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.compound_command.logical_or Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.compound_command.logical_or Online documentation} */ logical_or, /** * Execute all commands in sequence and fail or succeed depending on the return status of the last command. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.compound_command.return_last Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.compound_command.return_last Online documentation} */ return_last, } @@ -486,197 +486,197 @@ declare global { enum type { /** * {@link LuaContainerControlBehavior} - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.container Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.control_behavior.type.container Online documentation} */ container, /** * {@link LuaGenericOnOffControlBehavior} - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.generic_on_off Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.control_behavior.type.generic_on_off Online documentation} */ generic_on_off, /** * {@link LuaInserterControlBehavior} - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.inserter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.control_behavior.type.inserter Online documentation} */ inserter, /** * {@link LuaLampControlBehavior} - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.lamp Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.control_behavior.type.lamp Online documentation} */ lamp, /** * {@link LuaLogisticContainerControlBehavior} - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.logistic_container Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.control_behavior.type.logistic_container Online documentation} */ logistic_container, /** * {@link LuaRoboportControlBehavior} - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.roboport Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.control_behavior.type.roboport Online documentation} */ roboport, /** * {@link LuaSingleFluidBoxControlBehavior} - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.single_fluid_box Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.control_behavior.type.single_fluid_box Online documentation} */ single_fluid_box, /** * {@link LuaTrainStopControlBehavior} - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.train_stop Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.control_behavior.type.train_stop Online documentation} */ train_stop, /** * {@link LuaDeciderCombinatorControlBehavior} - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.decider_combinator Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.control_behavior.type.decider_combinator Online documentation} */ decider_combinator, /** * {@link LuaArithmeticCombinatorControlBehavior} - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.arithmetic_combinator Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.control_behavior.type.arithmetic_combinator Online documentation} */ arithmetic_combinator, /** * {@link LuaConstantCombinatorControlBehavior} - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.constant_combinator Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.control_behavior.type.constant_combinator Online documentation} */ constant_combinator, /** * {@link LuaTransportBeltControlBehavior} - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.transport_belt Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.control_behavior.type.transport_belt Online documentation} */ transport_belt, /** * {@link LuaAccumulatorControlBehavior} - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.accumulator Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.control_behavior.type.accumulator Online documentation} */ accumulator, /** * {@link LuaRailSignalBaseControlBehavior} - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.rail_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.control_behavior.type.rail_signal Online documentation} */ rail_signal, /** * {@link LuaRailSignalBaseControlBehavior} - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.rail_chain_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.control_behavior.type.rail_chain_signal Online documentation} */ rail_chain_signal, /** * {@link LuaWallControlBehavior} - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.wall Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.control_behavior.type.wall Online documentation} */ wall, /** * {@link LuaMiningDrillControlBehavior} - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.mining_drill Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.control_behavior.type.mining_drill Online documentation} */ mining_drill, /** * {@link LuaProgrammableSpeakerControlBehavior} - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.programmable_speaker Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.control_behavior.type.programmable_speaker Online documentation} */ programmable_speaker, /** * {@link LuaAssemblingMachineControlBehavior} - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.assembling_machine Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.control_behavior.type.assembling_machine Online documentation} */ assembling_machine, /** * {@link LuaPumpControlBehavior} - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.pump Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.control_behavior.type.pump Online documentation} */ pump, /** * {@link LuaSelectorCombinatorControlBehavior} - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.selector_combinator Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.control_behavior.type.selector_combinator Online documentation} */ selector_combinator, /** * {@link LuaRocketSiloControlBehavior} - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.rocket_silo Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.control_behavior.type.rocket_silo Online documentation} */ rocket_silo, /** * {@link LuaTurretControlBehavior} - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.turret Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.control_behavior.type.turret Online documentation} */ turret, /** * {@link LuaReactorControlBehavior} - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.reactor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.control_behavior.type.reactor Online documentation} */ reactor, /** * {@link LuaSpacePlatformHubControlBehavior} - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.space_platform_hub Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.control_behavior.type.space_platform_hub Online documentation} */ space_platform_hub, /** * {@link LuaArtilleryTurretControlBehavior} - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.artillery_turret Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.control_behavior.type.artillery_turret Online documentation} */ artillery_turret, /** * {@link LuaAsteroidCollectorControlBehavior} - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.asteroid_collector Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.control_behavior.type.asteroid_collector Online documentation} */ asteroid_collector, /** * {@link LuaRadarControlBehavior} - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.radar Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.control_behavior.type.radar Online documentation} */ radar, /** * {@link LuaDisplayPanelControlBehavior} - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.display_panel Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.control_behavior.type.display_panel Online documentation} */ display_panel, /** * {@link LuaLoaderControlBehavior} - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.loader Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.control_behavior.type.loader Online documentation} */ loader, /** * {@link LuaCargoLandingPadControlBehavior} - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.cargo_landing_pad Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.control_behavior.type.cargo_landing_pad Online documentation} */ cargo_landing_pad, /** * {@link LuaAgriculturalTowerControlBehavior} - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.agricultural_tower Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.control_behavior.type.agricultural_tower Online documentation} */ agricultural_tower, /** * {@link LuaFurnaceControlBehavior} - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.furnace Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.control_behavior.type.furnace Online documentation} */ furnace, /** * {@link LuaProxyContainerControlBehavior} - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.proxy_container Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.control_behavior.type.proxy_container Online documentation} */ proxy_container, /** * {@link LuaSplitterControlBehavior} - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.splitter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.control_behavior.type.splitter Online documentation} */ splitter, /** * {@link LuaLabControlBehavior} - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.lab Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.control_behavior.type.lab Online documentation} */ lab, /** * {@link LuaHeatPipeControlBehavior} - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.heat_pipe Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.control_behavior.type.heat_pipe Online documentation} */ heat_pipe, /** * {@link LuaBoilerControlBehavior} - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.boiler Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.control_behavior.type.boiler Online documentation} */ boiler, /** * {@link LuaLandMineControlBehavior} - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.control_behavior.type.land_mine Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.control_behavior.type.land_mine Online documentation} */ land_mine, } @@ -684,37 +684,37 @@ declare global { enum controllers { /** * Can't interact with the world, can only observe. Used in the multiplayer waiting-to-respawn screen. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.controllers.ghost Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.controllers.ghost Online documentation} */ ghost, /** * The controller controls a character. This is the default controller in freeplay. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.controllers.character Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.controllers.character Online documentation} */ character, /** * The controller isn't tied to a character. This is the default controller in sandbox. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.controllers.god Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.controllers.god Online documentation} */ god, /** * The Editor Controller near ultimate power to do almost anything in the game. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.controllers.editor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.controllers.editor Online documentation} */ editor, /** * The player can't interact with the world, and the camera pans around in a predefined manner. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.controllers.cutscene Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.controllers.cutscene Online documentation} */ cutscene, /** * Can't change anything in the world but can view anything. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.controllers.spectator Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.controllers.spectator Online documentation} */ spectator, /** * Can't move/change items but can build ghosts/change settings. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.controllers.remote Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.controllers.remote Online documentation} */ remote, } @@ -773,22 +773,22 @@ declare global { enum distraction { /** * Perform command even if someone attacks the unit. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.distraction.none Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.distraction.none Online documentation} */ none, /** * Attack closer enemy entities with force. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.distraction.by_enemy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.distraction.by_enemy Online documentation} */ by_enemy, /** * Attack closer enemy entities, including entities "built" by player (belts, inserters, chests). - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.distraction.by_anything Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.distraction.by_anything Online documentation} */ by_anything, /** * Attack when attacked. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.distraction.by_damage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.distraction.by_damage Online documentation} */ by_damage, } @@ -808,12 +808,12 @@ declare global { normal, /** * Used by ghosts. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.ghost Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.ghost Online documentation} */ ghost, /** * Only used if set through {@link import("factorio:prototype").ContainerPrototype#default_status ContainerPrototype::default_status}. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.broken Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.broken Online documentation} */ broken, no_power, @@ -827,307 +827,307 @@ declare global { marked_for_deconstruction, /** * Used by space platform hubs. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.paused Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.paused Online documentation} */ paused, /** * Used by generators and solar panels. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.not_plugged_in_electric_network Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.not_plugged_in_electric_network Online documentation} */ not_plugged_in_electric_network, /** * Used by power switches. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.networks_connected Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.networks_connected Online documentation} */ networks_connected, /** * Used by power switches. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.networks_disconnected Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.networks_disconnected Online documentation} */ networks_disconnected, /** * Used by accumulators. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.charging Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.charging Online documentation} */ charging, /** * Used by accumulators. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.discharging Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.discharging Online documentation} */ discharging, /** * Used by accumulators. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.fully_charged Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.fully_charged Online documentation} */ fully_charged, /** * Used by logistic containers. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.out_of_logistic_network Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.out_of_logistic_network Online documentation} */ out_of_logistic_network, /** * Used by assembling machines. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.no_recipe Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.no_recipe Online documentation} */ no_recipe, /** * Used by furnaces. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.no_ingredients Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.no_ingredients Online documentation} */ no_ingredients, /** * Used by boilers, fluid turrets, and fluid energy sources: Boiler has no fluid to work with. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.no_input_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.no_input_fluid Online documentation} */ no_input_fluid, /** * Used by entities that consume fluids or have a fluid energy source. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.input_fluid_too_cold Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.input_fluid_too_cold Online documentation} */ input_fluid_too_cold, /** * Used by entities that consume fluids or have a fluid energy source. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.input_fluid_too_hot Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.input_fluid_too_hot Online documentation} */ input_fluid_too_hot, /** * Used by labs. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.no_research_in_progress Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.no_research_in_progress Online documentation} */ no_research_in_progress, /** * Used by mining drills. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.no_minable_resources Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.no_minable_resources Online documentation} */ no_minable_resources, /** * Used by cargo bays. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.hatches_blocked_by_elevated_rail Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.hatches_blocked_by_elevated_rail Online documentation} */ hatches_blocked_by_elevated_rail, /** * Used by cargo bays. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.not_connected_to_hub_or_pad Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.not_connected_to_hub_or_pad Online documentation} */ not_connected_to_hub_or_pad, /** * Used by some cargo bays. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.too_far_from_pad_to_unload Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.too_far_from_pad_to_unload Online documentation} */ too_far_from_pad_to_unload, /** * Used by boilers and fluid turrets: Boiler still has some fluid but is about to run out. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.low_input_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.low_input_fluid Online documentation} */ low_input_fluid, /** * Used by crafting machines. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.fluid_ingredient_shortage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.fluid_ingredient_shortage Online documentation} */ fluid_ingredient_shortage, /** * Used by crafting machines, boilers, burner energy sources, and reactors: Reactor/burner has full burnt result inventory, boiler has full output fluidbox. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.full_output Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.full_output Online documentation} */ full_output, /** * Used by agricultural towers. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.not_enough_space_in_output Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.not_enough_space_in_output Online documentation} */ not_enough_space_in_output, /** * Used by burner energy sources. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.full_burnt_result_output Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.full_burnt_result_output Online documentation} */ full_burnt_result_output, /** * Used by crafting machines. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.item_ingredient_shortage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.item_ingredient_shortage Online documentation} */ item_ingredient_shortage, /** * Used by mining drills when the mining fluid is missing. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.missing_required_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.missing_required_fluid Online documentation} */ missing_required_fluid, /** * Used by labs. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.missing_science_packs Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.missing_science_packs Online documentation} */ missing_science_packs, /** * Used by inserters. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.waiting_for_source_items Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.waiting_for_source_items Online documentation} */ waiting_for_source_items, /** * Used by inserters when wait_for_full_hand is set. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.waiting_for_more_items Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.waiting_for_more_items Online documentation} */ waiting_for_more_items, /** * Used by inserters, mining drills, and crafting machines using vector_to_place_result. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.waiting_for_space_in_destination Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.waiting_for_space_in_destination Online documentation} */ waiting_for_space_in_destination, /** * Used by the rocket silo. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.preparing_rocket_for_launch Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.preparing_rocket_for_launch Online documentation} */ preparing_rocket_for_launch, /** * Used by the rocket silo. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.waiting_to_launch_rocket Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.waiting_to_launch_rocket Online documentation} */ waiting_to_launch_rocket, /** * Used by the rocket silo. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.waiting_for_space_in_platform_hub Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.waiting_for_space_in_platform_hub Online documentation} */ waiting_for_space_in_platform_hub, /** * Used by the rocket silo. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.launching_rocket Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.launching_rocket Online documentation} */ launching_rocket, /** * Used by thrusters. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.thrust_not_required Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.thrust_not_required Online documentation} */ thrust_not_required, /** * Used by space platform hubs. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.on_the_way Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.on_the_way Online documentation} */ on_the_way, /** * Used by space platform hubs. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.waiting_in_orbit Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.waiting_in_orbit Online documentation} */ waiting_in_orbit, /** * Used by trains. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.waiting_at_stop Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.waiting_at_stop Online documentation} */ waiting_at_stop, /** * Used by trains. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.waiting_for_upgrade Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.waiting_for_upgrade Online documentation} */ waiting_for_upgrade, /** * Used by space platform hubs. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.waiting_for_rockets_to_arrive Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.waiting_for_rockets_to_arrive Online documentation} */ waiting_for_rockets_to_arrive, /** * Used by space platform hubs. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.waiting_to_clear_drop_slots Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.waiting_to_clear_drop_slots Online documentation} */ waiting_to_clear_drop_slots, /** * Used by space platform hubs. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.not_enough_thrust Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.not_enough_thrust Online documentation} */ not_enough_thrust, /** * Used by trains. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.destination_stop_full Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.destination_stop_full Online documentation} */ destination_stop_full, /** * Used by trains and space platform hubs. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.no_path Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.no_path Online documentation} */ no_path, /** * Used by beacons. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.no_modules_to_transmit Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.no_modules_to_transmit Online documentation} */ no_modules_to_transmit, /** * Used by roboports. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.recharging_after_power_outage Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.recharging_after_power_outage Online documentation} */ recharging_after_power_outage, /** * Used by inserters targeting entity ghosts. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.waiting_for_target_to_be_built Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.waiting_for_target_to_be_built Online documentation} */ waiting_for_target_to_be_built, /** * Used by inserters targeting rails. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.waiting_for_train Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.waiting_for_train Online documentation} */ waiting_for_train, /** * Used by ammo turrets. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.no_ammo Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.no_ammo Online documentation} */ no_ammo, /** * Used by heat energy sources. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.low_temperature Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.low_temperature Online documentation} */ low_temperature, /** * Used by constant combinators: Combinator is turned off via switch in GUI. Also used by inserters. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.disabled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.disabled Online documentation} */ disabled, /** * Used by lamps. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.turned_off_during_daytime Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.turned_off_during_daytime Online documentation} */ turned_off_during_daytime, /** * Used by rail signals. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.not_connected_to_rail Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.not_connected_to_rail Online documentation} */ not_connected_to_rail, /** * Used by rail signals. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.cant_divide_segments Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.cant_divide_segments Online documentation} */ cant_divide_segments, /** * Used by filter inserters. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.no_filter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.no_filter Online documentation} */ no_filter, /** * Used by agricultural towers. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.no_spot_seedable_by_inputs Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.no_spot_seedable_by_inputs Online documentation} */ no_spot_seedable_by_inputs, /** * Used by agricultural towers. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.waiting_for_plants_to_grow Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.waiting_for_plants_to_grow Online documentation} */ waiting_for_plants_to_grow, /** * Used by asteroid collectors. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.computing_navigation Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.computing_navigation Online documentation} */ computing_navigation, /** * Used by pipes, pipes to ground, and storage tanks. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.pipeline_overextended Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.pipeline_overextended Online documentation} */ pipeline_overextended, /** * Used by assembling machines. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.recipe_not_researched Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.recipe_not_researched Online documentation} */ recipe_not_researched, /** * Used by assembling machines. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.recipe_is_parameter Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.recipe_is_parameter Online documentation} */ recipe_is_parameter, /** * Used by land mines. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.entity_status.armed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.entity_status.armed Online documentation} */ armed, } @@ -1137,8 +1137,8 @@ declare global { yellow, } /** - * See the {@linkplain https://lua-api.factorio.com/2.1.22/events.html events page} for more info on what events contain and when they get raised. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.events Online documentation} + * See the {@linkplain https://lua-api.factorio.com/2.1.24/events.html events page} for more info on what events contain and when they get raised. + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.events Online documentation} */ namespace events { /** @@ -2120,8 +2120,8 @@ declare global { const script_raised_teleported: EventId } /** - * See the {@linkplain https://lua-api.factorio.com/2.1.22/events.html events page} for more info on what events contain and when they get raised. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.events Online documentation} + * See the {@linkplain https://lua-api.factorio.com/2.1.24/events.html events page} for more info on what events contain and when they get raised. + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.events Online documentation} */ type events = (typeof events)[keyof typeof events] enum flow_precision_index { @@ -2137,17 +2137,17 @@ declare global { enum game_controller_interaction { /** * Game controller will always hover this element regardless of type or state. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.game_controller_interaction.always Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.game_controller_interaction.always Online documentation} */ always, /** * Never hover this element with a game controller. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.game_controller_interaction.never Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.game_controller_interaction.never Online documentation} */ never, /** * Hover according to the element type and implementation. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.game_controller_interaction.normal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.game_controller_interaction.normal Online documentation} */ normal, } @@ -2507,7 +2507,7 @@ declare global { robot_repair, /** * Used for ejected items, or items held by inserters that can't be inserted due the recipe being changed with the circuit network. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.inventory.assembling_machine_dump Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.inventory.assembling_machine_dump Online documentation} */ assembling_machine_dump, lab_input, @@ -2520,7 +2520,7 @@ declare global { rocket_silo_attached_cargo_unit, /** * Inventory of cargo pod. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.inventory.cargo_unit Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.inventory.cargo_unit Online documentation} */ cargo_unit, car_trunk, @@ -2549,7 +2549,7 @@ declare global { crafter_modules, /** * Used for spoil result items that do not fit into the recipe slots, and for items that are ejected when changing the recipe via remote view. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.inventory.crafter_trash Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.inventory.crafter_trash Online documentation} */ crafter_trash, asteroid_collector_output, @@ -2607,12 +2607,12 @@ declare global { circuit_controlled, /** * Used by rocket silos. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.logistic_section_type.transitional_request_controlled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.logistic_section_type.transitional_request_controlled Online documentation} */ transitional_request_controlled, /** * Used by space platform hubs. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.logistic_section_type.request_missing_materials_controlled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.logistic_section_type.request_missing_materials_controlled Online documentation} */ request_missing_materials_controlled, } @@ -2631,17 +2631,17 @@ declare global { enum print_skip { /** * Print will not be skipped. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.print_skip.never Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.print_skip.never Online documentation} */ never, /** * Print will be skipped if same text was recently printed (within last 60 ticks). Used by most game messages. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.print_skip.if_redundant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.print_skip.if_redundant Online documentation} */ if_redundant, /** * Print will be skipped if same text is still visible (printed within last 1152 ticks). Used by some notifications. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.print_skip.if_visible Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.print_skip.if_visible Online documentation} */ if_visible, } @@ -2652,7 +2652,7 @@ declare global { } /** * This define describes all top-level prototypes and their associated subtypes. It is organized as a lookup table, meaning the values of all the defines is `0`. As an example, `defines.prototypes['entity']` looks like `{furnace=0, inserter=0, container=0, ...}`. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.prototypes Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.prototypes Online documentation} */ interface prototypes { "achievement": { @@ -3048,7 +3048,7 @@ declare global { } /** * This define describes all top-level prototypes and their associated subtypes. It is organized as a lookup table, meaning the values of all the defines is `0`. As an example, `defines.prototypes['entity']` looks like `{furnace=0, inserter=0, container=0, ...}`. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.prototypes Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.prototypes Online documentation} */ const prototypes: prototypes enum rail_connection_direction { @@ -3178,189 +3178,189 @@ declare global { enum robot_order_type { /** * Construct a ghost. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.robot_order_type.construct Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.robot_order_type.construct Online documentation} */ construct, /** * Pickup an item. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.robot_order_type.pickup Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.robot_order_type.pickup Online documentation} */ pickup, /** * Deliver an item. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.robot_order_type.deliver Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.robot_order_type.deliver Online documentation} */ deliver, /** * Repair an entity. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.robot_order_type.repair Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.robot_order_type.repair Online documentation} */ repair, /** * Deconstruct an entity. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.robot_order_type.deconstruct Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.robot_order_type.deconstruct Online documentation} */ deconstruct, /** * Deliver specific items to an entity (item request proxy). - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.robot_order_type.deliver_items Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.robot_order_type.deliver_items Online documentation} */ deliver_items, /** * Upgrade an entity. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.robot_order_type.upgrade Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.robot_order_type.upgrade Online documentation} */ upgrade, /** * Explode a cliff. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.robot_order_type.explode_cliff Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.robot_order_type.explode_cliff Online documentation} */ explode_cliff, /** * Pickup items from an entity (item request proxy). - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.robot_order_type.pickup_items Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.robot_order_type.pickup_items Online documentation} */ pickup_items, } /** * The various parts of the launch sequence of the rocket silo. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.rocket_silo_status Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.rocket_silo_status Online documentation} */ enum rocket_silo_status { /** * The rocket silo is crafting rocket parts. When there are enough rocket parts, the silo will switch into the `create_rocket` state. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.rocket_silo_status.building_rocket Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.rocket_silo_status.building_rocket Online documentation} */ building_rocket, /** * The next state is `lights_blinking_open`. The rocket silo rocket entity gets created. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.rocket_silo_status.create_rocket Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.rocket_silo_status.create_rocket Online documentation} */ create_rocket, /** * The next state is `doors_opening`. The rocket is getting prepared for launch. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.rocket_silo_status.lights_blinking_open Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.rocket_silo_status.lights_blinking_open Online documentation} */ lights_blinking_open, /** * The next state is `doors_opened`. The rocket is getting prepared for launch. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.rocket_silo_status.doors_opening Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.rocket_silo_status.doors_opening Online documentation} */ doors_opening, /** * The next state is `rocket_rising` or if the rocket is destroyed in this state then the next state will be `lights_blinking_close`. The rocket is getting prepared for launch. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.rocket_silo_status.doors_opened Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.rocket_silo_status.doors_opened Online documentation} */ doors_opened, /** * The next state is `arms_advance` or if the rocket is destroyed in this state then the next state will be `lights_blinking_close`. The rocket is getting prepared for launch. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.rocket_silo_status.rocket_rising Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.rocket_silo_status.rocket_rising Online documentation} */ rocket_rising, /** * The next state is `rocket_ready` or if the rocket is destroyed in this state then the next state will be `lights_blinking_close`. The rocket is getting prepared for launch. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.rocket_silo_status.arms_advance Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.rocket_silo_status.arms_advance Online documentation} */ arms_advance, /** * The rocket launch can be started by the player. When the launch is started, the silo switches into the `launch_starting` state. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.rocket_silo_status.rocket_ready Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.rocket_silo_status.rocket_ready Online documentation} */ rocket_ready, /** * The next state is `launch_started`. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.rocket_silo_status.launch_starting Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.rocket_silo_status.launch_starting Online documentation} */ launch_starting, /** * The next state is `arms_retract` or if the rocket is destroyed in this state then the next state will be `lights_blinking_close`. The rocket is getting launched. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.rocket_silo_status.engine_starting Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.rocket_silo_status.engine_starting Online documentation} */ engine_starting, /** * The next state is `rocket_flying` or if the rocket is destroyed in this state then the next state will be `lights_blinking_close`. The rocket is getting launched. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.rocket_silo_status.arms_retract Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.rocket_silo_status.arms_retract Online documentation} */ arms_retract, /** * The next state is `lights_blinking_close`. The rocket is getting launched. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.rocket_silo_status.rocket_flying Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.rocket_silo_status.rocket_flying Online documentation} */ rocket_flying, /** * The next state is `doors_closing`. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.rocket_silo_status.lights_blinking_close Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.rocket_silo_status.lights_blinking_close Online documentation} */ lights_blinking_close, /** * The next state is `building_rocket`. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.rocket_silo_status.doors_closing Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.rocket_silo_status.doors_closing Online documentation} */ doors_closing, /** * The next state is `engine_starting` or if the rocket is destroyed in this state then the next state will be `lights_blinking_close`. The rocket is getting launched. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.rocket_silo_status.launch_started Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.rocket_silo_status.launch_started Online documentation} */ launch_started, } enum segmented_unit_activity_mode { /** * The segmented unit is completely asleep, only performing the bare minimum checks to wake up if needed. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.segmented_unit_activity_mode.asleep Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.segmented_unit_activity_mode.asleep Online documentation} */ asleep, /** * The segmented unit is minimally active, reducing unnecessary entity movement and trigger effects while continuing to patrol around its territory. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.segmented_unit_activity_mode.minimal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.segmented_unit_activity_mode.minimal Online documentation} */ minimal, /** * The segmented unit is fully active and simulated as if it is being observed by a player. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.segmented_unit_activity_mode.full Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.segmented_unit_activity_mode.full Online documentation} */ full, } enum segmented_unit_ai_state { /** * The segmented unit is navigating its territory's patrol path. If the unit is not assigned to a territory, then it is patrolling around the position it was created. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.segmented_unit_ai_state.patrolling Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.segmented_unit_ai_state.patrolling Online documentation} */ patrolling, /** * The segmented unit is investigating a location where it detected a disturbance. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.segmented_unit_ai_state.investigating Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.segmented_unit_ai_state.investigating Online documentation} */ investigating, /** * The segmented unit is attacking an entity that is trespassing on its territory, but the segmented unit is not using its full strength. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.segmented_unit_ai_state.attacking Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.segmented_unit_ai_state.attacking Online documentation} */ attacking, /** * The segmented unit is angry because it was attacked and is aggressively attacking an entity with its full strength. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.segmented_unit_ai_state.enraged_at_target Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.segmented_unit_ai_state.enraged_at_target Online documentation} */ enraged_at_target, /** * The segmented unit is angry because it was attacked but it does not have a valid attack target, so it is wandering around trying to find a valid attack target. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.segmented_unit_ai_state.enraged_at_nothing Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.segmented_unit_ai_state.enraged_at_nothing Online documentation} */ enraged_at_nothing, } enum segmented_unit_created_cause { /** * The segmented unit was spawned naturally by the map generator. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.segmented_unit_created_cause.map_generated Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.segmented_unit_created_cause.map_generated Online documentation} */ map_generated, /** * The segmented unit was created manually via script. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.segmented_unit_created_cause.script_created Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.segmented_unit_created_cause.script_created Online documentation} */ script_created, /** * The segmented unit was cloned from an existing segmented unit via script. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.segmented_unit_created_cause.script_cloned Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.segmented_unit_created_cause.script_cloned Online documentation} */ script_cloned, } @@ -3378,74 +3378,74 @@ declare global { } /** * State of an ordinary rail signal. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.signal_state Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.signal_state Online documentation} */ enum signal_state { /** * Green. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.signal_state.open Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.signal_state.open Online documentation} */ open, /** * Red. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.signal_state.closed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.signal_state.closed Online documentation} */ closed, /** * Orange. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.signal_state.reserved Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.signal_state.reserved Online documentation} */ reserved, /** * Red - From circuit network. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.signal_state.reserved_by_circuit_network Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.signal_state.reserved_by_circuit_network Online documentation} */ reserved_by_circuit_network, } enum space_platform_state { /** * Waiting for a starter pack. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.space_platform_state.waiting_for_starter_pack Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.space_platform_state.waiting_for_starter_pack Online documentation} */ waiting_for_starter_pack, /** * Starter pack was requested from the logistics system. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.space_platform_state.starter_pack_requested Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.space_platform_state.starter_pack_requested Online documentation} */ starter_pack_requested, /** * Starter pack is on the way. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.space_platform_state.starter_pack_on_the_way Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.space_platform_state.starter_pack_on_the_way Online documentation} */ starter_pack_on_the_way, /** * Following the path. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.space_platform_state.on_the_path Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.space_platform_state.on_the_path Online documentation} */ on_the_path, /** * Platform is ready to leave this planet and does not accept deliveries. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.space_platform_state.waiting_for_departure Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.space_platform_state.waiting_for_departure Online documentation} */ waiting_for_departure, /** * Doesn't have any stations in schedule. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.space_platform_state.no_schedule Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.space_platform_state.no_schedule Online documentation} */ no_schedule, /** * Doesn't have anywhere to go. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.space_platform_state.no_path Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.space_platform_state.no_path Online documentation} */ no_path, /** * Waiting at a station. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.space_platform_state.waiting_at_station Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.space_platform_state.waiting_at_station Online documentation} */ waiting_at_station, /** * Paused. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.space_platform_state.paused Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.space_platform_state.paused Online documentation} */ paused, } @@ -3479,64 +3479,64 @@ declare global { enum territory_created_cause { /** * The territory was spawned naturally by the map generator. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.territory_created_cause.map_generated Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.territory_created_cause.map_generated Online documentation} */ map_generated, /** * The territory was created manually via script. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.territory_created_cause.script_created Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.territory_created_cause.script_created Online documentation} */ script_created, } enum train_state { /** * Normal state -- following the path. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.train_state.on_the_path Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.train_state.on_the_path Online documentation} */ on_the_path, /** * Doesn't have anywhere to go. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.train_state.no_schedule Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.train_state.no_schedule Online documentation} */ no_schedule, /** * Has no path and is stopped. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.train_state.no_path Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.train_state.no_path Online documentation} */ no_path, /** * Braking before a rail signal. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.train_state.arrive_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.train_state.arrive_signal Online documentation} */ arrive_signal, /** * Waiting at a signal. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.train_state.wait_signal Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.train_state.wait_signal Online documentation} */ wait_signal, /** * Braking before a station. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.train_state.arrive_station Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.train_state.arrive_station Online documentation} */ arrive_station, /** * Switched to manual control and has to stop. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.train_state.manual_control_stop Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.train_state.manual_control_stop Online documentation} */ manual_control_stop, /** * Can move if user explicitly sits in and rides the train. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.train_state.manual_control Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.train_state.manual_control Online documentation} */ manual_control, /** * Waiting at a station. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.train_state.wait_station Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.train_state.wait_station Online documentation} */ wait_station, /** * Same as no_path but all candidate train stops are full - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.train_state.destination_full Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.train_state.destination_full Online documentation} */ destination_full, } @@ -3566,17 +3566,17 @@ declare global { enum wire_origin { /** * These wires can be modified by players, scripts, and the game. They are visible to the player if the entity's `draw_circuit_wires` prototype property is set to `true` and both ends of it are on the same surface. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.wire_origin.player Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.wire_origin.player Online documentation} */ player, /** * These wires can be modified by scripts and the game. They are not visible to the player, irrespective of the `draw_circuit_wires` prototype property. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.wire_origin.script Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.wire_origin.script Online documentation} */ script, /** * These wires can only be modified by the game. They are not visible to the player, irrespective of the `draw_circuit_wires` prototype property. - * @see {@link https://lua-api.factorio.com/2.1.22/defines.html#defines.wire_origin.radars Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/defines.html#defines.wire_origin.radars Online documentation} */ radars, } diff --git a/runtime/generated/events.d.ts b/runtime/generated/events.d.ts index 6901f57..9d4f13b 100644 --- a/runtime/generated/events.d.ts +++ b/runtime/generated/events.d.ts @@ -13,7 +13,7 @@ declare module "factorio:runtime" { * script.on_event("my-potato-control", function(event) * game.print("Keyboard shortcut pressed on tick: " ..tostring(event.tick)) * end) - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#CustomInputEvent Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#CustomInputEvent Online documentation} */ interface CustomInputEvent extends EventData { /** @@ -59,7 +59,7 @@ declare module "factorio:runtime" { } /** * Called when a recipe with {@link import("factorio:prototype").RecipePrototype#raise_on_crafted RecipePrototype::raise_on_crafted} is crafted. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#RecipeCraftedEvent Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#RecipeCraftedEvent Online documentation} */ interface RecipeCraftedEvent extends EventData { /** @@ -105,7 +105,7 @@ declare module "factorio:runtime" { } /** * Called when an achievement is gained. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_achievement_gained Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_achievement_gained Online documentation} */ interface OnAchievementGainedEvent extends EventData { /** @@ -124,7 +124,7 @@ declare module "factorio:runtime" { } /** * Called when a unit/group completes a command. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_ai_command_completed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_ai_command_completed Online documentation} */ interface OnAiCommandCompletedEvent extends EventData { /** @@ -147,7 +147,7 @@ declare module "factorio:runtime" { } /** * Called when an area of the map is cloned. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_area_cloned Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_area_cloned Online documentation} */ interface OnAreaClonedEvent extends EventData { readonly source_surface: LuaSurface @@ -173,7 +173,7 @@ declare module "factorio:runtime" { * Called when a biter migration builds a base. * * This will be called multiple times for each migration, once for every biter that is sacrificed to build part of the new base. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_biter_base_built Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_biter_base_built Online documentation} */ interface OnBiterBaseBuiltEvent extends EventData { /** @@ -195,7 +195,7 @@ declare module "factorio:runtime" { * The entity's settings, rotation, mirroring, wire connections, etc. may have been updated. This event is raised even if no settings actually changed. * * Note this event is not raised when an entity is upgraded or marked for upgrade, when a new entity is created, or when an entity ghost is instantly revived. {@link OnBuiltEntityEvent on_built_entity} is raised instead in those cases. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_blueprint_settings_pasted Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_blueprint_settings_pasted Online documentation} */ interface OnBlueprintSettingsPastedEvent extends EventData { /** @@ -229,7 +229,7 @@ declare module "factorio:runtime" { } /** * Called when a set of positions on the map is cloned. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_brush_cloned Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_brush_cloned Online documentation} */ interface OnBrushClonedEvent extends EventData { readonly source_offset: TilePosition @@ -254,7 +254,7 @@ declare module "factorio:runtime" { } /** * Called when a {@link defines.command.build_base} command reaches its destination, and before building starts. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_build_base_arrived Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_build_base_arrived Online documentation} */ interface OnBuildBaseArrivedEvent extends EventData { /** @@ -278,7 +278,7 @@ declare module "factorio:runtime" { * Called when player builds something. * * Event filter: [LuaPlayerBuiltEntityEventFilter](LuaPlayerBuiltEntityEventFilter] - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_built_entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_built_entity Online documentation} */ interface OnBuiltEntityEvent extends EventData { /** @@ -310,7 +310,7 @@ declare module "factorio:runtime" { * Called when the deconstruction of an entity is canceled. * * Event filter: [LuaEntityDeconstructionCancelledEventFilter](LuaEntityDeconstructionCancelledEventFilter] - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_cancelled_deconstruction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_cancelled_deconstruction Online documentation} */ interface OnCancelledDeconstructionEvent extends EventData { readonly entity: LuaEntity @@ -328,7 +328,7 @@ declare module "factorio:runtime" { * Called when the upgrade of an entity is canceled. * * Event filter: [LuaUpgradeCancelledEventFilter](LuaUpgradeCancelledEventFilter] - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_cancelled_upgrade Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_cancelled_upgrade Online documentation} */ interface OnCancelledUpgradeEvent extends EventData { readonly entity: LuaEntity @@ -346,7 +346,7 @@ declare module "factorio:runtime" { } /** * Called after a cargo pod has delivered its cargo. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_cargo_pod_delivered_cargo Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_cargo_pod_delivered_cargo Online documentation} */ interface OnCargoPodDeliveredCargoEvent extends EventData { readonly cargo_pod: LuaEntity @@ -365,7 +365,7 @@ declare module "factorio:runtime" { } /** * Called when a cargo pod departs a surface. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_cargo_pod_finished_ascending Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_cargo_pod_finished_ascending Online documentation} */ interface OnCargoPodFinishedAscendingEvent extends EventData { readonly cargo_pod: LuaEntity @@ -388,7 +388,7 @@ declare module "factorio:runtime" { } /** * Called when a cargo pods lands on a surface, either at a station or on the ground. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_cargo_pod_finished_descending Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_cargo_pod_finished_descending Online documentation} */ interface OnCargoPodFinishedDescendingEvent extends EventData { readonly cargo_pod: LuaEntity @@ -411,7 +411,7 @@ declare module "factorio:runtime" { } /** * Called when a cargo pod departs from a space platform hub or by another method not attached to a rocket. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_cargo_pod_started_ascending Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_cargo_pod_started_ascending Online documentation} */ interface OnCargoPodStartedAscendingEvent extends EventData { readonly cargo_pod: LuaEntity @@ -432,7 +432,7 @@ declare module "factorio:runtime" { * Called when a character corpse expires due to timeout or all of the items being removed from it. * * this is not called if the corpse is mined. See {@link defines.events.on_pre_player_mined_item} to detect that. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_character_corpse_expired Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_character_corpse_expired Online documentation} */ interface OnCharacterCorpseExpiredEvent extends EventData { /** @@ -450,7 +450,7 @@ declare module "factorio:runtime" { } /** * Called when a chart tag is created. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_chart_tag_added Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_chart_tag_added Online documentation} */ interface OnChartTagAddedEvent extends EventData { readonly tag: LuaCustomChartTag @@ -467,7 +467,7 @@ declare module "factorio:runtime" { } /** * Called when a chart tag is modified by a player or by script. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_chart_tag_modified Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_chart_tag_modified Online documentation} */ interface OnChartTagModifiedEvent extends EventData { readonly tag: LuaCustomChartTag @@ -489,7 +489,7 @@ declare module "factorio:runtime" { } /** * Called just before a chart tag is deleted. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_chart_tag_removed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_chart_tag_removed Online documentation} */ interface OnChartTagRemovedEvent extends EventData { readonly tag: LuaCustomChartTag @@ -506,7 +506,7 @@ declare module "factorio:runtime" { } /** * Called when a chunk is charted or re-charted. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_chunk_charted Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_chunk_charted Online documentation} */ interface OnChunkChartedEvent extends EventData { readonly surface_index: SurfaceIndex @@ -527,7 +527,7 @@ declare module "factorio:runtime" { } /** * Called when one or more chunks are deleted using {@link LuaSurface#delete_chunk LuaSurface::delete_chunk}. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_chunk_deleted Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_chunk_deleted Online documentation} */ interface OnChunkDeletedEvent extends EventData { readonly surface_index: SurfaceIndex @@ -546,7 +546,7 @@ declare module "factorio:runtime" { } /** * Called when a chunk is generated. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_chunk_generated Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_chunk_generated Online documentation} */ interface OnChunkGeneratedEvent extends EventData { /** @@ -572,7 +572,7 @@ declare module "factorio:runtime" { } /** * Called when a combat robot expires through a lack of energy, or timeout. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_combat_robot_expired Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_combat_robot_expired Online documentation} */ interface OnCombatRobotExpiredEvent extends EventData { readonly robot: LuaEntity @@ -593,7 +593,7 @@ declare module "factorio:runtime" { * Called when a message is sent to the in-game console, either by a player or through the server interface. * * This event only fires for plain messages, not for any commands (including `/shout` or `/whisper`). - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_console_chat Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_console_chat Online documentation} */ interface OnConsoleChatEvent extends EventData { /** @@ -615,7 +615,7 @@ declare module "factorio:runtime" { } /** * Called when someone enters a command-like message regardless of it being a valid command. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_console_command Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_console_command Online documentation} */ interface OnConsoleCommandEvent extends EventData { /** @@ -641,7 +641,7 @@ declare module "factorio:runtime" { } /** * Called when a cutscene is cancelled by the player or by script. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_cutscene_cancelled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_cutscene_cancelled Online documentation} */ interface OnCutsceneCancelledEvent extends EventData { /** @@ -659,7 +659,7 @@ declare module "factorio:runtime" { } /** * Called when a cutscene finishes naturally (was not cancelled). - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_cutscene_finished Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_cutscene_finished Online documentation} */ interface OnCutsceneFinishedEvent extends EventData { /** @@ -677,7 +677,7 @@ declare module "factorio:runtime" { } /** * Called when a cutscene starts. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_cutscene_started Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_cutscene_started Online documentation} */ interface OnCutsceneStartedEvent extends EventData { /** @@ -697,7 +697,7 @@ declare module "factorio:runtime" { * Called when a cutscene is playing, each time it reaches a waypoint in that cutscene. * * This refers to an index in the table previously passed to set_controller which started the cutscene. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_cutscene_waypoint_reached Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_cutscene_waypoint_reached Online documentation} */ interface OnCutsceneWaypointReachedEvent extends EventData { /** @@ -721,7 +721,7 @@ declare module "factorio:runtime" { * Called when an entity is cloned. The filter applies to the source entity. * * Event filter: [LuaEntityClonedEventFilter](LuaEntityClonedEventFilter] - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_entity_cloned Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_entity_cloned Online documentation} */ interface OnEntityClonedEvent extends EventData { readonly source: LuaEntity @@ -739,7 +739,7 @@ declare module "factorio:runtime" { * Called after an entity has been recolored either by the player or through script. * * Automatic recoloring due to {@link LuaPlayer#color LuaPlayer::color} will not raise events, as that is a separate mechanism. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_entity_color_changed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_entity_color_changed Online documentation} */ interface OnEntityColorChangedEvent extends EventData { /** @@ -759,7 +759,7 @@ declare module "factorio:runtime" { * Called when an entity is damaged. This is not called when an entities health is set directly by another mod. * * Event filter: [LuaEntityDamagedEventFilter](LuaEntityDamagedEventFilter] - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_entity_damaged Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_entity_damaged Online documentation} */ interface OnEntityDamagedEvent extends EventData { readonly entity: LuaEntity @@ -801,7 +801,7 @@ declare module "factorio:runtime" { * Called when an entity dies. * * Event filter: [LuaEntityDiedEventFilter](LuaEntityDiedEventFilter] - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_entity_died Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_entity_died Online documentation} */ interface OnEntityDiedEvent extends EventData { /** @@ -835,7 +835,7 @@ declare module "factorio:runtime" { } /** * Called when one of an entity's logistic slots changes. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_entity_logistic_slot_changed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_entity_logistic_slot_changed Online documentation} */ interface OnEntityLogisticSlotChangedEvent extends EventData { /** @@ -865,7 +865,7 @@ declare module "factorio:runtime" { } /** * Called after an entity has been renamed either by the player or through script. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_entity_renamed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_entity_renamed Online documentation} */ interface OnEntityRenamedEvent extends EventData { /** @@ -886,7 +886,7 @@ declare module "factorio:runtime" { } /** * Called after entity copy-paste is done. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_entity_settings_pasted Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_entity_settings_pasted Online documentation} */ interface OnEntitySettingsPastedEvent extends EventData { readonly player_index: PlayerIndex @@ -909,7 +909,7 @@ declare module "factorio:runtime" { } /** * Called when an entity is spawned by a EnemySpawner - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_entity_spawned Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_entity_spawned Online documentation} */ interface OnEntitySpawnedEvent extends EventData { readonly spawner: LuaEntity @@ -925,7 +925,7 @@ declare module "factorio:runtime" { } /** * Called after equipment is inserted into an equipment grid. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_equipment_inserted Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_equipment_inserted Online documentation} */ interface OnEquipmentInsertedEvent extends EventData { /** @@ -947,7 +947,7 @@ declare module "factorio:runtime" { } /** * Called after equipment is removed from an equipment grid. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_equipment_removed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_equipment_removed Online documentation} */ interface OnEquipmentRemovedEvent extends EventData { /** @@ -977,7 +977,7 @@ declare module "factorio:runtime" { } /** * Called when the a forces cease fire values change. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_force_cease_fire_changed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_force_cease_fire_changed Online documentation} */ interface OnForceCeaseFireChangedEvent extends EventData { /** @@ -1005,7 +1005,7 @@ declare module "factorio:runtime" { * Called when a new force is created using `game.create_force()` * * This is not called when the default forces (`'player'`, `'enemy'`, `'neutral'`) are created as they will always exist. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_force_created Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_force_created Online documentation} */ interface OnForceCreatedEvent extends EventData { /** @@ -1023,7 +1023,7 @@ declare module "factorio:runtime" { } /** * Called when the a forces friends change. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_force_friends_changed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_force_friends_changed Online documentation} */ interface OnForceFriendsChangedEvent extends EventData { /** @@ -1049,7 +1049,7 @@ declare module "factorio:runtime" { } /** * Called when {@link LuaForce#reset LuaForce::reset} is finished. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_force_reset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_force_reset Online documentation} */ interface OnForceResetEvent extends EventData { readonly force: LuaForce @@ -1066,7 +1066,7 @@ declare module "factorio:runtime" { * Called after two forces have been merged using `game.merge_forces()`. * * The source force is invalidated before this event is called and the name can be re-used in this event if desired. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_forces_merged Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_forces_merged Online documentation} */ interface OnForcesMergedEvent extends EventData { /** @@ -1092,7 +1092,7 @@ declare module "factorio:runtime" { } /** * Called when two forces are about to be merged using `game.merge_forces()`. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_forces_merging Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_forces_merging Online documentation} */ interface OnForcesMergingEvent extends EventData { /** @@ -1116,7 +1116,7 @@ declare module "factorio:runtime" { * Called when a game is created from a scenario. This is fired for every mod, even when the scenario's save data already includes it. In those cases however, {@link LuaBootstrap#on_init LuaBootstrap::on_init} is not fired. * * This event is not fired when the scenario is loaded via the map editor. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_game_created_from_scenario Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_game_created_from_scenario Online documentation} */ interface OnGameCreatedFromScenarioEvent extends EventData { /** @@ -1130,7 +1130,7 @@ declare module "factorio:runtime" { } /** * Called when {@link LuaGuiElement} checked state is changed (related to checkboxes and radio buttons). - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_gui_checked_state_changed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_gui_checked_state_changed Online documentation} */ interface OnGuiCheckedStateChangedEvent extends EventData { /** @@ -1152,7 +1152,7 @@ declare module "factorio:runtime" { } /** * Called when {@link LuaGuiElement} is clicked. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_gui_click Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_gui_click Online documentation} */ interface OnGuiClickEvent extends EventData { /** @@ -1198,7 +1198,7 @@ declare module "factorio:runtime" { * This can only be raised when the GUI's player controller is still valid. If a GUI is thus closed due to the player disconnecting, dying, or becoming a spectator in other ways, it won't cause this event to be raised. * * It's not advised to open any other GUI during this event because if this is run as a request to open a different GUI the game will force close the new opened GUI without notice to ensure the original requested GUI is opened. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_gui_closed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_gui_closed Online documentation} */ interface OnGuiClosedEvent extends EventData { /** @@ -1252,7 +1252,7 @@ declare module "factorio:runtime" { } /** * Called when a {@link LuaGuiElement} is confirmed, for example by pressing Enter in a textfield. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_gui_confirmed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_gui_confirmed Online documentation} */ interface OnGuiConfirmedEvent extends EventData { /** @@ -1286,7 +1286,7 @@ declare module "factorio:runtime" { } /** * Called when {@link LuaGuiElement} element value is changed (related to choose element buttons). - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_gui_elem_changed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_gui_elem_changed Online documentation} */ interface OnGuiElemChangedEvent extends EventData { /** @@ -1310,7 +1310,7 @@ declare module "factorio:runtime" { * Called when {@link LuaGuiElement} is hovered by the mouse. * * Only fired for events whose {@link LuaGuiElement#raise_hover_events LuaGuiElement::raise_hover_events} is `true`. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_gui_hover Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_gui_hover Online documentation} */ interface OnGuiHoverEvent extends EventData { /** @@ -1332,7 +1332,7 @@ declare module "factorio:runtime" { } /** * Called when a player interacts with a custom inventory GUI. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_gui_inventory_action Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_gui_inventory_action Online documentation} */ interface OnGuiInventoryActionEvent extends EventData { /** @@ -1392,7 +1392,7 @@ declare module "factorio:runtime" { * Called when the player's cursor leaves a {@link LuaGuiElement} that was previously hovered. * * Only fired for events whose {@link LuaGuiElement#raise_hover_events LuaGuiElement::raise_hover_events} is `true`. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_gui_leave Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_gui_leave Online documentation} */ interface OnGuiLeaveEvent extends EventData { /** @@ -1414,7 +1414,7 @@ declare module "factorio:runtime" { } /** * Called when {@link LuaGuiElement} element location is changed (related to frames in `player.gui.screen`). - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_gui_location_changed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_gui_location_changed Online documentation} */ interface OnGuiLocationChangedEvent extends EventData { /** @@ -1436,7 +1436,7 @@ declare module "factorio:runtime" { } /** * Called when the player opens a GUI. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_gui_opened Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_gui_opened Online documentation} */ interface OnGuiOpenedEvent extends EventData { /** @@ -1490,7 +1490,7 @@ declare module "factorio:runtime" { } /** * Called when {@link LuaGuiElement} selected tab is changed (related to tabbed-panes). - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_gui_selected_tab_changed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_gui_selected_tab_changed Online documentation} */ interface OnGuiSelectedTabChangedEvent extends EventData { /** @@ -1512,7 +1512,7 @@ declare module "factorio:runtime" { } /** * Called when {@link LuaGuiElement} selection state is changed (related to drop-downs and listboxes). - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_gui_selection_state_changed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_gui_selection_state_changed Online documentation} */ interface OnGuiSelectionStateChangedEvent extends EventData { /** @@ -1534,7 +1534,7 @@ declare module "factorio:runtime" { } /** * Called when {@link LuaGuiElement} switch state is changed (related to switches). - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_gui_switch_state_changed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_gui_switch_state_changed Online documentation} */ interface OnGuiSwitchStateChangedEvent extends EventData { /** @@ -1556,7 +1556,7 @@ declare module "factorio:runtime" { } /** * Called when {@link LuaGuiElement} text is changed by the player. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_gui_text_changed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_gui_text_changed Online documentation} */ interface OnGuiTextChangedEvent extends EventData { /** @@ -1582,7 +1582,7 @@ declare module "factorio:runtime" { } /** * Called when {@link LuaGuiElement} slider value is changed (related to the slider element). - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_gui_value_changed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_gui_value_changed Online documentation} */ interface OnGuiValueChangedEvent extends EventData { /** @@ -1604,7 +1604,7 @@ declare module "factorio:runtime" { } /** * Called when a land mine is armed. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_land_mine_armed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_land_mine_armed Online documentation} */ interface OnLandMineArmedEvent extends EventData { readonly mine: LuaEntity @@ -1619,7 +1619,7 @@ declare module "factorio:runtime" { } /** * Called when a custom {@link import("factorio:prototype").ShortcutPrototype Lua shortcut} is pressed. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_lua_shortcut Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_lua_shortcut Online documentation} */ interface OnLuaShortcutEvent extends EventData { readonly player_index: PlayerIndex @@ -1640,7 +1640,7 @@ declare module "factorio:runtime" { * Called when an entity is marked for deconstruction with the Deconstruction planner or via script. * * Event filter: [LuaEntityMarkedForDeconstructionEventFilter](LuaEntityMarkedForDeconstructionEventFilter] - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_marked_for_deconstruction Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_marked_for_deconstruction Online documentation} */ interface OnMarkedForDeconstructionEvent extends EventData { readonly entity: LuaEntity @@ -1658,7 +1658,7 @@ declare module "factorio:runtime" { * Called when an entity is marked for upgrade with the upgrade planner or via script. * * Event filter: [LuaEntityMarkedForUpgradeEventFilter](LuaEntityMarkedForUpgradeEventFilter] - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_marked_for_upgrade Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_marked_for_upgrade Online documentation} */ interface OnMarkedForUpgradeEvent extends EventData { readonly player_index?: PlayerIndex @@ -1687,7 +1687,7 @@ declare module "factorio:runtime" { } /** * Called after a player purchases some offer from a `market` entity. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_market_item_purchased Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_market_item_purchased Online documentation} */ interface OnMarketItemPurchasedEvent extends EventData { /** @@ -1717,7 +1717,7 @@ declare module "factorio:runtime" { } /** * Called when the player uses the 'Open item GUI' control on an item defined with the 'mod-openable' flag - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_mod_item_opened Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_mod_item_opened Online documentation} */ interface OnModItemOpenedEvent extends EventData { /** @@ -1743,7 +1743,7 @@ declare module "factorio:runtime" { } /** * Called when {@link LuaGameScript#is_multiplayer LuaGameScript::is_multiplayer} changes to true. May also be raised when it was already true but a game was loaded from a save file and with hosting. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_multiplayer_init Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_multiplayer_init Online documentation} */ interface OnMultiplayerInitEvent extends EventData { /** @@ -1757,7 +1757,7 @@ declare module "factorio:runtime" { } /** * Called when value of {@link LuaSurface#daytime LuaSurface::daytime} wraps around to be in `[0, 1)` range. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_next_day_started Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_next_day_started Online documentation} */ interface OnNextDayStartedEvent extends EventData { readonly surface: LuaSurface @@ -1774,7 +1774,7 @@ declare module "factorio:runtime" { * Called after an object is destroyed which was registered with {@link LuaBootstrap#register_on_object_destroyed LuaBootstrap::register_on_object_destroyed} previously. * * Depending on when a given object is destroyed, this event will be fired at the end of the current tick or at the end of the next tick. The event's timing is independent of the in-world object being destroyed. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_object_destroyed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_object_destroyed Online documentation} */ interface OnObjectDestroyedEvent extends EventData { /** @@ -1800,7 +1800,7 @@ declare module "factorio:runtime" { } /** * Called directly after a permission group is added. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_permission_group_added Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_permission_group_added Online documentation} */ interface OnPermissionGroupAddedEvent extends EventData { /** @@ -1822,7 +1822,7 @@ declare module "factorio:runtime" { } /** * Called directly after a permission group is deleted. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_permission_group_deleted Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_permission_group_deleted Online documentation} */ interface OnPermissionGroupDeletedEvent extends EventData { /** @@ -1848,7 +1848,7 @@ declare module "factorio:runtime" { } /** * Called directly after a permission group is edited in some way. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_permission_group_edited Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_permission_group_edited Online documentation} */ interface OnPermissionGroupEditedEvent extends EventData { /** @@ -1891,7 +1891,7 @@ declare module "factorio:runtime" { } /** * Called directly after a permission string is imported. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_permission_string_imported Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_permission_string_imported Online documentation} */ interface OnPermissionStringImportedEvent extends EventData { /** @@ -1909,7 +1909,7 @@ declare module "factorio:runtime" { } /** * Called when a player picks up an item. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_picked_up_item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_picked_up_item Online documentation} */ interface OnPickedUpItemEvent extends EventData { readonly item_stack: ItemWithQualityCount @@ -1925,7 +1925,7 @@ declare module "factorio:runtime" { } /** * Called after a player alt-reverse-selects an area with a selection-tool item. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_alt_reverse_selected_area Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_alt_reverse_selected_area Online documentation} */ interface OnPlayerAltReverseSelectedAreaEvent extends EventData { /** @@ -1972,7 +1972,7 @@ declare module "factorio:runtime" { } /** * Called after a player alt-selects an area with a selection-tool item. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_alt_selected_area Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_alt_selected_area Online documentation} */ interface OnPlayerAltSelectedAreaEvent extends EventData { /** @@ -2023,7 +2023,7 @@ declare module "factorio:runtime" { } /** * Called after a players ammo inventory changed in some way. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_ammo_inventory_changed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_ammo_inventory_changed Online documentation} */ interface OnPlayerAmmoInventoryChangedEvent extends EventData { readonly player_index: PlayerIndex @@ -2038,7 +2038,7 @@ declare module "factorio:runtime" { } /** * Called after a players armor inventory changed in some way. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_armor_inventory_changed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_armor_inventory_changed Online documentation} */ interface OnPlayerArmorInventoryChangedEvent extends EventData { readonly player_index: PlayerIndex @@ -2053,7 +2053,7 @@ declare module "factorio:runtime" { } /** * Called when a player is banned. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_banned Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_banned Online documentation} */ interface OnPlayerBannedEvent extends EventData { /** @@ -2083,7 +2083,7 @@ declare module "factorio:runtime" { } /** * Called after a player builds tiles. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_built_tile Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_built_tile Online documentation} */ interface OnPlayerBuiltTileEvent extends EventData { readonly player_index: PlayerIndex @@ -2124,7 +2124,7 @@ declare module "factorio:runtime" { * Called after a player cancels their attempt to select an area with a selection-tool item that has {@link import("factorio:prototype").SelectionToolPrototype#send_pre_selection_events SelectionToolPrototype::send_pre_selection_events} set to `true`. * * Because a player's selection state exists solely on their local client and not in game state, this event and the other area preselection events are provided with "best effort", but are not guaranteed. In some situations, such as after loading an existing save or in a multiplayer game, preselection events may not be received in an order that makes sense for the current game state or may be dropped altogether. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_cancel_selected_area Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_cancel_selected_area Online documentation} */ interface OnPlayerCancelSelectedAreaEvent extends EventData { /** @@ -2175,7 +2175,7 @@ declare module "factorio:runtime" { } /** * Called when a player cancels crafting. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_cancelled_crafting Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_cancelled_crafting Online documentation} */ interface OnPlayerCancelledCraftingEvent extends EventData { /** @@ -2207,7 +2207,7 @@ declare module "factorio:runtime" { * Called after a player changes the selection area or selection type with a selection-tool item that has {@link import("factorio:prototype").SelectionToolPrototype#send_pre_selection_events SelectionToolPrototype::send_pre_selection_events} set to `true`. * * Because a player's selection state exists solely on their local client and not in game state, this event and the other area preselection events are provided with "best effort", but are not guaranteed. In some situations, such as after loading an existing save or in a multiplayer game, preselection events may not be received in an order that makes sense for the current game state or may be dropped altogether. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_change_selected_area Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_change_selected_area Online documentation} */ interface OnPlayerChangeSelectedAreaEvent extends EventData { /** @@ -2258,7 +2258,7 @@ declare module "factorio:runtime" { } /** * Called after a player changes forces. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_changed_force Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_changed_force Online documentation} */ interface OnPlayerChangedForceEvent extends EventData { /** @@ -2280,7 +2280,7 @@ declare module "factorio:runtime" { } /** * Called when the tile position a player is located at changes. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_changed_position Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_changed_position Online documentation} */ interface OnPlayerChangedPositionEvent extends EventData { /** @@ -2298,7 +2298,7 @@ declare module "factorio:runtime" { } /** * Called after a player changes surfaces. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_changed_surface Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_changed_surface Online documentation} */ interface OnPlayerChangedSurfaceEvent extends EventData { /** @@ -2320,7 +2320,7 @@ declare module "factorio:runtime" { } /** * Called when cheat mode is disabled on a player. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_cheat_mode_disabled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_cheat_mode_disabled Online documentation} */ interface OnPlayerCheatModeDisabledEvent extends EventData { /** @@ -2338,7 +2338,7 @@ declare module "factorio:runtime" { } /** * Called when cheat mode is enabled on a player. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_cheat_mode_enabled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_cheat_mode_enabled Online documentation} */ interface OnPlayerCheatModeEnabledEvent extends EventData { /** @@ -2356,7 +2356,7 @@ declare module "factorio:runtime" { } /** * Called when a player clicks a gps tag - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_clicked_gps_tag Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_clicked_gps_tag Online documentation} */ interface OnPlayerClickedGpsTagEvent extends EventData { /** @@ -2382,7 +2382,7 @@ declare module "factorio:runtime" { } /** * Called after a player's color changes. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_color_changed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_color_changed Online documentation} */ interface OnPlayerColorChangedEvent extends EventData { /** @@ -2412,7 +2412,7 @@ declare module "factorio:runtime" { } /** * Called when a player clicks the "confirm" button in the configure Blueprint GUI. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_configured_blueprint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_configured_blueprint Online documentation} */ interface OnPlayerConfiguredBlueprintEvent extends EventData { /** @@ -2430,7 +2430,7 @@ declare module "factorio:runtime" { } /** * Called after a player changes controller types. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_controller_changed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_controller_changed Online documentation} */ interface OnPlayerControllerChangedEvent extends EventData { /** @@ -2452,7 +2452,7 @@ declare module "factorio:runtime" { } /** * Called when the player finishes crafting an item. This event fires just before the results are inserted into the player's inventory, not when the crafting is queued (see {@link OnPrePlayerCraftedItemEvent on_pre_player_crafted_item}). - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_crafted_item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_crafted_item Online documentation} */ interface OnPlayerCraftedItemEvent extends EventData { /** @@ -2478,7 +2478,7 @@ declare module "factorio:runtime" { } /** * Called after the player was created. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_created Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_created Online documentation} */ interface OnPlayerCreatedEvent extends EventData { readonly player_index: PlayerIndex @@ -2495,7 +2495,7 @@ declare module "factorio:runtime" { * Called after a player's {@link LuaControl#cursor_stack cursor stack} changed in some way. * * This is fired in the same tick that the change happens, but not instantly. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_cursor_stack_changed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_cursor_stack_changed Online documentation} */ interface OnPlayerCursorStackChangedEvent extends EventData { readonly player_index: PlayerIndex @@ -2510,7 +2510,7 @@ declare module "factorio:runtime" { } /** * Called when a player selects an area with a deconstruction planner. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_deconstructed_area Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_deconstructed_area Online documentation} */ interface OnPlayerDeconstructedAreaEvent extends EventData { /** @@ -2565,7 +2565,7 @@ declare module "factorio:runtime" { } /** * Called when a player is demoted. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_demoted Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_demoted Online documentation} */ interface OnPlayerDemotedEvent extends EventData { /** @@ -2583,7 +2583,7 @@ declare module "factorio:runtime" { } /** * Called after a player dies. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_died Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_died Online documentation} */ interface OnPlayerDiedEvent extends EventData { readonly player_index: PlayerIndex @@ -2599,7 +2599,7 @@ declare module "factorio:runtime" { } /** * Called when the display density scale changes for a given player. The display density scale is the scale value automatically applied based on the player's display DPI. This is only relevant on platforms that support high-density displays. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_display_density_scale_changed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_display_density_scale_changed Online documentation} */ interface OnPlayerDisplayDensityScaleChangedEvent extends EventData { /** @@ -2621,7 +2621,7 @@ declare module "factorio:runtime" { } /** * Called when the display resolution changes for a given player. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_display_resolution_changed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_display_resolution_changed Online documentation} */ interface OnPlayerDisplayResolutionChangedEvent extends EventData { /** @@ -2643,7 +2643,7 @@ declare module "factorio:runtime" { } /** * Called when the display scale changes for a given player. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_display_scale_changed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_display_scale_changed Online documentation} */ interface OnPlayerDisplayScaleChangedEvent extends EventData { /** @@ -2667,7 +2667,7 @@ declare module "factorio:runtime" { * Called when the player's driving state has changed, meaning a player has either entered or left a vehicle. * * This event is not raised when the player is ejected from a vehicle due to it being destroyed. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_driving_changed_state Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_driving_changed_state Online documentation} */ interface OnPlayerDrivingChangedStateEvent extends EventData { readonly player_index: PlayerIndex @@ -2686,7 +2686,7 @@ declare module "factorio:runtime" { } /** * Called when a player drops an item on the ground. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_dropped_item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_dropped_item Online documentation} */ interface OnPlayerDroppedItemEvent extends EventData { readonly player_index: PlayerIndex @@ -2705,7 +2705,7 @@ declare module "factorio:runtime" { } /** * Called when a player drops a single item into an entity. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_dropped_item_into_entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_dropped_item_into_entity Online documentation} */ interface OnPlayerDroppedItemIntoEntityEvent extends EventData { readonly player_index: PlayerIndex @@ -2724,7 +2724,7 @@ declare module "factorio:runtime" { } /** * Called when a player fast-transfers something to or from an entity. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_fast_transferred Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_fast_transferred Online documentation} */ interface OnPlayerFastTransferredEvent extends EventData { /** @@ -2756,7 +2756,7 @@ declare module "factorio:runtime" { * Called when the player flips an entity. This event is only fired when the entity actually changes its orientation or mirroring, so it won't be triggered when pressing the flip keys on an entity that can't be flipped. * * This event reflects a change in the {@link LuaEntity#mirroring LuaEntity::mirroring} property. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_flipped_entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_flipped_entity Online documentation} */ interface OnPlayerFlippedEntityEvent extends EventData { /** @@ -2779,7 +2779,7 @@ declare module "factorio:runtime" { } /** * Called after player flushed fluid - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_flushed_fluid Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_flushed_fluid Online documentation} */ interface OnPlayerFlushedFluidEvent extends EventData { /** @@ -2813,7 +2813,7 @@ declare module "factorio:runtime" { } /** * Called after a players gun inventory changed in some way. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_gun_inventory_changed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_gun_inventory_changed Online documentation} */ interface OnPlayerGunInventoryChangedEvent extends EventData { readonly player_index: PlayerIndex @@ -2828,7 +2828,7 @@ declare module "factorio:runtime" { } /** * Called when a player's input method changes. See {@link LuaPlayer#input_method LuaPlayer::input_method}. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_input_method_changed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_input_method_changed Online documentation} */ interface OnPlayerInputMethodChangedEvent extends EventData { /** @@ -2846,7 +2846,7 @@ declare module "factorio:runtime" { } /** * Called after a player joins the game. This is not called when loading a save file in singleplayer, as the player doesn't actually leave the game, and the save is just on pause until they rejoin. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_joined_game Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_joined_game Online documentation} */ interface OnPlayerJoinedGameEvent extends EventData { readonly player_index: PlayerIndex @@ -2861,7 +2861,7 @@ declare module "factorio:runtime" { } /** * Called when a player is kicked. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_kicked Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_kicked Online documentation} */ interface OnPlayerKickedEvent extends EventData { /** @@ -2887,7 +2887,7 @@ declare module "factorio:runtime" { } /** * Called after a player leaves the game. This is not called when closing a save file in singleplayer, as the player doesn't actually leave the game, and the save is just on pause until they rejoin. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_left_game Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_left_game Online documentation} */ interface OnPlayerLeftGameEvent extends EventData { readonly player_index: PlayerIndex @@ -2903,7 +2903,7 @@ declare module "factorio:runtime" { } /** * Called when a player's active locale changes. See {@link LuaPlayer#locale LuaPlayer::locale}. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_locale_changed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_locale_changed Online documentation} */ interface OnPlayerLocaleChangedEvent extends EventData { /** @@ -2925,7 +2925,7 @@ declare module "factorio:runtime" { } /** * Called after a players main inventory changed in some way. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_main_inventory_changed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_main_inventory_changed Online documentation} */ interface OnPlayerMainInventoryChangedEvent extends EventData { readonly player_index: PlayerIndex @@ -2946,7 +2946,7 @@ declare module "factorio:runtime" { * The buffer inventory is special in that it's only valid during this event and has a dynamic size expanding as more items are transferred into it. * * Event filter: [LuaPlayerMinedEntityEventFilter](LuaPlayerMinedEntityEventFilter] - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_mined_entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_mined_entity Online documentation} */ interface OnPlayerMinedEntityEvent extends EventData { /** @@ -2972,7 +2972,7 @@ declare module "factorio:runtime" { } /** * Called when the player mines something. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_mined_item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_mined_item Online documentation} */ interface OnPlayerMinedItemEvent extends EventData { /** @@ -2991,7 +2991,7 @@ declare module "factorio:runtime" { } /** * Called after a player mines tiles. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_mined_tile Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_mined_tile Online documentation} */ interface OnPlayerMinedTileEvent extends EventData { readonly player_index: PlayerIndex @@ -3014,7 +3014,7 @@ declare module "factorio:runtime" { } /** * Called when a player's current music track (ambient sound) changes. This includes when the music track finishes playing. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_music_changed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_music_changed Online documentation} */ interface OnPlayerMusicChangedEvent extends EventData { /** @@ -3032,7 +3032,7 @@ declare module "factorio:runtime" { } /** * Called when a player is muted. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_muted Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_muted Online documentation} */ interface OnPlayerMutedEvent extends EventData { /** @@ -3050,7 +3050,7 @@ declare module "factorio:runtime" { } /** * Called when a player invokes the "smart pipette" over an entity. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_pipette Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_pipette Online documentation} */ interface OnPlayerPipetteEvent extends EventData { /** @@ -3080,7 +3080,7 @@ declare module "factorio:runtime" { } /** * Called after the player puts equipment in an equipment grid - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_placed_equipment Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_placed_equipment Online documentation} */ interface OnPlayerPlacedEquipmentEvent extends EventData { readonly player_index: PlayerIndex @@ -3103,7 +3103,7 @@ declare module "factorio:runtime" { } /** * Called when a player is promoted. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_promoted Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_promoted Online documentation} */ interface OnPlayerPromotedEvent extends EventData { /** @@ -3121,7 +3121,7 @@ declare module "factorio:runtime" { } /** * Called when a player is removed (deleted) from the game. This is markedly different from a player temporarily {@link OnPlayerLeftGameEvent leaving} the game, and instead behaves like the player never existed in the save file. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_removed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_removed Online documentation} */ interface OnPlayerRemovedEvent extends EventData { /** @@ -3139,7 +3139,7 @@ declare module "factorio:runtime" { } /** * Called after the player removes equipment from an equipment grid - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_removed_equipment Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_removed_equipment Online documentation} */ interface OnPlayerRemovedEquipmentEvent extends EventData { readonly player_index: PlayerIndex @@ -3172,7 +3172,7 @@ declare module "factorio:runtime" { * Called when a player repairs an entity. * * Event filter: [LuaPlayerRepairedEntityEventFilter](LuaPlayerRepairedEntityEventFilter] - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_repaired_entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_repaired_entity Online documentation} */ interface OnPlayerRepairedEntityEvent extends EventData { readonly player_index: PlayerIndex @@ -3188,14 +3188,10 @@ declare module "factorio:runtime" { } /** * Called after a player respawns. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_respawned Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_respawned Online documentation} */ interface OnPlayerRespawnedEvent extends EventData { readonly player_index: PlayerIndex - /** - * The player port used to respawn if one was used. - */ - readonly player_port?: LuaEntity /** * Identifier of the event. */ @@ -3207,7 +3203,7 @@ declare module "factorio:runtime" { } /** * Called after a player reverse-selects an area with a selection-tool item. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_reverse_selected_area Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_reverse_selected_area Online documentation} */ interface OnPlayerReverseSelectedAreaEvent extends EventData { /** @@ -3256,7 +3252,7 @@ declare module "factorio:runtime" { * Called when the player rotates an entity. This event is only fired when the entity actually changes its orientation -- pressing the rotate key on an entity that can't be rotated won't fire this event. * * Entities being flipped will not fire this event, even if the flip involves rotating. See {@link OnPlayerFlippedEntityEvent on_player_flipped_entity}. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_rotated_entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_rotated_entity Online documentation} */ interface OnPlayerRotatedEntityEvent extends EventData { /** @@ -3280,7 +3276,7 @@ declare module "factorio:runtime" { } /** * Called after a player selects an area with a selection-tool item. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_selected_area Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_selected_area Online documentation} */ interface OnPlayerSelectedAreaEvent extends EventData { /** @@ -3331,7 +3327,7 @@ declare module "factorio:runtime" { } /** * Called when a player sets a quickbar slot to anything (new value, or set to empty). - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_set_quick_bar_slot Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_set_quick_bar_slot Online documentation} */ interface OnPlayerSetQuickBarSlotEvent extends EventData { readonly player_index: PlayerIndex @@ -3346,7 +3342,7 @@ declare module "factorio:runtime" { } /** * Called when a player selects an area with a blueprint. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_setup_blueprint Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_setup_blueprint Online documentation} */ interface OnPlayerSetupBlueprintEvent extends EventData { /** @@ -3406,7 +3402,7 @@ declare module "factorio:runtime" { * Called after a player starts to select an area with a selection-tool item that has {@link import("factorio:prototype").SelectionToolPrototype#send_pre_selection_events SelectionToolPrototype::send_pre_selection_events} set to `true`. * * Because a player's selection state exists solely on their local client and not in game state, this event and the other area preselection events are provided with "best effort", but are not guaranteed. In some situations, such as after loading an existing save or in a multiplayer game, preselection events may not be received in an order that makes sense for the current game state or may be dropped altogether. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_start_selected_area Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_start_selected_area Online documentation} */ interface OnPlayerStartSelectedAreaEvent extends EventData { /** @@ -3457,7 +3453,7 @@ declare module "factorio:runtime" { } /** * Called after a player super-forced-selects an area with a selection-tool item. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_super_forced_selected_area Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_super_forced_selected_area Online documentation} */ interface OnPlayerSuperForcedSelectedAreaEvent extends EventData { /** @@ -3508,7 +3504,7 @@ declare module "factorio:runtime" { } /** * Called when a player toggles alt mode, also known as "show entity info". - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_toggled_alt_mode Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_toggled_alt_mode Online documentation} */ interface OnPlayerToggledAltModeEvent extends EventData { readonly player_index: PlayerIndex @@ -3527,7 +3523,7 @@ declare module "factorio:runtime" { } /** * Called when a player toggles the map editor on or off. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_toggled_map_editor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_toggled_map_editor Online documentation} */ interface OnPlayerToggledMapEditorEvent extends EventData { readonly player_index: PlayerIndex @@ -3542,7 +3538,7 @@ declare module "factorio:runtime" { } /** * Called after a players trash inventory changed in some way. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_trash_inventory_changed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_trash_inventory_changed Online documentation} */ interface OnPlayerTrashInventoryChangedEvent extends EventData { readonly player_index: PlayerIndex @@ -3557,7 +3553,7 @@ declare module "factorio:runtime" { } /** * Called when a player is un-banned. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_unbanned Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_unbanned Online documentation} */ interface OnPlayerUnbannedEvent extends EventData { /** @@ -3587,7 +3583,7 @@ declare module "factorio:runtime" { } /** * Called when a player is unmuted. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_unmuted Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_unmuted Online documentation} */ interface OnPlayerUnmutedEvent extends EventData { /** @@ -3605,7 +3601,7 @@ declare module "factorio:runtime" { } /** * Called when a player uses a capsule that results in some game action. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_used_capsule Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_used_capsule Online documentation} */ interface OnPlayerUsedCapsuleEvent extends EventData { /** @@ -3635,7 +3631,7 @@ declare module "factorio:runtime" { } /** * Called when a player uses spidertron remote to send all selected units to a given position - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_player_used_spidertron_remote Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_player_used_spidertron_remote Online documentation} */ interface OnPlayerUsedSpidertronRemoteEvent extends EventData { /** @@ -3659,7 +3655,7 @@ declare module "factorio:runtime" { * Called after an entity dies. * * Event filter: [LuaPostEntityDiedEventFilter](LuaPostEntityDiedEventFilter] - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_post_entity_died Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_post_entity_died Online documentation} */ interface OnPostEntityDiedEvent extends EventData { /** @@ -3711,7 +3707,7 @@ declare module "factorio:runtime" { * Called after a segmented unit dies. * * Event filter: [LuaPostSegmentedUnitDiedEventFilter](LuaPostSegmentedUnitDiedEventFilter] - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_post_segmented_unit_died Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_post_segmented_unit_died Online documentation} */ interface OnPostSegmentedUnitDiedEvent extends EventData { /** @@ -3753,7 +3749,7 @@ declare module "factorio:runtime" { } /** * Called when players uses an item to build something. Called before {@link OnBuiltEntityEvent on_built_entity}. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_pre_build Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_pre_build Online documentation} */ interface OnPreBuildEvent extends EventData { /** @@ -3799,7 +3795,7 @@ declare module "factorio:runtime" { } /** * Called before one or more chunks are deleted using {@link LuaSurface#delete_chunk LuaSurface::delete_chunk}. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_pre_chunk_deleted Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_pre_chunk_deleted Online documentation} */ interface OnPreChunkDeletedEvent extends EventData { readonly surface_index: SurfaceIndex @@ -3818,7 +3814,7 @@ declare module "factorio:runtime" { } /** * Called before entity copy-paste is done. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_pre_entity_settings_pasted Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_pre_entity_settings_pasted Online documentation} */ interface OnPreEntitySettingsPastedEvent extends EventData { readonly player_index: PlayerIndex @@ -3845,7 +3841,7 @@ declare module "factorio:runtime" { * Also called for item request proxies before they are destroyed as a result of being marked for deconstruction. * * Event filter: [LuaPreGhostDeconstructedEventFilter](LuaPreGhostDeconstructedEventFilter] - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_pre_ghost_deconstructed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_pre_ghost_deconstructed Online documentation} */ interface OnPreGhostDeconstructedEvent extends EventData { /** @@ -3866,7 +3862,7 @@ declare module "factorio:runtime" { * Called before a ghost entity is upgraded. * * Event filter: [LuaPreGhostUpgradedEventFilter](LuaPreGhostUpgradedEventFilter] - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_pre_ghost_upgraded Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_pre_ghost_upgraded Online documentation} */ interface OnPreGhostUpgradedEvent extends EventData { /** @@ -3887,7 +3883,7 @@ declare module "factorio:runtime" { } /** * Called directly before a permission group is deleted. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_pre_permission_group_deleted Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_pre_permission_group_deleted Online documentation} */ interface OnPrePermissionGroupDeletedEvent extends EventData { /** @@ -3909,7 +3905,7 @@ declare module "factorio:runtime" { } /** * Called directly before a permission string is imported. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_pre_permission_string_imported Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_pre_permission_string_imported Online documentation} */ interface OnPrePermissionStringImportedEvent extends EventData { /** @@ -3927,7 +3923,7 @@ declare module "factorio:runtime" { } /** * Called when a player queues something to be crafted. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_pre_player_crafted_item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_pre_player_crafted_item Online documentation} */ interface OnPrePlayerCraftedItemEvent extends EventData { /** @@ -3957,7 +3953,7 @@ declare module "factorio:runtime" { } /** * Called before a players dies. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_pre_player_died Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_pre_player_died Online documentation} */ interface OnPrePlayerDiedEvent extends EventData { readonly player_index: PlayerIndex @@ -3973,7 +3969,7 @@ declare module "factorio:runtime" { } /** * Called before a player leaves the game. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_pre_player_left_game Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_pre_player_left_game Online documentation} */ interface OnPrePlayerLeftGameEvent extends EventData { readonly player_index: PlayerIndex @@ -3991,7 +3987,7 @@ declare module "factorio:runtime" { * Called when the player completes a mining action, but before the entity is potentially removed from the map. This is called even if the entity does not end up being removed. * * Event filter: [LuaPrePlayerMinedEntityEventFilter](LuaPrePlayerMinedEntityEventFilter] - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_pre_player_mined_item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_pre_player_mined_item Online documentation} */ interface OnPrePlayerMinedItemEvent extends EventData { /** @@ -4010,7 +4006,7 @@ declare module "factorio:runtime" { } /** * Called before a player is removed (deleted) from the game. This is markedly different from a player temporarily {@link OnPlayerLeftGameEvent leaving} the game, and instead behaves like the player never existed in the save file. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_pre_player_removed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_pre_player_removed Online documentation} */ interface OnPrePlayerRemovedEvent extends EventData { /** @@ -4028,7 +4024,7 @@ declare module "factorio:runtime" { } /** * Called before a player toggles the map editor on or off. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_pre_player_toggled_map_editor Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_pre_player_toggled_map_editor Online documentation} */ interface OnPrePlayerToggledMapEditorEvent extends EventData { readonly player_index: PlayerIndex @@ -4043,7 +4039,7 @@ declare module "factorio:runtime" { } /** * Called directly before a robot explodes cliffs. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_pre_robot_exploded_cliff Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_pre_robot_exploded_cliff Online documentation} */ interface OnPreRobotExplodedCliffEvent extends EventData { readonly robot: LuaEntity @@ -4067,7 +4063,7 @@ declare module "factorio:runtime" { } /** * Called just before the scenario finishes. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_pre_scenario_finished Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_pre_scenario_finished Online documentation} */ interface OnPreScenarioFinishedEvent extends EventData { /** @@ -4085,7 +4081,7 @@ declare module "factorio:runtime" { } /** * Called just before a script inventory is resized. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_pre_script_inventory_resized Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_pre_script_inventory_resized Online documentation} */ interface OnPreScriptInventoryResizedEvent extends EventData { /** @@ -4116,7 +4112,7 @@ declare module "factorio:runtime" { } /** * Called just before a surface is cleared (all entities removed and all chunks deleted). - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_pre_surface_cleared Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_pre_surface_cleared Online documentation} */ interface OnPreSurfaceClearedEvent extends EventData { readonly surface_index: SurfaceIndex @@ -4131,7 +4127,7 @@ declare module "factorio:runtime" { } /** * Called just before a surface is deleted. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_pre_surface_deleted Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_pre_surface_deleted Online documentation} */ interface OnPreSurfaceDeletedEvent extends EventData { readonly surface_index: SurfaceIndex @@ -4146,7 +4142,7 @@ declare module "factorio:runtime" { } /** * Called when the player triggers "redo". - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_redo_applied Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_redo_applied Online documentation} */ interface OnRedoAppliedEvent extends EventData { /** @@ -4168,7 +4164,7 @@ declare module "factorio:runtime" { } /** * Called when research is cancelled. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_research_cancelled Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_research_cancelled Online documentation} */ interface OnResearchCancelledEvent extends EventData { /** @@ -4194,7 +4190,7 @@ declare module "factorio:runtime" { } /** * Called when a research finishes. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_research_finished Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_research_finished Online documentation} */ interface OnResearchFinishedEvent extends EventData { /** @@ -4216,7 +4212,7 @@ declare module "factorio:runtime" { } /** * Called when research is moved forwards or backwards in the research queue. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_research_moved Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_research_moved Online documentation} */ interface OnResearchMovedEvent extends EventData { /** @@ -4238,7 +4234,7 @@ declare module "factorio:runtime" { } /** * Called when research is queued. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_research_queued Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_research_queued Online documentation} */ interface OnResearchQueuedEvent extends EventData { /** @@ -4264,7 +4260,7 @@ declare module "factorio:runtime" { } /** * Called when a research is reversed (unresearched). - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_research_reversed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_research_reversed Online documentation} */ interface OnResearchReversedEvent extends EventData { /** @@ -4286,7 +4282,7 @@ declare module "factorio:runtime" { } /** * Called when a technology research starts. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_research_started Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_research_started Online documentation} */ interface OnResearchStartedEvent extends EventData { /** @@ -4305,7 +4301,7 @@ declare module "factorio:runtime" { } /** * Called when a resource entity reaches 0 or its minimum yield for infinite resources. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_resource_depleted Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_resource_depleted Online documentation} */ interface OnResourceDepletedEvent extends EventData { readonly entity: LuaEntity @@ -4322,7 +4318,7 @@ declare module "factorio:runtime" { * Called when a construction robot builds an entity. * * Event filter: [LuaRobotBuiltEntityEventFilter](LuaRobotBuiltEntityEventFilter] - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_robot_built_entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_robot_built_entity Online documentation} */ interface OnRobotBuiltEntityEvent extends EventData { /** @@ -4352,7 +4348,7 @@ declare module "factorio:runtime" { } /** * Called after a robot builds tiles. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_robot_built_tile Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_robot_built_tile Online documentation} */ interface OnRobotBuiltTileEvent extends EventData { /** @@ -4394,7 +4390,7 @@ declare module "factorio:runtime" { } /** * Called directly after a robot explodes cliffs. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_robot_exploded_cliff Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_robot_exploded_cliff Online documentation} */ interface OnRobotExplodedCliffEvent extends EventData { readonly robot: LuaEntity @@ -4417,7 +4413,7 @@ declare module "factorio:runtime" { } /** * Called when a robot mines an entity. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_robot_mined Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_robot_mined Online documentation} */ interface OnRobotMinedEvent extends EventData { /** @@ -4445,7 +4441,7 @@ declare module "factorio:runtime" { * The buffer inventory is special in that it's only valid during this event and has a dynamic size expanding as more items are transferred into it. * * Event filter: [LuaRobotMinedEntityEventFilter](LuaRobotMinedEntityEventFilter] - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_robot_mined_entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_robot_mined_entity Online documentation} */ interface OnRobotMinedEntityEvent extends EventData { /** @@ -4471,7 +4467,7 @@ declare module "factorio:runtime" { } /** * Called after a robot mines tiles. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_robot_mined_tile Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_robot_mined_tile Online documentation} */ interface OnRobotMinedTileEvent extends EventData { /** @@ -4499,7 +4495,7 @@ declare module "factorio:runtime" { * Called before a robot mines an entity. * * Event filter: [LuaPreRobotMinedEntityEventFilter](LuaPreRobotMinedEntityEventFilter] - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_robot_pre_mined Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_robot_pre_mined Online documentation} */ interface OnRobotPreMinedEvent extends EventData { /** @@ -4521,7 +4517,7 @@ declare module "factorio:runtime" { } /** * Called when a rocket silo is ordered to be launched. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_rocket_launch_ordered Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_rocket_launch_ordered Online documentation} */ interface OnRocketLaunchOrderedEvent extends EventData { readonly rocket: LuaEntity @@ -4541,7 +4537,7 @@ declare module "factorio:runtime" { } /** * Called when a rocket finishes ascending. (Triggers listening for finished rocket launch past 2.0 have been moved to 'on_cargo_pod_finished_ascending' as rocket and cargo pod are two separate entities) - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_rocket_launched Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_rocket_launched Online documentation} */ interface OnRocketLaunchedEvent extends EventData { readonly rocket: LuaEntity @@ -4557,7 +4553,7 @@ declare module "factorio:runtime" { } /** * Called when a runtime mod setting is changed by a player. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_runtime_mod_setting_changed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_runtime_mod_setting_changed Online documentation} */ interface OnRuntimeModSettingChangedEvent extends EventData { /** @@ -4580,7 +4576,7 @@ declare module "factorio:runtime" { } /** * Called just after a script inventory is resized. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_script_inventory_resized Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_script_inventory_resized Online documentation} */ interface OnScriptInventoryResizedEvent extends EventData { /** @@ -4615,7 +4611,7 @@ declare module "factorio:runtime" { } /** * Called when a {@link LuaSurface#request_path LuaSurface::request_path} call completes. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_script_path_request_finished Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_script_path_request_finished Online documentation} */ interface OnScriptPathRequestFinishedEvent extends EventData { /** @@ -4641,7 +4637,7 @@ declare module "factorio:runtime" { } /** * Called when a script trigger effect is triggered. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_script_trigger_effect Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_script_trigger_effect Online documentation} */ interface OnScriptTriggerEffectEvent extends EventData { /** @@ -4674,7 +4670,7 @@ declare module "factorio:runtime" { * Called when an entity of type `radar` finishes scanning a sector. * * Event filter: [LuaSectorScannedEventFilter](LuaSectorScannedEventFilter] - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_sector_scanned Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_sector_scanned Online documentation} */ interface OnSectorScannedEvent extends EventData { /** @@ -4700,7 +4696,7 @@ declare module "factorio:runtime" { } /** * Called when an individual segment of a SegmentedUnit is created. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_segment_entity_created Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_segment_entity_created Online documentation} */ interface OnSegmentEntityCreatedEvent extends EventData { readonly entity: LuaEntity @@ -4717,7 +4713,7 @@ declare module "factorio:runtime" { * Called when a segmented unit is created for any reason. * * Event filter: [LuaSegmentedUnitCreatedEventFilter](LuaSegmentedUnitCreatedEventFilter] - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_segmented_unit_created Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_segmented_unit_created Online documentation} */ interface OnSegmentedUnitCreatedEvent extends EventData { /** @@ -4745,7 +4741,7 @@ declare module "factorio:runtime" { * Called when a segmented unit is damaged. This is not called when a segmented unit's health is set directly by another mod. * * Event filter: [LuaSegmentedUnitDamagedEventFilter](LuaSegmentedUnitDamagedEventFilter] - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_segmented_unit_damaged Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_segmented_unit_damaged Online documentation} */ interface OnSegmentedUnitDamagedEvent extends EventData { readonly segmented_unit: LuaSegmentedUnit @@ -4787,7 +4783,7 @@ declare module "factorio:runtime" { * Called when a segmented unit dies. * * Event filter: [LuaSegmentedUnitDiedEventFilter](LuaSegmentedUnitDiedEventFilter] - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_segmented_unit_died Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_segmented_unit_died Online documentation} */ interface OnSegmentedUnitDiedEvent extends EventData { /** @@ -4817,7 +4813,7 @@ declare module "factorio:runtime" { } /** * Called after the selected entity changes for a given player. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_selected_entity_changed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_selected_entity_changed Online documentation} */ interface OnSelectedEntityChangedEvent extends EventData { /** @@ -4839,7 +4835,7 @@ declare module "factorio:runtime" { } /** * Called when {@link LuaGameScript#is_multiplayer LuaGameScript::is_multiplayer} changes to false. May also be raised when it was already false but a game was loaded from a save file without hosting. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_singleplayer_init Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_singleplayer_init Online documentation} */ interface OnSingleplayerInitEvent extends EventData { /** @@ -4855,7 +4851,7 @@ declare module "factorio:runtime" { * Called when a space platform builds an entity. * * Event filter: [LuaPlatformBuiltEntityEventFilter](LuaPlatformBuiltEntityEventFilter] - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_space_platform_built_entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_space_platform_built_entity Online documentation} */ interface OnSpacePlatformBuiltEntityEvent extends EventData { /** @@ -4885,7 +4881,7 @@ declare module "factorio:runtime" { } /** * Called after a space platform builds tiles. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_space_platform_built_tile Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_space_platform_built_tile Online documentation} */ interface OnSpacePlatformBuiltTileEvent extends EventData { /** @@ -4927,7 +4923,7 @@ declare module "factorio:runtime" { } /** * Called when a space platform changes state - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_space_platform_changed_state Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_space_platform_changed_state Online documentation} */ interface OnSpacePlatformChangedStateEvent extends EventData { readonly platform: LuaSpacePlatform @@ -4949,7 +4945,7 @@ declare module "factorio:runtime" { * The buffer inventory is special in that it's only valid during this event and has a dynamic size expanding as more items are transferred into it. * * Event filter: [LuaPlatformMinedEntityEventFilter](LuaPlatformMinedEntityEventFilter] - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_space_platform_mined_entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_space_platform_mined_entity Online documentation} */ interface OnSpacePlatformMinedEntityEvent extends EventData { /** @@ -4975,7 +4971,7 @@ declare module "factorio:runtime" { } /** * Called when a platform mines an entity. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_space_platform_mined_item Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_space_platform_mined_item Online documentation} */ interface OnSpacePlatformMinedItemEvent extends EventData { /** @@ -4997,7 +4993,7 @@ declare module "factorio:runtime" { } /** * Called after a platform mines tiles. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_space_platform_mined_tile Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_space_platform_mined_tile Online documentation} */ interface OnSpacePlatformMinedTileEvent extends EventData { /** @@ -5025,7 +5021,7 @@ declare module "factorio:runtime" { * Called before a platform mines an entity. * * Event filter: [LuaPrePlatformMinedEntityEventFilter](LuaPrePlatformMinedEntityEventFilter] - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_space_platform_pre_mined Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_space_platform_pre_mined Online documentation} */ interface OnSpacePlatformPreMinedEvent extends EventData { /** @@ -5047,7 +5043,7 @@ declare module "factorio:runtime" { } /** * Called when a spider finishes moving to its autopilot position. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_spider_command_completed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_spider_command_completed Online documentation} */ interface OnSpiderCommandCompletedEvent extends EventData { /** @@ -5065,7 +5061,7 @@ declare module "factorio:runtime" { } /** * Called when a translation request generated through {@link LuaPlayer#request_translation LuaPlayer::request_translation} or {@link LuaPlayer#request_translations LuaPlayer::request_translations} has been completed. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_string_translated Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_string_translated Online documentation} */ interface OnStringTranslatedEvent extends EventData { /** @@ -5099,7 +5095,7 @@ declare module "factorio:runtime" { } /** * Called just after a surface is cleared (all entities removed and all chunks deleted). - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_surface_cleared Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_surface_cleared Online documentation} */ interface OnSurfaceClearedEvent extends EventData { readonly surface_index: SurfaceIndex @@ -5116,7 +5112,7 @@ declare module "factorio:runtime" { * Called when a surface is created. * * This is not called when the default surface is created as it will always exist. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_surface_created Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_surface_created Online documentation} */ interface OnSurfaceCreatedEvent extends EventData { readonly surface_index: SurfaceIndex @@ -5131,7 +5127,7 @@ declare module "factorio:runtime" { } /** * Called after a surface is deleted. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_surface_deleted Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_surface_deleted Online documentation} */ interface OnSurfaceDeletedEvent extends EventData { readonly surface_index: SurfaceIndex @@ -5146,7 +5142,7 @@ declare module "factorio:runtime" { } /** * Called after a surface is imported via the map editor. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_surface_imported Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_surface_imported Online documentation} */ interface OnSurfaceImportedEvent extends EventData { readonly surface_index: SurfaceIndex @@ -5165,7 +5161,7 @@ declare module "factorio:runtime" { } /** * Called when a surface is renamed. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_surface_renamed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_surface_renamed Online documentation} */ interface OnSurfaceRenamedEvent extends EventData { readonly surface_index: SurfaceIndex @@ -5182,7 +5178,7 @@ declare module "factorio:runtime" { } /** * Called when {@link LuaForce#reset_technology_effects LuaForce::reset_technology_effects} is finished. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_technology_effects_reset Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_technology_effects_reset Online documentation} */ interface OnTechnologyEffectsResetEvent extends EventData { readonly force: LuaForce @@ -5197,7 +5193,7 @@ declare module "factorio:runtime" { } /** * Called when a territory is created for any reason. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_territory_created Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_territory_created Online documentation} */ interface OnTerritoryCreatedEvent extends EventData { /** @@ -5219,7 +5215,7 @@ declare module "factorio:runtime" { } /** * Called when a territory is destroyed from a surface. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_territory_destroyed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_territory_destroyed Online documentation} */ interface OnTerritoryDestroyedEvent extends EventData { /** @@ -5237,7 +5233,7 @@ declare module "factorio:runtime" { } /** * It is fired once every tick. Since this event is fired every tick, its handler shouldn't include performance heavy code. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_tick Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_tick Online documentation} */ interface OnTickEvent extends EventData { /** @@ -5255,7 +5251,7 @@ declare module "factorio:runtime" { * After this event any items in the buffer will be transferred into the tower as if they came from mining the entity. * * The buffer inventory is special in that it's only valid during this event and has a dynamic size expanding as more items are transferred into it. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_tower_mined_plant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_tower_mined_plant Online documentation} */ interface OnTowerMinedPlantEvent extends EventData { /** @@ -5281,7 +5277,7 @@ declare module "factorio:runtime" { } /** * Called before an agricultural tower plants a seed. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_tower_planted_seed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_tower_planted_seed Online documentation} */ interface OnTowerPlantedSeedEvent extends EventData { /** @@ -5307,7 +5303,7 @@ declare module "factorio:runtime" { } /** * Called before an agricultural tower mines a plant. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_tower_pre_mined_plant Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_tower_pre_mined_plant Online documentation} */ interface OnTowerPreMinedPlantEvent extends EventData { /** @@ -5329,7 +5325,7 @@ declare module "factorio:runtime" { } /** * Called when a train changes state (started to stopped and vice versa) - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_train_changed_state Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_train_changed_state Online documentation} */ interface OnTrainChangedStateEvent extends EventData { readonly train: LuaTrain @@ -5345,7 +5341,7 @@ declare module "factorio:runtime" { } /** * Called when a new train is created either through disconnecting/connecting an existing one or building a new one. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_train_created Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_train_created Online documentation} */ interface OnTrainCreatedEvent extends EventData { readonly train: LuaTrain @@ -5368,7 +5364,7 @@ declare module "factorio:runtime" { } /** * Called when a trains schedule is changed either by the player or through script. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_train_schedule_changed Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_train_schedule_changed Online documentation} */ interface OnTrainScheduleChangedEvent extends EventData { readonly train: LuaTrain @@ -5387,7 +5383,7 @@ declare module "factorio:runtime" { } /** * Called when an entity with a trigger prototype (such as capsules) create an entity AND that trigger prototype defined `trigger_created_entity=true`. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_trigger_created_entity Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_trigger_created_entity Online documentation} */ interface OnTriggerCreatedEntityEvent extends EventData { readonly entity: LuaEntity @@ -5403,7 +5399,7 @@ declare module "factorio:runtime" { } /** * Called when an entity with a trigger prototype (such as capsules) fire an artillery projectile AND that trigger prototype defined `trigger_fired_artillery=true`. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_trigger_fired_artillery Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_trigger_fired_artillery Online documentation} */ interface OnTriggerFiredArtilleryEvent extends EventData { readonly entity: LuaEntity @@ -5419,7 +5415,7 @@ declare module "factorio:runtime" { } /** * Called when new packets are processed by {@link LuaHelpers#recv_udp LuaHelpers::recv_udp}. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_udp_packet_received Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_udp_packet_received Online documentation} */ interface OnUdpPacketReceivedEvent extends EventData { /** @@ -5445,7 +5441,7 @@ declare module "factorio:runtime" { } /** * Called when the player triggers "undo". - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_undo_applied Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_undo_applied Online documentation} */ interface OnUndoAppliedEvent extends EventData { /** @@ -5467,7 +5463,7 @@ declare module "factorio:runtime" { } /** * Called when a unit is added to a unit group. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_unit_added_to_group Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_unit_added_to_group Online documentation} */ interface OnUnitAddedToGroupEvent extends EventData { readonly unit: LuaEntity @@ -5483,7 +5479,7 @@ declare module "factorio:runtime" { } /** * Called when a new unit group is created, before any members are added to it. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_unit_group_created Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_unit_group_created Online documentation} */ interface OnUnitGroupCreatedEvent extends EventData { readonly group: LuaCommandable @@ -5498,7 +5494,7 @@ declare module "factorio:runtime" { } /** * Called when a unit group finishes gathering and starts executing its command. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_unit_group_finished_gathering Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_unit_group_finished_gathering Online documentation} */ interface OnUnitGroupFinishedGatheringEvent extends EventData { readonly group: LuaCommandable @@ -5513,7 +5509,7 @@ declare module "factorio:runtime" { } /** * Called when a unit is removed from a unit group. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_unit_removed_from_group Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_unit_removed_from_group Online documentation} */ interface OnUnitRemovedFromGroupEvent extends EventData { readonly unit: LuaEntity @@ -5529,7 +5525,7 @@ declare module "factorio:runtime" { } /** * Called when a worker (construction or logistic) robot expires through a lack of energy. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#on_worker_robot_expired Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#on_worker_robot_expired Online documentation} */ interface OnWorkerRobotExpiredEvent extends EventData { readonly robot: LuaEntity @@ -5546,7 +5542,7 @@ declare module "factorio:runtime" { * A static event mods can use to tell other mods they built something by script. This event is only raised if a mod does so with {@link LuaBootstrap#raise_event LuaBootstrap::raise_event} or {@link LuaBootstrap#raise_script_built LuaBootstrap::raise_script_built}, or when `raise_built` is passed to {@link LuaSurface#create_entity LuaSurface::create_entity}. * * Event filter: [LuaScriptRaisedBuiltEventFilter](LuaScriptRaisedBuiltEventFilter] - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#script_raised_built Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#script_raised_built Online documentation} */ interface ScriptRaisedBuiltEvent extends EventData { /** @@ -5566,7 +5562,7 @@ declare module "factorio:runtime" { * A static event mods can use to tell other mods they destroyed something by script. This event is only raised if a mod does so with {@link LuaBootstrap#raise_event LuaBootstrap::raise_event} or {@link LuaBootstrap#raise_script_destroy LuaBootstrap::raise_script_destroy}, or when `raise_destroy` is passed to {@link LuaEntity#destroy LuaEntity::destroy}. * * Event filter: [LuaScriptRaisedDestroyEventFilter](LuaScriptRaisedDestroyEventFilter] - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#script_raised_destroy Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#script_raised_destroy Online documentation} */ interface ScriptRaisedDestroyEvent extends EventData { /** @@ -5586,7 +5582,7 @@ declare module "factorio:runtime" { * A static event that mods can use to tell other mods they destroyed a segmented unit by script. This event is only raised if a mod does so with {@link LuaBootstrap#raise_event LuaBootstrap::raise_event}, or {@link LuaBootstrap#raise_script_destroy_segmented_unit LuaBootstrap::raise_script_destroy_segmented_unit}, or when `raise_destroy` is passed to {@link LuaSegmentedUnit#destroy LuaSegmentedUnit::destroy}. * * Event filter: [LuaScriptRaisedDestroySegmentedUnitEventFilter](LuaScriptRaisedDestroySegmentedUnitEventFilter] - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#script_raised_destroy_segmented_unit Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#script_raised_destroy_segmented_unit Online documentation} */ interface ScriptRaisedDestroySegmentedUnitEvent extends EventData { /** @@ -5606,7 +5602,7 @@ declare module "factorio:runtime" { * A static event mods can use to tell other mods they revived something by script. This event is only raised if a mod does so with {@link LuaBootstrap#raise_event LuaBootstrap::raise_event} or {@link LuaBootstrap#raise_script_revive LuaBootstrap::raise_script_revive}, or when `raise_revive` is passed to {@link LuaEntity#revive LuaEntity::revive}. * * Event filter: [LuaScriptRaisedReviveEventFilter](LuaScriptRaisedReviveEventFilter] - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#script_raised_revive Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#script_raised_revive Online documentation} */ interface ScriptRaisedReviveEvent extends EventData { /** @@ -5628,7 +5624,7 @@ declare module "factorio:runtime" { } /** * A static event mods can use to tell other mods they changed tiles on a surface by script. This event is only raised if a mod does so with {@link LuaBootstrap#raise_event LuaBootstrap::raise_event} or {@link LuaBootstrap#raise_script_set_tiles LuaBootstrap::raise_script_set_tiles}, or when `raise_event` is passed to {@link LuaSurface#set_tiles LuaSurface::set_tiles}. - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#script_raised_set_tiles Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#script_raised_set_tiles Online documentation} */ interface ScriptRaisedSetTilesEvent extends EventData { /** @@ -5652,7 +5648,7 @@ declare module "factorio:runtime" { * A static event mods can use to tell other mods they teleported something by script. This event is only raised if a mod does so with {@link LuaBootstrap#raise_event LuaBootstrap::raise_event} or {@link LuaBootstrap#raise_script_teleported LuaBootstrap::raise_script_teleported}, or when `raise_teleported` is passed to {@link LuaControl#teleport LuaControl::teleport}. * * Event filter: [LuaScriptRaisedTeleportedEventFilter](LuaScriptRaisedTeleportedEventFilter] - * @see {@link https://lua-api.factorio.com/2.1.22/events.html#script_raised_teleported Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/events.html#script_raised_teleported Online documentation} */ interface ScriptRaisedTeleportedEvent extends EventData { /** diff --git a/runtime/generated/global-functions.d.ts b/runtime/generated/global-functions.d.ts index 640727d..d1e78a5 100644 --- a/runtime/generated/global-functions.d.ts +++ b/runtime/generated/global-functions.d.ts @@ -7,12 +7,12 @@ import type { LocalisedString, table, uint32 } from "factorio:runtime" declare global { /** * `localised_print()` allows printing {@link LocalisedString} to stdout without polluting the Factorio {@linkplain https://wiki.factorio.com/Log_file log file}. This is primarily useful when communicating with external tools that launch Factorio as a child process. - * @see {@link https://lua-api.factorio.com/2.1.22/auxiliary/libraries.html#new-functions Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/auxiliary/libraries.html#new-functions Online documentation} */ function localised_print(string: LocalisedString): void /** * `log()` can print {@link LocalisedString LocalisedStrings} to the Factorio {@linkplain https://wiki.factorio.com/Log_file log file}. This, in combination with the serpent library, makes debugging in the data stage easier because it allows the inspection of entire prototype tables. For example, printing all properties of the sulfur item prototype can be done like so: `log(serpent.block(data.raw["item"]["sulfur"]))` - * @see {@link https://lua-api.factorio.com/2.1.22/auxiliary/libraries.html#new-functions Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/auxiliary/libraries.html#new-functions Online documentation} */ function log(string: LocalisedString): void /** @@ -29,7 +29,7 @@ declare global { * ``` * * Note that `table_size()` does not work correctly for {@link LuaCustomTable}, their size has to be determined with {@link LuaCustomTable#length LuaCustomTable::length_operator} instead. - * @see {@link https://lua-api.factorio.com/2.1.22/auxiliary/libraries.html#new-functions Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/auxiliary/libraries.html#new-functions Online documentation} */ function table_size(table: table): uint32 } diff --git a/runtime/generated/global-objects.d.ts b/runtime/generated/global-objects.d.ts index 4b57f34..f3ed042 100644 --- a/runtime/generated/global-objects.d.ts +++ b/runtime/generated/global-objects.d.ts @@ -15,38 +15,38 @@ import type { declare global { /** * Allows registration of custom commands for the in-game console. - * @see {@link https://lua-api.factorio.com/2.1.22/index-runtime.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/index-runtime.html Online documentation} */ const commands: LuaCommandProcessor /** * The main scripting interface through which most of the API is accessed. - * @see {@link https://lua-api.factorio.com/2.1.22/index-runtime.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/index-runtime.html Online documentation} */ const game: LuaGameScript //The "settings" and "helpers" globals are declared in common/settings-global.d.ts and common/helpers.d.ts. /** * Allows read-only access to prototypes. - * @see {@link https://lua-api.factorio.com/2.1.22/index-runtime.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/index-runtime.html Online documentation} */ const prototypes: LuaPrototypes /** * Allows printing messages to the calling RCON instance, if any. - * @see {@link https://lua-api.factorio.com/2.1.22/index-runtime.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/index-runtime.html Online documentation} */ const rcon: LuaRCON /** * Allows registration and use of functions to communicate between mods. - * @see {@link https://lua-api.factorio.com/2.1.22/index-runtime.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/index-runtime.html Online documentation} */ const remote: LuaRemote /** * Allows rendering of geometric shapes, text and sprites in the game world. - * @see {@link https://lua-api.factorio.com/2.1.22/index-runtime.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/index-runtime.html Online documentation} */ const rendering: LuaRendering /** * Provides an interface for registering game event handlers. - * @see {@link https://lua-api.factorio.com/2.1.22/index-runtime.html Online documentation} + * @see {@link https://lua-api.factorio.com/2.1.24/index-runtime.html Online documentation} */ const script: LuaBootstrap //The "settings" and "helpers" globals are declared in common/settings-global.d.ts and common/helpers.d.ts.