factorio-types 1.2.67 → 1.2.69

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.
@@ -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.17
5
+ // Factorio version 2.1.20
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.17
5
+ // Factorio version 2.1.20
6
6
  // API version 6
7
7
 
8
8
  declare namespace defines {
@@ -1161,162 +1161,163 @@ enum input_action {
1161
1161
  move_pin = 137,
1162
1162
  move_research = 138,
1163
1163
  open_achievements_gui = 139,
1164
- open_blueprint_library_gui = 140,
1165
- open_blueprint_record = 141,
1166
- open_bonus_gui = 142,
1167
- open_character_gui = 143,
1168
- open_current_vehicle_gui = 144,
1169
- open_equipment = 145,
1170
- open_global_electric_network_gui = 146,
1171
- open_gui = 147,
1172
- open_item = 148,
1173
- open_logistics_gui = 149,
1174
- open_mod_item = 150,
1175
- open_new_platform_button_from_rocket_silo = 151,
1176
- open_opened_entity_grid = 152,
1177
- open_parent_of_opened_item = 153,
1178
- open_production_gui = 154,
1179
- open_train_gui = 155,
1180
- open_train_station_gui = 156,
1181
- open_trains_gui = 157,
1182
- parametrise_blueprint = 158,
1183
- paste_entity_settings = 159,
1184
- pin_alert_group = 160,
1185
- pin_custom_alert = 161,
1186
- pin_search_result = 162,
1187
- pipette = 163,
1188
- place_equipment = 164,
1189
- providing_to_other_platforms = 165,
1190
- quick_bar_pick_slot = 166,
1191
- quick_bar_set_selected_page = 167,
1192
- quick_bar_set_slot = 168,
1193
- reassign_blueprint = 169,
1194
- redo = 170,
1195
- remote_view_entity = 171,
1196
- remote_view_surface = 172,
1197
- remove_cables = 173,
1198
- remove_decider_combinator_condition = 174,
1199
- remove_decider_combinator_else_output = 175,
1200
- remove_decider_combinator_output = 176,
1201
- remove_logistic_section = 177,
1202
- remove_pin = 178,
1203
- remove_train_interrupt = 179,
1204
- remove_train_station = 180,
1205
- rename_interrupt = 181,
1206
- rename_space_platform = 182,
1207
- reorder_logistic_section = 183,
1208
- request_missing_construction_materials = 184,
1209
- reset_assembling_machine = 185,
1210
- reverse_select_area = 186,
1211
- rotate_entity = 187,
1212
- select_area = 188,
1213
- select_asteroid_chunk_slot = 189,
1214
- select_blueprint_entities = 190,
1215
- select_entity_filter_slot = 191,
1216
- select_entity_slot = 192,
1217
- select_item_filter = 193,
1218
- select_mapper_slot_from = 194,
1219
- select_mapper_slot_to = 195,
1220
- select_next_valid_gun = 196,
1221
- select_tile_slot = 197,
1222
- send_spidertron = 198,
1223
- send_stack_to_trash = 199,
1224
- send_stacks_to_trash = 200,
1225
- send_train_to_pin_target = 201,
1226
- set_behavior_mode = 202,
1227
- set_car_weapons_control = 203,
1228
- set_cheat_mode_quality = 204,
1229
- set_circuit_condition = 205,
1230
- set_circuit_mode_of_operation = 206,
1231
- set_combinator_description = 207,
1232
- set_control_behavior_input_networks = 208,
1233
- set_control_behavior_output_networks = 209,
1234
- set_copy_color_from_train_stop = 210,
1235
- set_deconstruction_item_tile_selection_mode = 211,
1236
- set_deconstruction_item_trees_and_rocks_only = 212,
1237
- set_entity_color = 213,
1238
- set_entity_energy_property = 214,
1239
- set_equipment_energy_property = 215,
1240
- set_filter = 216,
1241
- set_ghost_cursor = 217,
1242
- set_heat_interface_mode = 218,
1243
- set_heat_interface_temperature = 219,
1244
- set_infinity_container_filter_item = 220,
1245
- set_infinity_container_logistic_mode = 221,
1246
- set_infinity_container_remove_unfiltered_items = 222,
1247
- set_infinity_pipe_filter = 223,
1248
- set_inserter_max_stack_size = 224,
1249
- set_inventory_bar = 225,
1250
- set_lamp_always_on = 226,
1251
- set_linked_container_link_i_d = 227,
1252
- set_loader_belt_stack_size_override = 228,
1253
- set_logistic_filter_item = 229,
1254
- set_logistic_network_name = 230,
1255
- set_logistic_section_active = 231,
1256
- set_player_color = 232,
1257
- set_pump_fluid_filter = 233,
1258
- set_request_from_buffers = 234,
1259
- set_research_finished_stops_game = 235,
1260
- set_rocket_silo_send_to_orbit_automated_mode = 236,
1261
- set_schedule_record_allow_unloading = 237,
1262
- set_signal = 238,
1263
- set_splitter_priority = 239,
1264
- set_spoil_priority = 240,
1265
- set_train_stop_priority = 241,
1266
- set_train_stopped = 242,
1267
- set_trains_limit = 243,
1268
- set_turret_ignore_unlisted = 244,
1269
- set_use_inserter_filters = 245,
1270
- set_vehicle_automatic_targeting_parameters = 246,
1271
- setup_assembling_machine = 247,
1272
- setup_blueprint = 248,
1273
- setup_single_blueprint_record = 249,
1274
- spawn_item = 250,
1275
- spectator_change_surface = 251,
1276
- stack_split = 252,
1277
- stack_transfer = 253,
1278
- start_repair = 254,
1279
- start_research = 255,
1280
- start_walking = 256,
1281
- stop_drag_build = 257,
1282
- super_forced_select_area = 258,
1283
- swap_asteroid_chunk_slots = 259,
1284
- swap_entity_filter_slots = 260,
1285
- swap_entity_slots = 261,
1286
- swap_infinity_container_filter_items = 262,
1287
- swap_item_filters = 263,
1288
- swap_logistic_filter_items = 264,
1289
- swap_mappers = 265,
1290
- swap_tile_slots = 266,
1291
- switch_connect_to_logistic_network = 267,
1292
- switch_constant_combinator_state = 268,
1293
- switch_inserter_filter_mode_state = 269,
1294
- switch_loader_filter_mode = 270,
1295
- switch_mining_drill_filter_mode_state = 271,
1296
- switch_power_switch_state = 272,
1297
- take_equipment = 273,
1298
- toggle_artillery_auto_targeting = 274,
1299
- toggle_blueprint_snap_to_grid = 275,
1300
- toggle_deconstruction_item_entity_filter_mode = 276,
1301
- toggle_deconstruction_item_tile_filter_mode = 277,
1302
- toggle_driving = 278,
1303
- toggle_enable_vehicle_logistics_while_moving = 279,
1304
- toggle_entity_logistic_requests = 280,
1305
- toggle_equipment_movement_bonus = 281,
1306
- toggle_map_editor = 282,
1307
- toggle_personal_logistic_requests = 283,
1308
- toggle_personal_roboport = 284,
1309
- toggle_selected_entity = 285,
1310
- toggle_show_entity_info = 286,
1311
- toggle_tall_entity_visibility = 287,
1312
- trash_not_requested_items = 288,
1313
- undo = 289,
1314
- upgrade = 290,
1315
- upgrade_opened_blueprint_by_item = 291,
1316
- upgrade_opened_blueprint_by_record = 292,
1317
- use_item = 293,
1318
- wire_dragging = 294,
1319
- write_to_console = 295
1164
+ open_alerts_config_gui = 140,
1165
+ open_blueprint_library_gui = 141,
1166
+ open_blueprint_record = 142,
1167
+ open_bonus_gui = 143,
1168
+ open_character_gui = 144,
1169
+ open_current_vehicle_gui = 145,
1170
+ open_equipment = 146,
1171
+ open_global_electric_network_gui = 147,
1172
+ open_gui = 148,
1173
+ open_item = 149,
1174
+ open_logistics_gui = 150,
1175
+ open_mod_item = 151,
1176
+ open_new_platform_button_from_rocket_silo = 152,
1177
+ open_opened_entity_grid = 153,
1178
+ open_parent_of_opened_item = 154,
1179
+ open_production_gui = 155,
1180
+ open_train_gui = 156,
1181
+ open_train_station_gui = 157,
1182
+ open_trains_gui = 158,
1183
+ parametrise_blueprint = 159,
1184
+ paste_entity_settings = 160,
1185
+ pin_alert_group = 161,
1186
+ pin_custom_alert = 162,
1187
+ pin_search_result = 163,
1188
+ pipette = 164,
1189
+ place_equipment = 165,
1190
+ providing_to_other_platforms = 166,
1191
+ quick_bar_pick_slot = 167,
1192
+ quick_bar_set_selected_page = 168,
1193
+ quick_bar_set_slot = 169,
1194
+ reassign_blueprint = 170,
1195
+ redo = 171,
1196
+ remote_view_entity = 172,
1197
+ remote_view_surface = 173,
1198
+ remove_cables = 174,
1199
+ remove_decider_combinator_condition = 175,
1200
+ remove_decider_combinator_else_output = 176,
1201
+ remove_decider_combinator_output = 177,
1202
+ remove_logistic_section = 178,
1203
+ remove_pin = 179,
1204
+ remove_train_interrupt = 180,
1205
+ remove_train_station = 181,
1206
+ rename_interrupt = 182,
1207
+ rename_space_platform = 183,
1208
+ reorder_logistic_section = 184,
1209
+ request_missing_construction_materials = 185,
1210
+ reset_assembling_machine = 186,
1211
+ reverse_select_area = 187,
1212
+ rotate_entity = 188,
1213
+ select_area = 189,
1214
+ select_asteroid_chunk_slot = 190,
1215
+ select_blueprint_entities = 191,
1216
+ select_entity_filter_slot = 192,
1217
+ select_entity_slot = 193,
1218
+ select_item_filter = 194,
1219
+ select_mapper_slot_from = 195,
1220
+ select_mapper_slot_to = 196,
1221
+ select_next_valid_gun = 197,
1222
+ select_tile_slot = 198,
1223
+ send_spidertron = 199,
1224
+ send_stack_to_trash = 200,
1225
+ send_stacks_to_trash = 201,
1226
+ send_train_to_pin_target = 202,
1227
+ set_behavior_mode = 203,
1228
+ set_car_weapons_control = 204,
1229
+ set_cheat_mode_quality = 205,
1230
+ set_circuit_condition = 206,
1231
+ set_circuit_mode_of_operation = 207,
1232
+ set_combinator_description = 208,
1233
+ set_control_behavior_input_networks = 209,
1234
+ set_control_behavior_output_networks = 210,
1235
+ set_copy_color_from_train_stop = 211,
1236
+ set_deconstruction_item_tile_selection_mode = 212,
1237
+ set_deconstruction_item_trees_and_rocks_only = 213,
1238
+ set_entity_color = 214,
1239
+ set_entity_energy_property = 215,
1240
+ set_equipment_energy_property = 216,
1241
+ set_filter = 217,
1242
+ set_ghost_cursor = 218,
1243
+ set_heat_interface_mode = 219,
1244
+ set_heat_interface_temperature = 220,
1245
+ set_infinity_container_filter_item = 221,
1246
+ set_infinity_container_logistic_mode = 222,
1247
+ set_infinity_container_remove_unfiltered_items = 223,
1248
+ set_infinity_pipe_filter = 224,
1249
+ set_inserter_max_stack_size = 225,
1250
+ set_inventory_bar = 226,
1251
+ set_lamp_always_on = 227,
1252
+ set_linked_container_link_i_d = 228,
1253
+ set_loader_belt_stack_size_override = 229,
1254
+ set_logistic_filter_item = 230,
1255
+ set_logistic_network_name = 231,
1256
+ set_logistic_section_active = 232,
1257
+ set_player_color = 233,
1258
+ set_pump_fluid_filter = 234,
1259
+ set_request_from_buffers = 235,
1260
+ set_research_finished_stops_game = 236,
1261
+ set_rocket_silo_send_to_orbit_automated_mode = 237,
1262
+ set_schedule_record_allow_unloading = 238,
1263
+ set_signal = 239,
1264
+ set_splitter_priority = 240,
1265
+ set_spoil_priority = 241,
1266
+ set_train_stop_priority = 242,
1267
+ set_train_stopped = 243,
1268
+ set_trains_limit = 244,
1269
+ set_turret_ignore_unlisted = 245,
1270
+ set_use_inserter_filters = 246,
1271
+ set_vehicle_automatic_targeting_parameters = 247,
1272
+ setup_assembling_machine = 248,
1273
+ setup_blueprint = 249,
1274
+ setup_single_blueprint_record = 250,
1275
+ spawn_item = 251,
1276
+ spectator_change_surface = 252,
1277
+ stack_split = 253,
1278
+ stack_transfer = 254,
1279
+ start_repair = 255,
1280
+ start_research = 256,
1281
+ start_walking = 257,
1282
+ stop_drag_build = 258,
1283
+ super_forced_select_area = 259,
1284
+ swap_asteroid_chunk_slots = 260,
1285
+ swap_entity_filter_slots = 261,
1286
+ swap_entity_slots = 262,
1287
+ swap_infinity_container_filter_items = 263,
1288
+ swap_item_filters = 264,
1289
+ swap_logistic_filter_items = 265,
1290
+ swap_mappers = 266,
1291
+ swap_tile_slots = 267,
1292
+ switch_connect_to_logistic_network = 268,
1293
+ switch_constant_combinator_state = 269,
1294
+ switch_inserter_filter_mode_state = 270,
1295
+ switch_loader_filter_mode = 271,
1296
+ switch_mining_drill_filter_mode_state = 272,
1297
+ switch_power_switch_state = 273,
1298
+ take_equipment = 274,
1299
+ toggle_artillery_auto_targeting = 275,
1300
+ toggle_blueprint_snap_to_grid = 276,
1301
+ toggle_deconstruction_item_entity_filter_mode = 277,
1302
+ toggle_deconstruction_item_tile_filter_mode = 278,
1303
+ toggle_driving = 279,
1304
+ toggle_enable_vehicle_logistics_while_moving = 280,
1305
+ toggle_entity_logistic_requests = 281,
1306
+ toggle_equipment_movement_bonus = 282,
1307
+ toggle_map_editor = 283,
1308
+ toggle_personal_logistic_requests = 284,
1309
+ toggle_personal_roboport = 285,
1310
+ toggle_selected_entity = 286,
1311
+ toggle_show_entity_info = 287,
1312
+ toggle_tall_entity_visibility = 288,
1313
+ trash_not_requested_items = 289,
1314
+ undo = 290,
1315
+ upgrade = 291,
1316
+ upgrade_opened_blueprint_by_item = 292,
1317
+ upgrade_opened_blueprint_by_record = 293,
1318
+ use_item = 294,
1319
+ wire_dragging = 295,
1320
+ write_to_console = 296
1320
1321
  }
1321
1322
  enum input_method {
1322
1323
  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.17
5
+ // Factorio version 2.1.20
6
6
  // API version 6
7
7
 
8
8
  declare namespace runtime {
@@ -57,6 +57,51 @@ interface CustomInputEvent {
57
57
  */
58
58
  tick: MapTick;
59
59
  }
60
+ /**
61
+ * Called when a recipe with {@link RecipePrototype::raise_on_crafted | prototype:RecipePrototype::raise_on_crafted} is crafted.
62
+ */
63
+ interface RecipeCraftedEvent {
64
+ /**
65
+ * If crafted as part of bonus products.
66
+ */
67
+ bonus: boolean;
68
+ /**
69
+ * Entity that crafted recipe.
70
+ */
71
+ entity: LuaEntity;
72
+ /**
73
+ * Identifier of the event.
74
+ */
75
+ name: defines.events;
76
+ /**
77
+ * Quality of products given. May be different than recipe quality if quality modules are present. Always provided even if quality_effect is zero because {@link LuaEntity::result_quality | runtime:LuaEntity::result_quality} may have been used. Only used by products without quality control.
78
+ */
79
+ product_quality: string;
80
+ /**
81
+ * Quality effect used when giving products. Not provided if value is 0. May be different than value obtained from {@link LuaEntity::effects | runtime:LuaEntity::effects} when quality modules were changed between craft starting and products being given.
82
+ */
83
+ quality_effect?: EffectValue;
84
+ /**
85
+ * Random value in range [0, 1) that was used when selecting product quality. Only provided when quality_effect is provided.
86
+ */
87
+ quality_seed?: double;
88
+ /**
89
+ * Name of recipe that was crafted.
90
+ */
91
+ recipe: string;
92
+ /**
93
+ * Quality of the recipe crafted.
94
+ */
95
+ recipe_quality: string;
96
+ /**
97
+ * Random value in range {@link 0, 1) used as part of shared roll when giving products. Related to [ProductPrototypeBase::shared_probability | prototype:ProductPrototypeBase::shared_probability}.
98
+ */
99
+ shared_roll: double;
100
+ /**
101
+ * Tick the event was generated.
102
+ */
103
+ tick: MapTick;
104
+ }
60
105
  /**
61
106
  * Called when an achievement is gained.
62
107
  */
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.17
5
+ // Factorio version 2.1.20
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.17
5
+ // Factorio version 2.1.20
6
6
  // API version 6
7
7
 
8
8
  declare namespace prototype {
@@ -955,7 +955,7 @@ interface AssemblingMachinePrototype extends CraftingMachinePrototype {
955
955
  fixed_recipe?: RecipeID;
956
956
  fluid_boxes_off_when_no_fluid_recipe?: boolean;
957
957
  /**
958
- * The locale key of the title of the GUI that is shown when the player opens the assembling machine. May not be longer than 200 characters.
958
+ * 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.
959
959
  */
960
960
  gui_title_key?: string;
961
961
  /**
@@ -5081,9 +5081,9 @@ interface ItemPrototype extends Prototype {
5081
5081
  */
5082
5082
  fuel_acceleration_multiplier_quality_bonus?: double;
5083
5083
  /**
5084
- * Must exist when a nonzero fuel_value is defined.
5084
+ * Mandatory with at least one fuel category when a nonzero fuel_value is defined.
5085
5085
  */
5086
- fuel_category?: FuelCategoryID;
5086
+ fuel_categories?: FuelCategoryID[];
5087
5087
  fuel_emissions_multiplier?: double;
5088
5088
  /**
5089
5089
  * 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 | prototype:ReactorPrototype::use_fuel_glow_color}.
@@ -5156,11 +5156,23 @@ interface ItemPrototype extends Prototype {
5156
5156
  */
5157
5157
  place_result?: EntityID;
5158
5158
  plant_result?: EntityID;
5159
+ /**
5160
+ * Only loaded if `spoil_ticks` is larger than 0.
5161
+ *
5162
+ * If set, {@link QualityPrototype::spoil_ticks_multiplier | prototype:QualityPrototype::spoil_ticks_multiplier} will be applied to spoil_tick value.
5163
+ */
5164
+ quality_affects_spoil_ticks?: boolean;
5159
5165
  /**
5160
5166
  * Randomly tints item instances on belts and in the world. 0 no tinting. 1 full tint.
5161
5167
  */
5162
5168
  random_tint_color?: Color;
5163
5169
  rocket_launch_products?: ItemProductPrototype[];
5170
+ /**
5171
+ * Used by labs. Not relevant for {@link tools | prototype:ToolPrototype} where {@link durability | prototype:ToolPrototype::durability} is used.
5172
+ *
5173
+ * Must be >= 0.01.
5174
+ */
5175
+ science_capacity?: double;
5164
5176
  /**
5165
5177
  * The way this item works when we try to send it to the orbit on its own.
5166
5178
  *
@@ -5178,19 +5190,31 @@ interface ItemPrototype extends Prototype {
5178
5190
  */
5179
5191
  spoil_level?: uint8;
5180
5192
  /**
5193
+ * Only loaded if `spoil_ticks` is larger than 0.
5194
+ *
5181
5195
  * Defines how many levels the item's quality will go up (positive integer) or down (negative integer) when spoiling.
5182
5196
  */
5183
5197
  spoil_quality_change?: int8;
5184
5198
  /**
5199
+ * Only loaded if `spoil_ticks` is larger than 0.
5200
+ *
5185
5201
  * The maximum quality level that can be reached when {@link spoil_quality_change | prototype:ItemPrototype::spoil_quality_change} is used.
5186
5202
  */
5187
5203
  spoil_quality_max?: QualityID;
5188
5204
  /**
5205
+ * Only loaded if `spoil_ticks` is larger than 0.
5206
+ *
5189
5207
  * The minimum quality level that can be reached when {@link spoil_quality_change | prototype:ItemPrototype::spoil_quality_change} is used.
5190
5208
  */
5191
5209
  spoil_quality_min?: QualityID;
5210
+ /**
5211
+ * Only loaded if `spoil_ticks` is larger than 0.
5212
+ */
5192
5213
  spoil_result?: ItemID;
5193
5214
  spoil_ticks?: uint32;
5215
+ /**
5216
+ * Only loaded if `spoil_ticks` is larger than 0.
5217
+ */
5194
5218
  spoil_to_trigger_result?: SpoilToTriggerResult;
5195
5219
  /**
5196
5220
  * 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.
@@ -7177,6 +7201,14 @@ interface QualityPrototype extends Prototype {
7177
7201
  * Must be >= 0.01.
7178
7202
  */
7179
7203
  rolling_stock_max_speed_multiplier?: double;
7204
+ /**
7205
+ * Must be >= 0.01.
7206
+ *
7207
+ * Affects how much research will lab be able to do using item of that quality.
7208
+ *
7209
+ * Only used for items that are not a {@link tool | prototype:ToolPrototype}.
7210
+ */
7211
+ science_capacity_multiplier?: double;
7180
7212
  /**
7181
7213
  * Must be in range `[0, 1]`.
7182
7214
  *
@@ -7185,12 +7217,14 @@ interface QualityPrototype extends Prototype {
7185
7217
  science_pack_drain_multiplier?: float;
7186
7218
  /**
7187
7219
  * Must be >= 0.01.
7220
+ *
7221
+ * Only affects items with {@link ItemPrototype::quality_affects_spoil_ticks | prototype:ItemPrototype::quality_affects_spoil_ticks} set.
7188
7222
  */
7189
7223
  spoil_ticks_multiplier?: float;
7190
7224
  /**
7191
7225
  * Must be >= 0.01.
7192
7226
  *
7193
- * Affects the durability of {@link tool items | prototype:ToolPrototype} like science packs, repair tools and armor.
7227
+ * Affects the durability of {@link tool items | prototype:ToolPrototype} like repair tools and armor.
7194
7228
  */
7195
7229
  tool_durability_multiplier?: double;
7196
7230
  }
@@ -7508,7 +7542,7 @@ interface ReactorPrototype extends EntityWithOwnerPrototype {
7508
7542
  working_light_picture?: Animation;
7509
7543
  }
7510
7544
  /**
7511
- * A recipe category. The built-in categories can be found {@link here | https://wiki.factorio.com/Data.raw#recipe-category}. See {@link RecipePrototype::category | prototype:RecipePrototype::category}. Recipe categories can be used to specify which {@link machine | prototype:CraftingMachinePrototype::crafting_categories} can craft which {@link recipes | prototype:RecipePrototype}.
7545
+ * A recipe category. The built-in categories can be found {@link here | https://wiki.factorio.com/Data.raw#recipe-category}. See {@link RecipePrototype::categories | prototype:RecipePrototype::categories}. Recipe categories can be used to specify which {@link machine | prototype:CraftingMachinePrototype::crafting_categories} can craft which {@link recipes | prototype:RecipePrototype}.
7512
7546
  *
7513
7547
  * The recipe category with the name "crafting" cannot contain recipes with fluid ingredients or products.
7514
7548
  * @example ```
@@ -7720,7 +7754,7 @@ interface RecipePrototype extends Prototype {
7720
7754
  /**
7721
7755
  * If set to true, an event with identifier of {@link LuaRecipePrototype::on_crafted_event | runtime:LuaRecipePrototype::on_crafted_event} will be raised when this recipe is crafted. Currently this is only raised when recipe is crafted by a crafting machine.
7722
7756
  *
7723
- * Event raised will be given data as described by {@link OnRecipeCraftedData | runtime:OnRecipeCraftedData}.
7757
+ * Event raised will be given data as described by {@link RecipeCraftedEvent | runtime:RecipeCraftedEvent}.
7724
7758
  * @example ```
7725
7759
  -- in data stage:
7726
7760
  data.raw.recipe["iron-plate"].raise_on_crafted = true
@@ -9152,6 +9186,8 @@ interface SpaceConnectionPrototype extends Prototype {
9152
9186
  * Cannot be 0.
9153
9187
  */
9154
9188
  length?: uint32;
9189
+ origin?: MapPosition;
9190
+ shape?: 'arc' | 'line';
9155
9191
  to: SpaceLocationID;
9156
9192
  }
9157
9193
  /**
@@ -9212,6 +9248,7 @@ interface SpaceLocationPrototype extends Prototype {
9212
9248
  * Angle in relation to the sun.
9213
9249
  */
9214
9250
  orientation: RealOrientation;
9251
+ origin?: MapPosition;
9215
9252
  /**
9216
9253
  * The orientation where parked space platforms will be drawn.
9217
9254
  */
@@ -9989,6 +10026,8 @@ interface TechnologyPrototype extends Prototype {
9989
10026
  max_level?: uint32 | 'infinite';
9990
10027
  /**
9991
10028
  * If this name ends with `-<number>`, 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.
10029
+ *
10030
+ * 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.
9992
10031
  */
9993
10032
  name: string;
9994
10033
  /**
@@ -10454,7 +10493,7 @@ interface TransportBeltPrototype extends TransportBeltConnectablePrototype {
10454
10493
  */
10455
10494
  interface TreePrototype extends EntityWithHealthPrototype {
10456
10495
  /**
10457
- * Mandatory if `variations` is defined.
10496
+ * Mandatory if `variations` is defined. Can't be empty.
10458
10497
  */
10459
10498
  colors?: Color[];
10460
10499
  darkness_of_burnt_tree?: float;
@@ -11237,9 +11276,6 @@ interface UtilityConstants extends PrototypeBase {
11237
11276
  water_collision_mask: TileCollisionMaskConnector;
11238
11277
  weapons_in_simulation_volume_modifier: float;
11239
11278
  zero_count_value_tint: Color;
11240
- zoom_to_world_can_use_nightvision: boolean;
11241
- zoom_to_world_daytime_color_lookup: DaytimeColorLookupTable;
11242
- zoom_to_world_effect_strength: float;
11243
11279
  }
11244
11280
  /**
11245
11281
  * Sounds used by the game that are not specific to certain prototypes.
@@ -12111,6 +12147,7 @@ interface UtilitySprites extends PrototypeBase {
12111
12147
  show_worker_robots_in_map_view: Sprite;
12112
12148
  shuffle: Sprite;
12113
12149
  side_menu_achievements_icon: Sprite;
12150
+ side_menu_alerts_config_icon: Sprite;
12114
12151
  side_menu_blueprint_library_icon: Sprite;
12115
12152
  side_menu_bonus_icon: Sprite;
12116
12153
  side_menu_factoriopedia_icon: Sprite;