factorio-types 1.2.64 → 1.2.66
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 +290 -60
- package/dist/concepts.d.ts +43 -9
- package/dist/datacollection.d.ts +1 -1
- package/dist/defines.d.ts +211 -207
- package/dist/events.d.ts +56 -1
- package/dist/global.d.ts +1 -1
- package/dist/prototypes.d.ts +29 -9
- package/dist/types.d.ts +24 -31
- package/package.json +2 -2
- package/src/core.d.ts +3 -3
package/dist/concepts.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Factorio API reference https://lua-api.factorio.com/latest/index.html
|
|
3
3
|
// Generated from JSON source https://lua-api.factorio.com/latest/runtime-api.json
|
|
4
4
|
// Definition source https://github.com/sguest/factorio-types
|
|
5
|
-
// Factorio version 2.1.
|
|
5
|
+
// Factorio version 2.1.16
|
|
6
6
|
// API version 6
|
|
7
7
|
|
|
8
8
|
declare namespace runtime {
|
|
@@ -2528,6 +2528,10 @@ interface EffectReceiver {
|
|
|
2528
2528
|
* Controls whether {@link LuaSurface::global_effect | runtime:LuaSurface::global_effect} affects this receiver.
|
|
2529
2529
|
*/
|
|
2530
2530
|
uses_surface_effects: boolean;
|
|
2531
|
+
/**
|
|
2532
|
+
* Controls whether {@link LuaEntity::local_effect | runtime:LuaEntity::local_effect} affects this receiver.
|
|
2533
|
+
*/
|
|
2534
|
+
uses_local_effects: boolean;
|
|
2531
2535
|
consumption_limits: EffectValueRange;
|
|
2532
2536
|
speed_limits: EffectValueRange;
|
|
2533
2537
|
productivity_limits: EffectValueRange;
|
|
@@ -2683,6 +2687,10 @@ interface EnemyExpansionMapSettings {
|
|
|
2683
2687
|
* The maximum time between expansions in ticks. The actual cooldown is adjusted to the current evolution levels. Defaults to `60*3 600=216 000` ticks.
|
|
2684
2688
|
*/
|
|
2685
2689
|
max_expansion_cooldown: uint32;
|
|
2690
|
+
/**
|
|
2691
|
+
* Cooldown in ticks for dispatching units when building bases. Defaults to `60*30=1 800` ticks.
|
|
2692
|
+
*/
|
|
2693
|
+
build_base_unit_dispatch_cooldown: uint32;
|
|
2686
2694
|
}
|
|
2687
2695
|
interface EnemySpawnerAbsorption {
|
|
2688
2696
|
absolute: double;
|
|
@@ -3407,7 +3415,7 @@ interface FluidPrototypeFilterSubgroup extends BaseFluidPrototypeFilter {
|
|
|
3407
3415
|
*/
|
|
3408
3416
|
'filter': 'subgroup';
|
|
3409
3417
|
/**
|
|
3410
|
-
* A {@link
|
|
3418
|
+
* A {@link LuaItemSubGroup | runtime:LuaItemSubGroup} name
|
|
3411
3419
|
*/
|
|
3412
3420
|
'subgroup': string;
|
|
3413
3421
|
}
|
|
@@ -4000,7 +4008,6 @@ interface InserterBlueprintControlBehavior {
|
|
|
4000
4008
|
connect_to_logistic_network?: boolean;
|
|
4001
4009
|
logistic_condition?: CircuitCondition;
|
|
4002
4010
|
}
|
|
4003
|
-
type InventoryIndex = uint8;
|
|
4004
4011
|
interface InventoryPosition {
|
|
4005
4012
|
/**
|
|
4006
4013
|
* The ID of the inventory to insert into.
|
|
@@ -4040,6 +4047,16 @@ type ItemFilter = {
|
|
|
4040
4047
|
*/
|
|
4041
4048
|
comparator?: ComparatorString;
|
|
4042
4049
|
} | string;
|
|
4050
|
+
/**
|
|
4051
|
+
* An item group may be specified in one of two ways.
|
|
4052
|
+
*/
|
|
4053
|
+
type ItemGroupID = /**
|
|
4054
|
+
* The item group prototype.
|
|
4055
|
+
*/
|
|
4056
|
+
LuaItemGroup | /**
|
|
4057
|
+
* The prototype name.
|
|
4058
|
+
*/
|
|
4059
|
+
string;
|
|
4043
4060
|
interface ItemHealthColorData {
|
|
4044
4061
|
color: Color;
|
|
4045
4062
|
threshold: float;
|
|
@@ -4112,7 +4129,7 @@ interface ItemLocationData {
|
|
|
4112
4129
|
* @example ```
|
|
4113
4130
|
-- What a custom recipe would look like that had a probability of 0.5 to return a
|
|
4114
4131
|
-- minimum amount of 1 and a maximum amount of 5
|
|
4115
|
-
{{type="item", name="custom-item",
|
|
4132
|
+
{{type="item", name="custom-item", independent_probability=0.5, amount_min=1, amount_max=5}}
|
|
4116
4133
|
```
|
|
4117
4134
|
*/
|
|
4118
4135
|
interface ItemProduct {
|
|
@@ -4387,7 +4404,7 @@ interface ItemPrototypeFilterSubgroup extends BaseItemPrototypeFilter {
|
|
|
4387
4404
|
*/
|
|
4388
4405
|
'filter': 'subgroup';
|
|
4389
4406
|
/**
|
|
4390
|
-
* A {@link
|
|
4407
|
+
* A {@link LuaItemSubGroup | runtime:LuaItemSubGroup} name
|
|
4391
4408
|
*/
|
|
4392
4409
|
'subgroup': string;
|
|
4393
4410
|
}
|
|
@@ -4447,7 +4464,7 @@ type ItemPrototypeFlag = /**
|
|
|
4447
4464
|
'spawnable' | 'spoil-result' | /**
|
|
4448
4465
|
* Controls whether the spoil time ignores the spoil time modifier in the {@link DifficultySettings | runtime:DifficultySettings}.
|
|
4449
4466
|
*/
|
|
4450
|
-
'ignore-spoil-time-modifier' | 'hide-health-bar-in-world' | 'hide-spoilage-bar-in-world';
|
|
4467
|
+
'ignore-spoil-time-modifier' | 'hide-health-bar-in-world' | 'hide-spoilage-bar-in-world' | 'no-item-on-ground-merging';
|
|
4451
4468
|
/**
|
|
4452
4469
|
* A set of flags. Active flags are in the dictionary as `true`, while inactive flags aren't present at all.
|
|
4453
4470
|
*
|
|
@@ -4750,6 +4767,7 @@ interface LogisticSection {
|
|
|
4750
4767
|
*/
|
|
4751
4768
|
active?: boolean;
|
|
4752
4769
|
}
|
|
4770
|
+
type LogisticSectionIndex = uint8;
|
|
4753
4771
|
interface LogisticSections {
|
|
4754
4772
|
sections?: LogisticSection[];
|
|
4755
4773
|
/**
|
|
@@ -7928,7 +7946,7 @@ interface ProcessionTimeline {
|
|
|
7928
7946
|
* @example ```
|
|
7929
7947
|
-- What a custom recipe would look like that had a probability of 0.5 to return a
|
|
7930
7948
|
-- minimum amount of 1 and a maximum amount of 5
|
|
7931
|
-
{{type="item", name="custom-item",
|
|
7949
|
+
{{type="item", name="custom-item", independent_probability=0.5, amount_min=1, amount_max=5}}
|
|
7932
7950
|
```
|
|
7933
7951
|
*/
|
|
7934
7952
|
type Product = /**
|
|
@@ -8404,7 +8422,7 @@ interface RecipePrototypeFilterSubgroup extends BaseRecipePrototypeFilter {
|
|
|
8404
8422
|
*/
|
|
8405
8423
|
'filter': 'subgroup';
|
|
8406
8424
|
/**
|
|
8407
|
-
* A {@link
|
|
8425
|
+
* A {@link LuaItemSubGroup | runtime:LuaItemSubGroup} name
|
|
8408
8426
|
*/
|
|
8409
8427
|
'subgroup': string;
|
|
8410
8428
|
}
|
|
@@ -9429,7 +9447,7 @@ interface SimulationDefinition {
|
|
|
9429
9447
|
mute_wind_sounds?: boolean;
|
|
9430
9448
|
hide_factoriopedia_gradient?: boolean;
|
|
9431
9449
|
}
|
|
9432
|
-
type SimulationWidgetType = 'signal-id' | 'signal-id-base' | 'signal-or-number' | 'simple-slot' | 'simple-item-slot' | 'recipe-slot' | 'quickbar-slot' | 'logistics-button' | 'logistics-button-space' | 'text-button-localised-substring' | 'text-button' | 'text-button-substring' | 'inventory-limit-slot-button' | 'train-schedule-action-button' | 'choose-button' | 'textfield' | 'item-group-tab' | 'drop-down' | 'check-box' | 'switch' | 'label';
|
|
9450
|
+
type SimulationWidgetType = 'signal-id' | 'signal-id-base' | 'signal-or-number' | 'simple-slot' | 'simple-item-slot' | 'simple-item-with-quality-slot' | 'recipe-slot' | 'quickbar-slot' | 'logistics-button' | 'logistics-button-space' | 'text-button-localised-substring' | 'text-button' | 'text-button-substring' | 'inventory-limit-slot-button' | 'train-schedule-action-button' | 'choose-button' | 'textfield' | 'item-group-tab' | 'drop-down' | 'check-box' | 'switch' | 'label';
|
|
9433
9451
|
interface SingleFluidBoxBlueprintControlBehavior {
|
|
9434
9452
|
output_networks?: CircuitNetworkSelection;
|
|
9435
9453
|
/**
|
|
@@ -11756,6 +11774,10 @@ interface UndoRedoActionRemovedEntity extends BaseUndoRedoAction {
|
|
|
11756
11774
|
* The type of action that was undone or redone.
|
|
11757
11775
|
*/
|
|
11758
11776
|
'type': 'removed-entity';
|
|
11777
|
+
/**
|
|
11778
|
+
* The equipment for the equipment grid if any.
|
|
11779
|
+
*/
|
|
11780
|
+
'grid'?: UndoRedoEquipment[];
|
|
11759
11781
|
/**
|
|
11760
11782
|
* The items that the entity will request when revived, if there are any. It's a mapping of prototype names to amounts. Not present for entities the game can't restore, like trees or rocks.
|
|
11761
11783
|
*/
|
|
@@ -11890,6 +11912,11 @@ interface UndoRedoActionWireRemoved extends BaseUndoRedoAction {
|
|
|
11890
11912
|
'a': BlueprintWireEnd;
|
|
11891
11913
|
'b': BlueprintWireEnd;
|
|
11892
11914
|
}
|
|
11915
|
+
interface UndoRedoEquipment {
|
|
11916
|
+
id: EquipmentWithQualityID;
|
|
11917
|
+
position: EquipmentPosition;
|
|
11918
|
+
settings: PropertyTree;
|
|
11919
|
+
}
|
|
11893
11920
|
interface UnitAISettings {
|
|
11894
11921
|
/**
|
|
11895
11922
|
* If enabled, units that repeatedly fail to succeed at commands will be destroyed.
|
|
@@ -12221,6 +12248,13 @@ interface UtilityConstants {
|
|
|
12221
12248
|
low_energy_robot_estimate_multiplier: double;
|
|
12222
12249
|
asteroid_spawning_offset: SimpleBoundingBox;
|
|
12223
12250
|
asteroid_fading_range: float;
|
|
12251
|
+
/**
|
|
12252
|
+
* Asteroid damage will be multiplied by this value when space platform speed is zero and will linearly increase until asteroid_spawning_with_random_orientation_max_speed is reached.
|
|
12253
|
+
*/
|
|
12254
|
+
asteroid_min_damage_modifier: float;
|
|
12255
|
+
/**
|
|
12256
|
+
* In km per tick.
|
|
12257
|
+
*/
|
|
12224
12258
|
asteroid_spawning_with_random_orientation_max_speed: double;
|
|
12225
12259
|
asteroid_position_offset_to_speed_coefficient: double;
|
|
12226
12260
|
asteroid_collector_navmesh_refresh_tick_interval: uint32;
|
package/dist/datacollection.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/prototype-api.json
|
|
4
4
|
// Definition source https://github.com/sguest/factorio-types
|
|
5
|
-
// Factorio version 2.1.
|
|
5
|
+
// Factorio version 2.1.16
|
|
6
6
|
// API version 6
|
|
7
7
|
|
|
8
8
|
declare namespace prototype {
|
package/dist/defines.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Factorio API reference https://lua-api.factorio.com/latest/index.html
|
|
3
3
|
// Generated from JSON source https://lua-api.factorio.com/latest/runtime-api.json
|
|
4
4
|
// Definition source https://github.com/sguest/factorio-types
|
|
5
|
-
// Factorio version 2.1.
|
|
5
|
+
// Factorio version 2.1.16
|
|
6
6
|
// API version 6
|
|
7
7
|
|
|
8
8
|
declare namespace defines {
|
|
@@ -11,20 +11,21 @@ enum alert_type {
|
|
|
11
11
|
custom = 1,
|
|
12
12
|
entity_destroyed = 2,
|
|
13
13
|
entity_under_attack = 3,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
14
|
+
expansion_base_built = 4,
|
|
15
|
+
fluid_mixing = 5,
|
|
16
|
+
no_material_for_construction = 6,
|
|
17
|
+
no_platform_storage = 7,
|
|
18
|
+
no_roboport_storage = 8,
|
|
19
|
+
no_storage = 9,
|
|
20
|
+
not_enough_construction_robots = 10,
|
|
21
|
+
not_enough_repair_packs = 11,
|
|
22
|
+
pipeline_overextended = 12,
|
|
23
|
+
platform_tile_building_blocked = 13,
|
|
24
|
+
train_no_path = 14,
|
|
25
|
+
train_out_of_fuel = 15,
|
|
26
|
+
turret_fire = 16,
|
|
27
|
+
turret_out_of_ammo = 17,
|
|
28
|
+
unclaimed_cargo = 18
|
|
28
29
|
}
|
|
29
30
|
/**
|
|
30
31
|
* AI command exit status, see {@link LuaCommandable::set_command | runtime:LuaCommandable::set_command}
|
|
@@ -805,161 +806,163 @@ enum events {
|
|
|
805
806
|
on_market_item_purchased = 64,
|
|
806
807
|
on_mod_item_opened = 65,
|
|
807
808
|
on_multiplayer_init = 66,
|
|
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
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
809
|
+
on_next_day_started = 67,
|
|
810
|
+
on_object_destroyed = 68,
|
|
811
|
+
on_permission_group_added = 69,
|
|
812
|
+
on_permission_group_deleted = 70,
|
|
813
|
+
on_permission_group_edited = 71,
|
|
814
|
+
on_permission_string_imported = 72,
|
|
815
|
+
on_picked_up_item = 73,
|
|
816
|
+
on_player_alt_reverse_selected_area = 74,
|
|
817
|
+
on_player_alt_selected_area = 75,
|
|
818
|
+
on_player_ammo_inventory_changed = 76,
|
|
819
|
+
on_player_armor_inventory_changed = 77,
|
|
820
|
+
on_player_banned = 78,
|
|
821
|
+
on_player_built_tile = 79,
|
|
822
|
+
on_player_cancelled_crafting = 80,
|
|
823
|
+
on_player_changed_force = 81,
|
|
824
|
+
on_player_changed_position = 82,
|
|
825
|
+
on_player_changed_surface = 83,
|
|
826
|
+
on_player_cheat_mode_disabled = 84,
|
|
827
|
+
on_player_cheat_mode_enabled = 85,
|
|
828
|
+
on_player_clicked_gps_tag = 86,
|
|
829
|
+
on_player_color_changed = 87,
|
|
830
|
+
on_player_configured_blueprint = 88,
|
|
831
|
+
on_player_controller_changed = 89,
|
|
832
|
+
on_player_crafted_item = 90,
|
|
833
|
+
on_player_created = 91,
|
|
834
|
+
on_player_cursor_stack_changed = 92,
|
|
835
|
+
on_player_deconstructed_area = 93,
|
|
836
|
+
on_player_demoted = 94,
|
|
837
|
+
on_player_died = 95,
|
|
838
|
+
on_player_display_density_scale_changed = 96,
|
|
839
|
+
on_player_display_resolution_changed = 97,
|
|
840
|
+
on_player_display_scale_changed = 98,
|
|
841
|
+
on_player_driving_changed_state = 99,
|
|
842
|
+
on_player_dropped_item = 100,
|
|
843
|
+
on_player_dropped_item_into_entity = 101,
|
|
844
|
+
on_player_fast_transferred = 102,
|
|
845
|
+
on_player_flipped_entity = 103,
|
|
846
|
+
on_player_flushed_fluid = 104,
|
|
847
|
+
on_player_gun_inventory_changed = 105,
|
|
848
|
+
on_player_input_method_changed = 106,
|
|
849
|
+
on_player_joined_game = 107,
|
|
850
|
+
on_player_kicked = 108,
|
|
851
|
+
on_player_left_game = 109,
|
|
852
|
+
on_player_locale_changed = 110,
|
|
853
|
+
on_player_main_inventory_changed = 111,
|
|
854
|
+
on_player_mined_entity = 112,
|
|
855
|
+
on_player_mined_item = 113,
|
|
856
|
+
on_player_mined_tile = 114,
|
|
857
|
+
on_player_music_changed = 115,
|
|
858
|
+
on_player_muted = 116,
|
|
859
|
+
on_player_pipette = 117,
|
|
860
|
+
on_player_placed_equipment = 118,
|
|
861
|
+
on_player_promoted = 119,
|
|
862
|
+
on_player_removed = 120,
|
|
863
|
+
on_player_removed_equipment = 121,
|
|
864
|
+
on_player_repaired_entity = 122,
|
|
865
|
+
on_player_respawned = 123,
|
|
866
|
+
on_player_reverse_selected_area = 124,
|
|
867
|
+
on_player_rotated_entity = 125,
|
|
868
|
+
on_player_selected_area = 126,
|
|
869
|
+
on_player_set_quick_bar_slot = 127,
|
|
870
|
+
on_player_setup_blueprint = 128,
|
|
871
|
+
on_player_super_forced_selected_area = 129,
|
|
872
|
+
on_player_toggled_alt_mode = 130,
|
|
873
|
+
on_player_toggled_map_editor = 131,
|
|
874
|
+
on_player_trash_inventory_changed = 132,
|
|
875
|
+
on_player_unbanned = 133,
|
|
876
|
+
on_player_unmuted = 134,
|
|
877
|
+
on_player_used_capsule = 135,
|
|
878
|
+
on_player_used_spidertron_remote = 136,
|
|
879
|
+
on_post_entity_died = 137,
|
|
880
|
+
on_post_segmented_unit_died = 138,
|
|
881
|
+
on_pre_build = 139,
|
|
882
|
+
on_pre_chunk_deleted = 140,
|
|
883
|
+
on_pre_entity_settings_pasted = 141,
|
|
884
|
+
on_pre_ghost_deconstructed = 142,
|
|
885
|
+
on_pre_ghost_upgraded = 143,
|
|
886
|
+
on_pre_permission_group_deleted = 144,
|
|
887
|
+
on_pre_permission_string_imported = 145,
|
|
888
|
+
on_pre_player_crafted_item = 146,
|
|
889
|
+
on_pre_player_died = 147,
|
|
890
|
+
on_pre_player_left_game = 148,
|
|
891
|
+
on_pre_player_mined_item = 149,
|
|
892
|
+
on_pre_player_removed = 150,
|
|
893
|
+
on_pre_player_toggled_map_editor = 151,
|
|
894
|
+
on_pre_robot_exploded_cliff = 152,
|
|
895
|
+
on_pre_scenario_finished = 153,
|
|
896
|
+
on_pre_script_inventory_resized = 154,
|
|
897
|
+
on_pre_surface_cleared = 155,
|
|
898
|
+
on_pre_surface_deleted = 156,
|
|
899
|
+
on_redo_applied = 157,
|
|
900
|
+
on_research_cancelled = 158,
|
|
901
|
+
on_research_finished = 159,
|
|
902
|
+
on_research_moved = 160,
|
|
903
|
+
on_research_queued = 161,
|
|
904
|
+
on_research_reversed = 162,
|
|
905
|
+
on_research_started = 163,
|
|
906
|
+
on_resource_depleted = 164,
|
|
907
|
+
on_robot_built_entity = 165,
|
|
908
|
+
on_robot_built_tile = 166,
|
|
909
|
+
on_robot_exploded_cliff = 167,
|
|
910
|
+
on_robot_mined = 168,
|
|
911
|
+
on_robot_mined_entity = 169,
|
|
912
|
+
on_robot_mined_tile = 170,
|
|
913
|
+
on_robot_pre_mined = 171,
|
|
914
|
+
on_rocket_launch_ordered = 172,
|
|
915
|
+
on_rocket_launched = 173,
|
|
916
|
+
on_runtime_mod_setting_changed = 174,
|
|
917
|
+
on_script_inventory_resized = 175,
|
|
918
|
+
on_script_path_request_finished = 176,
|
|
919
|
+
on_script_trigger_effect = 177,
|
|
920
|
+
on_sector_scanned = 178,
|
|
921
|
+
on_segment_entity_created = 179,
|
|
922
|
+
on_segmented_unit_created = 180,
|
|
923
|
+
on_segmented_unit_damaged = 181,
|
|
924
|
+
on_segmented_unit_died = 182,
|
|
925
|
+
on_selected_entity_changed = 183,
|
|
926
|
+
on_singleplayer_init = 184,
|
|
927
|
+
on_space_platform_built_entity = 185,
|
|
928
|
+
on_space_platform_built_tile = 186,
|
|
929
|
+
on_space_platform_changed_state = 187,
|
|
930
|
+
on_space_platform_mined_entity = 188,
|
|
931
|
+
on_space_platform_mined_item = 189,
|
|
932
|
+
on_space_platform_mined_tile = 190,
|
|
933
|
+
on_space_platform_pre_mined = 191,
|
|
934
|
+
on_spider_command_completed = 192,
|
|
935
|
+
on_string_translated = 193,
|
|
936
|
+
on_surface_cleared = 194,
|
|
937
|
+
on_surface_created = 195,
|
|
938
|
+
on_surface_deleted = 196,
|
|
939
|
+
on_surface_imported = 197,
|
|
940
|
+
on_surface_renamed = 198,
|
|
941
|
+
on_technology_effects_reset = 199,
|
|
942
|
+
on_territory_created = 200,
|
|
943
|
+
on_territory_destroyed = 201,
|
|
944
|
+
on_tick = 202,
|
|
945
|
+
on_tower_mined_plant = 203,
|
|
946
|
+
on_tower_planted_seed = 204,
|
|
947
|
+
on_tower_pre_mined_plant = 205,
|
|
948
|
+
on_train_changed_state = 206,
|
|
949
|
+
on_train_created = 207,
|
|
950
|
+
on_train_schedule_changed = 208,
|
|
951
|
+
on_trigger_created_entity = 209,
|
|
952
|
+
on_trigger_fired_artillery = 210,
|
|
953
|
+
on_udp_packet_received = 211,
|
|
954
|
+
on_undo_applied = 212,
|
|
955
|
+
on_unit_added_to_group = 213,
|
|
956
|
+
on_unit_group_created = 214,
|
|
957
|
+
on_unit_group_finished_gathering = 215,
|
|
958
|
+
on_unit_removed_from_group = 216,
|
|
959
|
+
on_worker_robot_expired = 217,
|
|
960
|
+
script_raised_built = 218,
|
|
961
|
+
script_raised_destroy = 219,
|
|
962
|
+
script_raised_destroy_segmented_unit = 220,
|
|
963
|
+
script_raised_revive = 221,
|
|
964
|
+
script_raised_set_tiles = 222,
|
|
965
|
+
script_raised_teleported = 223
|
|
963
966
|
}
|
|
964
967
|
enum flow_precision_index {
|
|
965
968
|
fifty_hours = 5,
|
|
@@ -1276,43 +1279,44 @@ enum input_action {
|
|
|
1276
1279
|
start_research = 255,
|
|
1277
1280
|
start_walking = 256,
|
|
1278
1281
|
stop_drag_build = 257,
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1282
|
+
super_forced_select_area = 258,
|
|
1283
|
+
swap_asteroid_chunk_slots = 259,
|
|
1284
|
+
swap_entity_filter_slots = 260,
|
|
1285
|
+
swap_entity_slots = 261,
|
|
1286
|
+
swap_infinity_container_filter_items = 262,
|
|
1287
|
+
swap_item_filters = 263,
|
|
1288
|
+
swap_logistic_filter_items = 264,
|
|
1289
|
+
swap_mappers = 265,
|
|
1290
|
+
swap_tile_slots = 266,
|
|
1291
|
+
switch_connect_to_logistic_network = 267,
|
|
1292
|
+
switch_constant_combinator_state = 268,
|
|
1293
|
+
switch_inserter_filter_mode_state = 269,
|
|
1294
|
+
switch_loader_filter_mode = 270,
|
|
1295
|
+
switch_mining_drill_filter_mode_state = 271,
|
|
1296
|
+
switch_power_switch_state = 272,
|
|
1297
|
+
take_equipment = 273,
|
|
1298
|
+
toggle_artillery_auto_targeting = 274,
|
|
1299
|
+
toggle_blueprint_snap_to_grid = 275,
|
|
1300
|
+
toggle_deconstruction_item_entity_filter_mode = 276,
|
|
1301
|
+
toggle_deconstruction_item_tile_filter_mode = 277,
|
|
1302
|
+
toggle_driving = 278,
|
|
1303
|
+
toggle_enable_vehicle_logistics_while_moving = 279,
|
|
1304
|
+
toggle_entity_logistic_requests = 280,
|
|
1305
|
+
toggle_equipment_movement_bonus = 281,
|
|
1306
|
+
toggle_map_editor = 282,
|
|
1307
|
+
toggle_personal_logistic_requests = 283,
|
|
1308
|
+
toggle_personal_roboport = 284,
|
|
1309
|
+
toggle_selected_entity = 285,
|
|
1310
|
+
toggle_show_entity_info = 286,
|
|
1311
|
+
toggle_tall_entity_visibility = 287,
|
|
1312
|
+
trash_not_requested_items = 288,
|
|
1313
|
+
undo = 289,
|
|
1314
|
+
upgrade = 290,
|
|
1315
|
+
upgrade_opened_blueprint_by_item = 291,
|
|
1316
|
+
upgrade_opened_blueprint_by_record = 292,
|
|
1317
|
+
use_item = 293,
|
|
1318
|
+
wire_dragging = 294,
|
|
1319
|
+
write_to_console = 295
|
|
1316
1320
|
}
|
|
1317
1321
|
enum input_method {
|
|
1318
1322
|
game_controller = 1,
|