factorio-types 1.2.58 → 1.2.60

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/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.0.77
5
+ // Factorio version 2.1.8
6
6
  // API version 6
7
7
 
8
8
  declare namespace defines {
@@ -11,19 +11,20 @@ enum alert_type {
11
11
  custom = 1,
12
12
  entity_destroyed = 2,
13
13
  entity_under_attack = 3,
14
- no_material_for_construction = 4,
15
- no_platform_storage = 5,
16
- no_roboport_storage = 6,
17
- no_storage = 7,
18
- not_enough_construction_robots = 8,
19
- not_enough_repair_packs = 9,
20
- pipeline_overextended = 10,
21
- platform_tile_building_blocked = 11,
22
- train_no_path = 12,
23
- train_out_of_fuel = 13,
24
- turret_fire = 14,
25
- turret_out_of_ammo = 15,
26
- unclaimed_cargo = 16
14
+ fluid_mixing = 4,
15
+ no_material_for_construction = 5,
16
+ no_platform_storage = 6,
17
+ no_roboport_storage = 7,
18
+ no_storage = 8,
19
+ not_enough_construction_robots = 9,
20
+ not_enough_repair_packs = 10,
21
+ pipeline_overextended = 11,
22
+ platform_tile_building_blocked = 12,
23
+ train_no_path = 13,
24
+ train_out_of_fuel = 14,
25
+ turret_fire = 15,
26
+ turret_out_of_ammo = 16,
27
+ unclaimed_cargo = 17
27
28
  }
28
29
  /**
29
30
  * AI command exit status, see {@link LuaCommandable::set_command | runtime:LuaCommandable::set_command}
@@ -144,14 +145,10 @@ enum compound_command {
144
145
  */
145
146
  return_last = 2
146
147
  }
