factorio-types 1.2.59 → 1.2.61

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/classes.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  // Factorio API reference https://lua-api.factorio.com/latest/index.html
3
3
  // Generated from JSON source https://lua-api.factorio.com/latest/runtime-api.json
4
4
  // Definition source https://github.com/sguest/factorio-types
5
- // Factorio version 2.1.7
5
+ // Factorio version 2.1.9
6
6
  // API version 6
7
7
 
8
8
  declare namespace runtime {
@@ -5963,6 +5963,8 @@ interface LuaDamagePrototype extends LuaPrototypeBase {
5963
5963
  *
5964
5964
  * - `followSymlinks` :: {@link boolean | runtime:boolean}? : Follow symlinks when emitting locations (stack traces, etc) (default: true)
5965
5965
  *
5966
+ * - `trace` :: {@link boolean | runtime:boolean}? : Trace DAP messages to a `dap-trace.log` (default: false)
5967
+ *
5966
5968
  * - `tags` :: {@link Any | runtime:Any}? : Extra debug session tags, see also {@link tags | runtime:LuaDebugAdapter::tags}
5967
5969
  *
5968
5970
  * Metatable methods may be used to customize debug views:
@@ -6016,6 +6018,12 @@ interface LuaDeciderCombinatorControlBehavior extends LuaCombinatorControlBehavi
6016
6018
  * @param index Index to insert new condition at. If not specified, appends to the end.
6017
6019
  */
6018
6020
  add_condition(this: void, condition: DeciderCombinatorCondition, index?: uint32): void;
6021
+ /**
6022
+ * Adds a new else-output.
6023
+ * @param output New else-output to insert.
6024
+ * @param index Index to insert new else-output at. If not specified, appends to the end.
6025
+ */
6026
+ add_else_output(this: void, output: DeciderCombinatorOutput, index?: uint32): void;
6019
6027
  /**
6020
6028
  * Adds a new output.
6021
6029
  * @param output New output to insert.
@@ -6027,6 +6035,11 @@ interface LuaDeciderCombinatorControlBehavior extends LuaCombinatorControlBehavi
6027
6035
  * @param index Index of condition to get.
6028
6036
  */
6029
6037
  get_condition(this: void, index: uint32): DeciderCombinatorCondition;
6038
+ /**
6039
+ * Gets the else-output at `index`.
6040
+ * @param index Index of else-output to get.
6041
+ */
6042
+ get_else_output(this: void, index: uint32): DeciderCombinatorOutput;
6030
6043
  /**
6031
6044
  * Gets the output at `index`.
6032
6045
  * @param index Index of output to get.
@@ -6037,6 +6050,11 @@ interface LuaDeciderCombinatorControlBehavior extends LuaCombinatorControlBehavi
6037
6050
  * @param index Index of condition to remove.
6038
6051
  */
6039
6052
  remove_condition(this: void, index: uint32): void;
6053
+ /**
6054
+ * Removes the else-output at `index`.
6055
+ * @param index Index of else-output to remove.
6056
+ */
6057
+ remove_else_output(this: void, index: uint32): void;
6040
6058
  /**
6041
6059
  * Removes the output at `index`.
6042
6060
  * @param index Index of output to remove.
@@ -6048,6 +6066,12 @@ interface LuaDeciderCombinatorControlBehavior extends LuaCombinatorControlBehavi
6048
6066
  * @param condition Data to set selected condition to.
6049
6067
  */
6050
6068
  set_condition(this: void, index: uint32, condition: DeciderCombinatorCondition): void;
6069
+ /**
6070
+ * Sets the else-output at `index`.
6071
+ * @param index Index of else-output to modify.
6072
+ * @param output Data to set selected else-output to.
6073
+ */
6074
+ set_else_output(this: void, index: uint32, output: DeciderCombinatorOutput): void;
6051
6075
  /**
6052
6076
  * Sets the output at `index`.
6053
6077
  * @param index Index of output to modify.
@@ -12427,12 +12451,12 @@ interface LuaGuiElement {
12427
12451
  * The GUI this element is a child of.
12428
12452
  */
12429
12453
  readonly gui: LuaGui;
12430
- hand_send_stacks_to_trash: boolean;
12431
12454
  handle_cursor_split: boolean;
12432
12455
  handle_cursor_transfer: boolean;
12433
12456
  handle_open_item: boolean;
12434
12457
  handle_open_mod_item: boolean;
12435
12458
  handle_send_stack_to_trash: boolean;
12459
+ handle_send_stacks_to_trash: boolean;
12436
12460
  /**
12437
12461
  * Policy of the horizontal scroll bar.
12438
12462
  */
@@ -12922,12 +12946,12 @@ interface LuaGuiElementAddParamsInventory extends BaseLuaGuiElementAddParams {
12922
12946
  */
12923
12947
  'type': 'inventory';
12924
12948
  'empty_slot_info'?: EmptySlotInfo;
12925
- 'hand_send_stacks_to_trash'?: boolean;
12926
12949
  'handle_cursor_split'?: boolean;
12927
12950
  'handle_cursor_transfer'?: boolean;
12928
12951
  'handle_open_item'?: boolean;
12929
12952
  'handle_open_mod_item'?: boolean;
12930
12953
  'handle_send_stack_to_trash'?: boolean;
12954
+ 'handle_send_stacks_to_trash'?: boolean;
12931
12955
  'slots_per_row'?: uint8;
12932
12956
  }
12933
12957
  /**
@@ -13464,6 +13488,10 @@ interface LuaHelpers {
13464
13488
  * Current version of game
13465
13489
  */
13466
13490
  readonly game_version: string;
13491
+ /**
13492
+ * The name of the active Instrument Mode mod, if any.
13493
+ */
13494
+ readonly instrument_mod?: string;
13467
13495
  /**
13468
13496
  * 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.
13469
13497
  */
@@ -16130,6 +16158,10 @@ interface LuaPlayer extends LuaControl {
16130
16158
  * 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.
16131
16159
  */
16132
16160
  hand_location?: ItemStackLocation;
16161
+ /**
16162
+ * Set to `true` to hide prototypes in Factoriopedia if they aren't unlocked yet.
16163
+ */
16164
+ hide_locked_prototypes_in_factoriopedia: boolean;
16133
16165
  /**
16134
16166
  * This player's index in {@link LuaGameScript::players | runtime:LuaGameScript::players} (unique ID). It is assigned when a player is created, and remains so (even when the player is not {@link connected | runtime:LuaPlayer::connected}) until the player is irreversibly {@link removed | runtime:on_player_removed}. Indexes of removed players can be reused.
16135
16167
  */
@@ -19105,9 +19137,11 @@ interface LuaSpacePlatform {
19105
19137
  */
19106
19138
  hidden: boolean;
19107
19139
  /**
19108
- * The hub on this platform. `nil` if the platform has not had the starter pack applied or hub was destroyed but the platform not yet deleted.
19140
+ * The hub on this platform, if it exists. It does not exist if the platform has not had the starter pack applied.
19141
+ *
19142
+ * If the hub {@link dies | runtime:LuaEntity::die} the platform will be deleted at the end of the tick but is otherwise valid to use until that point.
19109
19143
  *
19110
- * If the hub is destroyed the platform will be deleted at the end of the tick but is otherwise valid to use until that point.
19144
+ * If the hub is {@link destroyed | runtime:LuaEntity::destroy} the platform is not affected.
19111
19145
  */
19112
19146
  readonly hub?: LuaEntity;
19113
19147
  /**
@@ -2,7 +2,7 @@
2
2
  // Factorio API reference https://lua-api.factorio.com/latest/index.html
3
3
  // Generated from JSON source https://lua-api.factorio.com/latest/runtime-api.json
4
4
  // Definition source https://github.com/sguest/factorio-types
5
- // Factorio version 2.1.7
5
+ // Factorio version 2.1.9
6
6
  // API version 6
7
7
 
8
8
  declare namespace runtime {
@@ -2368,6 +2368,10 @@ interface DeciderCombinatorParameters {
2368
2368
  * List of outputs.
2369
2369
  */
2370
2370
  outputs: DeciderCombinatorOutput[];
2371
+ /**
2372
+ * List of else-outputs.
2373
+ */
2374
+ else_outputs: DeciderCombinatorOutput[];
2371
2375
  }
2372
2376
  interface Decorative {
2373
2377
  /**
@@ -2449,7 +2453,7 @@ interface DifficultySettings {
2449
2453
  */
2450
2454
  spoil_time_modifier: double;
2451
2455
  /**
2452
- * A value in range [0.001, 1000].
2456
+ * A value in range [0.001, 100000].
2453
2457
  */
2454
2458
  technology_price_multiplier: double;
2455
2459
  }
@@ -3129,7 +3133,7 @@ interface EventData {
3129
3133
  *
3130
3134
  * Filters are always used as an array of filters of a specific type. Every filter can only be used with its corresponding event, and different types of event filters can not be mixed.
3131
3135
  */
3132
- type EventFilter = (LuaEntityClonedEventFilter | LuaEntityDamagedEventFilter | LuaEntityDeconstructionCancelledEventFilter | LuaEntityDiedEventFilter | LuaEntityMarkedForDeconstructionEventFilter | LuaEntityMarkedForUpgradeEventFilter | LuaPlatformBuiltEntityEventFilter | LuaPlatformMinedEntityEventFilter | LuaPlayerBuiltEntityEventFilter | LuaPlayerMinedEntityEventFilter | LuaPlayerRepairedEntityEventFilter | LuaPostEntityDiedEventFilter | LuaPostSegmentedUnitDiedEventFilter | LuaPreGhostDeconstructedEventFilter | LuaPreGhostUpgradedEventFilter | LuaPrePlatformMinedEntityEventFilter | LuaPrePlayerMinedEntityEventFilter | LuaPreRobotMinedEntityEventFilter | LuaRobotBuiltEntityEventFilter | LuaRobotMinedEntityEventFilter | LuaScriptRaisedBuiltEventFilter | LuaScriptRaisedDestroyEventFilter | LuaScriptRaisedDestroySegmentedUnitEventFilter | LuaScriptRaisedReviveEventFilter | LuaScriptRaisedTeleportedEventFilter | LuaSectorScannedEventFilter | LuaSegmentedUnitCreatedEventFilter | LuaSegmentedUnitDamagedEventFilter | LuaSegmentedUnitDiedEventFilter | LuaUpgradeCancelledEventFilter)[];
3136
+ type EventFilter = (LuaSegmentedUnitDiedEventFilter | LuaScriptRaisedTeleportedEventFilter | LuaPreRobotMinedEntityEventFilter | LuaScriptRaisedBuiltEventFilter | LuaPlatformMinedEntityEventFilter | LuaRobotBuiltEntityEventFilter | LuaPrePlayerMinedEntityEventFilter | LuaEntityDeconstructionCancelledEventFilter | LuaPreGhostUpgradedEventFilter | LuaPlatformBuiltEntityEventFilter | LuaPrePlatformMinedEntityEventFilter | LuaEntityClonedEventFilter | LuaPlayerRepairedEntityEventFilter | LuaPostEntityDiedEventFilter | LuaScriptRaisedDestroySegmentedUnitEventFilter | LuaSegmentedUnitDamagedEventFilter | LuaPreGhostDeconstructedEventFilter | LuaPlayerMinedEntityEventFilter | LuaSectorScannedEventFilter | LuaRobotMinedEntityEventFilter | LuaEntityMarkedForDeconstructionEventFilter | LuaPostSegmentedUnitDiedEventFilter | LuaScriptRaisedReviveEventFilter | LuaPlayerBuiltEntityEventFilter | LuaUpgradeCancelledEventFilter | LuaEntityDamagedEventFilter | LuaEntityDiedEventFilter | LuaEntityMarkedForUpgradeEventFilter | LuaSegmentedUnitCreatedEventFilter | LuaScriptRaisedDestroyEventFilter)[];
3133
3137
  interface ExplosionDefinition {
3134
3138
  name: LuaEntityPrototype;
3135
3139
  offset: Vector;
@@ -4127,6 +4131,7 @@ interface ItemProduct {
4127
4131
  extra_count_fraction?: float;
4128
4132
  percent_spoiled?: float;
4129
4133
  always_fresh?: boolean;
4134
+ reset_freshness_on_craft?: boolean;
4130
4135
  quality_min?: QualityID;
4131
4136
  quality_max?: QualityID;
4132
4137
  quality_change?: int8;
@@ -4700,6 +4705,10 @@ interface LogisticFilter {
4700
4705
  * The space location to import from.
4701
4706
  */
4702
4707
  import_from?: SpaceLocationID;
4708
+ /**
4709
+ * From which sources items should be requested for space platforms. Defaults to `"planet"`.
4710
+ */
4711
+ request_from?: RequestFromLocation;
4703
4712
  }
4704
4713
  type LogisticFilterIndex = uint16;
4705
4714
  interface LogisticGroup {
@@ -6840,7 +6849,7 @@ interface MapAndDifficultySettings {
6840
6849
  }
6841
6850
  interface MapDifficultySettings {
6842
6851
  /**
6843
- * A value in range [0.001, 1000].
6852
+ * A value in range [0.001, 100000].
6844
6853
  */
6845
6854
  technology_price_multiplier: double;
6846
6855
  /**
@@ -7920,7 +7929,7 @@ type PropertyExpressionNames = Record<string, string>;
7920
7929
  *
7921
7930
  * Filters are always used as an array of filters of a specific type. Every filter can only be used with its corresponding prototype type, and different types of prototype filters can not be mixed.
7922
7931
  */
7923
- type PrototypeFilter = (AchievementPrototypeFilter | AsteroidChunkPrototypeFilter | DecorativePrototypeFilter | EquipmentPrototypeFilter | FluidPrototypeFilter | ModSettingPrototypeFilter | RecipePrototypeFilter | SpaceLocationPrototypeFilter | TechnologyPrototypeFilter | TilePrototypeFilter | VirtualSignalPrototypeFilter | EntityPrototypeFilter | ItemPrototypeFilter)[];
7932
+ type PrototypeFilter = (ModSettingPrototypeFilter | SpaceLocationPrototypeFilter | DecorativePrototypeFilter | TilePrototypeFilter | AsteroidChunkPrototypeFilter | ItemPrototypeFilter | TechnologyPrototypeFilter | RecipePrototypeFilter | AchievementPrototypeFilter | VirtualSignalPrototypeFilter | EquipmentPrototypeFilter | FluidPrototypeFilter | EntityPrototypeFilter)[];
7924
7933
  type PrototypeFilterMode = 'none' | 'whitelist' | 'blacklist';
7925
7934
  interface PrototypeHistory {
7926
7935
  /**
@@ -8752,10 +8761,10 @@ interface SavedLogisticFilters {
8752
8761
  sections: SavedLogisticSection[];
8753
8762
  }
8754
8763
  interface SavedLogisticSection {
8755
- group: string;
8756
- filters: LogisticFilter[];
8757
- multiplier: float;
8758
- active: boolean;
8764
+ group?: string;
8765
+ filters?: LogisticFilter[];
8766
+ multiplier?: float;
8767
+ active?: boolean;
8759
8768
  }
8760
8769
  interface ScheduleInterrupt {
8761
8770
  /**
@@ -2,7 +2,7 @@
2
2
  // Factorio API reference https://lua-api.factorio.com/latest/index.html
3
3
  // Generated from JSON source https://lua-api.factorio.com/latest/prototype-api.json
4
4
  // Definition source https://github.com/sguest/factorio-types
5
- // Factorio version 2.1.7
5
+ // Factorio version 2.1.9
6
6
  // API version 6
7
7
 
8
8
  declare namespace prototype {
package/dist/defines.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  // Factorio API reference https://lua-api.factorio.com/latest/index.html
3
3
  // Generated from JSON source https://lua-api.factorio.com/latest/runtime-api.json
4
4
  // Definition source https://github.com/sguest/factorio-types
5
- // Factorio version 2.1.7
5
+ // Factorio version 2.1.9
6
6
  // API version 6
7
7
 
8
8
  declare namespace defines {
@@ -499,7 +499,7 @@ enum entity_status {
499
499
  */
500
500
  destination_stop_full = 52,
501
501
  /**
502
- * Used by constant combinators: Combinator is turned off via switch in GUI.
502
+ * Used by constant combinators: Combinator is turned off via switch in GUI. Also used by inserters.
503
503
  */
504
504
  disabled = 60,
505
505
  disabled_by_control_behavior = 8,
@@ -1021,294 +1021,298 @@ enum input_action {
1021
1021
  activate_interrupt = 0,
1022
1022
  activate_paste = 1,
1023
1023
  add_decider_combinator_condition = 2,
1024
- add_decider_combinator_output = 3,
1025
- add_logistic_section = 4,
1026
- add_permission_group = 5,
1027
- add_pin = 6,
1028
- add_train_interrupt = 7,
1029
- add_train_station = 8,
1030
- adjust_blueprint_snapping = 9,
1031
- admin_action = 10,
1032
- alt_reverse_select_area = 11,
1033
- alt_select_area = 12,
1034
- alt_select_blueprint_entities = 13,
1035
- alternative_copy = 14,
1036
- begin_mining = 15,
1037
- begin_mining_terrain = 16,
1038
- build = 17,
1039
- build_rail = 18,
1040
- build_terrain = 19,
1041
- cancel_craft = 20,
1042
- cancel_deconstruct = 21,
1043
- cancel_delete_space_platform = 22,
1044
- cancel_new_blueprint = 23,
1045
- cancel_research = 24,
1046
- cancel_upgrade = 25,
1047
- change_active_character_tab = 26,
1048
- change_active_item_group_for_crafting = 27,
1049
- change_active_item_group_for_filters = 28,
1050
- change_active_quick_bar = 29,
1051
- change_arithmetic_combinator_parameters = 30,
1052
- change_entity_label = 31,
1053
- change_heading_riding_state = 32,
1054
- change_item_label = 33,
1055
- change_logistic_point_group = 34,
1056
- change_multiplayer_config = 35,
1057
- change_picking_state = 36,
1058
- change_programmable_speaker_alert_parameters = 37,
1059
- change_programmable_speaker_circuit_parameters = 38,
1060
- change_programmable_speaker_parameters = 39,
1061
- change_research_condition = 40,
1062
- change_riding_state = 41,
1063
- change_selector_combinator_parameters = 42,
1064
- change_shooting_state = 43,
1065
- change_train_name = 44,
1066
- change_train_station = 45,
1067
- change_train_stop_station = 46,
1068
- change_train_wait_condition = 47,
1069
- change_train_wait_condition_data = 48,
1070
- cheat = 49,
1071
- clear_cursor = 50,
1072
- connect_rolling_stock = 51,
1073
- copy = 52,
1074
- copy_entity_settings = 53,
1075
- copy_large_opened_blueprint = 54,
1076
- copy_large_opened_item = 55,
1077
- copy_opened_blueprint = 56,
1078
- copy_opened_item = 57,
1079
- craft = 58,
1080
- create_space_platform = 59,
1081
- cursor_split = 60,
1082
- cursor_transfer = 61,
1083
- custom_input = 62,
1084
- cycle_blueprint_book_backwards = 63,
1085
- cycle_blueprint_book_forwards = 64,
1086
- cycle_quality_down = 65,
1087
- cycle_quality_up = 66,
1088
- deconstruct = 67,
1089
- delete_blueprint_library = 68,
1090
- delete_blueprint_record = 69,
1091
- delete_custom_tag = 70,
1092
- delete_logistic_group = 71,
1093
- delete_permission_group = 72,
1094
- delete_space_platform = 73,
1095
- destroy_item = 74,
1096
- destroy_opened_item = 75,
1097
- disconnect_rolling_stock = 76,
1098
- drag_decider_combinator_condition = 77,
1099
- drag_decider_combinator_output = 78,
1100
- drag_research_condition = 79,
1101
- drag_train_schedule = 80,
1102
- drag_train_schedule_interrupt = 81,
1103
- drag_train_wait_condition = 82,
1104
- drop_blueprint_record = 83,
1105
- drop_item = 84,
1106
- edit_blueprint_tool_preview = 85,
1107
- edit_custom_tag = 86,
1108
- edit_display_panel = 87,
1109
- edit_display_panel_always_show = 88,
1110
- edit_display_panel_icon = 89,
1111
- edit_display_panel_parameters = 90,
1112
- edit_display_panel_show_in_chart = 91,
1113
- edit_display_panel_single_entry = 92,
1114
- edit_interrupt = 93,
1115
- edit_permission_group = 94,
1116
- edit_pin = 95,
1117
- export_blueprint = 96,
1118
- fast_entity_split = 97,
1119
- fast_entity_transfer = 98,
1120
- flip_entity = 99,
1121
- flush_opened_entity_fluid = 100,
1122
- flush_opened_entity_specific_fluid = 101,
1123
- go_to_train_station = 102,
1124
- grab_blueprint_record = 103,
1125
- gui_checked_state_changed = 104,
1126
- gui_click = 105,
1127
- gui_confirmed = 106,
1128
- gui_elem_changed = 107,
1129
- gui_hover = 108,
1130
- gui_inventory_action = 109,
1131
- gui_inventory_bar_changed = 110,
1132
- gui_inventory_filter_changed = 111,
1133
- gui_leave = 112,
1134
- gui_location_changed = 113,
1135
- gui_selected_tab_changed = 114,
1136
- gui_selection_state_changed = 115,
1137
- gui_switch_state_changed = 116,
1138
- gui_text_changed = 117,
1139
- gui_value_changed = 118,
1140
- import_blueprint = 119,
1141
- import_blueprint_string = 120,
1142
- import_blueprints_filtered = 121,
1143
- import_permissions_string = 122,
1144
- instantly_create_space_platform = 123,
1145
- inventory_split = 124,
1146
- inventory_transfer = 125,
1147
- land_at_planet = 126,
1148
- launch_rocket = 127,
1149
- lua_shortcut = 128,
1150
- map_editor_action = 129,
1151
- market_offer = 130,
1152
- mod_settings_changed = 131,
1153
- modify_decider_combinator_condition = 132,
1154
- modify_decider_combinator_output = 133,
1155
- move_pin = 134,
1156
- move_research = 135,
1157
- open_achievements_gui = 136,
1158
- open_blueprint_library_gui = 137,
1159
- open_blueprint_record = 138,
1160
- open_bonus_gui = 139,
1161
- open_character_gui = 140,
1162
- open_current_vehicle_gui = 141,
1163
- open_equipment = 142,
1164
- open_global_electric_network_gui = 143,
1165
- open_gui = 144,
1166
- open_item = 145,
1167
- open_logistics_gui = 146,
1168
- open_mod_item = 147,
1169
- open_new_platform_button_from_rocket_silo = 148,
1170
- open_opened_entity_grid = 149,
1171
- open_parent_of_opened_item = 150,
1172
- open_production_gui = 151,
1173
- open_train_gui = 152,
1174
- open_train_station_gui = 153,
1175
- open_trains_gui = 154,
1176
- parametrise_blueprint = 155,
1177
- paste_entity_settings = 156,
1178
- pin_alert_group = 157,
1179
- pin_custom_alert = 158,
1180
- pin_search_result = 159,
1181
- pipette = 160,
1182
- place_equipment = 161,
1183
- providing_to_other_platforms = 162,
1184
- quick_bar_pick_slot = 163,
1185
- quick_bar_set_selected_page = 164,
1186
- quick_bar_set_slot = 165,
1187
- reassign_blueprint = 166,
1188
- redo = 167,
1189
- remote_view_entity = 168,
1190
- remote_view_surface = 169,
1191
- remove_cables = 170,
1192
- remove_decider_combinator_condition = 171,
1193
- remove_decider_combinator_output = 172,
1194
- remove_logistic_section = 173,
1195
- remove_pin = 174,
1196
- remove_train_interrupt = 175,
1197
- remove_train_station = 176,
1198
- rename_interrupt = 177,
1199
- rename_space_platform = 178,
1200
- reorder_logistic_section = 179,
1201
- request_missing_construction_materials = 180,
1202
- reset_assembling_machine = 181,
1203
- reverse_select_area = 182,
1204
- rotate_entity = 183,
1205
- select_area = 184,
1206
- select_asteroid_chunk_slot = 185,
1207
- select_blueprint_entities = 186,
1208
- select_entity_filter_slot = 187,
1209
- select_entity_slot = 188,
1210
- select_item_filter = 189,
1211
- select_mapper_slot_from = 190,
1212
- select_mapper_slot_to = 191,
1213
- select_next_valid_gun = 192,
1214
- select_tile_slot = 193,
1215
- send_spidertron = 194,
1216
- send_stack_to_trash = 195,
1217
- send_stacks_to_trash = 196,
1218
- send_train_to_pin_target = 197,
1219
- set_behavior_mode = 198,
1220
- set_car_weapons_control = 199,
1221
- set_cheat_mode_quality = 200,
1222
- set_circuit_condition = 201,
1223
- set_circuit_mode_of_operation = 202,
1224
- set_combinator_description = 203,
1225
- set_control_behavior_input_networks = 204,
1226
- set_control_behavior_output_networks = 205,
1227
- set_copy_color_from_train_stop = 206,
1228
- set_deconstruction_item_tile_selection_mode = 207,
1229
- set_deconstruction_item_trees_and_rocks_only = 208,
1230
- set_entity_color = 209,
1231
- set_entity_energy_property = 210,
1232
- set_equipment_energy_property = 211,
1233
- set_filter = 212,
1234
- set_ghost_cursor = 213,
1235
- set_heat_interface_mode = 214,
1236
- set_heat_interface_temperature = 215,
1237
- set_infinity_container_filter_item = 216,
1238
- set_infinity_container_logistic_mode = 217,
1239
- set_infinity_container_remove_unfiltered_items = 218,
1240
- set_infinity_pipe_filter = 219,
1241
- set_inserter_max_stack_size = 220,
1242
- set_inventory_bar = 221,
1243
- set_lamp_always_on = 222,
1244
- set_linked_container_link_i_d = 223,
1245
- set_loader_belt_stack_size_override = 224,
1246
- set_logistic_filter_item = 225,
1247
- set_logistic_network_name = 226,
1248
- set_logistic_section_active = 227,
1249
- set_player_color = 228,
1250
- set_pump_fluid_filter = 229,
1251
- set_request_from_buffers = 230,
1252
- set_research_finished_stops_game = 231,
1253
- set_rocket_silo_send_to_orbit_automated_mode = 232,
1254
- set_schedule_record_allow_unloading = 233,
1255
- set_signal = 234,
1256
- set_splitter_priority = 235,
1257
- set_spoil_priority = 236,
1258
- set_train_stop_priority = 237,
1259
- set_train_stopped = 238,
1260
- set_trains_limit = 239,
1261
- set_turret_ignore_unlisted = 240,
1262
- set_use_inserter_filters = 241,
1263
- set_vehicle_automatic_targeting_parameters = 242,
1264
- setup_assembling_machine = 243,
1265
- setup_blueprint = 244,
1266
- setup_single_blueprint_record = 245,
1267
- spawn_item = 246,
1268
- spectator_change_surface = 247,
1269
- stack_split = 248,
1270
- stack_transfer = 249,
1271
- start_repair = 250,
1272
- start_research = 251,
1273
- start_walking = 252,
1274
- stop_drag_build = 253,
1275
- swap_asteroid_chunk_slots = 254,
1276
- swap_entity_filter_slots = 255,
1277
- swap_entity_slots = 256,
1278
- swap_infinity_container_filter_items = 257,
1279
- swap_item_filters = 258,
1280
- swap_logistic_filter_items = 259,
1281
- swap_mappers = 260,
1282
- swap_tile_slots = 261,
1283
- switch_connect_to_logistic_network = 262,
1284
- switch_constant_combinator_state = 263,
1285
- switch_inserter_filter_mode_state = 264,
1286
- switch_loader_filter_mode = 265,
1287
- switch_mining_drill_filter_mode_state = 266,
1288
- switch_power_switch_state = 267,
1289
- take_equipment = 268,
1290
- toggle_artillery_auto_targeting = 269,
1291
- toggle_blueprint_snap_to_grid = 270,
1292
- toggle_deconstruction_item_entity_filter_mode = 271,
1293
- toggle_deconstruction_item_tile_filter_mode = 272,
1294
- toggle_driving = 273,
1295
- toggle_enable_vehicle_logistics_while_moving = 274,
1296
- toggle_entity_logistic_requests = 275,
1297
- toggle_equipment_movement_bonus = 276,
1298
- toggle_map_editor = 277,
1299
- toggle_personal_logistic_requests = 278,
1300
- toggle_personal_roboport = 279,
1301
- toggle_selected_entity = 280,
1302
- toggle_show_entity_info = 281,
1303
- toggle_tall_entity_visibility = 282,
1304
- trash_not_requested_items = 283,
1305
- undo = 284,
1306
- upgrade = 285,
1307
- upgrade_opened_blueprint_by_item = 286,
1308
- upgrade_opened_blueprint_by_record = 287,
1309
- use_item = 288,
1310
- wire_dragging = 289,
1311
- write_to_console = 290
1024
+ add_decider_combinator_else_output = 3,
1025
+ add_decider_combinator_output = 4,
1026
+ add_logistic_section = 5,
1027
+ add_permission_group = 6,
1028
+ add_pin = 7,
1029
+ add_train_interrupt = 8,
1030
+ add_train_station = 9,
1031
+ adjust_blueprint_snapping = 10,
1032
+ admin_action = 11,
1033
+ alt_reverse_select_area = 12,
1034
+ alt_select_area = 13,
1035
+ alt_select_blueprint_entities = 14,
1036
+ alternative_copy = 15,
1037
+ begin_mining = 16,
1038
+ begin_mining_terrain = 17,
1039
+ build = 18,
1040
+ build_rail = 19,
1041
+ build_terrain = 20,
1042
+ cancel_craft = 21,
1043
+ cancel_deconstruct = 22,
1044
+ cancel_delete_space_platform = 23,
1045
+ cancel_new_blueprint = 24,
1046
+ cancel_research = 25,
1047
+ cancel_upgrade = 26,
1048
+ change_active_character_tab = 27,
1049
+ change_active_item_group_for_crafting = 28,
1050
+ change_active_item_group_for_filters = 29,
1051
+ change_active_quick_bar = 30,
1052
+ change_arithmetic_combinator_parameters = 31,
1053
+ change_entity_label = 32,
1054
+ change_heading_riding_state = 33,
1055
+ change_item_label = 34,
1056
+ change_logistic_point_group = 35,
1057
+ change_multiplayer_config = 36,
1058
+ change_picking_state = 37,
1059
+ change_programmable_speaker_alert_parameters = 38,
1060
+ change_programmable_speaker_circuit_parameters = 39,
1061
+ change_programmable_speaker_parameters = 40,
1062
+ change_research_condition = 41,
1063
+ change_riding_state = 42,
1064
+ change_selector_combinator_parameters = 43,
1065
+ change_shooting_state = 44,
1066
+ change_train_name = 45,
1067
+ change_train_station = 46,
1068
+ change_train_stop_station = 47,
1069
+ change_train_wait_condition = 48,
1070
+ change_train_wait_condition_data = 49,
1071
+ cheat = 50,
1072
+ clear_cursor = 51,
1073
+ connect_rolling_stock = 52,
1074
+ copy = 53,
1075
+ copy_entity_settings = 54,
1076
+ copy_large_opened_blueprint = 55,
1077
+ copy_large_opened_item = 56,
1078
+ copy_opened_blueprint = 57,
1079
+ copy_opened_item = 58,
1080
+ craft = 59,
1081
+ create_space_platform = 60,
1082
+ cursor_split = 61,
1083
+ cursor_transfer = 62,
1084
+ custom_input = 63,
1085
+ cycle_blueprint_book_backwards = 64,
1086
+ cycle_blueprint_book_forwards = 65,
1087
+ cycle_quality_down = 66,
1088
+ cycle_quality_up = 67,
1089
+ deconstruct = 68,
1090
+ delete_blueprint_library = 69,
1091
+ delete_blueprint_record = 70,
1092
+ delete_custom_tag = 71,
1093
+ delete_logistic_group = 72,
1094
+ delete_permission_group = 73,
1095
+ delete_space_platform = 74,
1096
+ destroy_item = 75,
1097
+ destroy_opened_item = 76,
1098
+ disconnect_rolling_stock = 77,
1099
+ drag_decider_combinator_condition = 78,
1100
+ drag_decider_combinator_else_output = 79,
1101
+ drag_decider_combinator_output = 80,
1102
+ drag_research_condition = 81,
1103
+ drag_train_schedule = 82,
1104
+ drag_train_schedule_interrupt = 83,
1105
+ drag_train_wait_condition = 84,
1106
+ drop_blueprint_record = 85,
1107
+ drop_item = 86,
1108
+ edit_blueprint_tool_preview = 87,
1109
+ edit_custom_tag = 88,
1110
+ edit_display_panel = 89,
1111
+ edit_display_panel_always_show = 90,
1112
+ edit_display_panel_icon = 91,
1113
+ edit_display_panel_parameters = 92,
1114
+ edit_display_panel_show_in_chart = 93,
1115
+ edit_display_panel_single_entry = 94,
1116
+ edit_interrupt = 95,
1117
+ edit_permission_group = 96,
1118
+ edit_pin = 97,
1119
+ export_blueprint = 98,
1120
+ fast_entity_split = 99,
1121
+ fast_entity_transfer = 100,
1122
+ flip_entity = 101,
1123
+ flush_opened_entity_fluid = 102,
1124
+ flush_opened_entity_specific_fluid = 103,
1125
+ go_to_train_station = 104,
1126
+ grab_blueprint_record = 105,
1127
+ gui_checked_state_changed = 106,
1128
+ gui_click = 107,
1129
+ gui_confirmed = 108,
1130
+ gui_elem_changed = 109,
1131
+ gui_hover = 110,
1132
+ gui_inventory_action = 111,
1133
+ gui_inventory_bar_changed = 112,
1134
+ gui_inventory_filter_changed = 113,
1135
+ gui_leave = 114,
1136
+ gui_location_changed = 115,
1137
+ gui_selected_tab_changed = 116,
1138
+ gui_selection_state_changed = 117,
1139
+ gui_switch_state_changed = 118,
1140
+ gui_text_changed = 119,
1141
+ gui_value_changed = 120,
1142
+ import_blueprint = 121,
1143
+ import_blueprint_string = 122,
1144
+ import_blueprints_filtered = 123,
1145
+ import_permissions_string = 124,
1146
+ instantly_create_space_platform = 125,
1147
+ inventory_split = 126,
1148
+ inventory_transfer = 127,
1149
+ land_at_planet = 128,
1150
+ launch_rocket = 129,
1151
+ lua_shortcut = 130,
1152
+ map_editor_action = 131,
1153
+ market_offer = 132,
1154
+ mod_settings_changed = 133,
1155
+ modify_decider_combinator_condition = 134,
1156
+ modify_decider_combinator_else_output = 135,
1157
+ modify_decider_combinator_output = 136,
1158
+ move_pin = 137,
1159
+ move_research = 138,
1160
+ open_achievements_gui = 139,
1161
+ open_blueprint_library_gui = 140,
1162
+ open_blueprint_record = 141,
1163
+ open_bonus_gui = 142,
1164
+ open_character_gui = 143,
1165
+ open_current_vehicle_gui = 144,
1166
+ open_equipment = 145,
1167
+ open_global_electric_network_gui = 146,
1168
+ open_gui = 147,
1169
+ open_item = 148,
1170
+ open_logistics_gui = 149,
1171
+ open_mod_item = 150,
1172
+ open_new_platform_button_from_rocket_silo = 151,
1173
+ open_opened_entity_grid = 152,
1174
+ open_parent_of_opened_item = 153,
1175
+ open_production_gui = 154,
1176
+ open_train_gui = 155,
1177
+ open_train_station_gui = 156,
1178
+ open_trains_gui = 157,
1179
+ parametrise_blueprint = 158,
1180
+ paste_entity_settings = 159,
1181
+ pin_alert_group = 160,
1182
+ pin_custom_alert = 161,
1183
+ pin_search_result = 162,
1184
+ pipette = 163,
1185
+ place_equipment = 164,
1186
+ providing_to_other_platforms = 165,
1187
+ quick_bar_pick_slot = 166,
1188
+ quick_bar_set_selected_page = 167,
1189
+ quick_bar_set_slot = 168,
1190
+ reassign_blueprint = 169,
1191
+ redo = 170,
1192
+ remote_view_entity = 171,
1193
+ remote_view_surface = 172,
1194
+ remove_cables = 173,
1195
+ remove_decider_combinator_condition = 174,
1196
+ remove_decider_combinator_else_output = 175,
1197
+ remove_decider_combinator_output = 176,
1198
+ remove_logistic_section = 177,
1199
+ remove_pin = 178,
1200
+ remove_train_interrupt = 179,
1201
+ remove_train_station = 180,
1202
+ rename_interrupt = 181,
1203
+ rename_space_platform = 182,
1204
+ reorder_logistic_section = 183,
1205
+ request_missing_construction_materials = 184,
1206
+ reset_assembling_machine = 185,
1207
+ reverse_select_area = 186,
1208
+ rotate_entity = 187,
1209
+ select_area = 188,
1210
+ select_asteroid_chunk_slot = 189,
1211
+ select_blueprint_entities = 190,
1212
+ select_entity_filter_slot = 191,
1213
+ select_entity_slot = 192,
1214
+ select_item_filter = 193,
1215
+ select_mapper_slot_from = 194,
1216
+ select_mapper_slot_to = 195,
1217
+ select_next_valid_gun = 196,
1218
+ select_tile_slot = 197,
1219
+ send_spidertron = 198,
1220
+ send_stack_to_trash = 199,
1221
+ send_stacks_to_trash = 200,
1222
+ send_train_to_pin_target = 201,
1223
+ set_behavior_mode = 202,
1224
+ set_car_weapons_control = 203,
1225
+ set_cheat_mode_quality = 204,
1226
+ set_circuit_condition = 205,
1227
+ set_circuit_mode_of_operation = 206,
1228
+ set_combinator_description = 207,
1229
+ set_control_behavior_input_networks = 208,
1230
+ set_control_behavior_output_networks = 209,
1231
+ set_copy_color_from_train_stop = 210,
1232
+ set_deconstruction_item_tile_selection_mode = 211,
1233
+ set_deconstruction_item_trees_and_rocks_only = 212,
1234
+ set_entity_color = 213,
1235
+ set_entity_energy_property = 214,
1236
+ set_equipment_energy_property = 215,
1237
+ set_filter = 216,
1238
+ set_ghost_cursor = 217,
1239
+ set_heat_interface_mode = 218,
1240
+ set_heat_interface_temperature = 219,
1241
+ set_infinity_container_filter_item = 220,
1242
+ set_infinity_container_logistic_mode = 221,
1243
+ set_infinity_container_remove_unfiltered_items = 222,
1244
+ set_infinity_pipe_filter = 223,
1245
+ set_inserter_max_stack_size = 224,
1246
+ set_inventory_bar = 225,
1247
+ set_lamp_always_on = 226,
1248
+ set_linked_container_link_i_d = 227,
1249
+ set_loader_belt_stack_size_override = 228,
1250
+ set_logistic_filter_item = 229,
1251
+ set_logistic_network_name = 230,
1252
+ set_logistic_section_active = 231,
1253
+ set_player_color = 232,
1254
+ set_pump_fluid_filter = 233,
1255
+ set_request_from_buffers = 234,
1256
+ set_research_finished_stops_game = 235,
1257
+ set_rocket_silo_send_to_orbit_automated_mode = 236,
1258
+ set_schedule_record_allow_unloading = 237,
1259
+ set_signal = 238,
1260
+ set_splitter_priority = 239,
1261
+ set_spoil_priority = 240,
1262
+ set_train_stop_priority = 241,
1263
+ set_train_stopped = 242,
1264
+ set_trains_limit = 243,
1265
+ set_turret_ignore_unlisted = 244,
1266
+ set_use_inserter_filters = 245,
1267
+ set_vehicle_automatic_targeting_parameters = 246,
1268
+ setup_assembling_machine = 247,
1269
+ setup_blueprint = 248,
1270
+ setup_single_blueprint_record = 249,
1271
+ spawn_item = 250,
1272
+ spectator_change_surface = 251,
1273
+ stack_split = 252,
1274
+ stack_transfer = 253,
1275
+ start_repair = 254,
1276
+ start_research = 255,
1277
+ start_walking = 256,
1278
+ stop_drag_build = 257,
1279
+ swap_asteroid_chunk_slots = 258,
1280
+ swap_entity_filter_slots = 259,
1281
+ swap_entity_slots = 260,
1282
+ swap_infinity_container_filter_items = 261,
1283
+ swap_item_filters = 262,
1284
+ swap_logistic_filter_items = 263,
1285
+ swap_mappers = 264,
1286
+ swap_tile_slots = 265,
1287
+ switch_connect_to_logistic_network = 266,
1288
+ switch_constant_combinator_state = 267,
1289
+ switch_inserter_filter_mode_state = 268,
1290
+ switch_loader_filter_mode = 269,
1291
+ switch_mining_drill_filter_mode_state = 270,
1292
+ switch_power_switch_state = 271,
1293
+ take_equipment = 272,
1294
+ toggle_artillery_auto_targeting = 273,
1295
+ toggle_blueprint_snap_to_grid = 274,
1296
+ toggle_deconstruction_item_entity_filter_mode = 275,
1297
+ toggle_deconstruction_item_tile_filter_mode = 276,
1298
+ toggle_driving = 277,
1299
+ toggle_enable_vehicle_logistics_while_moving = 278,
1300
+ toggle_entity_logistic_requests = 279,
1301
+ toggle_equipment_movement_bonus = 280,
1302
+ toggle_map_editor = 281,
1303
+ toggle_personal_logistic_requests = 282,
1304
+ toggle_personal_roboport = 283,
1305
+ toggle_selected_entity = 284,
1306
+ toggle_show_entity_info = 285,
1307
+ toggle_tall_entity_visibility = 286,
1308
+ trash_not_requested_items = 287,
1309
+ undo = 288,
1310
+ upgrade = 289,
1311
+ upgrade_opened_blueprint_by_item = 290,
1312
+ upgrade_opened_blueprint_by_record = 291,
1313
+ use_item = 292,
1314
+ wire_dragging = 293,
1315
+ write_to_console = 294
1312
1316
  }
1313
1317
  enum input_method {
1314
1318
  game_controller = 1,
package/dist/events.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  // Factorio API reference https://lua-api.factorio.com/latest/index.html
3
3
  // Generated from JSON source https://lua-api.factorio.com/latest/runtime-api.json
4
4
  // Definition source https://github.com/sguest/factorio-types
5
- // Factorio version 2.1.7
5
+ // Factorio version 2.1.9
6
6
  // API version 6
7
7
 
8
8
  declare namespace runtime {
package/dist/global.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  // Factorio API reference https://lua-api.factorio.com/latest/index.html
3
3
  // Generated from JSON source https://lua-api.factorio.com/latest/runtime-api.json
4
4
  // Definition source https://github.com/sguest/factorio-types
5
- // Factorio version 2.1.7
5
+ // Factorio version 2.1.9
6
6
  // API version 6
7
7
 
8
8
  /**
@@ -2,7 +2,7 @@
2
2
  // Factorio API reference https://lua-api.factorio.com/latest/index.html
3
3
  // Generated from JSON source https://lua-api.factorio.com/latest/prototype-api.json
4
4
  // Definition source https://github.com/sguest/factorio-types
5
- // Factorio version 2.1.7
5
+ // Factorio version 2.1.9
6
6
  // API version 6
7
7
 
8
8
  declare namespace prototype {
@@ -3583,6 +3583,8 @@ interface EntityPrototype extends Prototype {
3583
3583
  surface_conditions?: SurfaceCondition[];
3584
3584
  /**
3585
3585
  * When this is true, this entity prototype will be translucent and unselectable when "Hide tall entities" mode is active.
3586
+ *
3587
+ * Rail signals are always treated as 'tall' when built attached to elevated rails.
3586
3588
  */
3587
3589
  tall?: boolean;
3588
3590
  tile_buildability_rules?: TileBuildabilityRule[];
package/dist/types.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  // Factorio API reference https://lua-api.factorio.com/latest/index.html
3
3
  // Generated from JSON source https://lua-api.factorio.com/latest/prototype-api.json
4
4
  // Definition source https://github.com/sguest/factorio-types
5
- // Factorio version 2.1.7
5
+ // Factorio version 2.1.9
6
6
  // API version 6
7
7
 
8
8
  declare namespace prototype {
@@ -215,6 +215,9 @@ type Alignment = 'top-left' | 'middle-left' | /**
215
215
  * The same as `"middle-right"`
216
216
  */
217
217
  'right' | 'bottom-right';
218
+ /**
219
+ * Triggered when using the "build ghost" hotkey to build something.
220
+ */
218
221
  interface AlternativeBuildTipTrigger extends CountBasedTipTrigger {
219
222
  type: 'alternative-build';
220
223
  }
@@ -1403,6 +1406,9 @@ VirtualSignalPrototype | /**
1403
1406
  * `'wall'`
1404
1407
  */
1405
1408
  WallPrototype;
1409
+ /**
1410
+ * Triggered when a {@link space platform starter pack | prototype:SpacePlatformStarterPackPrototype} is used to create a space platform.
1411
+ */
1406
1412
  interface ApplyStarterPackTipTrigger extends CountBasedTipTrigger {
1407
1413
  type: 'apply-starter-pack';
1408
1414
  }
@@ -3871,7 +3877,7 @@ interface DifficultySettings {
3871
3877
  */
3872
3878
  spoil_time_modifier?: double;
3873
3879
  /**
3874
- * Must be >= 0.001 and <= 1000.
3880
+ * Must be >= 0.001 and <= 100000.
3875
3881
  */
3876
3882
  technology_price_multiplier?: double;
3877
3883
  }
@@ -4643,7 +4649,13 @@ interface EntityRendererSearchBoxLimits {
4643
4649
  top: uint8;
4644
4650
  }
4645
4651
  type EntityStatus = 'working' | 'normal' | 'ghost' | 'not-plugged-in-electric-network' | 'networks-connected' | 'networks-disconnected' | 'no-ammo' | 'waiting-for-target-to-be-built' | 'waiting-for-train' | 'no-power' | 'low-temperature' | 'charging' | 'discharging' | 'fully-charged' | 'no-fuel' | 'no-food' | 'out-of-logistic-network' | 'no-recipe' | 'no-ingredients' | 'no-input-fluid' | 'no-research-in-progress' | 'no-minable-resources' | 'low-input-fluid' | 'low-power' | 'not-connected-to-rail' | 'cant-divide-segments' | 'recharging-after-power-outage' | 'no-modules-to-transmit' | 'disabled-by-control-behavior' | 'opened-by-circuit-network' | 'closed-by-circuit-network' | 'disabled-by-script' | 'disabled' | 'turned-off-during-daytime' | 'fluid-ingredient-shortage' | 'item-ingredient-shortage' | 'full-output' | 'not-enough-space-in-output' | 'full-burnt-result-output' | 'marked-for-deconstruction' | 'missing-required-fluid' | 'missing-science-packs' | 'waiting-for-source-items' | 'waiting-for-space-in-destination' | 'preparing-rocket-for-launch' | 'waiting-to-launch-rocket' | 'waiting-for-space-in-platform-hub' | 'launching-rocket' | 'thrust-not-required' | 'not-enough-thrust' | 'on-the-way' | 'waiting-in-orbit' | 'waiting-for-rocket-to-arrive' | 'waiting-to-clear-drop-slots' | 'no-path' | 'broken' | 'none' | 'frozen' | 'paused' | 'not-connected-to-hub-or-pad' | 'too-far-from-pad-to-unload' | 'computing-navigation' | 'no-filter' | 'waiting-at-stop' | 'waiting-for-upgrade' | 'destination-stop-full' | 'pipeline-overextended' | 'no-spot-seedable-by-inputs' | 'waiting-for-plants-to-grow' | 'recipe-not-researched' | 'armed';
4652
+ /**
4653
+ * Triggered when a player fast-transfers something to or from an entity, similar to the {@link on_player_fast_transferred | runtime:on_player_fast_transferred} event.
4654
+ */
4646
4655
  interface EntityTransferTipTrigger extends CountBasedTipTrigger {
4656
+ /**
4657
+ * Whether the transfer should be into or out of the player.
4658
+ */
4647
4659
  transfer?: 'in' | 'out';
4648
4660
  type: 'entity-transfer';
4649
4661
  }
@@ -6572,6 +6584,9 @@ interface MainSound {
6572
6584
  */
6573
6585
  volume_smoothing_window_size?: uint32;
6574
6586
  }
6587
+ /**
6588
+ * Triggered when the player manually moves item with the cursor, *without* using shortcuts such as entity transfer or stack split.
6589
+ */
6575
6590
  interface ManualTransferTipTrigger extends CountBasedTipTrigger {
6576
6591
  type: 'manual-transfer';
6577
6592
  }
@@ -9728,6 +9743,9 @@ interface SendSpidertronTipTrigger extends CountBasedTipTrigger {
9728
9743
  type: 'send-spidertron';
9729
9744
  }
9730
9745
  type SendToOrbitMode = 'not-sendable' | 'manual' | 'automated';
9746
+ /**
9747
+ * Triggered when the triggers listed in `triggers` are triggered in order.
9748
+ */
9731
9749
  interface SequenceTipTrigger {
9732
9750
  /**
9733
9751
  * List of triggers to fulfill.
@@ -12697,6 +12715,9 @@ KillTipTrigger;
12697
12715
  interface ToggleRailLayerTipTrigger extends CountBasedTipTrigger {
12698
12716
  type: 'toggle-rail-layer';
12699
12717
  }
12718
+ /**
12719
+ * Triggered when the player turns "alt-mode" on or off.
12720
+ */
12700
12721
  interface ToggleShowEntityInfoTipTrigger extends CountBasedTipTrigger {
12701
12722
  type: 'toggle-show-entity-info';
12702
12723
  }
@@ -13568,6 +13589,9 @@ interface UnlockSpaceLocationModifier extends BaseModifier {
13568
13589
  */
13569
13590
  use_icon_overlay_constant?: boolean;
13570
13591
  }
13592
+ /**
13593
+ * Triggered when using E to confirm a GUI that allows to pick from a certain kind of prototype.
13594
+ */
13571
13595
  interface UseConfirmTipTrigger extends CountBasedTipTrigger {
13572
13596
  type: 'use-confirm';
13573
13597
  }
@@ -14229,6 +14253,9 @@ interface WorkingVisualisation {
14229
14253
  frame_based_on_shift_animation_progress?: boolean;
14230
14254
  light?: LightDefinition;
14231
14255
  mining_drill_scorch_mark?: boolean;
14256
+ /**
14257
+ * Used by {@link MainSound::play_for_working_visualisations | prototype:MainSound::play_for_working_visualisations}, {@link SoundAccent::play_for_working_visualisation | prototype:SoundAccent::play_for_working_visualisation}, {@link FluidBox::enable_working_visualisations | prototype:FluidBox::enable_working_visualisations}, and {@link PipeConnectionDefinition::enable_working_visualisations | prototype:PipeConnectionDefinition::enable_working_visualisations}.
14258
+ */
14232
14259
  name?: string;
14233
14260
  north_animation?: Animation;
14234
14261
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "factorio-types",
3
- "version": "1.2.59",
3
+ "version": "1.2.61",
4
4
  "description": "Typescript declarations for the Factorio mod API",
5
5
  "main": "index.d.ts",
6
6
  "repository": "https://github.com/sguest/factorio-types.git",
@@ -23,7 +23,7 @@
23
23
  "src/**/*.d.ts",
24
24
  "dist/**/*.d.ts"
25
25
  ],
26
- "factorioVersion": "2.1.7",
26
+ "factorioVersion": "2.1.9",
27
27
  "dependencies": {
28
28
  "lua-types": "^2.13.1"
29
29
  },