factorio-types 1.2.23 → 1.2.25

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.32
5
+ // Factorio version 2.0.37
6
6
  // API version 6
7
7
 
8
8
  declare namespace defines {
@@ -47,6 +47,28 @@ enum build_mode {
47
47
  normal = 0,
48
48
  superforced = 2
49
49
  }
50
+ enum cargo_destination {
51
+ /**
52
+ * The default destination type of a cargo pod when created runtime. Setting its destination to any other type will instantly launch it.
53
+ */
54
+ invalid = 0,
55
+ /**
56
+ * Cargo pods with orbit destination are destroyed when ascent is completed.
57
+ */
58
+ orbit = 1,
59
+ /**
60
+ * Only used for sending a space platform starter pack to a platform that is waiting for one. Regular deliveries to space platform hubs use {@link station | runtime:defines.cargo_destination.station} destination type instead.
61
+ */
62
+ space_platform = 4,
63
+ /**
64
+ * Any cargo landing pad or space platform hub.
65
+ */
66
+ station = 2,
67
+ /**
68
+ * Cargo pods will switch destination type from surface to station before starting descent if there is a station available and {@link CargoDestination::position | runtime:CargoDestination::position} has not been specified.
69
+ */
70
+ surface = 3
71
+ }
50
72
  /**
51
73
  * State of a chain signal.
52
74
  */
@@ -222,6 +244,10 @@ namespace control_behavior {
222
244
  * {@link LuaDisplayPanelControlBehavior | runtime:LuaDisplayPanelControlBehavior}
223
245
  */
224
246
  display_panel = 28,
247
+ /**
248
+ * {@link LuaFurnaceControlBehavior | runtime:LuaFurnaceControlBehavior}
249
+ */
250
+ furnace = 32,
225
251
  /**
226
252
  * {@link LuaGenericOnOffControlBehavior | runtime:LuaGenericOnOffControlBehavior}
227
253
  */
@@ -661,197 +687,201 @@ enum events {
661
687
  on_built_entity = 6,
662
688
  on_cancelled_deconstruction = 7,
663
689
  on_cancelled_upgrade = 8,
664
- on_cargo_pod_finished_ascending = 9,
665
- on_character_corpse_expired = 10,
666
- on_chart_tag_added = 11,
667
- on_chart_tag_modified = 12,
668
- on_chart_tag_removed = 13,
669
- on_chunk_charted = 14,
670
- on_chunk_deleted = 15,
671
- on_chunk_generated = 16,
672
- on_combat_robot_expired = 17,
673
- on_console_chat = 18,
674
- on_console_command = 19,
675
- on_cutscene_cancelled = 20,
676
- on_cutscene_finished = 21,
677
- on_cutscene_started = 22,
678
- on_cutscene_waypoint_reached = 23,
679
- on_entity_cloned = 24,
680
- on_entity_color_changed = 25,
681
- on_entity_damaged = 26,
682
- on_entity_died = 27,
683
- on_entity_logistic_slot_changed = 28,
684
- on_entity_renamed = 29,
685
- on_entity_settings_pasted = 30,
686
- on_entity_spawned = 31,
687
- on_equipment_inserted = 32,
688
- on_equipment_removed = 33,
689
- on_force_cease_fire_changed = 34,
690
- on_force_created = 35,
691
- on_force_friends_changed = 36,
692
- on_force_reset = 37,
693
- on_forces_merged = 38,
694
- on_forces_merging = 39,
695
- on_game_created_from_scenario = 40,
696
- on_gui_checked_state_changed = 41,
697
- on_gui_click = 42,
698
- on_gui_closed = 43,
699
- on_gui_confirmed = 44,
700
- on_gui_elem_changed = 45,
701
- on_gui_hover = 46,
702
- on_gui_leave = 47,
703
- on_gui_location_changed = 48,
704
- on_gui_opened = 49,
705
- on_gui_selected_tab_changed = 50,
706
- on_gui_selection_state_changed = 51,
707
- on_gui_switch_state_changed = 52,
708
- on_gui_text_changed = 53,
709
- on_gui_value_changed = 54,
710
- on_land_mine_armed = 55,
711
- on_lua_shortcut = 56,
712
- on_marked_for_deconstruction = 57,
713
- on_marked_for_upgrade = 58,
714
- on_market_item_purchased = 59,
715
- on_mod_item_opened = 60,
716
- on_object_destroyed = 61,
717
- on_permission_group_added = 62,
718
- on_permission_group_deleted = 63,
719
- on_permission_group_edited = 64,
720
- on_permission_string_imported = 65,
721
- on_picked_up_item = 66,
722
- on_player_alt_reverse_selected_area = 67,
723
- on_player_alt_selected_area = 68,
724
- on_player_ammo_inventory_changed = 69,
725
- on_player_armor_inventory_changed = 70,
726
- on_player_banned = 71,
727
- on_player_built_tile = 72,
728
- on_player_cancelled_crafting = 73,
729
- on_player_changed_force = 74,
730
- on_player_changed_position = 75,
731
- on_player_changed_surface = 76,
732
- on_player_cheat_mode_disabled = 77,
733
- on_player_cheat_mode_enabled = 78,
734
- on_player_clicked_gps_tag = 79,
735
- on_player_configured_blueprint = 80,
736
- on_player_controller_changed = 81,
737
- on_player_crafted_item = 82,
738
- on_player_created = 83,
739
- on_player_cursor_stack_changed = 84,
740
- on_player_deconstructed_area = 85,
741
- on_player_demoted = 86,
742
- on_player_died = 87,
743
- on_player_display_density_scale_changed = 88,
744
- on_player_display_resolution_changed = 89,
745
- on_player_display_scale_changed = 90,
746
- on_player_driving_changed_state = 91,
747
- on_player_dropped_item = 92,
748
- on_player_fast_transferred = 93,
749
- on_player_flipped_entity = 94,
750
- on_player_flushed_fluid = 95,
751
- on_player_gun_inventory_changed = 96,
752
- on_player_input_method_changed = 97,
753
- on_player_joined_game = 98,
754
- on_player_kicked = 99,
755
- on_player_left_game = 100,
756
- on_player_locale_changed = 101,
757
- on_player_main_inventory_changed = 102,
758
- on_player_mined_entity = 103,
759
- on_player_mined_item = 104,
760
- on_player_mined_tile = 105,
761
- on_player_muted = 106,
762
- on_player_pipette = 107,
763
- on_player_placed_equipment = 108,
764
- on_player_promoted = 109,
765
- on_player_removed = 110,
766
- on_player_removed_equipment = 111,
767
- on_player_repaired_entity = 112,
768
- on_player_respawned = 113,
769
- on_player_reverse_selected_area = 114,
770
- on_player_rotated_entity = 115,
771
- on_player_selected_area = 116,
772
- on_player_set_quick_bar_slot = 117,
773
- on_player_setup_blueprint = 118,
774
- on_player_toggled_alt_mode = 119,
775
- on_player_toggled_map_editor = 120,
776
- on_player_trash_inventory_changed = 121,
777
- on_player_unbanned = 122,
778
- on_player_unmuted = 123,
779
- on_player_used_capsule = 124,
780
- on_player_used_spidertron_remote = 125,
781
- on_post_entity_died = 126,
782
- on_pre_build = 127,
783
- on_pre_chunk_deleted = 128,
784
- on_pre_entity_settings_pasted = 129,
785
- on_pre_ghost_deconstructed = 130,
786
- on_pre_ghost_upgraded = 131,
787
- on_pre_permission_group_deleted = 132,
788
- on_pre_permission_string_imported = 133,
789
- on_pre_player_crafted_item = 134,
790
- on_pre_player_died = 135,
791
- on_pre_player_left_game = 136,
792
- on_pre_player_mined_item = 137,
793
- on_pre_player_removed = 138,
794
- on_pre_player_toggled_map_editor = 139,
795
- on_pre_robot_exploded_cliff = 140,
796
- on_pre_scenario_finished = 141,
797
- on_pre_script_inventory_resized = 142,
798
- on_pre_surface_cleared = 143,
799
- on_pre_surface_deleted = 144,
800
- on_redo_applied = 145,
801
- on_research_cancelled = 146,
802
- on_research_finished = 147,
803
- on_research_moved = 148,
804
- on_research_reversed = 149,
805
- on_research_started = 150,
806
- on_resource_depleted = 151,
807
- on_robot_built_entity = 152,
808
- on_robot_built_tile = 153,
809
- on_robot_exploded_cliff = 154,
810
- on_robot_mined = 155,
811
- on_robot_mined_entity = 156,
812
- on_robot_mined_tile = 157,
813
- on_robot_pre_mined = 158,
814
- on_rocket_launch_ordered = 159,
815
- on_rocket_launched = 160,
816
- on_runtime_mod_setting_changed = 161,
817
- on_script_inventory_resized = 162,
818
- on_script_path_request_finished = 163,
819
- on_script_trigger_effect = 164,
820
- on_sector_scanned = 165,
821
- on_segment_entity_created = 166,
822
- on_selected_entity_changed = 167,
823
- on_space_platform_built_entity = 168,
824
- on_space_platform_built_tile = 169,
825
- on_space_platform_changed_state = 170,
826
- on_space_platform_mined_entity = 171,
827
- on_space_platform_mined_item = 172,
828
- on_space_platform_mined_tile = 173,
829
- on_space_platform_pre_mined = 174,
830
- on_spider_command_completed = 175,
831
- on_string_translated = 176,
832
- on_surface_cleared = 177,
833
- on_surface_created = 178,
834
- on_surface_deleted = 179,
835
- on_surface_imported = 180,
836
- on_surface_renamed = 181,
837
- on_technology_effects_reset = 182,
838
- on_tick = 183,
839
- on_train_changed_state = 184,
840
- on_train_created = 185,
841
- on_train_schedule_changed = 186,
842
- on_trigger_created_entity = 187,
843
- on_trigger_fired_artillery = 188,
844
- on_undo_applied = 189,
845
- on_unit_added_to_group = 190,
846
- on_unit_group_created = 191,
847
- on_unit_group_finished_gathering = 192,
848
- on_unit_removed_from_group = 193,
849
- on_worker_robot_expired = 194,
850
- script_raised_built = 195,
851
- script_raised_destroy = 196,
852
- script_raised_revive = 197,
853
- script_raised_set_tiles = 198,
854
- script_raised_teleported = 199
690
+ on_cargo_pod_delivered_cargo = 9,
691
+ on_cargo_pod_finished_ascending = 10,
692
+ on_cargo_pod_finished_descending = 11,
693
+ on_character_corpse_expired = 12,
694
+ on_chart_tag_added = 13,
695
+ on_chart_tag_modified = 14,
696
+ on_chart_tag_removed = 15,
697
+ on_chunk_charted = 16,
698
+ on_chunk_deleted = 17,
699
+ on_chunk_generated = 18,
700
+ on_combat_robot_expired = 19,
701
+ on_console_chat = 20,
702
+ on_console_command = 21,
703
+ on_cutscene_cancelled = 22,
704
+ on_cutscene_finished = 23,
705
+ on_cutscene_started = 24,
706
+ on_cutscene_waypoint_reached = 25,
707
+ on_entity_cloned = 26,
708
+ on_entity_color_changed = 27,
709
+ on_entity_damaged = 28,
710
+ on_entity_died = 29,
711
+ on_entity_logistic_slot_changed = 30,
712
+ on_entity_renamed = 31,
713
+ on_entity_settings_pasted = 32,
714
+ on_entity_spawned = 33,
715
+ on_equipment_inserted = 34,
716
+ on_equipment_removed = 35,
717
+ on_force_cease_fire_changed = 36,
718
+ on_force_created = 37,
719
+ on_force_friends_changed = 38,
720
+ on_force_reset = 39,
721
+ on_forces_merged = 40,
722
+ on_forces_merging = 41,
723
+ on_game_created_from_scenario = 42,
724
+ on_gui_checked_state_changed = 43,
725
+ on_gui_click = 44,
726
+ on_gui_closed = 45,
727
+ on_gui_confirmed = 46,
728
+ on_gui_elem_changed = 47,
729
+ on_gui_hover = 48,
730
+ on_gui_leave = 49,
731
+ on_gui_location_changed = 50,
732
+ on_gui_opened = 51,
733
+ on_gui_selected_tab_changed = 52,
734
+ on_gui_selection_state_changed = 53,
735
+ on_gui_switch_state_changed = 54,
736
+ on_gui_text_changed = 55,
737
+ on_gui_value_changed = 56,
738
+ on_land_mine_armed = 57,
739
+ on_lua_shortcut = 58,
740
+ on_marked_for_deconstruction = 59,
741
+ on_marked_for_upgrade = 60,
742
+ on_market_item_purchased = 61,
743
+ on_mod_item_opened = 62,
744
+ on_multiplayer_init = 63,
745
+ on_object_destroyed = 64,
746
+ on_permission_group_added = 65,
747
+ on_permission_group_deleted = 66,
748
+ on_permission_group_edited = 67,
749
+ on_permission_string_imported = 68,
750
+ on_picked_up_item = 69,
751
+ on_player_alt_reverse_selected_area = 70,
752
+ on_player_alt_selected_area = 71,
753
+ on_player_ammo_inventory_changed = 72,
754
+ on_player_armor_inventory_changed = 73,
755
+ on_player_banned = 74,
756
+ on_player_built_tile = 75,
757
+ on_player_cancelled_crafting = 76,
758
+ on_player_changed_force = 77,
759
+ on_player_changed_position = 78,
760
+ on_player_changed_surface = 79,
761
+ on_player_cheat_mode_disabled = 80,
762
+ on_player_cheat_mode_enabled = 81,
763
+ on_player_clicked_gps_tag = 82,
764
+ on_player_configured_blueprint = 83,
765
+ on_player_controller_changed = 84,
766
+ on_player_crafted_item = 85,
767
+ on_player_created = 86,
768
+ on_player_cursor_stack_changed = 87,
769
+ on_player_deconstructed_area = 88,
770
+ on_player_demoted = 89,
771
+ on_player_died = 90,
772
+ on_player_display_density_scale_changed = 91,
773
+ on_player_display_resolution_changed = 92,
774
+ on_player_display_scale_changed = 93,
775
+ on_player_driving_changed_state = 94,
776
+ on_player_dropped_item = 95,
777
+ on_player_fast_transferred = 96,
778
+ on_player_flipped_entity = 97,
779
+ on_player_flushed_fluid = 98,
780
+ on_player_gun_inventory_changed = 99,
781
+ on_player_input_method_changed = 100,
782
+ on_player_joined_game = 101,
783
+ on_player_kicked = 102,
784
+ on_player_left_game = 103,
785
+ on_player_locale_changed = 104,
786
+ on_player_main_inventory_changed = 105,
787
+ on_player_mined_entity = 106,
788
+ on_player_mined_item = 107,
789
+ on_player_mined_tile = 108,
790
+ on_player_muted = 109,
791
+ on_player_pipette = 110,
792
+ on_player_placed_equipment = 111,
793
+ on_player_promoted = 112,
794
+ on_player_removed = 113,
795
+ on_player_removed_equipment = 114,
796
+ on_player_repaired_entity = 115,
797
+ on_player_respawned = 116,
798
+ on_player_reverse_selected_area = 117,
799
+ on_player_rotated_entity = 118,
800
+ on_player_selected_area = 119,
801
+ on_player_set_quick_bar_slot = 120,
802
+ on_player_setup_blueprint = 121,
803
+ on_player_toggled_alt_mode = 122,
804
+ on_player_toggled_map_editor = 123,
805
+ on_player_trash_inventory_changed = 124,
806
+ on_player_unbanned = 125,
807
+ on_player_unmuted = 126,
808
+ on_player_used_capsule = 127,
809
+ on_player_used_spidertron_remote = 128,
810
+ on_post_entity_died = 129,
811
+ on_pre_build = 130,
812
+ on_pre_chunk_deleted = 131,
813
+ on_pre_entity_settings_pasted = 132,
814
+ on_pre_ghost_deconstructed = 133,
815
+ on_pre_ghost_upgraded = 134,
816
+ on_pre_permission_group_deleted = 135,
817
+ on_pre_permission_string_imported = 136,
818
+ on_pre_player_crafted_item = 137,
819
+ on_pre_player_died = 138,
820
+ on_pre_player_left_game = 139,
821
+ on_pre_player_mined_item = 140,
822
+ on_pre_player_removed = 141,
823
+ on_pre_player_toggled_map_editor = 142,
824
+ on_pre_robot_exploded_cliff = 143,
825
+ on_pre_scenario_finished = 144,
826
+ on_pre_script_inventory_resized = 145,
827
+ on_pre_surface_cleared = 146,
828
+ on_pre_surface_deleted = 147,
829
+ on_redo_applied = 148,
830
+ on_research_cancelled = 149,
831
+ on_research_finished = 150,
832
+ on_research_moved = 151,
833
+ on_research_reversed = 152,
834
+ on_research_started = 153,
835
+ on_resource_depleted = 154,
836
+ on_robot_built_entity = 155,
837
+ on_robot_built_tile = 156,
838
+ on_robot_exploded_cliff = 157,
839
+ on_robot_mined = 158,
840
+ on_robot_mined_entity = 159,
841
+ on_robot_mined_tile = 160,
842
+ on_robot_pre_mined = 161,
843
+ on_rocket_launch_ordered = 162,
844
+ on_rocket_launched = 163,
845
+ on_runtime_mod_setting_changed = 164,
846
+ on_script_inventory_resized = 165,
847
+ on_script_path_request_finished = 166,
848
+ on_script_trigger_effect = 167,
849
+ on_sector_scanned = 168,
850
+ on_segment_entity_created = 169,
851
+ on_selected_entity_changed = 170,
852
+ on_singleplayer_init = 171,
853
+ on_space_platform_built_entity = 172,
854
+ on_space_platform_built_tile = 173,
855
+ on_space_platform_changed_state = 174,
856
+ on_space_platform_mined_entity = 175,
857
+ on_space_platform_mined_item = 176,
858
+ on_space_platform_mined_tile = 177,
859
+ on_space_platform_pre_mined = 178,
860
+ on_spider_command_completed = 179,
861
+ on_string_translated = 180,
862
+ on_surface_cleared = 181,
863
+ on_surface_created = 182,
864
+ on_surface_deleted = 183,
865
+ on_surface_imported = 184,
866
+ on_surface_renamed = 185,
867
+ on_technology_effects_reset = 186,
868
+ on_tick = 187,
869
+ on_train_changed_state = 188,
870
+ on_train_created = 189,
871
+ on_train_schedule_changed = 190,
872
+ on_trigger_created_entity = 191,
873
+ on_trigger_fired_artillery = 192,
874
+ on_undo_applied = 193,
875
+ on_unit_added_to_group = 194,
876
+ on_unit_group_created = 195,
877
+ on_unit_group_finished_gathering = 196,
878
+ on_unit_removed_from_group = 197,
879
+ on_worker_robot_expired = 198,
880
+ script_raised_built = 199,
881
+ script_raised_destroy = 200,
882
+ script_raised_revive = 201,
883
+ script_raised_set_tiles = 202,
884
+ script_raised_teleported = 203
855
885
  }
856
886
  enum flow_precision_index {
857
887
  fifty_hours = 5,
@@ -1035,206 +1065,226 @@ enum input_action {
1035
1065
  mod_settings_changed = 123,
1036
1066
  modify_decider_combinator_condition = 124,
1037
1067
  modify_decider_combinator_output = 125,
1038
- move_research = 126,
1039
- open_achievements_gui = 127,
1040
- open_blueprint_library_gui = 128,
1041
- open_blueprint_record = 129,
1042
- open_bonus_gui = 130,
1043
- open_character_gui = 131,
1044
- open_current_vehicle_gui = 132,
1045
- open_equipment = 133,
1046
- open_global_electric_network_gui = 134,
1047
- open_gui = 135,
1048
- open_item = 136,
1049
- open_logistics_gui = 137,
1050
- open_mod_item = 138,
1051
- open_new_platform_button_from_rocket_silo = 139,
1052
- open_opened_entity_grid = 140,
1053
- open_parent_of_opened_item = 141,
1054
- open_production_gui = 142,
1055
- open_train_gui = 143,
1056
- open_train_station_gui = 144,
1057
- open_trains_gui = 145,
1058
- parametrise_blueprint = 146,
1059
- paste_entity_settings = 147,
1060
- pin_alert_group = 148,
1061
- pin_custom_alert = 149,
1062
- pin_search_result = 150,
1063
- pipette = 151,
1064
- place_equipment = 152,
1065
- quick_bar_pick_slot = 153,
1066
- quick_bar_set_selected_page = 154,
1067
- quick_bar_set_slot = 155,
1068
- reassign_blueprint = 156,
1069
- redo = 157,
1070
- remote_view_entity = 158,
1071
- remote_view_surface = 159,
1072
- remove_cables = 160,
1073
- remove_decider_combinator_condition = 161,
1074
- remove_decider_combinator_output = 162,
1075
- remove_logistic_section = 163,
1076
- remove_pin = 164,
1077
- remove_train_interrupt = 165,
1078
- remove_train_station = 166,
1079
- rename_interrupt = 167,
1080
- rename_space_platform = 168,
1081
- reorder_logistic_section = 169,
1082
- request_missing_construction_materials = 170,
1083
- reset_assembling_machine = 171,
1084
- reverse_select_area = 172,
1085
- rotate_entity = 173,
1086
- select_area = 174,
1087
- select_asteroid_chunk_slot = 175,
1088
- select_blueprint_entities = 176,
1089
- select_entity_filter_slot = 177,
1090
- select_entity_slot = 178,
1091
- select_item_filter = 179,
1092
- select_mapper_slot_from = 180,
1093
- select_mapper_slot_to = 181,
1094
- select_next_valid_gun = 182,
1095
- select_tile_slot = 183,
1096
- send_spidertron = 184,
1097
- send_stack_to_trash = 185,
1098
- send_stacks_to_trash = 186,
1099
- send_train_to_pin_target = 187,
1100
- set_behavior_mode = 188,
1101
- set_car_weapons_control = 189,
1102
- set_cheat_mode_quality = 190,
1103
- set_circuit_condition = 191,
1104
- set_circuit_mode_of_operation = 192,
1105
- set_combinator_description = 193,
1106
- set_copy_color_from_train_stop = 194,
1107
- set_deconstruction_item_tile_selection_mode = 195,
1108
- set_deconstruction_item_trees_and_rocks_only = 196,
1109
- set_entity_color = 197,
1110
- set_entity_energy_property = 198,
1111
- set_filter = 199,
1112
- set_ghost_cursor = 200,
1113
- set_heat_interface_mode = 201,
1114
- set_heat_interface_temperature = 202,
1115
- set_infinity_container_filter_item = 203,
1116
- set_infinity_container_remove_unfiltered_items = 204,
1117
- set_infinity_pipe_filter = 205,
1118
- set_inserter_max_stack_size = 206,
1119
- set_inventory_bar = 207,
1120
- set_lamp_always_on = 208,
1121
- set_linked_container_link_i_d = 209,
1122
- set_logistic_filter_item = 210,
1123
- set_logistic_network_name = 211,
1124
- set_logistic_section_active = 212,
1125
- set_player_color = 213,
1126
- set_pump_fluid_filter = 214,
1127
- set_request_from_buffers = 215,
1128
- set_research_finished_stops_game = 216,
1129
- set_rocket_silo_send_to_orbit_automated_mode = 217,
1130
- set_schedule_record_allow_unloading = 218,
1131
- set_signal = 219,
1132
- set_splitter_priority = 220,
1133
- set_spoil_priority = 221,
1134
- set_train_stop_priority = 222,
1135
- set_train_stopped = 223,
1136
- set_trains_limit = 224,
1137
- set_turret_ignore_unlisted = 225,
1138
- set_use_inserter_filters = 226,
1139
- set_vehicle_automatic_targeting_parameters = 227,
1140
- setup_assembling_machine = 228,
1141
- setup_blueprint = 229,
1142
- setup_single_blueprint_record = 230,
1143
- spawn_item = 231,
1144
- spectator_change_surface = 232,
1145
- stack_split = 233,
1146
- stack_transfer = 234,
1147
- start_repair = 235,
1148
- start_research = 236,
1149
- start_walking = 237,
1150
- stop_drag_build = 238,
1151
- swap_logistic_filter_items = 239,
1152
- switch_connect_to_logistic_network = 240,
1153
- switch_constant_combinator_state = 241,
1154
- switch_inserter_filter_mode_state = 242,
1155
- switch_loader_filter_mode = 243,
1156
- switch_mining_drill_filter_mode_state = 244,
1157
- switch_power_switch_state = 245,
1158
- take_equipment = 246,
1159
- toggle_artillery_auto_targeting = 247,
1160
- toggle_deconstruction_item_entity_filter_mode = 248,
1161
- toggle_deconstruction_item_tile_filter_mode = 249,
1162
- toggle_driving = 250,
1163
- toggle_enable_vehicle_logistics_while_moving = 251,
1164
- toggle_entity_logistic_requests = 252,
1165
- toggle_equipment_movement_bonus = 253,
1166
- toggle_map_editor = 254,
1167
- toggle_personal_logistic_requests = 255,
1168
- toggle_personal_roboport = 256,
1169
- toggle_selected_entity = 257,
1170
- toggle_show_entity_info = 258,
1171
- translate_string = 259,
1172
- trash_not_requested_items = 260,
1173
- undo = 261,
1174
- upgrade = 262,
1175
- upgrade_opened_blueprint_by_item = 263,
1176
- upgrade_opened_blueprint_by_record = 264,
1177
- use_item = 265,
1178
- wire_dragging = 266,
1179
- write_to_console = 267
1068
+ move_pin = 126,
1069
+ move_research = 127,
1070
+ open_achievements_gui = 128,
1071
+ open_blueprint_library_gui = 129,
1072
+ open_blueprint_record = 130,
1073
+ open_bonus_gui = 131,
1074
+ open_character_gui = 132,
1075
+ open_current_vehicle_gui = 133,
1076
+ open_equipment = 134,
1077
+ open_global_electric_network_gui = 135,
1078
+ open_gui = 136,
1079
+ open_item = 137,
1080
+ open_logistics_gui = 138,
1081
+ open_mod_item = 139,
1082
+ open_new_platform_button_from_rocket_silo = 140,
1083
+ open_opened_entity_grid = 141,
1084
+ open_parent_of_opened_item = 142,
1085
+ open_production_gui = 143,
1086
+ open_train_gui = 144,
1087
+ open_train_station_gui = 145,
1088
+ open_trains_gui = 146,
1089
+ parametrise_blueprint = 147,
1090
+ paste_entity_settings = 148,
1091
+ pin_alert_group = 149,
1092
+ pin_custom_alert = 150,
1093
+ pin_search_result = 151,
1094
+ pipette = 152,
1095
+ place_equipment = 153,
1096
+ quick_bar_pick_slot = 154,
1097
+ quick_bar_set_selected_page = 155,
1098
+ quick_bar_set_slot = 156,
1099
+ reassign_blueprint = 157,
1100
+ redo = 158,
1101
+ remote_view_entity = 159,
1102
+ remote_view_surface = 160,
1103
+ remove_cables = 161,
1104
+ remove_decider_combinator_condition = 162,
1105
+ remove_decider_combinator_output = 163,
1106
+ remove_logistic_section = 164,
1107
+ remove_pin = 165,
1108
+ remove_train_interrupt = 166,
1109
+ remove_train_station = 167,
1110
+ rename_interrupt = 168,
1111
+ rename_space_platform = 169,
1112
+ reorder_logistic_section = 170,
1113
+ request_missing_construction_materials = 171,
1114
+ reset_assembling_machine = 172,
1115
+ reverse_select_area = 173,
1116
+ rotate_entity = 174,
1117
+ select_area = 175,
1118
+ select_asteroid_chunk_slot = 176,
1119
+ select_blueprint_entities = 177,
1120
+ select_entity_filter_slot = 178,
1121
+ select_entity_slot = 179,
1122
+ select_item_filter = 180,
1123
+ select_mapper_slot_from = 181,
1124
+ select_mapper_slot_to = 182,
1125
+ select_next_valid_gun = 183,
1126
+ select_tile_slot = 184,
1127
+ send_spidertron = 185,
1128
+ send_stack_to_trash = 186,
1129
+ send_stacks_to_trash = 187,
1130
+ send_train_to_pin_target = 188,
1131
+ set_behavior_mode = 189,
1132
+ set_car_weapons_control = 190,
1133
+ set_cheat_mode_quality = 191,
1134
+ set_circuit_condition = 192,
1135
+ set_circuit_mode_of_operation = 193,
1136
+ set_combinator_description = 194,
1137
+ set_copy_color_from_train_stop = 195,
1138
+ set_deconstruction_item_tile_selection_mode = 196,
1139
+ set_deconstruction_item_trees_and_rocks_only = 197,
1140
+ set_entity_color = 198,
1141
+ set_entity_energy_property = 199,
1142
+ set_filter = 200,
1143
+ set_ghost_cursor = 201,
1144
+ set_heat_interface_mode = 202,
1145
+ set_heat_interface_temperature = 203,
1146
+ set_infinity_container_filter_item = 204,
1147
+ set_infinity_container_remove_unfiltered_items = 205,
1148
+ set_infinity_pipe_filter = 206,
1149
+ set_inserter_max_stack_size = 207,
1150
+ set_inventory_bar = 208,
1151
+ set_lamp_always_on = 209,
1152
+ set_linked_container_link_i_d = 210,
1153
+ set_loader_belt_stack_size_override = 211,
1154
+ set_logistic_filter_item = 212,
1155
+ set_logistic_network_name = 213,
1156
+ set_logistic_section_active = 214,
1157
+ set_player_color = 215,
1158
+ set_pump_fluid_filter = 216,
1159
+ set_request_from_buffers = 217,
1160
+ set_research_finished_stops_game = 218,
1161
+ set_rocket_silo_send_to_orbit_automated_mode = 219,
1162
+ set_schedule_record_allow_unloading = 220,
1163
+ set_signal = 221,
1164
+ set_splitter_priority = 222,
1165
+ set_spoil_priority = 223,
1166
+ set_train_stop_priority = 224,
1167
+ set_train_stopped = 225,
1168
+ set_trains_limit = 226,
1169
+ set_turret_ignore_unlisted = 227,
1170
+ set_use_inserter_filters = 228,
1171
+ set_vehicle_automatic_targeting_parameters = 229,
1172
+ setup_assembling_machine = 230,
1173
+ setup_blueprint = 231,
1174
+ setup_single_blueprint_record = 232,
1175
+ spawn_item = 233,
1176
+ spectator_change_surface = 234,
1177
+ stack_split = 235,
1178
+ stack_transfer = 236,
1179
+ start_repair = 237,
1180
+ start_research = 238,
1181
+ start_walking = 239,
1182
+ stop_drag_build = 240,
1183
+ swap_asteroid_chunk_slots = 241,
1184
+ swap_entity_filter_slots = 242,
1185
+ swap_entity_slots = 243,
1186
+ swap_infinity_container_filter_items = 244,
1187
+ swap_item_filters = 245,
1188
+ swap_logistic_filter_items = 246,
1189
+ swap_mappers = 247,
1190
+ swap_tile_slots = 248,
1191
+ switch_connect_to_logistic_network = 249,
1192
+ switch_constant_combinator_state = 250,
1193
+ switch_inserter_filter_mode_state = 251,
1194
+ switch_loader_filter_mode = 252,
1195
+ switch_mining_drill_filter_mode_state = 253,
1196
+ switch_power_switch_state = 254,
1197
+ take_equipment = 255,
1198
+ toggle_artillery_auto_targeting = 256,
1199
+ toggle_deconstruction_item_entity_filter_mode = 257,
1200
+ toggle_deconstruction_item_tile_filter_mode = 258,
1201
+ toggle_driving = 259,
1202
+ toggle_enable_vehicle_logistics_while_moving = 260,
1203
+ toggle_entity_logistic_requests = 261,
1204
+ toggle_equipment_movement_bonus = 262,
1205
+ toggle_map_editor = 263,
1206
+ toggle_personal_logistic_requests = 264,
1207
+ toggle_personal_roboport = 265,
1208
+ toggle_selected_entity = 266,
1209
+ toggle_show_entity_info = 267,
1210
+ translate_string = 268,
1211
+ trash_not_requested_items = 269,
1212
+ undo = 270,
1213
+ upgrade = 271,
1214
+ upgrade_opened_blueprint_by_item = 272,
1215
+ upgrade_opened_blueprint_by_record = 273,
1216
+ use_item = 274,
1217
+ wire_dragging = 275,
1218
+ write_to_console = 276
1180
1219
  }
1181
1220
  enum input_method {
1182
1221
  game_controller = 1,
1183
1222
  keyboard_and_mouse = 0
1184
1223
  }
1185
1224
  enum inventory {
1186
- artillery_turret_ammo = 43,
1187
- artillery_wagon_ammo = 44,
1188
- assembling_machine_dump = 25,
1189
- assembling_machine_input = 22,
1190
- assembling_machine_modules = 24,
1191
- assembling_machine_output = 23,
1192
- beacon_modules = 41,
1225
+ artillery_turret_ammo = 45,
1226
+ artillery_wagon_ammo = 46,
1227
+ /**
1228
+ * Used when items are ejected or items held by inserters cannot be inserted due to changing the recipe with the circuit network.
1229
+ */
1230
+ assembling_machine_dump = 26,
1231
+ assembling_machine_input = 23,
1232
+ assembling_machine_modules = 25,
1233
+ assembling_machine_output = 24,
1234
+ /**
1235
+ * 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.
1236
+ */
1237
+ assembling_machine_trash = 27,
1238
+ beacon_modules = 43,
1193
1239
  burnt_result = 1,
1194
- car_ammo = 37,
1195
- car_trash = 38,
1196
- car_trunk = 36,
1197
- cargo_landing_pad_main = 50,
1198
- cargo_landing_pad_trash = 51,
1199
- cargo_unit = 35,
1200
- cargo_wagon = 39,
1201
- character_ammo = 9,
1202
- character_armor = 10,
1203
- character_corpse = 42,
1204
- character_guns = 8,
1205
- character_main = 7,
1206
- character_trash = 12,
1207
- character_vehicle = 11,
1240
+ car_ammo = 39,
1241
+ car_trash = 40,
1242
+ car_trunk = 38,
1243
+ cargo_landing_pad_main = 52,
1244
+ cargo_landing_pad_trash = 53,
1245
+ cargo_unit = 37,
1246
+ cargo_wagon = 41,
1247
+ character_ammo = 10,
1248
+ character_armor = 11,
1249
+ character_corpse = 44,
1250
+ character_guns = 9,
1251
+ character_main = 8,
1252
+ character_trash = 13,
1253
+ character_vehicle = 12,
1208
1254
  chest = 2,
1209
- editor_ammo = 16,
1210
- editor_armor = 17,
1211
- editor_guns = 15,
1212
- editor_main = 14,
1255
+ editor_ammo = 17,
1256
+ editor_armor = 18,
1257
+ editor_guns = 16,
1258
+ editor_main = 15,
1213
1259
  fuel = 0,
1214
1260
  furnace_modules = 6,
1215
1261
  furnace_result = 5,
1216
1262
  furnace_source = 4,
1217
- god_main = 13,
1218
- hub_main = 48,
1219
- hub_trash = 49,
1220
- item_main = 29,
1221
- lab_input = 26,
1222
- lab_modules = 27,
1263
+ /**
1264
+ * Used for spoil result items that do not fit into the recipe slots.
1265
+ */
1266
+ furnace_trash = 7,
1267
+ god_main = 14,
1268
+ hub_main = 50,
1269
+ hub_trash = 51,
1270
+ item_main = 31,
1271
+ lab_input = 28,
1272
+ lab_modules = 29,
1223
1273
  logistic_container_trash = 3,
1224
- mining_drill_modules = 28,
1225
- roboport_material = 19,
1226
- roboport_robot = 18,
1227
- robot_cargo = 20,
1228
- robot_repair = 21,
1229
- rocket_silo_input = 32,
1230
- rocket_silo_modules = 34,
1231
- rocket_silo_output = 33,
1232
- rocket_silo_rocket = 30,
1233
- rocket_silo_trash = 31,
1234
- spider_ammo = 46,
1235
- spider_trash = 47,
1236
- spider_trunk = 45,
1237
- turret_ammo = 40
1274
+ mining_drill_modules = 30,
1275
+ roboport_material = 20,
1276
+ roboport_robot = 19,
1277
+ robot_cargo = 21,
1278
+ robot_repair = 22,
1279
+ rocket_silo_input = 34,
1280
+ rocket_silo_modules = 36,
1281
+ rocket_silo_output = 35,
1282
+ rocket_silo_rocket = 32,
1283
+ rocket_silo_trash = 33,
1284
+ spider_ammo = 48,
1285
+ spider_trash = 49,
1286
+ spider_trunk = 47,
1287
+ turret_ammo = 42
1238
1288
  }
1239
1289
  enum logistic_member_index {
1240
1290
  character_provider = 4,
@@ -2112,6 +2162,7 @@ enum space_platform_state {
2112
2162
  waiting_for_starter_pack = 0
2113
2163
  }
2114
2164
  enum target_type {
2165
+ cargo_hatch = 18,
2115
2166
  commandable = 15,
2116
2167
  custom_chart_tag = 16,
2117
2168
  entity = 0,
@@ -2127,6 +2178,7 @@ enum target_type {
2127
2178
  player = 9,
2128
2179
  rail_path = 10,
2129
2180
  render_object = 11,
2181
+ schedule = 19,
2130
2182
  space_platform = 12,
2131
2183
  surface = 13,
2132
2184
  train = 14