factorio-types 1.2.52 → 1.2.53
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 +21 -10
- package/dist/concepts.d.ts +78 -15
- package/dist/datacollection.d.ts +1 -1
- package/dist/defines.d.ts +1 -1
- package/dist/events.d.ts +1 -1
- package/dist/global.d.ts +1 -1
- package/dist/prototypes.d.ts +1 -1
- package/dist/types.d.ts +1 -1
- package/package.json +2 -2
package/dist/classes.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.72
|
|
6
6
|
// API version 6
|
|
7
7
|
|
|
8
8
|
declare namespace runtime {
|
|
@@ -6848,10 +6848,10 @@ interface LuaEntity extends LuaControl {
|
|
|
6848
6848
|
/**
|
|
6849
6849
|
* Deactivating an entity will stop all its operations (car will stop moving, inserters will stop working, fish will stop moving etc).
|
|
6850
6850
|
*
|
|
6851
|
-
* Writing to this is deprecated and affects only the {@link disabled_by_script | runtime:LuaEntity::disabled_by_script} state.
|
|
6852
|
-
*
|
|
6853
6851
|
* Reading from this returns `false` if the entity is deactivated in at least one of the following ways: {@link by script | runtime:LuaEntity::disabled_by_script}, {@link by circuit network | runtime:LuaEntity::disabled_by_control_behavior}, {@link by recipe | runtime:LuaEntity::disabled_by_recipe}, {@link by freezing | runtime:LuaEntity::frozen}, or by deconstruction.
|
|
6854
6852
|
*
|
|
6853
|
+
* Writing to this is deprecated and affects only the {@link disabled_by_script | runtime:LuaEntity::disabled_by_script} state.
|
|
6854
|
+
*
|
|
6855
6855
|
* Entities that are not active naturally can't be set to be active (setting it to be active will do nothing). Some entities (Corpse, FireFlame, Roboport, RollingStock, dying entities) need to remain active and will ignore writes.
|
|
6856
6856
|
*/
|
|
6857
6857
|
active: boolean;
|
|
@@ -7100,16 +7100,22 @@ interface LuaEntity extends LuaControl {
|
|
|
7100
7100
|
direction: defines.direction;
|
|
7101
7101
|
/**
|
|
7102
7102
|
* If the updatable entity is disabled by control behavior.
|
|
7103
|
+
*
|
|
7104
|
+
* Always returns `false` if this entity is not considered {@link updatable | runtime:LuaEntity::is_updatable}.
|
|
7103
7105
|
*/
|
|
7104
7106
|
readonly disabled_by_control_behavior: boolean;
|
|
7105
7107
|
/**
|
|
7106
7108
|
* If the assembling machine is disabled by recipe, e.g. due to {@link AssemblingMachinePrototype::disabled_when_recipe_not_researched | prototype:AssemblingMachinePrototype::disabled_when_recipe_not_researched}.
|
|
7109
|
+
*
|
|
7110
|
+
* Always returns `false` if this entity is not considered {@link updatable | runtime:LuaEntity::is_updatable}.
|
|
7107
7111
|
*/
|
|
7108
7112
|
readonly disabled_by_recipe: boolean;
|
|
7109
7113
|
/**
|
|
7110
7114
|
* If the updatable entity is disabled by script.
|
|
7111
7115
|
*
|
|
7112
7116
|
* Note: Some entities (Corpse, FireFlame, Roboport, RollingStock, dying entities) need to remain active and will ignore writes.
|
|
7117
|
+
*
|
|
7118
|
+
* If this entity is not considered {@link updatable | runtime:LuaEntity::is_updatable} then this always returns `false` and writes will be ignored.
|
|
7113
7119
|
*/
|
|
7114
7120
|
disabled_by_script: boolean;
|
|
7115
7121
|
display_panel_always_show: boolean;
|
|
@@ -7225,7 +7231,9 @@ interface LuaEntity extends LuaControl {
|
|
|
7225
7231
|
*/
|
|
7226
7232
|
friction_modifier: float;
|
|
7227
7233
|
/**
|
|
7228
|
-
*
|
|
7234
|
+
* Whether the freezable entity is currently frozen.
|
|
7235
|
+
*
|
|
7236
|
+
* Always returns `false` if this entity is not considered {@link freezable | runtime:LuaEntity::is_freezable}.
|
|
7229
7237
|
*/
|
|
7230
7238
|
readonly frozen: boolean;
|
|
7231
7239
|
readonly ghost_localised_description: LocalisedString;
|
|
@@ -7341,7 +7349,7 @@ interface LuaEntity extends LuaControl {
|
|
|
7341
7349
|
*/
|
|
7342
7350
|
readonly is_entity_with_owner: boolean;
|
|
7343
7351
|
/**
|
|
7344
|
-
*
|
|
7352
|
+
* Whether the entity is freezable and considered a FreezableEntity.
|
|
7345
7353
|
*/
|
|
7346
7354
|
readonly is_freezable: boolean;
|
|
7347
7355
|
/**
|
|
@@ -7353,7 +7361,7 @@ interface LuaEntity extends LuaControl {
|
|
|
7353
7361
|
*/
|
|
7354
7362
|
is_military_target: boolean;
|
|
7355
7363
|
/**
|
|
7356
|
-
*
|
|
7364
|
+
* Whether the entity is updatable and considered an UpdatableEntity.
|
|
7357
7365
|
*/
|
|
7358
7366
|
readonly is_updatable: boolean;
|
|
7359
7367
|
/**
|
|
@@ -19354,7 +19362,7 @@ interface LuaSurfaceCreateEntityParamsAmmoTurret extends BaseLuaSurfaceCreateEnt
|
|
|
19354
19362
|
* Defaults to `false`.
|
|
19355
19363
|
*/
|
|
19356
19364
|
'ignore-unprioritised'?: boolean;
|
|
19357
|
-
'priority-list'?: SlotFilter;
|
|
19365
|
+
'priority-list'?: SlotFilter[];
|
|
19358
19366
|
}
|
|
19359
19367
|
/**
|
|
19360
19368
|
*
|
|
@@ -19595,7 +19603,7 @@ interface LuaSurfaceCreateEntityParamsElectricTurret extends BaseLuaSurfaceCreat
|
|
|
19595
19603
|
* Defaults to `false`.
|
|
19596
19604
|
*/
|
|
19597
19605
|
'ignore-unprioritised'?: boolean;
|
|
19598
|
-
'priority-list'?: SlotFilter;
|
|
19606
|
+
'priority-list'?: SlotFilter[];
|
|
19599
19607
|
}
|
|
19600
19608
|
/**
|
|
19601
19609
|
*
|
|
@@ -19631,7 +19639,7 @@ interface LuaSurfaceCreateEntityParamsFluidTurret extends BaseLuaSurfaceCreateEn
|
|
|
19631
19639
|
* Defaults to `false`.
|
|
19632
19640
|
*/
|
|
19633
19641
|
'ignore-unprioritised'?: boolean;
|
|
19634
|
-
'priority-list'?: SlotFilter;
|
|
19642
|
+
'priority-list'?: SlotFilter[];
|
|
19635
19643
|
}
|
|
19636
19644
|
/**
|
|
19637
19645
|
*
|
|
@@ -19783,6 +19791,7 @@ interface LuaSurfaceCreateEntityParamsLamp extends BaseLuaSurfaceCreateEntityPar
|
|
|
19783
19791
|
* Defaults to white.
|
|
19784
19792
|
*/
|
|
19785
19793
|
'color'?: Color;
|
|
19794
|
+
'control_behavior'?: LampBlueprintControlBehavior;
|
|
19786
19795
|
}
|
|
19787
19796
|
/**
|
|
19788
19797
|
*
|
|
@@ -19813,6 +19822,7 @@ interface LuaSurfaceCreateEntityParamsLinkedContainer extends BaseLuaSurfaceCrea
|
|
|
19813
19822
|
*/
|
|
19814
19823
|
interface LuaSurfaceCreateEntityParamsLoader extends BaseLuaSurfaceCreateEntityParams {
|
|
19815
19824
|
'belt_stack_size_override'?: uint8;
|
|
19825
|
+
'control_behavior'?: LoaderBlueprintControlBehavior;
|
|
19816
19826
|
'filter_mode'?: PrototypeFilterMode;
|
|
19817
19827
|
'filters'?: SlotFilter[];
|
|
19818
19828
|
/**
|
|
@@ -19826,6 +19836,7 @@ interface LuaSurfaceCreateEntityParamsLoader extends BaseLuaSurfaceCreateEntityP
|
|
|
19826
19836
|
*/
|
|
19827
19837
|
interface LuaSurfaceCreateEntityParamsLoader1x1 extends BaseLuaSurfaceCreateEntityParams {
|
|
19828
19838
|
'belt_stack_size_override'?: uint8;
|
|
19839
|
+
'control_behavior'?: LoaderBlueprintControlBehavior;
|
|
19829
19840
|
'filter_mode'?: PrototypeFilterMode;
|
|
19830
19841
|
'filters'?: SlotFilter[];
|
|
19831
19842
|
/**
|
|
@@ -20135,7 +20146,7 @@ interface LuaSurfaceCreateEntityParamsTurret extends BaseLuaSurfaceCreateEntityP
|
|
|
20135
20146
|
* Defaults to `false`.
|
|
20136
20147
|
*/
|
|
20137
20148
|
'ignore-unprioritised'?: boolean;
|
|
20138
|
-
'priority-list'?: SlotFilter;
|
|
20149
|
+
'priority-list'?: SlotFilter[];
|
|
20139
20150
|
}
|
|
20140
20151
|
/**
|
|
20141
20152
|
*
|
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.0.
|
|
5
|
+
// Factorio version 2.0.72
|
|
6
6
|
// API version 6
|
|
7
7
|
|
|
8
8
|
declare namespace runtime {
|
|
@@ -545,7 +545,7 @@ interface BlueprintEntityAmmoTurret extends BaseBlueprintEntity {
|
|
|
545
545
|
* Defaults to `false`.
|
|
546
546
|
*/
|
|
547
547
|
'ignore-unprioritised'?: boolean;
|
|
548
|
-
'priority-list'?: SlotFilter;
|
|
548
|
+
'priority-list'?: SlotFilter[];
|
|
549
549
|
}
|
|
550
550
|
/**
|
|
551
551
|
*
|
|
@@ -695,7 +695,7 @@ interface BlueprintEntityElectricTurret extends BaseBlueprintEntity {
|
|
|
695
695
|
* Defaults to `false`.
|
|
696
696
|
*/
|
|
697
697
|
'ignore-unprioritised'?: boolean;
|
|
698
|
-
'priority-list'?: SlotFilter;
|
|
698
|
+
'priority-list'?: SlotFilter[];
|
|
699
699
|
}
|
|
700
700
|
/**
|
|
701
701
|
*
|
|
@@ -707,7 +707,7 @@ interface BlueprintEntityFluidTurret extends BaseBlueprintEntity {
|
|
|
707
707
|
* Defaults to `false`.
|
|
708
708
|
*/
|
|
709
709
|
'ignore-unprioritised'?: boolean;
|
|
710
|
-
'priority-list'?: SlotFilter;
|
|
710
|
+
'priority-list'?: SlotFilter[];
|
|
711
711
|
}
|
|
712
712
|
/**
|
|
713
713
|
*
|
|
@@ -802,6 +802,7 @@ interface BlueprintEntityLamp extends BaseBlueprintEntity {
|
|
|
802
802
|
*/
|
|
803
803
|
'always_on'?: boolean;
|
|
804
804
|
'color'?: Color;
|
|
805
|
+
'control_behavior'?: LampBlueprintControlBehavior;
|
|
805
806
|
}
|
|
806
807
|
/**
|
|
807
808
|
*
|
|
@@ -833,6 +834,7 @@ interface BlueprintEntityLinkedContainer extends BaseBlueprintEntity {
|
|
|
833
834
|
*/
|
|
834
835
|
interface BlueprintEntityLoader extends BaseBlueprintEntity {
|
|
835
836
|
'belt_stack_size_override'?: uint8;
|
|
837
|
+
'control_behavior'?: LoaderBlueprintControlBehavior;
|
|
836
838
|
/**
|
|
837
839
|
* Defaults to `"none"`.
|
|
838
840
|
*/
|
|
@@ -846,6 +848,7 @@ interface BlueprintEntityLoader extends BaseBlueprintEntity {
|
|
|
846
848
|
*/
|
|
847
849
|
interface BlueprintEntityLoader1x1 extends BaseBlueprintEntity {
|
|
848
850
|
'belt_stack_size_override'?: uint8;
|
|
851
|
+
'control_behavior'?: LoaderBlueprintControlBehavior;
|
|
849
852
|
/**
|
|
850
853
|
* Defaults to `"none"`.
|
|
851
854
|
*/
|
|
@@ -921,6 +924,10 @@ interface BlueprintEntityPump extends BaseBlueprintEntity {
|
|
|
921
924
|
*/
|
|
922
925
|
interface BlueprintEntityRailChainSignal extends BaseBlueprintEntity {
|
|
923
926
|
'control_behavior'?: RailSignalBaseBlueprintControlBehavior;
|
|
927
|
+
/**
|
|
928
|
+
* Defaults to `"ground"`.
|
|
929
|
+
*/
|
|
930
|
+
'rail_layer'?: 'ground' | 'elevated';
|
|
924
931
|
}
|
|
925
932
|
/**
|
|
926
933
|
*
|
|
@@ -928,6 +935,10 @@ interface BlueprintEntityRailChainSignal extends BaseBlueprintEntity {
|
|
|
928
935
|
*/
|
|
929
936
|
interface BlueprintEntityRailSignal extends BaseBlueprintEntity {
|
|
930
937
|
'control_behavior'?: RailSignalBaseBlueprintControlBehavior;
|
|
938
|
+
/**
|
|
939
|
+
* Defaults to `"ground"`.
|
|
940
|
+
*/
|
|
941
|
+
'rail_layer'?: 'ground' | 'elevated';
|
|
931
942
|
}
|
|
932
943
|
/**
|
|
933
944
|
*
|
|
@@ -1034,7 +1045,7 @@ interface BlueprintEntityTurret extends BaseBlueprintEntity {
|
|
|
1034
1045
|
* Defaults to `false`.
|
|
1035
1046
|
*/
|
|
1036
1047
|
'ignore-unprioritised'?: boolean;
|
|
1037
|
-
'priority-list'?: SlotFilter;
|
|
1048
|
+
'priority-list'?: SlotFilter[];
|
|
1038
1049
|
}
|
|
1039
1050
|
/**
|
|
1040
1051
|
*
|
|
@@ -1152,12 +1163,18 @@ interface BlueprintLogisticSections {
|
|
|
1152
1163
|
request_from_buffers?: boolean;
|
|
1153
1164
|
}
|
|
1154
1165
|
interface BlueprintMiningDrillFilter {
|
|
1155
|
-
filters?: SlotFilter;
|
|
1166
|
+
filters?: SlotFilter[];
|
|
1156
1167
|
/**
|
|
1157
1168
|
* Defaults to `"whitelist"`.
|
|
1158
1169
|
*/
|
|
1159
1170
|
mode?: 'whitelist' | 'blacklist';
|
|
1160
1171
|
}
|
|
1172
|
+
interface BlueprintQualityID {
|
|
1173
|
+
/**
|
|
1174
|
+
* The name of the quality prototype. Defaults to `"normal"`.
|
|
1175
|
+
*/
|
|
1176
|
+
name?: string;
|
|
1177
|
+
}
|
|
1161
1178
|
interface BlueprintSchedule {
|
|
1162
1179
|
records?: BlueprintScheduleRecord[];
|
|
1163
1180
|
group?: string;
|
|
@@ -4029,6 +4046,30 @@ string | /**
|
|
|
4029
4046
|
* A table of item prototype and quality.
|
|
4030
4047
|
*/
|
|
4031
4048
|
ItemIDAndQualityIDPair;
|
|
4049
|
+
interface LampBlueprintControlBehavior {
|
|
4050
|
+
/**
|
|
4051
|
+
* Defaults to `false`.
|
|
4052
|
+
*/
|
|
4053
|
+
use_colors?: boolean;
|
|
4054
|
+
red_signal?: SignalID;
|
|
4055
|
+
green_signal?: SignalID;
|
|
4056
|
+
blue_signal?: SignalID;
|
|
4057
|
+
rgb_signal?: SignalID;
|
|
4058
|
+
/**
|
|
4059
|
+
* Defaults to `defines.control_behavior.lamp.color_mapping`.
|
|
4060
|
+
*/
|
|
4061
|
+
color_mode?: defines.control_behavior.lamp.color_mode;
|
|
4062
|
+
/**
|
|
4063
|
+
* Defaults to `false`.
|
|
4064
|
+
*/
|
|
4065
|
+
circuit_enabled?: boolean;
|
|
4066
|
+
circuit_condition?: CircuitCondition;
|
|
4067
|
+
/**
|
|
4068
|
+
* Defaults to `false`.
|
|
4069
|
+
*/
|
|
4070
|
+
connect_to_logistic_network?: boolean;
|
|
4071
|
+
logistic_condition?: CircuitCondition;
|
|
4072
|
+
}
|
|
4032
4073
|
/**
|
|
4033
4074
|
* The internal name of a game control (key binding).
|
|
4034
4075
|
*/
|
|
@@ -4036,6 +4077,26 @@ type LinkedGameControl = 'move-up' | 'move-down' | 'move-left' | 'move-right' |
|
|
|
4036
4077
|
* Indicates no linked game control.
|
|
4037
4078
|
*/
|
|
4038
4079
|
'';
|
|
4080
|
+
interface LoaderBlueprintControlBehavior {
|
|
4081
|
+
/**
|
|
4082
|
+
* Defaults to `false`.
|
|
4083
|
+
*/
|
|
4084
|
+
circuit_set_filters?: boolean;
|
|
4085
|
+
/**
|
|
4086
|
+
* Defaults to `false`.
|
|
4087
|
+
*/
|
|
4088
|
+
circuit_read_transfers?: boolean;
|
|
4089
|
+
/**
|
|
4090
|
+
* Defaults to `false`.
|
|
4091
|
+
*/
|
|
4092
|
+
circuit_enabled?: boolean;
|
|
4093
|
+
circuit_condition?: CircuitCondition;
|
|
4094
|
+
/**
|
|
4095
|
+
* Defaults to `false`.
|
|
4096
|
+
*/
|
|
4097
|
+
connect_to_logistic_network?: boolean;
|
|
4098
|
+
logistic_condition?: CircuitCondition;
|
|
4099
|
+
}
|
|
4039
4100
|
/**
|
|
4040
4101
|
* Localised strings are a way to support translation of in-game text. It is an array where the first element is the key and the remaining elements are parameters that will be substituted for placeholders in the template designated by the key.
|
|
4041
4102
|
*
|
|
@@ -6577,13 +6638,13 @@ interface MiningDrillBlueprintControlBehavior {
|
|
|
6577
6638
|
}
|
|
6578
6639
|
interface ModChangeData {
|
|
6579
6640
|
/**
|
|
6580
|
-
* Old version of the mod.
|
|
6641
|
+
* Old version of the mod. `nil` if the mod wasn't previously present (i.e. it was just added).
|
|
6581
6642
|
*/
|
|
6582
|
-
old_version
|
|
6643
|
+
old_version?: string;
|
|
6583
6644
|
/**
|
|
6584
|
-
* New version of the mod.
|
|
6645
|
+
* New version of the mod. `nil` if the mod is no longer present (i.e. it was just removed).
|
|
6585
6646
|
*/
|
|
6586
|
-
new_version
|
|
6647
|
+
new_version?: string;
|
|
6587
6648
|
}
|
|
6588
6649
|
interface ModSetting {
|
|
6589
6650
|
/**
|
|
@@ -8285,7 +8346,7 @@ interface SelectorCombinatorParametersCount extends BaseSelectorCombinatorParame
|
|
|
8285
8346
|
/**
|
|
8286
8347
|
* The signal to emit.
|
|
8287
8348
|
*/
|
|
8288
|
-
'count_signal'
|
|
8349
|
+
'count_signal'?: SignalID;
|
|
8289
8350
|
}
|
|
8290
8351
|
/**
|
|
8291
8352
|
*
|
|
@@ -8312,10 +8373,7 @@ interface SelectorCombinatorParametersQualityTransfer extends BaseSelectorCombin
|
|
|
8312
8373
|
'operation'?: 'quality-transfer';
|
|
8313
8374
|
'quality_destination_signal': SignalID;
|
|
8314
8375
|
'quality_source_signal'?: SignalIDBase;
|
|
8315
|
-
|
|
8316
|
-
* The name of the quality prototype. Defaults to `"normal"`.
|
|
8317
|
-
*/
|
|
8318
|
-
'quality_source_static'?: string;
|
|
8376
|
+
'quality_source_static'?: BlueprintQualityID;
|
|
8319
8377
|
/**
|
|
8320
8378
|
* Defaults to `false`.
|
|
8321
8379
|
*/
|
|
@@ -8602,6 +8660,11 @@ interface SpacePlatformHubBlueprintControlBehavior {
|
|
|
8602
8660
|
*/
|
|
8603
8661
|
read_speed?: boolean;
|
|
8604
8662
|
speed_signal?: SignalID;
|
|
8663
|
+
/**
|
|
8664
|
+
* Defaults to `false`.
|
|
8665
|
+
*/
|
|
8666
|
+
read_damage_taken?: boolean;
|
|
8667
|
+
damage_taken_signal?: SignalID;
|
|
8605
8668
|
}
|
|
8606
8669
|
interface SpacePlatformTileDefinition {
|
|
8607
8670
|
tile: LuaTilePrototype;
|
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.0.
|
|
5
|
+
// Factorio version 2.0.72
|
|
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.0.
|
|
5
|
+
// Factorio version 2.0.72
|
|
6
6
|
// API version 6
|
|
7
7
|
|
|
8
8
|
declare namespace defines {
|
package/dist/events.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.72
|
|
6
6
|
// API version 6
|
|
7
7
|
|
|
8
8
|
declare namespace runtime {
|
package/dist/global.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.72
|
|
6
6
|
// API version 6
|
|
7
7
|
|
|
8
8
|
/**
|
package/dist/prototypes.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.0.
|
|
5
|
+
// Factorio version 2.0.72
|
|
6
6
|
// API version 6
|
|
7
7
|
|
|
8
8
|
declare namespace prototype {
|
package/dist/types.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.0.
|
|
5
|
+
// Factorio version 2.0.72
|
|
6
6
|
// API version 6
|
|
7
7
|
|
|
8
8
|
declare namespace prototype {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "factorio-types",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.53",
|
|
4
4
|
"description": "Typescript declarations for the Factorio mod API",
|
|
5
5
|
"main": "index.d.ts",
|
|
6
6
|
"repository": "https://github.com/sguest/factorio-types.git",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"src/**/*.d.ts",
|
|
24
24
|
"dist/**/*.d.ts"
|
|
25
25
|
],
|
|
26
|
-
"factorioVersion": "2.0.
|
|
26
|
+
"factorioVersion": "2.0.72",
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"lua-types": "^2.13.1"
|
|
29
29
|
},
|