factorio-types 1.2.60 → 1.2.61
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 +33 -1
- package/dist/concepts.d.ts +7 -2
- package/dist/datacollection.d.ts +1 -1
- package/dist/defines.d.ts +294 -290
- 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.1.
|
|
5
|
+
// Factorio version 2.1.9
|
|
6
6
|
// API version 6
|
|
7
7
|
|
|
8
8
|
declare namespace runtime {
|
|
@@ -5963,6 +5963,8 @@ interface LuaDamagePrototype extends LuaPrototypeBase {
|
|
|
5963
5963
|
*
|
|
5964
5964
|
* - `followSymlinks` :: {@link boolean | runtime:boolean}? : Follow symlinks when emitting locations (stack traces, etc) (default: true)
|
|
5965
5965
|
*
|
|
5966
|
+
* - `trace` :: {@link boolean | runtime:boolean}? : Trace DAP messages to a `dap-trace.log` (default: false)
|
|
5967
|
+
*
|
|
5966
5968
|
* - `tags` :: {@link Any | runtime:Any}? : Extra debug session tags, see also {@link tags | runtime:LuaDebugAdapter::tags}
|
|
5967
5969
|
*
|
|
5968
5970
|
* Metatable methods may be used to customize debug views:
|
|
@@ -6016,6 +6018,12 @@ interface LuaDeciderCombinatorControlBehavior extends LuaCombinatorControlBehavi
|
|
|
6016
6018
|
* @param index Index to insert new condition at. If not specified, appends to the end.
|
|
6017
6019
|
*/
|
|
6018
6020
|
add_condition(this: void, condition: DeciderCombinatorCondition, index?: uint32): void;
|
|
6021
|
+
/**
|
|
6022
|
+
* Adds a new else-output.
|
|
6023
|
+
* @param output New else-output to insert.
|
|
6024
|
+
* @param index Index to insert new else-output at. If not specified, appends to the end.
|
|
6025
|
+
*/
|
|
6026
|
+
add_else_output(this: void, output: DeciderCombinatorOutput, index?: uint32): void;
|
|
6019
6027
|
/**
|
|
6020
6028
|
* Adds a new output.
|
|
6021
6029
|
* @param output New output to insert.
|
|
@@ -6027,6 +6035,11 @@ interface LuaDeciderCombinatorControlBehavior extends LuaCombinatorControlBehavi
|
|
|
6027
6035
|
* @param index Index of condition to get.
|
|
6028
6036
|
*/
|
|
6029
6037
|
get_condition(this: void, index: uint32): DeciderCombinatorCondition;
|
|
6038
|
+
/**
|
|
6039
|
+
* Gets the else-output at `index`.
|
|
6040
|
+
* @param index Index of else-output to get.
|
|
6041
|
+
*/
|
|
6042
|
+
get_else_output(this: void, index: uint32): DeciderCombinatorOutput;
|
|
6030
6043
|
/**
|
|
6031
6044
|
* Gets the output at `index`.
|
|
6032
6045
|
* @param index Index of output to get.
|
|
@@ -6037,6 +6050,11 @@ interface LuaDeciderCombinatorControlBehavior extends LuaCombinatorControlBehavi
|
|
|
6037
6050
|
* @param index Index of condition to remove.
|
|
6038
6051
|
*/
|
|
6039
6052
|
remove_condition(this: void, index: uint32): void;
|
|
6053
|
+
/**
|
|
6054
|
+
* Removes the else-output at `index`.
|
|
6055
|
+
* @param index Index of else-output to remove.
|
|
6056
|
+
*/
|
|
6057
|
+
remove_else_output(this: void, index: uint32): void;
|
|
6040
6058
|
/**
|
|
6041
6059
|
* Removes the output at `index`.
|
|
6042
6060
|
* @param index Index of output to remove.
|
|
@@ -6048,6 +6066,12 @@ interface LuaDeciderCombinatorControlBehavior extends LuaCombinatorControlBehavi
|
|
|
6048
6066
|
* @param condition Data to set selected condition to.
|
|
6049
6067
|
*/
|
|
6050
6068
|
set_condition(this: void, index: uint32, condition: DeciderCombinatorCondition): void;
|
|
6069
|
+
/**
|
|
6070
|
+
* Sets the else-output at `index`.
|
|
6071
|
+
* @param index Index of else-output to modify.
|
|
6072
|
+
* @param output Data to set selected else-output to.
|
|
6073
|
+
*/
|
|
6074
|
+
set_else_output(this: void, index: uint32, output: DeciderCombinatorOutput): void;
|
|
6051
6075
|
/**
|
|
6052
6076
|
* Sets the output at `index`.
|
|
6053
6077
|
* @param index Index of output to modify.
|
|
@@ -13464,6 +13488,10 @@ interface LuaHelpers {
|
|
|
13464
13488
|
* Current version of game
|
|
13465
13489
|
*/
|
|
13466
13490
|
readonly game_version: string;
|
|
13491
|
+
/**
|
|
13492
|
+
* The name of the active Instrument Mode mod, if any.
|
|
13493
|
+
*/
|
|
13494
|
+
readonly instrument_mod?: string;
|
|
13467
13495
|
/**
|
|
13468
13496
|
* The class name of this object. Available even when `valid` is false. For LuaStruct objects it may also be suffixed with a dotted path to a member of the struct.
|
|
13469
13497
|
*/
|
|
@@ -16130,6 +16158,10 @@ interface LuaPlayer extends LuaControl {
|
|
|
16130
16158
|
* The original location of the item in the cursor, marked with a hand. `nil` if the cursor stack is empty. When writing, the specified inventory slot must be empty and the cursor stack must not be empty.
|
|
16131
16159
|
*/
|
|
16132
16160
|
hand_location?: ItemStackLocation;
|
|
16161
|
+
/**
|
|
16162
|
+
* Set to `true` to hide prototypes in Factoriopedia if they aren't unlocked yet.
|
|
16163
|
+
*/
|
|
16164
|
+
hide_locked_prototypes_in_factoriopedia: boolean;
|
|
16133
16165
|
/**
|
|
16134
16166
|
* This player's index in {@link LuaGameScript::players | runtime:LuaGameScript::players} (unique ID). It is assigned when a player is created, and remains so (even when the player is not {@link connected | runtime:LuaPlayer::connected}) until the player is irreversibly {@link removed | runtime:on_player_removed}. Indexes of removed players can be reused.
|
|
16135
16167
|
*/
|
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.9
|
|
6
6
|
// API version 6
|
|
7
7
|
|
|
8
8
|
declare namespace runtime {
|
|
@@ -2368,6 +2368,10 @@ interface DeciderCombinatorParameters {
|
|
|
2368
2368
|
* List of outputs.
|
|
2369
2369
|
*/
|
|
2370
2370
|
outputs: DeciderCombinatorOutput[];
|
|
2371
|
+
/**
|
|
2372
|
+
* List of else-outputs.
|
|
2373
|
+
*/
|
|
2374
|
+
else_outputs: DeciderCombinatorOutput[];
|
|
2371
2375
|
}
|
|
2372
2376
|
interface Decorative {
|
|
2373
2377
|
/**
|
|
@@ -2449,7 +2453,7 @@ interface DifficultySettings {
|
|
|
2449
2453
|
*/
|
|
2450
2454
|
spoil_time_modifier: double;
|
|
2451
2455
|
/**
|
|
2452
|
-
* A value in range [0.001,
|
|
2456
|
+
* A value in range [0.001, 100000].
|
|
2453
2457
|
*/
|
|
2454
2458
|
technology_price_multiplier: double;
|
|
2455
2459
|
}
|
|
@@ -4127,6 +4131,7 @@ interface ItemProduct {
|
|
|
4127
4131
|
extra_count_fraction?: float;
|
|
4128
4132
|
percent_spoiled?: float;
|
|
4129
4133
|
always_fresh?: boolean;
|
|
4134
|
+
reset_freshness_on_craft?: boolean;
|
|
4130
4135
|
quality_min?: QualityID;
|
|
4131
4136
|
quality_max?: QualityID;
|
|
4132
4137
|
quality_change?: int8;
|
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.9
|
|
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.9
|
|
6
6
|
// API version 6
|
|
7
7
|
|
|
8
8
|
declare namespace defines {
|
|
@@ -499,7 +499,7 @@ enum entity_status {
|
|
|
499
499
|
*/
|
|
500
500
|
destination_stop_full = 52,
|
|
501
501
|
/**
|
|
502
|
-
* Used by constant combinators: Combinator is turned off via switch in GUI.
|
|
502
|
+
* Used by constant combinators: Combinator is turned off via switch in GUI. Also used by inserters.
|
|
503
503
|
*/
|
|
504
504
|
disabled = 60,
|
|
505
505
|
disabled_by_control_behavior = 8,
|
|
@@ -1021,294 +1021,298 @@ enum input_action {
|
|
|
1021
1021
|
activate_interrupt = 0,
|
|
1022
1022
|
activate_paste = 1,
|
|
1023
1023
|
add_decider_combinator_condition = 2,
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
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
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
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
|
-
|
|
1024
|
+
add_decider_combinator_else_output = 3,
|
|
1025
|
+
add_decider_combinator_output = 4,
|
|
1026
|
+
add_logistic_section = 5,
|
|
1027
|
+
add_permission_group = 6,
|
|
1028
|
+
add_pin = 7,
|
|
1029
|
+
add_train_interrupt = 8,
|
|
1030
|
+
add_train_station = 9,
|
|
1031
|
+
adjust_blueprint_snapping = 10,
|
|
1032
|
+
admin_action = 11,
|
|
1033
|
+
alt_reverse_select_area = 12,
|
|
1034
|
+
alt_select_area = 13,
|
|
1035
|
+
alt_select_blueprint_entities = 14,
|
|
1036
|
+
alternative_copy = 15,
|
|
1037
|
+
begin_mining = 16,
|
|
1038
|
+
begin_mining_terrain = 17,
|
|
1039
|
+
build = 18,
|
|
1040
|
+
build_rail = 19,
|
|
1041
|
+
build_terrain = 20,
|
|
1042
|
+
cancel_craft = 21,
|
|
1043
|
+
cancel_deconstruct = 22,
|
|
1044
|
+
cancel_delete_space_platform = 23,
|
|
1045
|
+
cancel_new_blueprint = 24,
|
|
1046
|
+
cancel_research = 25,
|
|
1047
|
+
cancel_upgrade = 26,
|
|
1048
|
+
change_active_character_tab = 27,
|
|
1049
|
+
change_active_item_group_for_crafting = 28,
|
|
1050
|
+
change_active_item_group_for_filters = 29,
|
|
1051
|
+
change_active_quick_bar = 30,
|
|
1052
|
+
change_arithmetic_combinator_parameters = 31,
|
|
1053
|
+
change_entity_label = 32,
|
|
1054
|
+
change_heading_riding_state = 33,
|
|
1055
|
+
change_item_label = 34,
|
|
1056
|
+
change_logistic_point_group = 35,
|
|
1057
|
+
change_multiplayer_config = 36,
|
|
1058
|
+
change_picking_state = 37,
|
|
1059
|
+
change_programmable_speaker_alert_parameters = 38,
|
|
1060
|
+
change_programmable_speaker_circuit_parameters = 39,
|
|
1061
|
+
change_programmable_speaker_parameters = 40,
|
|
1062
|
+
change_research_condition = 41,
|
|
1063
|
+
change_riding_state = 42,
|
|
1064
|
+
change_selector_combinator_parameters = 43,
|
|
1065
|
+
change_shooting_state = 44,
|
|
1066
|
+
change_train_name = 45,
|
|
1067
|
+
change_train_station = 46,
|
|
1068
|
+
change_train_stop_station = 47,
|
|
1069
|
+
change_train_wait_condition = 48,
|
|
1070
|
+
change_train_wait_condition_data = 49,
|
|
1071
|
+
cheat = 50,
|
|
1072
|
+
clear_cursor = 51,
|
|
1073
|
+
connect_rolling_stock = 52,
|
|
1074
|
+
copy = 53,
|
|
1075
|
+
copy_entity_settings = 54,
|
|
1076
|
+
copy_large_opened_blueprint = 55,
|
|
1077
|
+
copy_large_opened_item = 56,
|
|
1078
|
+
copy_opened_blueprint = 57,
|
|
1079
|
+
copy_opened_item = 58,
|
|
1080
|
+
craft = 59,
|
|
1081
|
+
create_space_platform = 60,
|
|
1082
|
+
cursor_split = 61,
|
|
1083
|
+
cursor_transfer = 62,
|
|
1084
|
+
custom_input = 63,
|
|
1085
|
+
cycle_blueprint_book_backwards = 64,
|
|
1086
|
+
cycle_blueprint_book_forwards = 65,
|
|
1087
|
+
cycle_quality_down = 66,
|
|
1088
|
+
cycle_quality_up = 67,
|
|
1089
|
+
deconstruct = 68,
|
|
1090
|
+
delete_blueprint_library = 69,
|
|
1091
|
+
delete_blueprint_record = 70,
|
|
1092
|
+
delete_custom_tag = 71,
|
|
1093
|
+
delete_logistic_group = 72,
|
|
1094
|
+
delete_permission_group = 73,
|
|
1095
|
+
delete_space_platform = 74,
|
|
1096
|
+
destroy_item = 75,
|
|
1097
|
+
destroy_opened_item = 76,
|
|
1098
|
+
disconnect_rolling_stock = 77,
|
|
1099
|
+
drag_decider_combinator_condition = 78,
|
|
1100
|
+
drag_decider_combinator_else_output = 79,
|
|
1101
|
+
drag_decider_combinator_output = 80,
|
|
1102
|
+
drag_research_condition = 81,
|
|
1103
|
+
drag_train_schedule = 82,
|
|
1104
|
+
drag_train_schedule_interrupt = 83,
|
|
1105
|
+
drag_train_wait_condition = 84,
|
|
1106
|
+
drop_blueprint_record = 85,
|
|
1107
|
+
drop_item = 86,
|
|
1108
|
+
edit_blueprint_tool_preview = 87,
|
|
1109
|
+
edit_custom_tag = 88,
|
|
1110
|
+
edit_display_panel = 89,
|
|
1111
|
+
edit_display_panel_always_show = 90,
|
|
1112
|
+
edit_display_panel_icon = 91,
|
|
1113
|
+
edit_display_panel_parameters = 92,
|
|
1114
|
+
edit_display_panel_show_in_chart = 93,
|
|
1115
|
+
edit_display_panel_single_entry = 94,
|
|
1116
|
+
edit_interrupt = 95,
|
|
1117
|
+
edit_permission_group = 96,
|
|
1118
|
+
edit_pin = 97,
|
|
1119
|
+
export_blueprint = 98,
|
|
1120
|
+
fast_entity_split = 99,
|
|
1121
|
+
fast_entity_transfer = 100,
|
|
1122
|
+
flip_entity = 101,
|
|
1123
|
+
flush_opened_entity_fluid = 102,
|
|
1124
|
+
flush_opened_entity_specific_fluid = 103,
|
|
1125
|
+
go_to_train_station = 104,
|
|
1126
|
+
grab_blueprint_record = 105,
|
|
1127
|
+
gui_checked_state_changed = 106,
|
|
1128
|
+
gui_click = 107,
|
|
1129
|
+
gui_confirmed = 108,
|
|
1130
|
+
gui_elem_changed = 109,
|
|
1131
|
+
gui_hover = 110,
|
|
1132
|
+
gui_inventory_action = 111,
|
|
1133
|
+
gui_inventory_bar_changed = 112,
|
|
1134
|
+
gui_inventory_filter_changed = 113,
|
|
1135
|
+
gui_leave = 114,
|
|
1136
|
+
gui_location_changed = 115,
|
|
1137
|
+
gui_selected_tab_changed = 116,
|
|
1138
|
+
gui_selection_state_changed = 117,
|
|
1139
|
+
gui_switch_state_changed = 118,
|
|
1140
|
+
gui_text_changed = 119,
|
|
1141
|
+
gui_value_changed = 120,
|
|
1142
|
+
import_blueprint = 121,
|
|
1143
|
+
import_blueprint_string = 122,
|
|
1144
|
+
import_blueprints_filtered = 123,
|
|
1145
|
+
import_permissions_string = 124,
|
|
1146
|
+
instantly_create_space_platform = 125,
|
|
1147
|
+
inventory_split = 126,
|
|
1148
|
+
inventory_transfer = 127,
|
|
1149
|
+
land_at_planet = 128,
|
|
1150
|
+
launch_rocket = 129,
|
|
1151
|
+
lua_shortcut = 130,
|
|
1152
|
+
map_editor_action = 131,
|
|
1153
|
+
market_offer = 132,
|
|
1154
|
+
mod_settings_changed = 133,
|
|
1155
|
+
modify_decider_combinator_condition = 134,
|
|
1156
|
+
modify_decider_combinator_else_output = 135,
|
|
1157
|
+
modify_decider_combinator_output = 136,
|
|
1158
|
+
move_pin = 137,
|
|
1159
|
+
move_research = 138,
|
|
1160
|
+
open_achievements_gui = 139,
|
|
1161
|
+
open_blueprint_library_gui = 140,
|
|
1162
|
+
open_blueprint_record = 141,
|
|
1163
|
+
open_bonus_gui = 142,
|
|
1164
|
+
open_character_gui = 143,
|
|
1165
|
+
open_current_vehicle_gui = 144,
|
|
1166
|
+
open_equipment = 145,
|
|
1167
|
+
open_global_electric_network_gui = 146,
|
|
1168
|
+
open_gui = 147,
|
|
1169
|
+
open_item = 148,
|
|
1170
|
+
open_logistics_gui = 149,
|
|
1171
|
+
open_mod_item = 150,
|
|
1172
|
+
open_new_platform_button_from_rocket_silo = 151,
|
|
1173
|
+
open_opened_entity_grid = 152,
|
|
1174
|
+
open_parent_of_opened_item = 153,
|
|
1175
|
+
open_production_gui = 154,
|
|
1176
|
+
open_train_gui = 155,
|
|
1177
|
+
open_train_station_gui = 156,
|
|
1178
|
+
open_trains_gui = 157,
|
|
1179
|
+
parametrise_blueprint = 158,
|
|
1180
|
+
paste_entity_settings = 159,
|
|
1181
|
+
pin_alert_group = 160,
|
|
1182
|
+
pin_custom_alert = 161,
|
|
1183
|
+
pin_search_result = 162,
|
|
1184
|
+
pipette = 163,
|
|
1185
|
+
place_equipment = 164,
|
|
1186
|
+
providing_to_other_platforms = 165,
|
|
1187
|
+
quick_bar_pick_slot = 166,
|
|
1188
|
+
quick_bar_set_selected_page = 167,
|
|
1189
|
+
quick_bar_set_slot = 168,
|
|
1190
|
+
reassign_blueprint = 169,
|
|
1191
|
+
redo = 170,
|
|
1192
|
+
remote_view_entity = 171,
|
|
1193
|
+
remote_view_surface = 172,
|
|
1194
|
+
remove_cables = 173,
|
|
1195
|
+
remove_decider_combinator_condition = 174,
|
|
1196
|
+
remove_decider_combinator_else_output = 175,
|
|
1197
|
+
remove_decider_combinator_output = 176,
|
|
1198
|
+
remove_logistic_section = 177,
|
|
1199
|
+
remove_pin = 178,
|
|
1200
|
+
remove_train_interrupt = 179,
|
|
1201
|
+
remove_train_station = 180,
|
|
1202
|
+
rename_interrupt = 181,
|
|
1203
|
+
rename_space_platform = 182,
|
|
1204
|
+
reorder_logistic_section = 183,
|
|
1205
|
+
request_missing_construction_materials = 184,
|
|
1206
|
+
reset_assembling_machine = 185,
|
|
1207
|
+
reverse_select_area = 186,
|
|
1208
|
+
rotate_entity = 187,
|
|
1209
|
+
select_area = 188,
|
|
1210
|
+
select_asteroid_chunk_slot = 189,
|
|
1211
|
+
select_blueprint_entities = 190,
|
|
1212
|
+
select_entity_filter_slot = 191,
|
|
1213
|
+
select_entity_slot = 192,
|
|
1214
|
+
select_item_filter = 193,
|
|
1215
|
+
select_mapper_slot_from = 194,
|
|
1216
|
+
select_mapper_slot_to = 195,
|
|
1217
|
+
select_next_valid_gun = 196,
|
|
1218
|
+
select_tile_slot = 197,
|
|
1219
|
+
send_spidertron = 198,
|
|
1220
|
+
send_stack_to_trash = 199,
|
|
1221
|
+
send_stacks_to_trash = 200,
|
|
1222
|
+
send_train_to_pin_target = 201,
|
|
1223
|
+
set_behavior_mode = 202,
|
|
1224
|
+
set_car_weapons_control = 203,
|
|
1225
|
+
set_cheat_mode_quality = 204,
|
|
1226
|
+
set_circuit_condition = 205,
|
|
1227
|
+
set_circuit_mode_of_operation = 206,
|
|
1228
|
+
set_combinator_description = 207,
|
|
1229
|
+
set_control_behavior_input_networks = 208,
|
|
1230
|
+
set_control_behavior_output_networks = 209,
|
|
1231
|
+
set_copy_color_from_train_stop = 210,
|
|
1232
|
+
set_deconstruction_item_tile_selection_mode = 211,
|
|
1233
|
+
set_deconstruction_item_trees_and_rocks_only = 212,
|
|
1234
|
+
set_entity_color = 213,
|
|
1235
|
+
set_entity_energy_property = 214,
|
|
1236
|
+
set_equipment_energy_property = 215,
|
|
1237
|
+
set_filter = 216,
|
|
1238
|
+
set_ghost_cursor = 217,
|
|
1239
|
+
set_heat_interface_mode = 218,
|
|
1240
|
+
set_heat_interface_temperature = 219,
|
|
1241
|
+
set_infinity_container_filter_item = 220,
|
|
1242
|
+
set_infinity_container_logistic_mode = 221,
|
|
1243
|
+
set_infinity_container_remove_unfiltered_items = 222,
|
|
1244
|
+
set_infinity_pipe_filter = 223,
|
|
1245
|
+
set_inserter_max_stack_size = 224,
|
|
1246
|
+
set_inventory_bar = 225,
|
|
1247
|
+
set_lamp_always_on = 226,
|
|
1248
|
+
set_linked_container_link_i_d = 227,
|
|
1249
|
+
set_loader_belt_stack_size_override = 228,
|
|
1250
|
+
set_logistic_filter_item = 229,
|
|
1251
|
+
set_logistic_network_name = 230,
|
|
1252
|
+
set_logistic_section_active = 231,
|
|
1253
|
+
set_player_color = 232,
|
|
1254
|
+
set_pump_fluid_filter = 233,
|
|
1255
|
+
set_request_from_buffers = 234,
|
|
1256
|
+
set_research_finished_stops_game = 235,
|
|
1257
|
+
set_rocket_silo_send_to_orbit_automated_mode = 236,
|
|
1258
|
+
set_schedule_record_allow_unloading = 237,
|
|
1259
|
+
set_signal = 238,
|
|
1260
|
+
set_splitter_priority = 239,
|
|
1261
|
+
set_spoil_priority = 240,
|
|
1262
|
+
set_train_stop_priority = 241,
|
|
1263
|
+
set_train_stopped = 242,
|
|
1264
|
+
set_trains_limit = 243,
|
|
1265
|
+
set_turret_ignore_unlisted = 244,
|
|
1266
|
+
set_use_inserter_filters = 245,
|
|
1267
|
+
set_vehicle_automatic_targeting_parameters = 246,
|
|
1268
|
+
setup_assembling_machine = 247,
|
|
1269
|
+
setup_blueprint = 248,
|
|
1270
|
+
setup_single_blueprint_record = 249,
|
|
1271
|
+
spawn_item = 250,
|
|
1272
|
+
spectator_change_surface = 251,
|
|
1273
|
+
stack_split = 252,
|
|
1274
|
+
stack_transfer = 253,
|
|
1275
|
+
start_repair = 254,
|
|
1276
|
+
start_research = 255,
|
|
1277
|
+
start_walking = 256,
|
|
1278
|
+
stop_drag_build = 257,
|
|
1279
|
+
swap_asteroid_chunk_slots = 258,
|
|
1280
|
+
swap_entity_filter_slots = 259,
|
|
1281
|
+
swap_entity_slots = 260,
|
|
1282
|
+
swap_infinity_container_filter_items = 261,
|
|
1283
|
+
swap_item_filters = 262,
|
|
1284
|
+
swap_logistic_filter_items = 263,
|
|
1285
|
+
swap_mappers = 264,
|
|
1286
|
+
swap_tile_slots = 265,
|
|
1287
|
+
switch_connect_to_logistic_network = 266,
|
|
1288
|
+
switch_constant_combinator_state = 267,
|
|
1289
|
+
switch_inserter_filter_mode_state = 268,
|
|
1290
|
+
switch_loader_filter_mode = 269,
|
|
1291
|
+
switch_mining_drill_filter_mode_state = 270,
|
|
1292
|
+
switch_power_switch_state = 271,
|
|
1293
|
+
take_equipment = 272,
|
|
1294
|
+
toggle_artillery_auto_targeting = 273,
|
|
1295
|
+
toggle_blueprint_snap_to_grid = 274,
|
|
1296
|
+
toggle_deconstruction_item_entity_filter_mode = 275,
|
|
1297
|
+
toggle_deconstruction_item_tile_filter_mode = 276,
|
|
1298
|
+
toggle_driving = 277,
|
|
1299
|
+
toggle_enable_vehicle_logistics_while_moving = 278,
|
|
1300
|
+
toggle_entity_logistic_requests = 279,
|
|
1301
|
+
toggle_equipment_movement_bonus = 280,
|
|
1302
|
+
toggle_map_editor = 281,
|
|
1303
|
+
toggle_personal_logistic_requests = 282,
|
|
1304
|
+
toggle_personal_roboport = 283,
|
|
1305
|
+
toggle_selected_entity = 284,
|
|
1306
|
+
toggle_show_entity_info = 285,
|
|
1307
|
+
toggle_tall_entity_visibility = 286,
|
|
1308
|
+
trash_not_requested_items = 287,
|
|
1309
|
+
undo = 288,
|
|
1310
|
+
upgrade = 289,
|
|
1311
|
+
upgrade_opened_blueprint_by_item = 290,
|
|
1312
|
+
upgrade_opened_blueprint_by_record = 291,
|
|
1313
|
+
use_item = 292,
|
|
1314
|
+
wire_dragging = 293,
|
|
1315
|
+
write_to_console = 294
|
|
1312
1316
|
}
|
|
1313
1317
|
enum input_method {
|
|
1314
1318
|
game_controller = 1,
|
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.1.
|
|
5
|
+
// Factorio version 2.1.9
|
|
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.1.
|
|
5
|
+
// Factorio version 2.1.9
|
|
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.1.
|
|
5
|
+
// Factorio version 2.1.9
|
|
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.1.
|
|
5
|
+
// Factorio version 2.1.9
|
|
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.61",
|
|
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.1.
|
|
26
|
+
"factorioVersion": "2.1.9",
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"lua-types": "^2.13.1"
|
|
29
29
|
},
|