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/classes.d.ts +360 -18
- package/dist/concepts.d.ts +82 -10
- package/dist/datacollection.d.ts +1 -1
- package/dist/defines.d.ts +431 -379
- package/dist/events.d.ts +80 -2
- package/dist/global.d.ts +1 -1
- package/dist/prototypes.d.ts +56 -11
- package/dist/types.d.ts +104 -66
- package/package.json +2 -2
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.
|
|
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
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
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
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
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 =
|
|
1187
|
-
artillery_wagon_ammo =
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
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 =
|
|
1195
|
-
car_trash =
|
|
1196
|
-
car_trunk =
|
|
1197
|
-
cargo_landing_pad_main =
|
|
1198
|
-
cargo_landing_pad_trash =
|
|
1199
|
-
cargo_unit =
|
|
1200
|
-
cargo_wagon =
|
|
1201
|
-
character_ammo =
|
|
1202
|
-
character_armor =
|
|
1203
|
-
character_corpse =
|
|
1204
|
-
character_guns =
|
|
1205
|
-
character_main =
|
|
1206
|
-
character_trash =
|
|
1207
|
-
character_vehicle =
|
|
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 =
|
|
1210
|
-
editor_armor =
|
|
1211
|
-
editor_guns =
|
|
1212
|
-
editor_main =
|
|
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
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
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 =
|
|
1225
|
-
roboport_material =
|
|
1226
|
-
roboport_robot =
|
|
1227
|
-
robot_cargo =
|
|
1228
|
-
robot_repair =
|
|
1229
|
-
rocket_silo_input =
|
|
1230
|
-
rocket_silo_modules =
|
|
1231
|
-
rocket_silo_output =
|
|
1232
|
-
rocket_silo_rocket =
|
|
1233
|
-
rocket_silo_trash =
|
|
1234
|
-
spider_ammo =
|
|
1235
|
-
spider_trash =
|
|
1236
|
-
spider_trunk =
|
|
1237
|
-
turret_ammo =
|
|
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
|