factorio-types 1.2.24 → 1.2.26

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.33
5
+ // Factorio version 2.0.38
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
  */
@@ -250,6 +276,10 @@ namespace control_behavior {
250
276
  * {@link LuaProgrammableSpeakerControlBehavior | runtime:LuaProgrammableSpeakerControlBehavior}
251
277
  */
252
278
  programmable_speaker = 17,
279
+ /**
280
+ * {@link LuaProxyContainerControlBehavior | runtime:LuaProxyContainerControlBehavior}
281
+ */
282
+ proxy_container = 33,
253
283
  /**
254
284
  * {@link LuaPumpControlBehavior | runtime:LuaPumpControlBehavior}
255
285
  */
@@ -661,197 +691,201 @@ enum events {
661
691
  on_built_entity = 6,
662
692
  on_cancelled_deconstruction = 7,
663
693
  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
694
+ on_cargo_pod_delivered_cargo = 9,
695
+ on_cargo_pod_finished_ascending = 10,
696
+ on_cargo_pod_finished_descending = 11,
697
+ on_character_corpse_expired = 12,
698
+ on_chart_tag_added = 13,
699
+ on_chart_tag_modified = 14,
700
+ on_chart_tag_removed = 15,
701
+ on_chunk_charted = 16,
702
+ on_chunk_deleted = 17,
703
+ on_chunk_generated = 18,
704
+ on_combat_robot_expired = 19,
705
+ on_console_chat = 20,
706
+ on_console_command = 21,
707
+ on_cutscene_cancelled = 22,
708
+ on_cutscene_finished = 23,
709
+ on_cutscene_started = 24,
710
+ on_cutscene_waypoint_reached = 25,
711
+ on_entity_cloned = 26,
712
+ on_entity_color_changed = 27,
713
+ on_entity_damaged = 28,
714
+ on_entity_died = 29,
715
+ on_entity_logistic_slot_changed = 30,
716
+ on_entity_renamed = 31,
717
+ on_entity_settings_pasted = 32,
718
+ on_entity_spawned = 33,
719
+ on_equipment_inserted = 34,
720
+ on_equipment_removed = 35,
721
+ on_force_cease_fire_changed = 36,
722
+ on_force_created = 37,
723
+ on_force_friends_changed = 38,
724
+ on_force_reset = 39,
725
+ on_forces_merged = 40,
726
+ on_forces_merging = 41,
727
+ on_game_created_from_scenario = 42,
728
+ on_gui_checked_state_changed = 43,
729
+ on_gui_click = 44,
730
+ on_gui_closed = 45,
731
+ on_gui_confirmed = 46,
732
+ on_gui_elem_changed = 47,
733
+ on_gui_hover = 48,
734
+ on_gui_leave = 49,
735
+ on_gui_location_changed = 50,
736
+ on_gui_opened = 51,
737
+ on_gui_selected_tab_changed = 52,
738
+ on_gui_selection_state_changed = 53,
739
+ on_gui_switch_state_changed = 54,
740
+ on_gui_text_changed = 55,
741
+ on_gui_value_changed = 56,
742
+ on_land_mine_armed = 57,
743
+ on_lua_shortcut = 58,
744
+ on_marked_for_deconstruction = 59,
745
+ on_marked_for_upgrade = 60,
746
+ on_market_item_purchased = 61,
747
+ on_mod_item_opened = 62,
748
+ on_multiplayer_init = 63,
749
+ on_object_destroyed = 64,
750
+ on_permission_group_added = 65,
751
+ on_permission_group_deleted = 66,
752
+ on_permission_group_edited = 67,
753
+ on_permission_string_imported = 68,
754
+ on_picked_up_item = 69,
755
+ on_player_alt_reverse_selected_area = 70,
756
+ on_player_alt_selected_area = 71,
757
+ on_player_ammo_inventory_changed = 72,
758
+ on_player_armor_inventory_changed = 73,
759
+ on_player_banned = 74,
760
+ on_player_built_tile = 75,
761
+ on_player_cancelled_crafting = 76,
762
+ on_player_changed_force = 77,
763
+ on_player_changed_position = 78,
764
+ on_player_changed_surface = 79,
765
+ on_player_cheat_mode_disabled = 80,
766
+ on_player_cheat_mode_enabled = 81,
767
+ on_player_clicked_gps_tag = 82,
768
+ on_player_configured_blueprint = 83,
769
+ on_player_controller_changed = 84,
770
+ on_player_crafted_item = 85,
771
+ on_player_created = 86,
772
+ on_player_cursor_stack_changed = 87,
773
+ on_player_deconstructed_area = 88,
774
+ on_player_demoted = 89,
775
+ on_player_died = 90,
776
+ on_player_display_density_scale_changed = 91,
777
+ on_player_display_resolution_changed = 92,
778
+ on_player_display_scale_changed = 93,
779
+ on_player_driving_changed_state = 94,
780
+ on_player_dropped_item = 95,
781
+ on_player_fast_transferred = 96,
782
+ on_player_flipped_entity = 97,
783
+ on_player_flushed_fluid = 98,
784
+ on_player_gun_inventory_changed = 99,
785
+ on_player_input_method_changed = 100,
786
+ on_player_joined_game = 101,
787
+ on_player_kicked = 102,
788
+ on_player_left_game = 103,
789
+ on_player_locale_changed = 104,
790
+ on_player_main_inventory_changed = 105,
791
+ on_player_mined_entity = 106,
792
+ on_player_mined_item = 107,
793
+ on_player_mined_tile = 108,
794
+ on_player_muted = 109,
795
+ on_player_pipette = 110,
796
+ on_player_placed_equipment = 111,
797
+ on_player_promoted = 112,
798
+ on_player_removed = 113,
799
+ on_player_removed_equipment = 114,
800
+ on_player_repaired_entity = 115,
801
+ on_player_respawned = 116,
802
+ on_player_reverse_selected_area = 117,
803
+ on_player_rotated_entity = 118,
804
+ on_player_selected_area = 119,
805
+ on_player_set_quick_bar_slot = 120,
806
+ on_player_setup_blueprint = 121,
807
+ on_player_toggled_alt_mode = 122,
808
+ on_player_toggled_map_editor = 123,
809
+ on_player_trash_inventory_changed = 124,
810
+ on_player_unbanned = 125,
811
+ on_player_unmuted = 126,
812
+ on_player_used_capsule = 127,
813
+ on_player_used_spidertron_remote = 128,
814
+ on_post_entity_died = 129,
815
+ on_pre_build = 130,
816
+ on_pre_chunk_deleted = 131,
817
+ on_pre_entity_settings_pasted = 132,
818
+ on_pre_ghost_deconstructed = 133,
819
+ on_pre_ghost_upgraded = 134,
820
+ on_pre_permission_group_deleted = 135,
821
+ on_pre_permission_string_imported = 136,
822
+ on_pre_player_crafted_item = 137,
823
+ on_pre_player_died = 138,
824
+ on_pre_player_left_game = 139,
825
+ on_pre_player_mined_item = 140,
826
+ on_pre_player_removed = 141,
827
+ on_pre_player_toggled_map_editor = 142,
828
+ on_pre_robot_exploded_cliff = 143,
829
+ on_pre_scenario_finished = 144,
830
+ on_pre_script_inventory_resized = 145,
831
+ on_pre_surface_cleared = 146,
832
+ on_pre_surface_deleted = 147,
833
+ on_redo_applied = 148,
834
+ on_research_cancelled = 149,
835
+ on_research_finished = 150,
836
+ on_research_moved = 151,
837
+ on_research_reversed = 152,
838
+ on_research_started = 153,
839
+ on_resource_depleted = 154,
840
+ on_robot_built_entity = 155,
841
+ on_robot_built_tile = 156,
842
+ on_robot_exploded_cliff = 157,
843
+ on_robot_mined = 158,
844
+ on_robot_mined_entity = 159,
845
+ on_robot_mined_tile = 160,
846
+ on_robot_pre_mined = 161,
847
+ on_rocket_launch_ordered = 162,
848
+ on_rocket_launched = 163,
849
+ on_runtime_mod_setting_changed = 164,
850
+ on_script_inventory_resized = 165,
851
+ on_script_path_request_finished = 166,
852
+ on_script_trigger_effect = 167,
853
+ on_sector_scanned = 168,
854
+ on_segment_entity_created = 169,
855
+ on_selected_entity_changed = 170,
856
+ on_singleplayer_init = 171,
857
+ on_space_platform_built_entity = 172,
858
+ on_space_platform_built_tile = 173,
859
+ on_space_platform_changed_state = 174,
860
+ on_space_platform_mined_entity = 175,
861
+ on_space_platform_mined_item = 176,
862
+ on_space_platform_mined_tile = 177,
863
+ on_space_platform_pre_mined = 178,
864
+ on_spider_command_completed = 179,
865
+ on_string_translated = 180,
866
+ on_surface_cleared = 181,
867
+ on_surface_created = 182,
868
+ on_surface_deleted = 183,
869
+ on_surface_imported = 184,
870
+ on_surface_renamed = 185,
871
+ on_technology_effects_reset = 186,
872
+ on_tick = 187,
873
+ on_train_changed_state = 188,
874
+ on_train_created = 189,
875
+ on_train_schedule_changed = 190,
876
+ on_trigger_created_entity = 191,
877
+ on_trigger_fired_artillery = 192,
878
+ on_undo_applied = 193,
879
+ on_unit_added_to_group = 194,
880
+ on_unit_group_created = 195,
881
+ on_unit_group_finished_gathering = 196,
882
+ on_unit_removed_from_group = 197,
883
+ on_worker_robot_expired = 198,
884
+ script_raised_built = 199,
885
+ script_raised_destroy = 200,
886
+ script_raised_revive = 201,
887
+ script_raised_set_tiles = 202,
888
+ script_raised_teleported = 203
855
889
  }
856
890
  enum flow_precision_index {
857
891
  fifty_hours = 5,
@@ -1035,209 +1069,227 @@ enum input_action {
1035
1069
  mod_settings_changed = 123,
1036
1070
  modify_decider_combinator_condition = 124,
1037
1071
  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
1072
+ move_pin = 126,
1073
+ move_research = 127,
1074
+ open_achievements_gui = 128,
1075
+ open_blueprint_library_gui = 129,
1076
+ open_blueprint_record = 130,
1077
+ open_bonus_gui = 131,
1078
+ open_character_gui = 132,
1079
+ open_current_vehicle_gui = 133,
1080
+ open_equipment = 134,
1081
+ open_global_electric_network_gui = 135,
1082
+ open_gui = 136,
1083
+ open_item = 137,
1084
+ open_logistics_gui = 138,
1085
+ open_mod_item = 139,
1086
+ open_new_platform_button_from_rocket_silo = 140,
1087
+ open_opened_entity_grid = 141,
1088
+ open_parent_of_opened_item = 142,
1089
+ open_production_gui = 143,
1090
+ open_train_gui = 144,
1091
+ open_train_station_gui = 145,
1092
+ open_trains_gui = 146,
1093
+ parametrise_blueprint = 147,
1094
+ paste_entity_settings = 148,
1095
+ pin_alert_group = 149,
1096
+ pin_custom_alert = 150,
1097
+ pin_search_result = 151,
1098
+ pipette = 152,
1099
+ place_equipment = 153,
1100
+ quick_bar_pick_slot = 154,
1101
+ quick_bar_set_selected_page = 155,
1102
+ quick_bar_set_slot = 156,
1103
+ reassign_blueprint = 157,
1104
+ redo = 158,
1105
+ remote_view_entity = 159,
1106
+ remote_view_surface = 160,
1107
+ remove_cables = 161,
1108
+ remove_decider_combinator_condition = 162,
1109
+ remove_decider_combinator_output = 163,
1110
+ remove_logistic_section = 164,
1111
+ remove_pin = 165,
1112
+ remove_train_interrupt = 166,
1113
+ remove_train_station = 167,
1114
+ rename_interrupt = 168,
1115
+ rename_space_platform = 169,
1116
+ reorder_logistic_section = 170,
1117
+ request_missing_construction_materials = 171,
1118
+ reset_assembling_machine = 172,
1119
+ reverse_select_area = 173,
1120
+ rotate_entity = 174,
1121
+ select_area = 175,
1122
+ select_asteroid_chunk_slot = 176,
1123
+ select_blueprint_entities = 177,
1124
+ select_entity_filter_slot = 178,
1125
+ select_entity_slot = 179,
1126
+ select_item_filter = 180,
1127
+ select_mapper_slot_from = 181,
1128
+ select_mapper_slot_to = 182,
1129
+ select_next_valid_gun = 183,
1130
+ select_tile_slot = 184,
1131
+ send_spidertron = 185,
1132
+ send_stack_to_trash = 186,
1133
+ send_stacks_to_trash = 187,
1134
+ send_train_to_pin_target = 188,
1135
+ set_behavior_mode = 189,
1136
+ set_car_weapons_control = 190,
1137
+ set_cheat_mode_quality = 191,
1138
+ set_circuit_condition = 192,
1139
+ set_circuit_mode_of_operation = 193,
1140
+ set_combinator_description = 194,
1141
+ set_copy_color_from_train_stop = 195,
1142
+ set_deconstruction_item_tile_selection_mode = 196,
1143
+ set_deconstruction_item_trees_and_rocks_only = 197,
1144
+ set_entity_color = 198,
1145
+ set_entity_energy_property = 199,
1146
+ set_filter = 200,
1147
+ set_ghost_cursor = 201,
1148
+ set_heat_interface_mode = 202,
1149
+ set_heat_interface_temperature = 203,
1150
+ set_infinity_container_filter_item = 204,
1151
+ set_infinity_container_remove_unfiltered_items = 205,
1152
+ set_infinity_pipe_filter = 206,
1153
+ set_inserter_max_stack_size = 207,
1154
+ set_inventory_bar = 208,
1155
+ set_lamp_always_on = 209,
1156
+ set_linked_container_link_i_d = 210,
1157
+ set_loader_belt_stack_size_override = 211,
1158
+ set_logistic_filter_item = 212,
1159
+ set_logistic_network_name = 213,
1160
+ set_logistic_section_active = 214,
1161
+ set_player_color = 215,
1162
+ set_pump_fluid_filter = 216,
1163
+ set_request_from_buffers = 217,
1164
+ set_research_finished_stops_game = 218,
1165
+ set_rocket_silo_send_to_orbit_automated_mode = 219,
1166
+ set_schedule_record_allow_unloading = 220,
1167
+ set_signal = 221,
1168
+ set_splitter_priority = 222,
1169
+ set_spoil_priority = 223,
1170
+ set_train_stop_priority = 224,
1171
+ set_train_stopped = 225,
1172
+ set_trains_limit = 226,
1173
+ set_turret_ignore_unlisted = 227,
1174
+ set_use_inserter_filters = 228,
1175
+ set_vehicle_automatic_targeting_parameters = 229,
1176
+ setup_assembling_machine = 230,
1177
+ setup_blueprint = 231,
1178
+ setup_single_blueprint_record = 232,
1179
+ spawn_item = 233,
1180
+ spectator_change_surface = 234,
1181
+ stack_split = 235,
1182
+ stack_transfer = 236,
1183
+ start_repair = 237,
1184
+ start_research = 238,
1185
+ start_walking = 239,
1186
+ stop_drag_build = 240,
1187
+ swap_asteroid_chunk_slots = 241,
1188
+ swap_entity_filter_slots = 242,
1189
+ swap_entity_slots = 243,
1190
+ swap_infinity_container_filter_items = 244,
1191
+ swap_item_filters = 245,
1192
+ swap_logistic_filter_items = 246,
1193
+ swap_mappers = 247,
1194
+ swap_tile_slots = 248,
1195
+ switch_connect_to_logistic_network = 249,
1196
+ switch_constant_combinator_state = 250,
1197
+ switch_inserter_filter_mode_state = 251,
1198
+ switch_loader_filter_mode = 252,
1199
+ switch_mining_drill_filter_mode_state = 253,
1200
+ switch_power_switch_state = 254,
1201
+ take_equipment = 255,
1202
+ toggle_artillery_auto_targeting = 256,
1203
+ toggle_deconstruction_item_entity_filter_mode = 257,
1204
+ toggle_deconstruction_item_tile_filter_mode = 258,
1205
+ toggle_driving = 259,
1206
+ toggle_enable_vehicle_logistics_while_moving = 260,
1207
+ toggle_entity_logistic_requests = 261,
1208
+ toggle_equipment_movement_bonus = 262,
1209
+ toggle_map_editor = 263,
1210
+ toggle_personal_logistic_requests = 264,
1211
+ toggle_personal_roboport = 265,
1212
+ toggle_selected_entity = 266,
1213
+ toggle_show_entity_info = 267,
1214
+ translate_string = 268,
1215
+ trash_not_requested_items = 269,
1216
+ undo = 270,
1217
+ upgrade = 271,
1218
+ upgrade_opened_blueprint_by_item = 272,
1219
+ upgrade_opened_blueprint_by_record = 273,
1220
+ use_item = 274,
1221
+ wire_dragging = 275,
1222
+ write_to_console = 276
1180
1223
  }
1181
1224
  enum input_method {
1182
1225
  game_controller = 1,
1183
1226
  keyboard_and_mouse = 0
1184
1227
  }
1185
1228
  enum inventory {
1186
- artillery_turret_ammo = 43,
1187
- artillery_wagon_ammo = 44,
1229
+ artillery_turret_ammo = 45,
1230
+ artillery_wagon_ammo = 46,
1188
1231
  /**
1189
1232
  * Used when items are ejected or items held by inserters cannot be inserted due to changing the recipe with the circuit network.
1190
1233
  */
1191
- assembling_machine_dump = 25,
1192
- assembling_machine_input = 22,
1193
- assembling_machine_modules = 24,
1194
- assembling_machine_output = 23,
1195
- beacon_modules = 41,
1234
+ assembling_machine_dump = 26,
1235
+ assembling_machine_input = 23,
1236
+ assembling_machine_modules = 25,
1237
+ assembling_machine_output = 24,
1238
+ /**
1239
+ * 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.
1240
+ */
1241
+ assembling_machine_trash = 27,
1242
+ beacon_modules = 43,
1196
1243
  burnt_result = 1,
1197
- car_ammo = 37,
1198
- car_trash = 38,
1199
- car_trunk = 36,
1200
- cargo_landing_pad_main = 50,
1201
- cargo_landing_pad_trash = 51,
1202
- cargo_unit = 35,
1203
- cargo_wagon = 39,
1204
- character_ammo = 9,
1205
- character_armor = 10,
1206
- character_corpse = 42,
1207
- character_guns = 8,
1208
- character_main = 7,
1209
- character_trash = 12,
1210
- character_vehicle = 11,
1244
+ car_ammo = 39,
1245
+ car_trash = 40,
1246
+ car_trunk = 38,
1247
+ cargo_landing_pad_main = 52,
1248
+ cargo_landing_pad_trash = 53,
1249
+ cargo_unit = 37,
1250
+ cargo_wagon = 41,
1251
+ character_ammo = 10,
1252
+ character_armor = 11,
1253
+ character_corpse = 44,
1254
+ character_guns = 9,
1255
+ character_main = 8,
1256
+ character_trash = 13,
1257
+ character_vehicle = 12,
1211
1258
  chest = 2,
1212
- editor_ammo = 16,
1213
- editor_armor = 17,
1214
- editor_guns = 15,
1215
- editor_main = 14,
1259
+ editor_ammo = 17,
1260
+ editor_armor = 18,
1261
+ editor_guns = 16,
1262
+ editor_main = 15,
1216
1263
  fuel = 0,
1217
1264
  furnace_modules = 6,
1218
1265
  furnace_result = 5,
1219
1266
  furnace_source = 4,
1220
- god_main = 13,
1221
- hub_main = 48,
1222
- hub_trash = 49,
1223
- item_main = 29,
1224
- lab_input = 26,
1225
- lab_modules = 27,
1267
+ /**
1268
+ * Used for spoil result items that do not fit into the recipe slots.
1269
+ */
1270
+ furnace_trash = 7,
1271
+ god_main = 14,
1272
+ hub_main = 50,
1273
+ hub_trash = 51,
1274
+ item_main = 31,
1275
+ lab_input = 28,
1276
+ lab_modules = 29,
1226
1277
  logistic_container_trash = 3,
1227
- mining_drill_modules = 28,
1228
- roboport_material = 19,
1229
- roboport_robot = 18,
1230
- robot_cargo = 20,
1231
- robot_repair = 21,
1232
- rocket_silo_input = 32,
1233
- rocket_silo_modules = 34,
1234
- rocket_silo_output = 33,
1235
- rocket_silo_rocket = 30,
1236
- rocket_silo_trash = 31,
1237
- spider_ammo = 46,
1238
- spider_trash = 47,
1239
- spider_trunk = 45,
1240
- turret_ammo = 40
1278
+ mining_drill_modules = 30,
1279
+ proxy_main = 54,
1280
+ roboport_material = 20,
1281
+ roboport_robot = 19,
1282
+ robot_cargo = 21,
1283
+ robot_repair = 22,
1284
+ rocket_silo_input = 34,
1285
+ rocket_silo_modules = 36,
1286
+ rocket_silo_output = 35,
1287
+ rocket_silo_rocket = 32,
1288
+ rocket_silo_trash = 33,
1289
+ spider_ammo = 48,
1290
+ spider_trash = 49,
1291
+ spider_trunk = 47,
1292
+ turret_ammo = 42
1241
1293
  }
1242
1294
  enum logistic_member_index {
1243
1295
  character_provider = 4,
@@ -1485,79 +1537,81 @@ namespace prototypes {
1485
1537
  'heat-interface' = 54,
1486
1538
  'heat-pipe' = 55,
1487
1539
  'highlight-box' = 56,
1488
- 'infinity-container' = 57,
1489
- 'infinity-pipe' = 58,
1490
- inserter = 59,
1491
- 'item-entity' = 60,
1492
- 'item-request-proxy' = 61,
1493
- lab = 62,
1494
- lamp = 63,
1495
- 'land-mine' = 64,
1496
- 'lane-splitter' = 65,
1497
- 'legacy-curved-rail' = 66,
1498
- 'legacy-straight-rail' = 67,
1499
- lightning = 68,
1500
- 'lightning-attractor' = 69,
1501
- 'linked-belt' = 70,
1502
- 'linked-container' = 71,
1503
- loader = 72,
1504
- 'loader-1x1' = 73,
1505
- locomotive = 74,
1506
- 'logistic-container' = 75,
1507
- 'logistic-robot' = 76,
1508
- market = 77,
1509
- 'mining-drill' = 78,
1510
- 'offshore-pump' = 79,
1511
- 'particle-source' = 80,
1512
- pipe = 81,
1513
- 'pipe-to-ground' = 82,
1514
- plant = 83,
1515
- 'player-port' = 84,
1516
- 'power-switch' = 85,
1517
- 'programmable-speaker' = 86,
1518
- projectile = 87,
1519
- pump = 88,
1520
- radar = 89,
1521
- 'rail-chain-signal' = 90,
1522
- 'rail-ramp' = 91,
1523
- 'rail-remnants' = 92,
1524
- 'rail-signal' = 93,
1525
- 'rail-support' = 94,
1526
- reactor = 95,
1527
- resource = 96,
1528
- roboport = 97,
1529
- 'rocket-silo' = 98,
1530
- 'rocket-silo-rocket' = 99,
1531
- 'rocket-silo-rocket-shadow' = 100,
1532
- segment = 101,
1533
- 'segmented-unit' = 102,
1534
- 'selector-combinator' = 103,
1535
- 'simple-entity' = 104,
1536
- 'simple-entity-with-force' = 105,
1537
- 'simple-entity-with-owner' = 106,
1538
- 'smoke-with-trigger' = 107,
1539
- 'solar-panel' = 108,
1540
- 'space-platform-hub' = 109,
1541
- 'speech-bubble' = 110,
1542
- 'spider-leg' = 111,
1543
- 'spider-unit' = 112,
1544
- 'spider-vehicle' = 113,
1545
- splitter = 114,
1546
- sticker = 115,
1547
- 'storage-tank' = 116,
1548
- 'straight-rail' = 117,
1549
- stream = 118,
1550
- 'temporary-container' = 119,
1551
- thruster = 120,
1552
- 'tile-ghost' = 121,
1553
- 'train-stop' = 122,
1554
- 'transport-belt' = 123,
1555
- tree = 124,
1556
- turret = 125,
1557
- 'underground-belt' = 126,
1558
- unit = 127,
1559
- 'unit-spawner' = 128,
1560
- wall = 129
1540
+ 'infinity-cargo-wagon' = 57,
1541
+ 'infinity-container' = 58,
1542
+ 'infinity-pipe' = 59,
1543
+ inserter = 60,
1544
+ 'item-entity' = 61,
1545
+ 'item-request-proxy' = 62,
1546
+ lab = 63,
1547
+ lamp = 64,
1548
+ 'land-mine' = 65,
1549
+ 'lane-splitter' = 66,
1550
+ 'legacy-curved-rail' = 67,
1551
+ 'legacy-straight-rail' = 68,
1552
+ lightning = 69,
1553
+ 'lightning-attractor' = 70,
1554
+ 'linked-belt' = 71,
1555
+ 'linked-container' = 72,
1556
+ loader = 73,
1557
+ 'loader-1x1' = 74,
1558
+ locomotive = 75,
1559
+ 'logistic-container' = 76,
1560
+ 'logistic-robot' = 77,
1561
+ market = 78,
1562
+ 'mining-drill' = 79,
1563
+ 'offshore-pump' = 80,
1564
+ 'particle-source' = 81,
1565
+ pipe = 82,
1566
+ 'pipe-to-ground' = 83,
1567
+ plant = 84,
1568
+ 'player-port' = 85,
1569
+ 'power-switch' = 86,
1570
+ 'programmable-speaker' = 87,
1571
+ projectile = 88,
1572
+ 'proxy-container' = 89,
1573
+ pump = 90,
1574
+ radar = 91,
1575
+ 'rail-chain-signal' = 92,
1576
+ 'rail-ramp' = 93,
1577
+ 'rail-remnants' = 94,
1578
+ 'rail-signal' = 95,
1579
+ 'rail-support' = 96,
1580
+ reactor = 97,
1581
+ resource = 98,
1582
+ roboport = 99,
1583
+ 'rocket-silo' = 100,
1584
+ 'rocket-silo-rocket' = 101,
1585
+ 'rocket-silo-rocket-shadow' = 102,
1586
+ segment = 103,
1587
+ 'segmented-unit' = 104,
1588
+ 'selector-combinator' = 105,
1589
+ 'simple-entity' = 106,
1590
+ 'simple-entity-with-force' = 107,
1591
+ 'simple-entity-with-owner' = 108,
1592
+ 'smoke-with-trigger' = 109,
1593
+ 'solar-panel' = 110,
1594
+ 'space-platform-hub' = 111,
1595
+ 'speech-bubble' = 112,
1596
+ 'spider-leg' = 113,
1597
+ 'spider-unit' = 114,
1598
+ 'spider-vehicle' = 115,
1599
+ splitter = 116,
1600
+ sticker = 117,
1601
+ 'storage-tank' = 118,
1602
+ 'straight-rail' = 119,
1603
+ stream = 120,
1604
+ 'temporary-container' = 121,
1605
+ thruster = 122,
1606
+ 'tile-ghost' = 123,
1607
+ 'train-stop' = 124,
1608
+ 'transport-belt' = 125,
1609
+ tree = 126,
1610
+ turret = 127,
1611
+ 'underground-belt' = 128,
1612
+ unit = 129,
1613
+ 'unit-spawner' = 130,
1614
+ wall = 131
1561
1615
  }
1562
1616
  enum equipment {
1563
1617
  'active-defense-equipment' = 0,
@@ -1894,29 +1948,30 @@ enum relative_gui_type {
1894
1948
  power_switch_gui = 48,
1895
1949
  production_gui = 49,
1896
1950
  programmable_speaker_gui = 50,
1897
- pump_gui = 51,
1898
- rail_signal_base_gui = 52,
1899
- reactor_gui = 53,
1900
- resource_entity_gui = 54,
1901
- roboport_gui = 55,
1902
- rocket_silo_gui = 56,
1903
- script_inventory_gui = 57,
1904
- selector_combinator_gui = 58,
1905
- server_config_gui = 59,
1906
- space_platform_hub_gui = 60,
1907
- spider_vehicle_gui = 61,
1908
- splitter_gui = 62,
1909
- standalone_character_gui = 63,
1910
- storage_tank_gui = 64,
1911
- tile_variations_gui = 65,
1912
- tips_and_tricks_gui = 66,
1913
- train_gui = 67,
1914
- train_stop_gui = 68,
1915
- trains_gui = 69,
1916
- transport_belt_gui = 70,
1917
- turret_gui = 71,
1918
- upgrade_item_gui = 72,
1919
- wall_gui = 73
1951
+ proxy_container_gui = 51,
1952
+ pump_gui = 52,
1953
+ rail_signal_base_gui = 53,
1954
+ reactor_gui = 54,
1955
+ resource_entity_gui = 55,
1956
+ roboport_gui = 56,
1957
+ rocket_silo_gui = 57,
1958
+ script_inventory_gui = 58,
1959
+ selector_combinator_gui = 59,
1960
+ server_config_gui = 60,
1961
+ space_platform_hub_gui = 61,
1962
+ spider_vehicle_gui = 62,
1963
+ splitter_gui = 63,
1964
+ standalone_character_gui = 64,
1965
+ storage_tank_gui = 65,
1966
+ tile_variations_gui = 66,
1967
+ tips_and_tricks_gui = 67,
1968
+ train_gui = 68,
1969
+ train_stop_gui = 69,
1970
+ trains_gui = 70,
1971
+ transport_belt_gui = 71,
1972
+ turret_gui = 72,
1973
+ upgrade_item_gui = 73,
1974
+ wall_gui = 74
1920
1975
  }
1921
1976
  enum render_mode {
1922
1977
  chart = 1,
@@ -2115,6 +2170,7 @@ enum space_platform_state {
2115
2170
  waiting_for_starter_pack = 0
2116
2171
  }
2117
2172
  enum target_type {
2173
+ cargo_hatch = 18,
2118
2174
  commandable = 15,
2119
2175
  custom_chart_tag = 16,
2120
2176
  entity = 0,
@@ -2130,6 +2186,7 @@ enum target_type {
2130
2186
  player = 9,
2131
2187
  rail_path = 10,
2132
2188
  render_object = 11,
2189
+ schedule = 19,
2133
2190
  space_platform = 12,
2134
2191
  surface = 13,
2135
2192
  train = 14