factorio-types 1.2.2 → 1.2.4

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.
@@ -0,0 +1,596 @@
1
+ // Factorio prototype data collection
2
+ // Factorio API reference https://lua-api.factorio.com/latest/index.html
3
+ // Generated from JSON source https://lua-api.factorio.com/latest/prototype-api.json
4
+ // Definition source https://github.com/sguest/factorio-types
5
+ // Factorio version 1.1.110
6
+ // API version 5
7
+
8
+ declare namespace prototype {
9
+ interface dataCollection {
10
+ 'accumulator': {
11
+ [key: string]: AccumulatorPrototype;
12
+ };
13
+ 'achievement': {
14
+ [key: string]: AchievementPrototype;
15
+ };
16
+ 'active-defense-equipment': {
17
+ [key: string]: ActiveDefenseEquipmentPrototype;
18
+ };
19
+ 'ambient-sound': {
20
+ [key: string]: AmbientSound;
21
+ };
22
+ 'ammo-category': {
23
+ [key: string]: AmmoCategory;
24
+ };
25
+ 'ammo': {
26
+ [key: string]: AmmoItemPrototype;
27
+ };
28
+ 'ammo-turret': {
29
+ [key: string]: AmmoTurretPrototype;
30
+ };
31
+ 'animation': {
32
+ [key: string]: AnimationPrototype;
33
+ };
34
+ 'arithmetic-combinator': {
35
+ [key: string]: ArithmeticCombinatorPrototype;
36
+ };
37
+ 'armor': {
38
+ [key: string]: ArmorPrototype;
39
+ };
40
+ 'arrow': {
41
+ [key: string]: ArrowPrototype;
42
+ };
43
+ 'artillery-flare': {
44
+ [key: string]: ArtilleryFlarePrototype;
45
+ };
46
+ 'artillery-projectile': {
47
+ [key: string]: ArtilleryProjectilePrototype;
48
+ };
49
+ 'artillery-turret': {
50
+ [key: string]: ArtilleryTurretPrototype;
51
+ };
52
+ 'artillery-wagon': {
53
+ [key: string]: ArtilleryWagonPrototype;
54
+ };
55
+ 'assembling-machine': {
56
+ [key: string]: AssemblingMachinePrototype;
57
+ };
58
+ 'autoplace-control': {
59
+ [key: string]: AutoplaceControl;
60
+ };
61
+ 'battery-equipment': {
62
+ [key: string]: BatteryEquipmentPrototype;
63
+ };
64
+ 'beacon': {
65
+ [key: string]: BeaconPrototype;
66
+ };
67
+ 'beam': {
68
+ [key: string]: BeamPrototype;
69
+ };
70
+ 'belt-immunity-equipment': {
71
+ [key: string]: BeltImmunityEquipmentPrototype;
72
+ };
73
+ 'blueprint-book': {
74
+ [key: string]: BlueprintBookPrototype;
75
+ };
76
+ 'blueprint': {
77
+ [key: string]: BlueprintItemPrototype;
78
+ };
79
+ 'boiler': {
80
+ [key: string]: BoilerPrototype;
81
+ };
82
+ 'build-entity-achievement': {
83
+ [key: string]: BuildEntityAchievementPrototype;
84
+ };
85
+ 'burner-generator': {
86
+ [key: string]: BurnerGeneratorPrototype;
87
+ };
88
+ 'capsule': {
89
+ [key: string]: CapsulePrototype;
90
+ };
91
+ 'car': {
92
+ [key: string]: CarPrototype;
93
+ };
94
+ 'cargo-wagon': {
95
+ [key: string]: CargoWagonPrototype;
96
+ };
97
+ 'character-corpse': {
98
+ [key: string]: CharacterCorpsePrototype;
99
+ };
100
+ 'character': {
101
+ [key: string]: CharacterPrototype;
102
+ };
103
+ 'cliff': {
104
+ [key: string]: CliffPrototype;
105
+ };
106
+ 'combat-robot-count': {
107
+ [key: string]: CombatRobotCountAchievementPrototype;
108
+ };
109
+ 'combat-robot': {
110
+ [key: string]: CombatRobotPrototype;
111
+ };
112
+ 'constant-combinator': {
113
+ [key: string]: ConstantCombinatorPrototype;
114
+ };
115
+ 'construct-with-robots-achievement': {
116
+ [key: string]: ConstructWithRobotsAchievementPrototype;
117
+ };
118
+ 'construction-robot': {
119
+ [key: string]: ConstructionRobotPrototype;
120
+ };
121
+ 'container': {
122
+ [key: string]: ContainerPrototype;
123
+ };
124
+ 'copy-paste-tool': {
125
+ [key: string]: CopyPasteToolPrototype;
126
+ };
127
+ 'corpse': {
128
+ [key: string]: CorpsePrototype;
129
+ };
130
+ 'curved-rail': {
131
+ [key: string]: CurvedRailPrototype;
132
+ };
133
+ 'custom-input': {
134
+ [key: string]: CustomInputPrototype;
135
+ };
136
+ 'damage-type': {
137
+ [key: string]: DamageType;
138
+ };
139
+ 'decider-combinator': {
140
+ [key: string]: DeciderCombinatorPrototype;
141
+ };
142
+ 'deconstruct-with-robots-achievement': {
143
+ [key: string]: DeconstructWithRobotsAchievementPrototype;
144
+ };
145
+ 'deconstructible-tile-proxy': {
146
+ [key: string]: DeconstructibleTileProxyPrototype;
147
+ };
148
+ 'deconstruction-item': {
149
+ [key: string]: DeconstructionItemPrototype;
150
+ };
151
+ 'optimized-decorative': {
152
+ [key: string]: DecorativePrototype;
153
+ };
154
+ 'deliver-by-robots-achievement': {
155
+ [key: string]: DeliverByRobotsAchievementPrototype;
156
+ };
157
+ 'dont-build-entity-achievement': {
158
+ [key: string]: DontBuildEntityAchievementPrototype;
159
+ };
160
+ 'dont-craft-manually-achievement': {
161
+ [key: string]: DontCraftManuallyAchievementPrototype;
162
+ };
163
+ 'dont-use-entity-in-energy-production-achievement': {
164
+ [key: string]: DontUseEntityInEnergyProductionAchievementPrototype;
165
+ };
166
+ 'editor-controller': {
167
+ [key: string]: EditorControllerPrototype;
168
+ };
169
+ 'electric-energy-interface': {
170
+ [key: string]: ElectricEnergyInterfacePrototype;
171
+ };
172
+ 'electric-pole': {
173
+ [key: string]: ElectricPolePrototype;
174
+ };
175
+ 'electric-turret': {
176
+ [key: string]: ElectricTurretPrototype;
177
+ };
178
+ 'unit-spawner': {
179
+ [key: string]: EnemySpawnerPrototype;
180
+ };
181
+ 'energy-shield-equipment': {
182
+ [key: string]: EnergyShieldEquipmentPrototype;
183
+ };
184
+ 'entity-ghost': {
185
+ [key: string]: EntityGhostPrototype;
186
+ };
187
+ 'particle': {
188
+ [key: string]: EntityParticlePrototype;
189
+ };
190
+ 'equipment-category': {
191
+ [key: string]: EquipmentCategory;
192
+ };
193
+ 'equipment-grid': {
194
+ [key: string]: EquipmentGridPrototype;
195
+ };
196
+ 'explosion': {
197
+ [key: string]: ExplosionPrototype;
198
+ };
199
+ 'finish-the-game-achievement': {
200
+ [key: string]: FinishTheGameAchievementPrototype;
201
+ };
202
+ 'fire': {
203
+ [key: string]: FireFlamePrototype;
204
+ };
205
+ 'fish': {
206
+ [key: string]: FishPrototype;
207
+ };
208
+ 'flame-thrower-explosion': {
209
+ [key: string]: FlameThrowerExplosionPrototype;
210
+ };
211
+ 'fluid': {
212
+ [key: string]: FluidPrototype;
213
+ };
214
+ 'stream': {
215
+ [key: string]: FluidStreamPrototype;
216
+ };
217
+ 'fluid-turret': {
218
+ [key: string]: FluidTurretPrototype;
219
+ };
220
+ 'fluid-wagon': {
221
+ [key: string]: FluidWagonPrototype;
222
+ };
223
+ 'flying-text': {
224
+ [key: string]: FlyingTextPrototype;
225
+ };
226
+ 'font': {
227
+ [key: string]: FontPrototype;
228
+ };
229
+ 'fuel-category': {
230
+ [key: string]: FuelCategory;
231
+ };
232
+ 'furnace': {
233
+ [key: string]: FurnacePrototype;
234
+ };
235
+ 'gate': {
236
+ [key: string]: GatePrototype;
237
+ };
238
+ 'generator-equipment': {
239
+ [key: string]: GeneratorEquipmentPrototype;
240
+ };
241
+ 'generator': {
242
+ [key: string]: GeneratorPrototype;
243
+ };
244
+ 'god-controller': {
245
+ [key: string]: GodControllerPrototype;
246
+ };
247
+ 'group-attack-achievement': {
248
+ [key: string]: GroupAttackAchievementPrototype;
249
+ };
250
+ 'gui-style': {
251
+ [key: string]: GuiStyle;
252
+ };
253
+ 'gun': {
254
+ [key: string]: GunPrototype;
255
+ };
256
+ 'heat-interface': {
257
+ [key: string]: HeatInterfacePrototype;
258
+ };
259
+ 'heat-pipe': {
260
+ [key: string]: HeatPipePrototype;
261
+ };
262
+ 'highlight-box': {
263
+ [key: string]: HighlightBoxEntityPrototype;
264
+ };
265
+ 'infinity-container': {
266
+ [key: string]: InfinityContainerPrototype;
267
+ };
268
+ 'infinity-pipe': {
269
+ [key: string]: InfinityPipePrototype;
270
+ };
271
+ 'inserter': {
272
+ [key: string]: InserterPrototype;
273
+ };
274
+ 'item-entity': {
275
+ [key: string]: ItemEntityPrototype;
276
+ };
277
+ 'item-group': {
278
+ [key: string]: ItemGroup;
279
+ };
280
+ 'item': {
281
+ [key: string]: ItemPrototype;
282
+ };
283
+ 'item-request-proxy': {
284
+ [key: string]: ItemRequestProxyPrototype;
285
+ };
286
+ 'item-subgroup': {
287
+ [key: string]: ItemSubGroup;
288
+ };
289
+ 'item-with-entity-data': {
290
+ [key: string]: ItemWithEntityDataPrototype;
291
+ };
292
+ 'item-with-inventory': {
293
+ [key: string]: ItemWithInventoryPrototype;
294
+ };
295
+ 'item-with-label': {
296
+ [key: string]: ItemWithLabelPrototype;
297
+ };
298
+ 'item-with-tags': {
299
+ [key: string]: ItemWithTagsPrototype;
300
+ };
301
+ 'kill-achievement': {
302
+ [key: string]: KillAchievementPrototype;
303
+ };
304
+ 'lab': {
305
+ [key: string]: LabPrototype;
306
+ };
307
+ 'lamp': {
308
+ [key: string]: LampPrototype;
309
+ };
310
+ 'land-mine': {
311
+ [key: string]: LandMinePrototype;
312
+ };
313
+ 'leaf-particle': {
314
+ [key: string]: LeafParticlePrototype;
315
+ };
316
+ 'linked-belt': {
317
+ [key: string]: LinkedBeltPrototype;
318
+ };
319
+ 'linked-container': {
320
+ [key: string]: LinkedContainerPrototype;
321
+ };
322
+ 'loader-1x1': {
323
+ [key: string]: Loader1x1Prototype;
324
+ };
325
+ 'loader': {
326
+ [key: string]: Loader1x2Prototype;
327
+ };
328
+ 'locomotive': {
329
+ [key: string]: LocomotivePrototype;
330
+ };
331
+ 'logistic-container': {
332
+ [key: string]: LogisticContainerPrototype;
333
+ };
334
+ 'logistic-robot': {
335
+ [key: string]: LogisticRobotPrototype;
336
+ };
337
+ 'map-gen-presets': {
338
+ [key: string]: MapGenPresets;
339
+ };
340
+ 'map-settings': {
341
+ [key: string]: MapSettings;
342
+ };
343
+ 'market': {
344
+ [key: string]: MarketPrototype;
345
+ };
346
+ 'mining-drill': {
347
+ [key: string]: MiningDrillPrototype;
348
+ };
349
+ 'mining-tool': {
350
+ [key: string]: MiningToolPrototype;
351
+ };
352
+ 'module-category': {
353
+ [key: string]: ModuleCategory;
354
+ };
355
+ 'module': {
356
+ [key: string]: ModulePrototype;
357
+ };
358
+ 'mouse-cursor': {
359
+ [key: string]: MouseCursor;
360
+ };
361
+ 'movement-bonus-equipment': {
362
+ [key: string]: MovementBonusEquipmentPrototype;
363
+ };
364
+ 'noise-expression': {
365
+ [key: string]: NamedNoiseExpression;
366
+ };
367
+ 'night-vision-equipment': {
368
+ [key: string]: NightVisionEquipmentPrototype;
369
+ };
370
+ 'noise-layer': {
371
+ [key: string]: NoiseLayer;
372
+ };
373
+ 'offshore-pump': {
374
+ [key: string]: OffshorePumpPrototype;
375
+ };
376
+ 'optimized-particle': {
377
+ [key: string]: ParticlePrototype;
378
+ };
379
+ 'particle-source': {
380
+ [key: string]: ParticleSourcePrototype;
381
+ };
382
+ 'pipe': {
383
+ [key: string]: PipePrototype;
384
+ };
385
+ 'pipe-to-ground': {
386
+ [key: string]: PipeToGroundPrototype;
387
+ };
388
+ 'player-damaged-achievement': {
389
+ [key: string]: PlayerDamagedAchievementPrototype;
390
+ };
391
+ 'player-port': {
392
+ [key: string]: PlayerPortPrototype;
393
+ };
394
+ 'power-switch': {
395
+ [key: string]: PowerSwitchPrototype;
396
+ };
397
+ 'produce-achievement': {
398
+ [key: string]: ProduceAchievementPrototype;
399
+ };
400
+ 'produce-per-hour-achievement': {
401
+ [key: string]: ProducePerHourAchievementPrototype;
402
+ };
403
+ 'programmable-speaker': {
404
+ [key: string]: ProgrammableSpeakerPrototype;
405
+ };
406
+ 'projectile': {
407
+ [key: string]: ProjectilePrototype;
408
+ };
409
+ 'pump': {
410
+ [key: string]: PumpPrototype;
411
+ };
412
+ 'radar': {
413
+ [key: string]: RadarPrototype;
414
+ };
415
+ 'rail-chain-signal': {
416
+ [key: string]: RailChainSignalPrototype;
417
+ };
418
+ 'rail-planner': {
419
+ [key: string]: RailPlannerPrototype;
420
+ };
421
+ 'rail-remnants': {
422
+ [key: string]: RailRemnantsPrototype;
423
+ };
424
+ 'rail-signal': {
425
+ [key: string]: RailSignalPrototype;
426
+ };
427
+ 'reactor': {
428
+ [key: string]: ReactorPrototype;
429
+ };
430
+ 'recipe-category': {
431
+ [key: string]: RecipeCategory;
432
+ };
433
+ 'recipe': {
434
+ [key: string]: RecipePrototype;
435
+ };
436
+ 'repair-tool': {
437
+ [key: string]: RepairToolPrototype;
438
+ };
439
+ 'research-achievement': {
440
+ [key: string]: ResearchAchievementPrototype;
441
+ };
442
+ 'resource-category': {
443
+ [key: string]: ResourceCategory;
444
+ };
445
+ 'resource': {
446
+ [key: string]: ResourceEntityPrototype;
447
+ };
448
+ 'roboport-equipment': {
449
+ [key: string]: RoboportEquipmentPrototype;
450
+ };
451
+ 'roboport': {
452
+ [key: string]: RoboportPrototype;
453
+ };
454
+ 'rocket-silo': {
455
+ [key: string]: RocketSiloPrototype;
456
+ };
457
+ 'rocket-silo-rocket': {
458
+ [key: string]: RocketSiloRocketPrototype;
459
+ };
460
+ 'rocket-silo-rocket-shadow': {
461
+ [key: string]: RocketSiloRocketShadowPrototype;
462
+ };
463
+ 'selection-tool': {
464
+ [key: string]: SelectionToolPrototype;
465
+ };
466
+ 'shortcut': {
467
+ [key: string]: ShortcutPrototype;
468
+ };
469
+ 'simple-entity': {
470
+ [key: string]: SimpleEntityPrototype;
471
+ };
472
+ 'simple-entity-with-force': {
473
+ [key: string]: SimpleEntityWithForcePrototype;
474
+ };
475
+ 'simple-entity-with-owner': {
476
+ [key: string]: SimpleEntityWithOwnerPrototype;
477
+ };
478
+ 'smoke': {
479
+ [key: string]: SimpleSmokePrototype;
480
+ };
481
+ 'smoke-with-trigger': {
482
+ [key: string]: SmokeWithTriggerPrototype;
483
+ };
484
+ 'solar-panel-equipment': {
485
+ [key: string]: SolarPanelEquipmentPrototype;
486
+ };
487
+ 'solar-panel': {
488
+ [key: string]: SolarPanelPrototype;
489
+ };
490
+ 'sound': {
491
+ [key: string]: SoundPrototype;
492
+ };
493
+ 'spectator-controller': {
494
+ [key: string]: SpectatorControllerPrototype;
495
+ };
496
+ 'speech-bubble': {
497
+ [key: string]: SpeechBubblePrototype;
498
+ };
499
+ 'spider-leg': {
500
+ [key: string]: SpiderLegPrototype;
501
+ };
502
+ 'spider-vehicle': {
503
+ [key: string]: SpiderVehiclePrototype;
504
+ };
505
+ 'spidertron-remote': {
506
+ [key: string]: SpidertronRemotePrototype;
507
+ };
508
+ 'splitter': {
509
+ [key: string]: SplitterPrototype;
510
+ };
511
+ 'sprite': {
512
+ [key: string]: SpritePrototype;
513
+ };
514
+ 'sticker': {
515
+ [key: string]: StickerPrototype;
516
+ };
517
+ 'storage-tank': {
518
+ [key: string]: StorageTankPrototype;
519
+ };
520
+ 'straight-rail': {
521
+ [key: string]: StraightRailPrototype;
522
+ };
523
+ 'technology': {
524
+ [key: string]: TechnologyPrototype;
525
+ };
526
+ 'tile-effect': {
527
+ [key: string]: TileEffectDefinition;
528
+ };
529
+ 'tile-ghost': {
530
+ [key: string]: TileGhostPrototype;
531
+ };
532
+ 'tile': {
533
+ [key: string]: TilePrototype;
534
+ };
535
+ 'tips-and-tricks-item': {
536
+ [key: string]: TipsAndTricksItem;
537
+ };
538
+ 'tips-and-tricks-item-category': {
539
+ [key: string]: TipsAndTricksItemCategory;
540
+ };
541
+ 'tool': {
542
+ [key: string]: ToolPrototype;
543
+ };
544
+ 'train-path-achievement': {
545
+ [key: string]: TrainPathAchievementPrototype;
546
+ };
547
+ 'train-stop': {
548
+ [key: string]: TrainStopPrototype;
549
+ };
550
+ 'transport-belt': {
551
+ [key: string]: TransportBeltPrototype;
552
+ };
553
+ 'tree': {
554
+ [key: string]: TreePrototype;
555
+ };
556
+ 'trigger-target-type': {
557
+ [key: string]: TriggerTargetType;
558
+ };
559
+ 'trivial-smoke': {
560
+ [key: string]: TrivialSmokePrototype;
561
+ };
562
+ 'turret': {
563
+ [key: string]: TurretPrototype;
564
+ };
565
+ 'tutorial': {
566
+ [key: string]: TutorialDefinition;
567
+ };
568
+ 'underground-belt': {
569
+ [key: string]: UndergroundBeltPrototype;
570
+ };
571
+ 'unit': {
572
+ [key: string]: UnitPrototype;
573
+ };
574
+ 'upgrade-item': {
575
+ [key: string]: UpgradeItemPrototype;
576
+ };
577
+ 'utility-constants': {
578
+ [key: string]: UtilityConstants;
579
+ };
580
+ 'utility-sounds': {
581
+ [key: string]: UtilitySounds;
582
+ };
583
+ 'utility-sprites': {
584
+ [key: string]: UtilitySprites;
585
+ };
586
+ 'virtual-signal': {
587
+ [key: string]: VirtualSignalPrototype;
588
+ };
589
+ 'wall': {
590
+ [key: string]: WallPrototype;
591
+ };
592
+ 'wind-sound': {
593
+ [key: string]: WindSound;
594
+ };
595
+ }
596
+ }