148
+ enum constant {
149
+ default_icon_size = 0
150
+ }
147
151
  namespace control_behavior {
148
- namespace cargo_landing_pad {
149
- enum exclusive_mode {
150
- none = 0,
151
- send_contents = 1,
152
- set_requests = 2
153
- }
154
- }
155
152
  namespace inserter {
156
153
  enum hand_read_mode {
157
154
  hold = 0,
@@ -165,19 +162,18 @@ namespace control_behavior {
165
162
  packed_rgb = 2
166
163
  }
167
164
  }
168
- namespace logistic_container {
169
- enum exclusive_mode {
170
- none = 2,
171
- send_contents = 0,
172
- set_requests = 1
173
- }
174
- }
175
165
  namespace mining_drill {
176
166
  enum resource_read_mode {
177
167
  entire_patch = 1,
178
168
  this_miner = 0
179
169
  }
180
170
  }
171
+ namespace radar {
172
+ enum mode {
173
+ surface = 0,
174
+ universe = 1
175
+ }
176
+ }
181
177
  namespace roboport {
182
178
  enum read_items_mode {
183
179
  logistics = 1,
@@ -192,6 +188,13 @@ namespace control_behavior {
192
188
  orbital_requests = 2
193
189
  }
194
190
  }
191
+ namespace single_fluid_box {
192
+ enum exclusive_mode {
193
+ none = 0,
194
+ send_contents = 1,
195
+ send_segment_contents = 2
196
+ }
197
+ }
195
198
  namespace transport_belt {
196
199
  enum content_read_mode {
197
200
  entire_belt_hold = 2,
@@ -224,6 +227,10 @@ namespace control_behavior {
224
227
  * {@link LuaAsteroidCollectorControlBehavior | runtime:LuaAsteroidCollectorControlBehavior}
225
228
  */
226
229
  asteroid_collector = 26,
230
+ /**
231
+ * {@link LuaBoilerControlBehavior | runtime:LuaBoilerControlBehavior}
232
+ */
233
+ boiler = 37,
227
234
  /**
228
235
  * {@link LuaCargoLandingPadControlBehavior | runtime:LuaCargoLandingPadControlBehavior}
229
236
  */
@@ -252,14 +259,26 @@ namespace control_behavior {
252
259
  * {@link LuaGenericOnOffControlBehavior | runtime:LuaGenericOnOffControlBehavior}
253
260
  */
254
261
  generic_on_off = 1,
262
+ /**
263
+ * {@link LuaHeatPipeControlBehavior | runtime:LuaHeatPipeControlBehavior}
264
+ */
265
+ heat_pipe = 36,
255
266
  /**
256
267
  * {@link LuaInserterControlBehavior | runtime:LuaInserterControlBehavior}
257
268
  */
258
269
  inserter = 2,
270
+ /**
271
+ * {@link LuaLabControlBehavior | runtime:LuaLabControlBehavior}
272
+ */
273
+ lab = 35,
259
274
  /**
260
275
  * {@link LuaLampControlBehavior | runtime:LuaLampControlBehavior}
261
276
  */
262
277
  lamp = 3,
278
+ /**
279
+ * {@link LuaLandMineControlBehavior | runtime:LuaLandMineControlBehavior}
280
+ */
281
+ land_mine = 38,
263
282
  /**
264
283
  * {@link LuaLoaderControlBehavior | runtime:LuaLoaderControlBehavior}
265
284
  */
@@ -312,6 +331,10 @@ namespace control_behavior {
312
331
  * {@link LuaSelectorCombinatorControlBehavior | runtime:LuaSelectorCombinatorControlBehavior}
313
332
  */
314
333
  selector_combinator = 20,
334
+ /**
335
+ * {@link LuaSingleFluidBoxControlBehavior | runtime:LuaSingleFluidBoxControlBehavior}
336
+ */
337
+ single_fluid_box = 6,
315
338
  /**
316
339
  * {@link LuaSpacePlatformHubControlBehavior | runtime:LuaSpacePlatformHubControlBehavior}
317
340
  */
@@ -320,10 +343,6 @@ namespace control_behavior {
320
343
  * {@link LuaSplitterControlBehavior | runtime:LuaSplitterControlBehavior}
321
344
  */
322
345
  splitter = 34,
323
- /**
324
- * {@link LuaStorageTankControlBehavior | runtime:LuaStorageTankControlBehavior}
325
- */
326
- storage_tank = 6,
327
346
  /**
328
347
  * {@link LuaTrainStopControlBehavior | runtime:LuaTrainStopControlBehavior}
329
348
  */
@@ -388,8 +407,6 @@ namespace deconstruction_item {
388
407
  only = 3
389
408
  }
390
409
  }
391
- enum default_icon_size {
392
- }
393
410
  enum difficulty {
394
411
  easy = 0,
395
412
  hard = 2,
@@ -444,7 +461,22 @@ enum distraction {
444
461
  */
445
462
  none = 0
446
463
  }
464
+ enum electric_interface_mode {
465
+ accumulator = 8,
466
+ primary_input = 4,
467
+ primary_output = 1,
468
+ secondary_input = 5,
469
+ secondary_output = 2,
470
+ solar_output = 0,
471
+ tertiary_input = 6,
472
+ tertiary_input_output = 7,
473
+ tertiary_output = 3
474
+ }
447
475
  enum entity_status {
476
+ /**
477
+ * Used by land mines.
478
+ */
479
+ armed = 71,
448
480
  /**
449
481
  * Only used if set through {@link ContainerPrototype::default_status | prototype:ContainerPrototype::default_status}.
450
482
  */
@@ -452,7 +484,7 @@ enum entity_status {
452
484
  /**
453
485
  * Used by rail signals.
454
486
  */
455
- cant_divide_segments = 59,
487
+ cant_divide_segments = 63,
456
488
  /**
457
489
  * Used by accumulators.
458
490
  */
@@ -461,15 +493,15 @@ enum entity_status {
461
493
  /**
462
494
  * Used by asteroid collectors.
463
495
  */
464
- computing_navigation = 63,
496
+ computing_navigation = 67,
465
497
  /**
466
498
  * Used by trains.
467
499
  */
468
- destination_stop_full = 48,
500
+ destination_stop_full = 52,
469
501
  /**
470
502
  * Used by constant combinators: Combinator is turned off via switch in GUI.
471
503
  */
472
- disabled = 56,
504
+ disabled = 60,
473
505
  disabled_by_control_behavior = 8,
474
506
  disabled_by_script = 11,
475
507
  /**
@@ -479,16 +511,16 @@ enum entity_status {
479
511
  /**
480
512
  * Used by crafting machines.
481
513
  */
482
- fluid_ingredient_shortage = 28,
514
+ fluid_ingredient_shortage = 30,
483
515
  frozen = 7,
484
516
  /**
485
517
  * Used by burner energy sources.
486
518
  */
487
- full_burnt_result_output = 31,
519
+ full_burnt_result_output = 33,
488
520
  /**
489
521
  * Used by crafting machines, boilers, burner energy sources, and reactors: Reactor/burner has full burnt result inventory, boiler has full output fluidbox.
490
522
  */
491
- full_output = 29,
523
+ full_output = 31,
492
524
  /**
493
525
  * Used by accumulators.
494
526
  */
@@ -497,32 +529,36 @@ enum entity_status {
497
529
  * Used by ghosts.
498
530
  */
499
531
  ghost = 2,
532
+ /**
533
+ * Used by cargo bays.
534
+ */
535
+ hatches_blocked_by_elevated_rail = 26,
500
536
  /**
501
537
  * Used by crafting machines.
502
538
  */
503
- item_ingredient_shortage = 32,
539
+ item_ingredient_shortage = 34,
504
540
  /**
505
541
  * Used by the rocket silo.
506
542
  */
507
- launching_rocket = 41,
543
+ launching_rocket = 43,
508
544
  /**
509
545
  * Used by boilers and fluid turrets: Boiler still has some fluid but is about to run out.
510
546
  */
511
- low_input_fluid = 27,
547
+ low_input_fluid = 29,
512
548
  low_power = 5,
513
549
  /**
514
550
  * Used by heat energy sources.
515
551
  */
516
- low_temperature = 55,
552
+ low_temperature = 59,
517
553
  marked_for_deconstruction = 12,
518
554
  /**
519
555
  * Used by mining drills when the mining fluid is missing.
520
556
  */
521
- missing_required_fluid = 33,
557
+ missing_required_fluid = 35,
522
558
  /**
523
559
  * Used by labs.
524
560
  */
525
- missing_science_packs = 34,
561
+ missing_science_packs = 36,
526
562
  /**
527
563
  * Used by power switches.
528
564
  */
@@ -534,11 +570,11 @@ enum entity_status {
534
570
  /**
535
571
  * Used by ammo turrets.
536
572
  */
537
- no_ammo = 54,
573
+ no_ammo = 58,
538
574
  /**
539
575
  * Used by filter inserters.
540
576
  */
541
- no_filter = 60,
577
+ no_filter = 64,
542
578
  no_fuel = 6,
543
579
  /**
544
580
  * Used by furnaces.
@@ -555,11 +591,11 @@ enum entity_status {
555
591
  /**
556
592
  * Used by beacons.
557
593
  */
558
- no_modules_to_transmit = 50,
594
+ no_modules_to_transmit = 54,
559
595
  /**
560
596
  * Used by trains and space platform hubs.
561
597
  */
562
- no_path = 49,
598
+ no_path = 53,
563
599
  no_power = 4,
564
600
  /**
565
601
  * Used by assembling machines.
@@ -572,24 +608,24 @@ enum entity_status {
572
608
  /**
573
609
  * Used by agricultural towers.
574
610
  */
575
- no_spot_seedable_by_inputs = 61,
611
+ no_spot_seedable_by_inputs = 65,
576
612
  normal = 1,
577
613
  /**
578
614
  * Used by cargo bays.
579
615
  */
580
- not_connected_to_hub_or_pad = 26,
616
+ not_connected_to_hub_or_pad = 27,
581
617
  /**
582
618
  * Used by rail signals.
583
619
  */
584
- not_connected_to_rail = 58,
620
+ not_connected_to_rail = 62,
585
621
  /**
586
622
  * Used by agricultural towers.
587
623
  */
588
- not_enough_space_in_output = 30,
624
+ not_enough_space_in_output = 32,
589
625
  /**
590
626
  * Used by space platform hubs.
591
627
  */
592
- not_enough_thrust = 47,
628
+ not_enough_thrust = 51,
593
629
  /**
594
630
  * Used by generators and solar panels.
595
631
  */
@@ -597,7 +633,7 @@ enum entity_status {
597
633
  /**
598
634
  * Used by space platform hubs.
599
635
  */
600
- on_the_way = 43,
636
+ on_the_way = 45,
601
637
  opened_by_circuit_network = 9,
602
638
  /**
603
639
  * Used by logistic containers.
@@ -610,75 +646,87 @@ enum entity_status {
610
646
  /**
611
647
  * Used by pipes, pipes to ground, and storage tanks.
612
648
  */
613
- pipeline_overextended = 64,
649
+ pipeline_overextended = 68,
614
650
  /**
615
651
  * Used by the rocket silo.
616
652
  */
617
- preparing_rocket_for_launch = 38,
653
+ preparing_rocket_for_launch = 40,
618
654
  /**
619
655
  * Used by roboports.
620
656
  */
621
- recharging_after_power_outage = 51,
657
+ recharging_after_power_outage = 55,
622
658
  /**
623
659
  * Used by assembling machines.
624
660
  */
625
- recipe_is_parameter = 66,
661
+ recipe_is_parameter = 70,
626
662
  /**
627
663
  * Used by assembling machines.
628
664
  */
629
- recipe_not_researched = 65,
665
+ recipe_not_researched = 69,
630
666
  /**
631
667
  * Used by thrusters.
632
668
  */
633
- thrust_not_required = 42,
669
+ thrust_not_required = 44,
670
+ /**
671
+ * Used by some cargo bays.
672
+ */
673
+ too_far_from_pad_to_unload = 28,
634
674
  /**
635
675
  * Used by lamps.
636
676
  */
637
- turned_off_during_daytime = 57,
677
+ turned_off_during_daytime = 61,
638
678
  /**
639
679
  * Used by trains.
640
680
  */
641
- waiting_at_stop = 45,
681
+ waiting_at_stop = 47,
642
682
  /**
643
683
  * Used by inserters when wait_for_full_hand is set.
644
684
  */
645
- waiting_for_more_items = 36,
685
+ waiting_for_more_items = 38,
646
686
  /**
647
687
  * Used by agricultural towers.
648
688
  */
649
- waiting_for_plants_to_grow = 62,
689
+ waiting_for_plants_to_grow = 66,
650
690
  /**
651
691
  * Used by space platform hubs.
652
692
  */
653
- waiting_for_rockets_to_arrive = 46,
693
+ waiting_for_rockets_to_arrive = 49,
654
694
  /**
655
695
  * Used by inserters.
656
696
  */
657
- waiting_for_source_items = 35,
697
+ waiting_for_source_items = 37,
658
698
  /**
659
699
  * Used by inserters, mining drills, and crafting machines using vector_to_place_result.
660
700
  */
661
- waiting_for_space_in_destination = 37,
701
+ waiting_for_space_in_destination = 39,
662
702
  /**
663
703
  * Used by the rocket silo.
664
704
  */
665
- waiting_for_space_in_platform_hub = 40,
705
+ waiting_for_space_in_platform_hub = 42,
666
706
  /**
667
707
  * Used by inserters targeting entity ghosts.
668
708
  */
669
- waiting_for_target_to_be_built = 52,
709
+ waiting_for_target_to_be_built = 56,
670
710
  /**
671
711
  * Used by inserters targeting rails.
672
712
  */
673
- waiting_for_train = 53,
713
+ waiting_for_train = 57,
714
+ /**
715
+ * Used by trains.
716
+ */
717
+ waiting_for_upgrade = 48,
674
718
  /**
675
719
  * Used by space platform hubs.
676
720
  */
677
- waiting_in_orbit = 44,
721
+ waiting_in_orbit = 46,
722
+ /**
723
+ * Used by space platform hubs.
724
+ */
725
+ waiting_to_clear_drop_slots = 50,
678
726
  /**
679
727
  * Used by the rocket silo.
680
728
  */
681
- waiting_to_launch_rocket = 39,
729
+ waiting_to_launch_rocket = 41,
682
730
  working = 0
683
731
  }
684
732
  enum entity_status_diode {
@@ -694,220 +742,224 @@ enum events {
694
742
  on_ai_command_completed = 1,
695
743
  on_area_cloned = 2,
696
744
  on_biter_base_built = 3,
697
- on_brush_cloned = 4,
698
- on_build_base_arrived = 5,
699
- on_built_entity = 6,
700
- on_cancelled_deconstruction = 7,
701
- on_cancelled_upgrade = 8,
702
- on_cargo_pod_delivered_cargo = 9,
703
- on_cargo_pod_finished_ascending = 10,
704
- on_cargo_pod_finished_descending = 11,
705
- on_cargo_pod_started_ascending = 12,
706
- on_character_corpse_expired = 13,
707
- on_chart_tag_added = 14,
708
- on_chart_tag_modified = 15,
709
- on_chart_tag_removed = 16,
710
- on_chunk_charted = 17,
711
- on_chunk_deleted = 18,
712
- on_chunk_generated = 19,
713
- on_combat_robot_expired = 20,
714
- on_console_chat = 21,
715
- on_console_command = 22,
716
- on_cutscene_cancelled = 23,
717
- on_cutscene_finished = 24,
718
- on_cutscene_started = 25,
719
- on_cutscene_waypoint_reached = 26,
720
- on_entity_cloned = 27,
721
- on_entity_color_changed = 28,
722
- on_entity_damaged = 29,
723
- on_entity_died = 30,
724
- on_entity_logistic_slot_changed = 31,
725
- on_entity_renamed = 32,
726
- on_entity_settings_pasted = 33,
727
- on_entity_spawned = 34,
728
- on_equipment_inserted = 35,
729
- on_equipment_removed = 36,
730
- on_force_cease_fire_changed = 37,
731
- on_force_created = 38,
732
- on_force_friends_changed = 39,
733
- on_force_reset = 40,
734
- on_forces_merged = 41,
735
- on_forces_merging = 42,
736
- on_game_created_from_scenario = 43,
737
- on_gui_checked_state_changed = 44,
738
- on_gui_click = 45,
739
- on_gui_closed = 46,
740
- on_gui_confirmed = 47,
741
- on_gui_elem_changed = 48,
742
- on_gui_hover = 49,
743
- on_gui_leave = 50,
744
- on_gui_location_changed = 51,
745
- on_gui_opened = 52,
746
- on_gui_selected_tab_changed = 53,
747
- on_gui_selection_state_changed = 54,
748
- on_gui_switch_state_changed = 55,
749
- on_gui_text_changed = 56,
750
- on_gui_value_changed = 57,
751
- on_land_mine_armed = 58,
752
- on_lua_shortcut = 59,
753
- on_marked_for_deconstruction = 60,
754
- on_marked_for_upgrade = 61,
755
- on_market_item_purchased = 62,
756
- on_mod_item_opened = 63,
757
- on_multiplayer_init = 64,
758
- on_object_destroyed = 65,
759
- on_permission_group_added = 66,
760
- on_permission_group_deleted = 67,
761
- on_permission_group_edited = 68,
762
- on_permission_string_imported = 69,
763
- on_picked_up_item = 70,
764
- on_player_alt_reverse_selected_area = 71,
765
- on_player_alt_selected_area = 72,
766
- on_player_ammo_inventory_changed = 73,
767
- on_player_armor_inventory_changed = 74,
768
- on_player_banned = 75,
769
- on_player_built_tile = 76,
770
- on_player_cancelled_crafting = 77,
771
- on_player_changed_force = 78,
772
- on_player_changed_position = 79,
773
- on_player_changed_surface = 80,
774
- on_player_cheat_mode_disabled = 81,
775
- on_player_cheat_mode_enabled = 82,
776
- on_player_clicked_gps_tag = 83,
777
- on_player_configured_blueprint = 84,
778
- on_player_controller_changed = 85,
779
- on_player_crafted_item = 86,
780
- on_player_created = 87,
781
- on_player_cursor_stack_changed = 88,
782
- on_player_deconstructed_area = 89,
783
- on_player_demoted = 90,
784
- on_player_died = 91,
785
- on_player_display_density_scale_changed = 92,
786
- on_player_display_resolution_changed = 93,
787
- on_player_display_scale_changed = 94,
788
- on_player_driving_changed_state = 95,
789
- on_player_dropped_item = 96,
790
- on_player_dropped_item_into_entity = 97,
791
- on_player_fast_transferred = 98,
792
- on_player_flipped_entity = 99,
793
- on_player_flushed_fluid = 100,
794
- on_player_gun_inventory_changed = 101,
795
- on_player_input_method_changed = 102,
796
- on_player_joined_game = 103,
797
- on_player_kicked = 104,
798
- on_player_left_game = 105,
799
- on_player_locale_changed = 106,
800
- on_player_main_inventory_changed = 107,
801
- on_player_mined_entity = 108,
802
- on_player_mined_item = 109,
803
- on_player_mined_tile = 110,
804
- on_player_muted = 111,
805
- on_player_pipette = 112,
806
- on_player_placed_equipment = 113,
807
- on_player_promoted = 114,
808
- on_player_removed = 115,
809
- on_player_removed_equipment = 116,
810
- on_player_repaired_entity = 117,
811
- on_player_respawned = 118,
812
- on_player_reverse_selected_area = 119,
813
- on_player_rotated_entity = 120,
814
- on_player_selected_area = 121,
815
- on_player_set_quick_bar_slot = 122,
816
- on_player_setup_blueprint = 123,
817
- on_player_toggled_alt_mode = 124,
818
- on_player_toggled_map_editor = 125,
819
- on_player_trash_inventory_changed = 126,
820
- on_player_unbanned = 127,
821
- on_player_unmuted = 128,
822
- on_player_used_capsule = 129,
823
- on_player_used_spidertron_remote = 130,
824
- on_post_entity_died = 131,
825
- on_post_segmented_unit_died = 132,
826
- on_pre_build = 133,
827
- on_pre_chunk_deleted = 134,
828
- on_pre_entity_settings_pasted = 135,
829
- on_pre_ghost_deconstructed = 136,
830
- on_pre_ghost_upgraded = 137,
831
- on_pre_permission_group_deleted = 138,
832
- on_pre_permission_string_imported = 139,
833
- on_pre_player_crafted_item = 140,
834
- on_pre_player_died = 141,
835
- on_pre_player_left_game = 142,
836
- on_pre_player_mined_item = 143,
837
- on_pre_player_removed = 144,
838
- on_pre_player_toggled_map_editor = 145,
839
- on_pre_robot_exploded_cliff = 146,
840
- on_pre_scenario_finished = 147,
841
- on_pre_script_inventory_resized = 148,
842
- on_pre_surface_cleared = 149,
843
- on_pre_surface_deleted = 150,
844
- on_redo_applied = 151,
845
- on_research_cancelled = 152,
846
- on_research_finished = 153,
847
- on_research_moved = 154,
848
- on_research_queued = 155,
849
- on_research_reversed = 156,
850
- on_research_started = 157,
851
- on_resource_depleted = 158,
852
- on_robot_built_entity = 159,
853
- on_robot_built_tile = 160,
854
- on_robot_exploded_cliff = 161,
855
- on_robot_mined = 162,
856
- on_robot_mined_entity = 163,
857
- on_robot_mined_tile = 164,
858
- on_robot_pre_mined = 165,
859
- on_rocket_launch_ordered = 166,
860
- on_rocket_launched = 167,
861
- on_runtime_mod_setting_changed = 168,
862
- on_script_inventory_resized = 169,
863
- on_script_path_request_finished = 170,
864
- on_script_trigger_effect = 171,
865
- on_sector_scanned = 172,
866
- on_segment_entity_created = 173,
867
- on_segmented_unit_created = 174,
868
- on_segmented_unit_damaged = 175,
869
- on_segmented_unit_died = 176,
870
- on_selected_entity_changed = 177,
871
- on_singleplayer_init = 178,
872
- on_space_platform_built_entity = 179,
873
- on_space_platform_built_tile = 180,
874
- on_space_platform_changed_state = 181,
875
- on_space_platform_mined_entity = 182,
876
- on_space_platform_mined_item = 183,
877
- on_space_platform_mined_tile = 184,
878
- on_space_platform_pre_mined = 185,
879
- on_spider_command_completed = 186,
880
- on_string_translated = 187,
881
- on_surface_cleared = 188,
882
- on_surface_created = 189,
883
- on_surface_deleted = 190,
884
- on_surface_imported = 191,
885
- on_surface_renamed = 192,
886
- on_technology_effects_reset = 193,
887
- on_territory_created = 194,
888
- on_territory_destroyed = 195,
889
- on_tick = 196,
890
- on_tower_mined_plant = 197,
891
- on_tower_planted_seed = 198,
892
- on_tower_pre_mined_plant = 199,
893
- on_train_changed_state = 200,
894
- on_train_created = 201,
895
- on_train_schedule_changed = 202,
896
- on_trigger_created_entity = 203,
897
- on_trigger_fired_artillery = 204,
898
- on_udp_packet_received = 205,
899
- on_undo_applied = 206,
900
- on_unit_added_to_group = 207,
901
- on_unit_group_created = 208,
902
- on_unit_group_finished_gathering = 209,
903
- on_unit_removed_from_group = 210,
904
- on_worker_robot_expired = 211,
905
- script_raised_built = 212,
906
- script_raised_destroy = 213,
907
- script_raised_destroy_segmented_unit = 214,
908
- script_raised_revive = 215,
909
- script_raised_set_tiles = 216,
910
- script_raised_teleported = 217
745
+ on_blueprint_settings_pasted = 4,
746
+ on_brush_cloned = 5,
747
+ on_build_base_arrived = 6,
748
+ on_built_entity = 7,
749
+ on_cancelled_deconstruction = 8,
750
+ on_cancelled_upgrade = 9,
751
+ on_cargo_pod_delivered_cargo = 10,
752
+ on_cargo_pod_finished_ascending = 11,
753
+ on_cargo_pod_finished_descending = 12,
754
+ on_cargo_pod_started_ascending = 13,
755
+ on_character_corpse_expired = 14,
756
+ on_chart_tag_added = 15,
757
+ on_chart_tag_modified = 16,
758
+ on_chart_tag_removed = 17,
759
+ on_chunk_charted = 18,
760
+ on_chunk_deleted = 19,
761
+ on_chunk_generated = 20,
762
+ on_combat_robot_expired = 21,
763
+ on_console_chat = 22,
764
+ on_console_command = 23,
765
+ on_cutscene_cancelled = 24,
766
+ on_cutscene_finished = 25,
767
+ on_cutscene_started = 26,
768
+ on_cutscene_waypoint_reached = 27,
769
+ on_entity_cloned = 28,
770
+ on_entity_color_changed = 29,
771
+ on_entity_damaged = 30,
772
+ on_entity_died = 31,
773
+ on_entity_logistic_slot_changed = 32,
774
+ on_entity_renamed = 33,
775
+ on_entity_settings_pasted = 34,
776
+ on_entity_spawned = 35,
777
+ on_equipment_inserted = 36,
778
+ on_equipment_removed = 37,
779
+ on_force_cease_fire_changed = 38,
780
+ on_force_created = 39,
781
+ on_force_friends_changed = 40,
782
+ on_force_reset = 41,
783
+ on_forces_merged = 42,
784
+ on_forces_merging = 43,
785
+ on_game_created_from_scenario = 44,
786
+ on_gui_checked_state_changed = 45,
787
+ on_gui_click = 46,
788
+ on_gui_closed = 47,
789
+ on_gui_confirmed = 48,
790
+ on_gui_elem_changed = 49,
791
+ on_gui_hover = 50,
792
+ on_gui_inventory_action = 51,
793
+ on_gui_leave = 52,
794
+ on_gui_location_changed = 53,
795
+ on_gui_opened = 54,
796
+ on_gui_selected_tab_changed = 55,
797
+ on_gui_selection_state_changed = 56,
798
+ on_gui_switch_state_changed = 57,
799
+ on_gui_text_changed = 58,
800
+ on_gui_value_changed = 59,
801
+ on_land_mine_armed = 60,
802
+ on_lua_shortcut = 61,
803
+ on_marked_for_deconstruction = 62,
804
+ on_marked_for_upgrade = 63,
805
+ on_market_item_purchased = 64,
806
+ on_mod_item_opened = 65,
807
+ on_multiplayer_init = 66,
808
+ on_object_destroyed = 67,
809
+ on_permission_group_added = 68,
810
+ on_permission_group_deleted = 69,
811
+ on_permission_group_edited = 70,
812
+ on_permission_string_imported = 71,
813
+ on_picked_up_item = 72,
814
+ on_player_alt_reverse_selected_area = 73,
815
+ on_player_alt_selected_area = 74,
816
+ on_player_ammo_inventory_changed = 75,
817
+ on_player_armor_inventory_changed = 76,
818
+ on_player_banned = 77,
819
+ on_player_built_tile = 78,
820
+ on_player_cancelled_crafting = 79,
821
+ on_player_changed_force = 80,
822
+ on_player_changed_position = 81,
823
+ on_player_changed_surface = 82,
824
+ on_player_cheat_mode_disabled = 83,
825
+ on_player_cheat_mode_enabled = 84,
826
+ on_player_clicked_gps_tag = 85,
827
+ on_player_color_changed = 86,
828
+ on_player_configured_blueprint = 87,
829
+ on_player_controller_changed = 88,
830
+ on_player_crafted_item = 89,
831
+ on_player_created = 90,
832
+ on_player_cursor_stack_changed = 91,
833
+ on_player_deconstructed_area = 92,
834
+ on_player_demoted = 93,
835
+ on_player_died = 94,
836
+ on_player_display_density_scale_changed = 95,
837
+ on_player_display_resolution_changed = 96,
838
+ on_player_display_scale_changed = 97,
839
+ on_player_driving_changed_state = 98,
840
+ on_player_dropped_item = 99,
841
+ on_player_dropped_item_into_entity = 100,
842
+ on_player_fast_transferred = 101,
843
+ on_player_flipped_entity = 102,
844
+ on_player_flushed_fluid = 103,
845
+ on_player_gun_inventory_changed = 104,
846
+ on_player_input_method_changed = 105,
847
+ on_player_joined_game = 106,
848
+ on_player_kicked = 107,
849
+ on_player_left_game = 108,
850
+ on_player_locale_changed = 109,
851
+ on_player_main_inventory_changed = 110,
852
+ on_player_mined_entity = 111,
853
+ on_player_mined_item = 112,
854
+ on_player_mined_tile = 113,
855
+ on_player_music_changed = 114,
856
+ on_player_muted = 115,
857
+ on_player_pipette = 116,
858
+ on_player_placed_equipment = 117,
859
+ on_player_promoted = 118,
860
+ on_player_removed = 119,
861
+ on_player_removed_equipment = 120,
862
+ on_player_repaired_entity = 121,
863
+ on_player_respawned = 122,
864
+ on_player_reverse_selected_area = 123,
865
+ on_player_rotated_entity = 124,
866
+ on_player_selected_area = 125,
867
+ on_player_set_quick_bar_slot = 126,
868
+ on_player_setup_blueprint = 127,
869
+ on_player_toggled_alt_mode = 128,
870
+ on_player_toggled_map_editor = 129,
871
+ on_player_trash_inventory_changed = 130,
872
+ on_player_unbanned = 131,
873
+ on_player_unmuted = 132,
874
+ on_player_used_capsule = 133,
875
+ on_player_used_spidertron_remote = 134,
876
+ on_post_entity_died = 135,
877
+ on_post_segmented_unit_died = 136,
878
+ on_pre_build = 137,
879
+ on_pre_chunk_deleted = 138,
880
+ on_pre_entity_settings_pasted = 139,
881
+ on_pre_ghost_deconstructed = 140,
882
+ on_pre_ghost_upgraded = 141,
883
+ on_pre_permission_group_deleted = 142,
884
+ on_pre_permission_string_imported = 143,
885
+ on_pre_player_crafted_item = 144,
886
+ on_pre_player_died = 145,
887
+ on_pre_player_left_game = 146,
888
+ on_pre_player_mined_item = 147,
889
+ on_pre_player_removed = 148,
890
+ on_pre_player_toggled_map_editor = 149,
891
+ on_pre_robot_exploded_cliff = 150,
892
+ on_pre_scenario_finished = 151,
893
+ on_pre_script_inventory_resized = 152,
894
+ on_pre_surface_cleared = 153,
895
+ on_pre_surface_deleted = 154,
896
+ on_redo_applied = 155,
897
+ on_research_cancelled = 156,
898
+ on_research_finished = 157,
899
+ on_research_moved = 158,
900
+ on_research_queued = 159,
901
+ on_research_reversed = 160,
902
+ on_research_started = 161,
903
+ on_resource_depleted = 162,
904
+ on_robot_built_entity = 163,
905
+ on_robot_built_tile = 164,
906
+ on_robot_exploded_cliff = 165,
907
+ on_robot_mined = 166,
908
+ on_robot_mined_entity = 167,
909
+ on_robot_mined_tile = 168,
910
+ on_robot_pre_mined = 169,
911
+ on_rocket_launch_ordered = 170,
912
+ on_rocket_launched = 171,
913
+ on_runtime_mod_setting_changed = 172,
914
+ on_script_inventory_resized = 173,
915
+ on_script_path_request_finished = 174,
916
+ on_script_trigger_effect = 175,
917
+ on_sector_scanned = 176,
918
+ on_segment_entity_created = 177,
919
+ on_segmented_unit_created = 178,
920
+ on_segmented_unit_damaged = 179,
921
+ on_segmented_unit_died = 180,
922
+ on_selected_entity_changed = 181,
923
+ on_singleplayer_init = 182,
924
+ on_space_platform_built_entity = 183,
925
+ on_space_platform_built_tile = 184,
926
+ on_space_platform_changed_state = 185,
927
+ on_space_platform_mined_entity = 186,
928
+ on_space_platform_mined_item = 187,
929
+ on_space_platform_mined_tile = 188,
930
+ on_space_platform_pre_mined = 189,
931
+ on_spider_command_completed = 190,
932
+ on_string_translated = 191,
933
+ on_surface_cleared = 192,
934
+ on_surface_created = 193,
935
+ on_surface_deleted = 194,
936
+ on_surface_imported = 195,
937
+ on_surface_renamed = 196,
938
+ on_technology_effects_reset = 197,
939
+ on_territory_created = 198,
940
+ on_territory_destroyed = 199,
941
+ on_tick = 200,
942
+ on_tower_mined_plant = 201,
943
+ on_tower_planted_seed = 202,
944
+ on_tower_pre_mined_plant = 203,
945
+ on_train_changed_state = 204,
946
+ on_train_created = 205,
947
+ on_train_schedule_changed = 206,
948
+ on_trigger_created_entity = 207,
949
+ on_trigger_fired_artillery = 208,
950
+ on_udp_packet_received = 209,
951
+ on_undo_applied = 210,
952
+ on_unit_added_to_group = 211,
953
+ on_unit_group_created = 212,
954
+ on_unit_group_finished_gathering = 213,
955
+ on_unit_removed_from_group = 214,
956
+ on_worker_robot_expired = 215,
957
+ script_raised_built = 216,
958
+ script_raised_destroy = 217,
959
+ script_raised_destroy_segmented_unit = 218,
960
+ script_raised_revive = 219,
961
+ script_raised_set_tiles = 220,
962
+ script_raised_teleported = 221
911
963
  }
912
964
  enum flow_precision_index {
913
965
  fifty_hours = 5,
@@ -944,25 +996,26 @@ enum group_state {
944
996
  }
945
997
  enum gui_type {
946
998
  achievement = 0,
947
- blueprint_library = 1,
948
- bonus = 2,
949
- controller = 3,
950
- custom = 4,
951
- entity = 5,
952
- equipment = 6,
953
- global_electric_network = 7,
954
- item = 8,
955
- logistic = 9,
956
- none = 10,
957
- opened_entity_grid = 11,
958
- other_player = 12,
959
- permissions = 13,
960
- player_management = 14,
961
- production = 15,
962
- script_inventory = 16,
963
- server_management = 17,
964
- tile = 18,
965
- trains = 19
999
+ alerts_config = 1,
1000
+ blueprint_library = 2,
1001
+ bonus = 3,
1002
+ controller = 4,
1003
+ custom = 5,
1004
+ entity = 6,
1005
+ equipment = 7,
1006
+ global_electric_network = 8,
1007
+ item = 9,
1008
+ logistic = 10,
1009
+ none = 11,
1010
+ opened_entity_grid = 12,
1011
+ other_player = 13,
1012
+ permissions = 14,
1013
+ player_management = 15,
1014
+ production = 16,
1015
+ script_inventory = 17,
1016
+ server_management = 18,
1017
+ tile = 19,
1018
+ trains = 20
966
1019
  }
967
1020
  enum input_action {
968
1021
  activate_interrupt = 0,
@@ -1005,358 +1058,340 @@ enum input_action {
1005
1058
  change_programmable_speaker_alert_parameters = 37,
1006
1059
  change_programmable_speaker_circuit_parameters = 38,
1007
1060
  change_programmable_speaker_parameters = 39,
1008
- change_riding_state = 40,
1009
- change_selector_combinator_parameters = 41,
1010
- change_shooting_state = 42,
1011
- change_train_name = 43,
1012
- change_train_stop_station = 44,
1013
- change_train_wait_condition = 45,
1014
- change_train_wait_condition_data = 46,
1015
- cheat = 47,
1016
- clear_cursor = 48,
1017
- connect_rolling_stock = 49,
1018
- copy = 50,
1019
- copy_entity_settings = 51,
1020
- copy_large_opened_blueprint = 52,
1021
- copy_large_opened_item = 53,
1022
- copy_opened_blueprint = 54,
1023
- copy_opened_item = 55,
1024
- craft = 56,
1025
- create_space_platform = 57,
1026
- cursor_split = 58,
1027
- cursor_transfer = 59,
1028
- custom_input = 60,
1029
- cycle_blueprint_book_backwards = 61,
1030
- cycle_blueprint_book_forwards = 62,
1031
- cycle_quality_down = 63,
1032
- cycle_quality_up = 64,
1033
- deconstruct = 65,
1034
- delete_blueprint_library = 66,
1035
- delete_blueprint_record = 67,
1036
- delete_custom_tag = 68,
1037
- delete_logistic_group = 69,
1038
- delete_permission_group = 70,
1039
- delete_space_platform = 71,
1040
- destroy_item = 72,
1041
- destroy_opened_item = 73,
1042
- disconnect_rolling_stock = 74,
1043
- drag_decider_combinator_condition = 75,
1044
- drag_decider_combinator_output = 76,
1045
- drag_train_schedule = 77,
1046
- drag_train_schedule_interrupt = 78,
1047
- drag_train_wait_condition = 79,
1048
- drop_blueprint_record = 80,
1049
- drop_item = 81,
1050
- edit_blueprint_tool_preview = 82,
1051
- edit_custom_tag = 83,
1052
- edit_display_panel = 84,
1053
- edit_display_panel_always_show = 85,
1054
- edit_display_panel_icon = 86,
1055
- edit_display_panel_parameters = 87,
1056
- edit_display_panel_show_in_chart = 88,
1057
- edit_display_panel_single_entry = 89,
1058
- edit_interrupt = 90,
1059
- edit_permission_group = 91,
1060
- edit_pin = 92,
1061
- export_blueprint = 93,
1062
- fast_entity_split = 94,
1063
- fast_entity_transfer = 95,
1064
- flip_entity = 96,
1065
- flush_opened_entity_fluid = 97,
1066
- flush_opened_entity_specific_fluid = 98,
1067
- go_to_train_station = 99,
1068
- grab_blueprint_record = 100,
1069
- gui_checked_state_changed = 101,
1070
- gui_click = 102,
1071
- gui_confirmed = 103,
1072
- gui_elem_changed = 104,
1073
- gui_hover = 105,
1074
- gui_leave = 106,
1075
- gui_location_changed = 107,
1076
- gui_selected_tab_changed = 108,
1077
- gui_selection_state_changed = 109,
1078
- gui_switch_state_changed = 110,
1079
- gui_text_changed = 111,
1080
- gui_value_changed = 112,
1081
- import_blueprint = 113,
1082
- import_blueprint_string = 114,
1083
- import_blueprints_filtered = 115,
1084
- import_permissions_string = 116,
1085
- instantly_create_space_platform = 117,
1086
- inventory_split = 118,
1087
- inventory_transfer = 119,
1088
- land_at_planet = 120,
1089
- launch_rocket = 121,
1090
- lua_shortcut = 122,
1091
- map_editor_action = 123,
1092
- market_offer = 124,
1093
- mod_settings_changed = 125,
1094
- modify_decider_combinator_condition = 126,
1095
- modify_decider_combinator_output = 127,
1096
- move_pin = 128,
1097
- move_research = 129,
1098
- open_achievements_gui = 130,
1099
- open_blueprint_library_gui = 131,
1100
- open_blueprint_record = 132,
1101
- open_bonus_gui = 133,
1102
- open_character_gui = 134,
1103
- open_current_vehicle_gui = 135,
1104
- open_equipment = 136,
1105
- open_global_electric_network_gui = 137,
1106
- open_gui = 138,
1107
- open_item = 139,
1108
- open_logistics_gui = 140,
1109
- open_mod_item = 141,
1110
- open_new_platform_button_from_rocket_silo = 142,
1111
- open_opened_entity_grid = 143,
1112
- open_parent_of_opened_item = 144,
1113
- open_production_gui = 145,
1114
- open_train_gui = 146,
1115
- open_train_station_gui = 147,
1116
- open_trains_gui = 148,
1117
- parametrise_blueprint = 149,
1118
- paste_entity_settings = 150,
1119
- pin_alert_group = 151,
1120
- pin_custom_alert = 152,
1121
- pin_search_result = 153,
1122
- pipette = 154,
1123
- place_equipment = 155,
1124
- quick_bar_pick_slot = 156,
1125
- quick_bar_set_selected_page = 157,
1126
- quick_bar_set_slot = 158,
1127
- reassign_blueprint = 159,
1128
- redo = 160,
1129
- remote_view_entity = 161,
1130
- remote_view_surface = 162,
1131
- remove_cables = 163,
1132
- remove_decider_combinator_condition = 164,
1133
- remove_decider_combinator_output = 165,
1134
- remove_logistic_section = 166,
1135
- remove_pin = 167,
1136
- remove_train_interrupt = 168,
1137
- remove_train_station = 169,
1138
- rename_interrupt = 170,
1139
- rename_space_platform = 171,
1140
- reorder_logistic_section = 172,
1141
- request_missing_construction_materials = 173,
1142
- reset_assembling_machine = 174,
1143
- reverse_select_area = 175,
1144
- rotate_entity = 176,
1145
- select_area = 177,
1146
- select_asteroid_chunk_slot = 178,
1147
- select_blueprint_entities = 179,
1148
- select_entity_filter_slot = 180,
1149
- select_entity_slot = 181,
1150
- select_item_filter = 182,
1151
- select_mapper_slot_from = 183,
1152
- select_mapper_slot_to = 184,
1153
- select_next_valid_gun = 185,
1154
- select_tile_slot = 186,
1155
- send_spidertron = 187,
1156
- send_stack_to_trash = 188,
1157
- send_stacks_to_trash = 189,
1158
- send_train_to_pin_target = 190,
1159
- set_behavior_mode = 191,
1160
- set_car_weapons_control = 192,
1161
- set_cheat_mode_quality = 193,
1162
- set_circuit_condition = 194,
1163
- set_circuit_mode_of_operation = 195,
1164
- set_combinator_description = 196,
1165
- set_copy_color_from_train_stop = 197,
1166
- set_deconstruction_item_tile_selection_mode = 198,
1167
- set_deconstruction_item_trees_and_rocks_only = 199,
1168
- set_entity_color = 200,
1169
- set_entity_energy_property = 201,
1170
- set_filter = 202,
1171
- set_ghost_cursor = 203,
1172
- set_heat_interface_mode = 204,
1173
- set_heat_interface_temperature = 205,
1174
- set_infinity_container_filter_item = 206,
1175
- set_infinity_container_remove_unfiltered_items = 207,
1176
- set_infinity_pipe_filter = 208,
1177
- set_inserter_max_stack_size = 209,
1178
- set_inventory_bar = 210,
1179
- set_lamp_always_on = 211,
1180
- set_linked_container_link_i_d = 212,
1181
- set_loader_belt_stack_size_override = 213,
1182
- set_logistic_filter_item = 214,
1183
- set_logistic_network_name = 215,
1184
- set_logistic_section_active = 216,
1185
- set_player_color = 217,
1186
- set_pump_fluid_filter = 218,
1187
- set_request_from_buffers = 219,
1188
- set_research_finished_stops_game = 220,
1189
- set_rocket_silo_send_to_orbit_automated_mode = 221,
1190
- set_schedule_record_allow_unloading = 222,
1191
- set_signal = 223,
1192
- set_splitter_priority = 224,
1193
- set_spoil_priority = 225,
1194
- set_train_stop_priority = 226,
1195
- set_train_stopped = 227,
1196
- set_trains_limit = 228,
1197
- set_turret_ignore_unlisted = 229,
1198
- set_use_inserter_filters = 230,
1199
- set_vehicle_automatic_targeting_parameters = 231,
1200
- setup_assembling_machine = 232,
1201
- setup_blueprint = 233,
1202
- setup_single_blueprint_record = 234,
1203
- spawn_item = 235,
1204
- spectator_change_surface = 236,
1205
- stack_split = 237,
1206
- stack_transfer = 238,
1207
- start_repair = 239,
1208
- start_research = 240,
1209
- start_walking = 241,
1210
- stop_drag_build = 242,
1211
- swap_asteroid_chunk_slots = 243,
1212
- swap_entity_filter_slots = 244,
1213
- swap_entity_slots = 245,
1214
- swap_infinity_container_filter_items = 246,
1215
- swap_item_filters = 247,
1216
- swap_logistic_filter_items = 248,
1217
- swap_mappers = 249,
1218
- swap_tile_slots = 250,
1219
- switch_connect_to_logistic_network = 251,
1220
- switch_constant_combinator_state = 252,
1221
- switch_inserter_filter_mode_state = 253,
1222
- switch_loader_filter_mode = 254,
1223
- switch_mining_drill_filter_mode_state = 255,
1224
- switch_power_switch_state = 256,
1225
- take_equipment = 257,
1226
- toggle_artillery_auto_targeting = 258,
1227
- toggle_deconstruction_item_entity_filter_mode = 259,
1228
- toggle_deconstruction_item_tile_filter_mode = 260,
1229
- toggle_driving = 261,
1230
- toggle_enable_vehicle_logistics_while_moving = 262,
1231
- toggle_entity_logistic_requests = 263,
1232
- toggle_equipment_movement_bonus = 264,
1233
- toggle_map_editor = 265,
1234
- toggle_personal_logistic_requests = 266,
1235
- toggle_personal_roboport = 267,
1236
- toggle_selected_entity = 268,
1237
- toggle_show_entity_info = 269,
1238
- translate_string = 270,
1239
- trash_not_requested_items = 271,
1240
- undo = 272,
1241
- upgrade = 273,
1242
- upgrade_opened_blueprint_by_item = 274,
1243
- upgrade_opened_blueprint_by_record = 275,
1244
- use_item = 276,
1245
- wire_dragging = 277,
1246
- write_to_console = 278
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
1247
1312
  }
1248
1313
  enum input_method {
1249
1314
  game_controller = 1,
1250
1315
  keyboard_and_mouse = 0
1251
1316
  }
1252
1317
  enum inventory {
1253
- agricultural_tower_input = 56,
1254
- agricultural_tower_output = 57,
1255
- artillery_turret_ammo = 46,
1256
- artillery_wagon_ammo = 47,
1318
+ agricultural_tower_input = 46,
1319
+ agricultural_tower_modules = 48,
1320
+ agricultural_tower_output = 47,
1321
+ artillery_turret_ammo = 36,
1322
+ artillery_wagon_ammo = 37,
1257
1323
  /**
1258
1324
  * Used for ejected items, or items held by inserters that can't be inserted due the recipe being changed with the circuit network.
1259
1325
  */
1260
- assembling_machine_dump = 26,
1261
- /**
1262
- * Deprecated, replaced by `"crafter_input"`.
1263
- */
1264
- assembling_machine_input = 23,
1265
- /**
1266
- * Deprecated, replaced by `"crafter_modules"`.
1267
- */
1268
- assembling_machine_modules = 25,
1269
- /**
1270
- * Deprecated, replaced by `"crafter_output"`.
1271
- */
1272
- assembling_machine_output = 24,
1273
- /**
1274
- * Deprecated, replaced by `"crafter_trash"`.
1275
- */
1276
- assembling_machine_trash = 27,
1277
- asteroid_collector_arm = 64,
1278
- asteroid_collector_output = 63,
1279
- beacon_modules = 44,
1326
+ assembling_machine_dump = 19,
1327
+ asteroid_collector_arm = 55,
1328
+ asteroid_collector_output = 54,
1329
+ beacon_modules = 34,
1280
1330
  burnt_result = 1,
1281
- car_ammo = 40,
1282
- car_trash = 41,
1283
- car_trunk = 39,
1284
- cargo_landing_pad_main = 53,
1285
- cargo_landing_pad_trash = 54,
1331
+ car_ammo = 30,
1332
+ car_trash = 31,
1333
+ car_trunk = 29,
1334
+ cargo_landing_pad_main = 43,
1335
+ cargo_landing_pad_trash = 44,
1286
1336
  /**
1287
1337
  * Inventory of cargo pod.
1288
1338
  */
1289
- cargo_unit = 38,
1290
- cargo_wagon = 42,
1291
- character_ammo = 10,
1292
- character_armor = 11,
1293
- character_corpse = 45,
1294
- character_guns = 9,
1295
- character_main = 8,
1296
- character_trash = 13,
1297
- character_vehicle = 12,
1339
+ cargo_unit = 28,
1340
+ cargo_wagon = 32,
1341
+ character_ammo = 6,
1342
+ character_armor = 7,
1343
+ character_corpse = 35,
1344
+ character_guns = 5,
1345
+ character_main = 4,
1346
+ character_trash = 9,
1347
+ character_vehicle = 8,
1298
1348
  chest = 2,
1299
- crafter_input = 59,
1300
- crafter_modules = 61,
1301
- crafter_output = 60,
1349
+ crafter_input = 50,
1350
+ crafter_modules = 52,
1351
+ crafter_output = 51,
1302
1352
  /**
1303
1353
  * 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.
1304
1354
  */
1305
- crafter_trash = 62,
1306
- editor_ammo = 17,
1307
- editor_armor = 18,
1308
- editor_guns = 16,
1309
- editor_main = 15,
1355
+ crafter_trash = 53,
1356
+ editor_ammo = 13,
1357
+ editor_armor = 14,
1358
+ editor_guns = 12,
1359
+ editor_main = 11,
1310
1360
  fuel = 0,
1311
- /**
1312
- * Deprecated, replaced by `"crafter_modules"`.
1313
- */
1314
- furnace_modules = 6,
1315
- /**
1316
- * Deprecated, replaced by `"crafter_output"`.
1317
- */
1318
- furnace_result = 5,
1319
- /**
1320
- * Deprecated, replaced by `"crafter_input"`.
1321
- */
1322
- furnace_source = 4,
1323
- /**
1324
- * Deprecated, replaced by `"crafter_trash"`.
1325
- */
1326
- furnace_trash = 7,
1327
- god_main = 14,
1328
- hub_main = 51,
1329
- hub_trash = 52,
1330
- item_main = 32,
1331
- lab_input = 28,
1332
- lab_modules = 29,
1333
- lab_trash = 30,
1334
- linked_container_main = 58,
1361
+ god_main = 10,
1362
+ hub_main = 41,
1363
+ hub_trash = 42,
1364
+ item_main = 24,
1365
+ lab_input = 20,
1366
+ lab_modules = 21,
1367
+ lab_trash = 22,
1368
+ linked_container_main = 49,
1335
1369
  logistic_container_trash = 3,
1336
- mining_drill_modules = 31,
1337
- proxy_main = 55,
1338
- roboport_material = 20,
1339
- roboport_robot = 19,
1340
- robot_cargo = 21,
1341
- robot_repair = 22,
1342
- /**
1343
- * Deprecated, replaced by `"crafter_input"`.
1344
- */
1345
- rocket_silo_input = 35,
1346
- /**
1347
- * Deprecated, replaced by `"crafter_modules"`.
1348
- */
1349
- rocket_silo_modules = 37,
1350
- /**
1351
- * Deprecated, replaced by `"crafter_output"`.
1352
- */
1353
- rocket_silo_output = 36,
1354
- rocket_silo_rocket = 33,
1355
- rocket_silo_trash = 34,
1356
- spider_ammo = 49,
1357
- spider_trash = 50,
1358
- spider_trunk = 48,
1359
- turret_ammo = 43
1370
+ mining_drill_modules = 23,
1371
+ proxy_main = 45,
1372
+ roboport_material = 16,
1373
+ roboport_robot = 15,
1374
+ robot_cargo = 17,
1375
+ robot_repair = 18,
1376
+ rocket_silo_attached_cargo_unit = 27,
1377
+ rocket_silo_rocket = 25,
1378
+ rocket_silo_trash = 26,
1379
+ spider_ammo = 39,
1380
+ spider_trash = 40,
1381
+ spider_trunk = 38,
1382
+ turret_ammo = 33
1383
+ }
1384
+ enum inventory_actions {
1385
+ cursor_split = 1,
1386
+ cursor_transfer = 0,
1387
+ inventory_split = 5,
1388
+ inventory_transfer = 4,
1389
+ open_item = 6,
1390
+ open_mod_item = 7,
1391
+ send_stack_to_trash = 8,
1392
+ send_stacks_to_trash = 9,
1393
+ stack_split = 3,
1394
+ stack_transfer = 2
1360
1395
  }
1361
1396
  enum logistic_group_type {
1362
1397
  roboport = 1,
@@ -1703,14 +1738,15 @@ namespace prototypes {
1703
1738
  'active-defense-equipment' = 0,
1704
1739
  'battery-equipment' = 1,
1705
1740
  'belt-immunity-equipment' = 2,
1706
- 'energy-shield-equipment' = 3,
1707
- 'equipment-ghost' = 4,
1708
- 'generator-equipment' = 5,
1709
- 'inventory-bonus-equipment' = 6,
1710
- 'movement-bonus-equipment' = 7,
1711
- 'night-vision-equipment' = 8,
1712
- 'roboport-equipment' = 9,
1713
- 'solar-panel-equipment' = 10
1741
+ 'electric-energy-interface-equipment' = 3,
1742
+ 'energy-shield-equipment' = 4,
1743
+ 'equipment-ghost' = 5,
1744
+ 'generator-equipment' = 6,
1745
+ 'inventory-bonus-equipment' = 7,
1746
+ 'movement-bonus-equipment' = 8,
1747
+ 'night-vision-equipment' = 9,
1748
+ 'roboport-equipment' = 10,
1749
+ 'solar-panel-equipment' = 11
1714
1750
  }
1715
1751
  /**
1716
1752
  * @customName equipment-category
@@ -1994,76 +2030,80 @@ enum relative_gui_type {
1994
2030
  additional_entity_info_gui = 2,
1995
2031
  admin_gui = 3,
1996
2032
  agriculture_tower_gui = 4,
1997
- arithmetic_combinator_gui = 5,
1998
- armor_gui = 6,
1999
- assembling_machine_gui = 7,
2000
- assembling_machine_select_recipe_gui = 8,
2001
- asteroid_collector_gui = 9,
2002
- beacon_gui = 10,
2003
- blueprint_book_gui = 11,
2004
- blueprint_library_gui = 12,
2005
- blueprint_setup_gui = 13,
2006
- bonus_gui = 14,
2007
- burner_equipment_gui = 15,
2008
- car_gui = 16,
2009
- cargo_landing_pad_gui = 17,
2010
- constant_combinator_gui = 18,
2011
- container_gui = 19,
2012
- controller_gui = 20,
2013
- decider_combinator_gui = 21,
2014
- deconstruction_item_gui = 22,
2015
- display_panel_gui = 23,
2016
- electric_energy_interface_gui = 24,
2017
- electric_network_gui = 25,
2018
- entity_variations_gui = 26,
2019
- entity_with_energy_source_gui = 27,
2020
- equipment_grid_gui = 28,
2021
- furnace_gui = 29,
2022
- generic_on_off_entity_gui = 30,
2023
- ghost_picker_gui = 31,
2024
- global_electric_network_gui = 32,
2025
- heat_interface_gui = 33,
2026
- infinity_pipe_gui = 34,
2027
- inserter_gui = 35,
2028
- item_with_inventory_gui = 36,
2029
- lab_gui = 37,
2030
- lamp_gui = 38,
2031
- linked_container_gui = 39,
2032
- loader_gui = 40,
2033
- logistic_gui = 41,
2034
- market_gui = 42,
2035
- mining_drill_gui = 43,
2036
- other_player_gui = 44,
2037
- permissions_gui = 45,
2038
- pick_stop_gui = 46,
2039
- pipe_gui = 47,
2040
- power_switch_gui = 48,
2041
- production_gui = 49,
2042
- programmable_speaker_gui = 50,
2043
- proxy_container_gui = 51,
2044
- pump_gui = 52,
2045
- rail_signal_base_gui = 53,
2046
- reactor_gui = 54,
2047
- resource_entity_gui = 55,
2048
- roboport_gui = 56,
2049
- rocket_silo_gui = 57,
2050
- script_inventory_gui = 58,
2051
- selector_combinator_gui = 59,
2052
- server_config_gui = 60,
2053
- space_platform_hub_gui = 61,
2054
- spider_vehicle_gui = 62,
2055
- splitter_gui = 63,
2056
- standalone_character_gui = 64,
2057
- storage_tank_gui = 65,
2058
- tile_variations_gui = 66,
2059
- tips_and_tricks_gui = 67,
2060
- train_gui = 68,
2061
- train_stop_gui = 69,
2062
- trains_gui = 70,
2063
- transport_belt_gui = 71,
2064
- turret_gui = 72,
2065
- upgrade_item_gui = 73,
2066
- wall_gui = 74
2033
+ alerts_config_gui = 5,
2034
+ arithmetic_combinator_gui = 6,
2035
+ armor_gui = 7,
2036
+ assembling_machine_gui = 8,
2037
+ assembling_machine_select_recipe_gui = 9,
2038
+ asteroid_collector_gui = 10,
2039
+ beacon_gui = 11,
2040
+ blueprint_book_gui = 12,
2041
+ blueprint_library_gui = 13,
2042
+ blueprint_setup_gui = 14,
2043
+ boiler_gui = 15,
2044
+ bonus_gui = 16,
2045
+ burner_equipment_gui = 17,
2046
+ car_gui = 18,
2047
+ cargo_landing_pad_gui = 19,
2048
+ constant_combinator_gui = 20,
2049
+ container_gui = 21,
2050
+ controller_gui = 22,
2051
+ decider_combinator_gui = 23,
2052
+ deconstruction_item_gui = 24,
2053
+ display_panel_gui = 25,
2054
+ electric_energy_interface_equipment_gui = 26,
2055
+ electric_energy_interface_gui = 27,
2056
+ electric_network_gui = 28,
2057
+ entity_variations_gui = 29,
2058
+ entity_with_energy_source_gui = 30,
2059
+ equipment_grid_gui = 31,
2060
+ furnace_gui = 32,
2061
+ generic_on_off_entity_gui = 33,
2062
+ ghost_picker_gui = 34,
2063
+ global_electric_network_gui = 35,
2064
+ heat_interface_gui = 36,
2065
+ heat_pipe_gui = 37,
2066
+ infinity_pipe_gui = 38,
2067
+ inserter_gui = 39,
2068
+ item_with_inventory_gui = 40,
2069
+ lab_gui = 41,
2070
+ lamp_gui = 42,
2071
+ linked_container_gui = 43,
2072
+ loader_gui = 44,
2073
+ logistic_gui = 45,
2074
+ market_gui = 46,
2075
+ mining_drill_gui = 47,
2076
+ other_player_gui = 48,
2077
+ permissions_gui = 49,
2078
+ pick_stop_gui = 50,
2079
+ pipe_gui = 51,
2080
+ power_switch_gui = 52,
2081
+ production_gui = 53,
2082
+ programmable_speaker_gui = 54,
2083
+ proxy_container_gui = 55,
2084
+ pump_gui = 56,
2085
+ radar_gui = 57,
2086
+ rail_signal_base_gui = 58,
2087
+ reactor_gui = 59,
2088
+ resource_entity_gui = 60,
2089
+ roboport_gui = 61,
2090
+ rocket_silo_gui = 62,
2091
+ script_inventory_gui = 63,
2092
+ selector_combinator_gui = 64,
2093
+ server_config_gui = 65,
2094
+ space_platform_hub_gui = 66,
2095
+ spider_vehicle_gui = 67,
2096
+ splitter_gui = 68,
2097
+ standalone_character_gui = 69,
2098
+ tile_variations_gui = 70,
2099
+ tips_and_tricks_gui = 71,
2100
+ train_gui = 72,
2101
+ train_stop_gui = 73,
2102
+ trains_gui = 74,
2103
+ transport_belt_gui = 75,
2104
+ turret_gui = 76,
2105
+ upgrade_item_gui = 77,
2106
+ wall_gui = 78
2067
2107
  }
2068
2108
  enum render_mode {
2069
2109
  chart = 1,
@@ -2315,9 +2355,12 @@ enum target_type {
2315
2355
  cargo_hatch = 18,
2316
2356
  commandable = 15,
2317
2357
  custom_chart_tag = 16,
2358
+ electric_network = 22,
2359
+ electric_sub_network = 23,
2318
2360
  entity = 0,
2319
2361
  equipment = 1,
2320
2362
  equipment_grid = 2,
2363
+ force = 24,
2321
2364
  gui_element = 17,
2322
2365
  item = 3,
2323
2366
  logistic_cell = 4,