typed-factorio 3.32.0 → 3.35.0
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/package.json +2 -2
- package/prototype/generated/prototypes.d.ts +2253 -2235
- package/prototype/generated/types.d.ts +2191 -2194
- package/runtime/generated/classes.d.ts +4244 -4194
- package/runtime/generated/concepts.d.ts +624 -468
- package/runtime/generated/defines.d.ts +219 -216
- package/runtime/generated/events.d.ts +219 -219
- package/runtime/generated/global-functions.d.ts +3 -3
- package/runtime/generated/global-objects.d.ts +7 -7
|
@@ -277,7 +277,7 @@ declare global {
|
|
|
277
277
|
}
|
|
278
278
|
/**
|
|
279
279
|
* AI command exit status, see {@link LuaCommandable#set_command LuaCommandable::set_command}
|
|
280
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
280
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.behavior_result Online documentation}
|
|
281
281
|
*/
|
|
282
282
|
enum behavior_result {
|
|
283
283
|
in_progress,
|
|
@@ -301,33 +301,33 @@ declare global {
|
|
|
301
301
|
enum cargo_destination {
|
|
302
302
|
/**
|
|
303
303
|
* The default destination type of a cargo pod when created runtime. Setting its destination to any other type will instantly launch it.
|
|
304
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
304
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.cargo_destination.invalid Online documentation}
|
|
305
305
|
*/
|
|
306
306
|
invalid,
|
|
307
307
|
/**
|
|
308
308
|
* Cargo pods with orbit destination are destroyed when ascent is completed.
|
|
309
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
309
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.cargo_destination.orbit Online documentation}
|
|
310
310
|
*/
|
|
311
311
|
orbit,
|
|
312
312
|
/**
|
|
313
313
|
* Any cargo landing pad or space platform hub.
|
|
314
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
314
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.cargo_destination.station Online documentation}
|
|
315
315
|
*/
|
|
316
316
|
station,
|
|
317
317
|
/**
|
|
318
318
|
* Cargo pods will switch destination type from surface to station before starting descent if there is a station available and {@link CargoDestination#position CargoDestination::position} has not been specified. Note, setting the destination to "surface" when the surface is the same as the one the pod is on forces it to find and set a landing position.
|
|
319
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
319
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.cargo_destination.surface Online documentation}
|
|
320
320
|
*/
|
|
321
321
|
surface,
|
|
322
322
|
/**
|
|
323
323
|
* 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 defines.cargo_destination.station station} destination type instead.
|
|
324
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
324
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.cargo_destination.space_platform Online documentation}
|
|
325
325
|
*/
|
|
326
326
|
space_platform,
|
|
327
327
|
}
|
|
328
328
|
/**
|
|
329
329
|
* State of a chain signal.
|
|
330
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
330
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.chain_signal_state Online documentation}
|
|
331
331
|
*/
|
|
332
332
|
enum chain_signal_state {
|
|
333
333
|
none,
|
|
@@ -345,73 +345,73 @@ declare global {
|
|
|
345
345
|
}
|
|
346
346
|
/**
|
|
347
347
|
* Command given to units describing what they should do.
|
|
348
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
348
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.command Online documentation}
|
|
349
349
|
*/
|
|
350
350
|
enum command {
|
|
351
351
|
/**
|
|
352
352
|
* Attack another entity.
|
|
353
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
353
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.command.attack Online documentation}
|
|
354
354
|
*/
|
|
355
355
|
attack = 0,
|
|
356
356
|
/**
|
|
357
357
|
* Go to a specific position.
|
|
358
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
358
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.command.go_to_location Online documentation}
|
|
359
359
|
*/
|
|
360
360
|
go_to_location = 1,
|
|
361
361
|
/**
|
|
362
362
|
* Chain commands together, see {@link defines.compound_command}.
|
|
363
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
363
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.command.compound Online documentation}
|
|
364
364
|
*/
|
|
365
365
|
compound = 2,
|
|
366
366
|
/**
|
|
367
367
|
* Do what your group wants you to do.
|
|
368
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
368
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.command.group Online documentation}
|
|
369
369
|
*/
|
|
370
370
|
group = 3,
|
|
371
371
|
/**
|
|
372
372
|
* Go to a place and attack what you see.
|
|
373
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
373
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.command.attack_area Online documentation}
|
|
374
374
|
*/
|
|
375
375
|
attack_area = 4,
|
|
376
376
|
/**
|
|
377
377
|
* Chill.
|
|
378
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
378
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.command.wander Online documentation}
|
|
379
379
|
*/
|
|
380
380
|
wander = 5,
|
|
381
381
|
/**
|
|
382
382
|
* Flee from another entity.
|
|
383
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
383
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.command.flee Online documentation}
|
|
384
384
|
*/
|
|
385
385
|
flee = 6,
|
|
386
386
|
/**
|
|
387
387
|
* Stop moving and stay where you are.
|
|
388
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
388
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.command.stop Online documentation}
|
|
389
389
|
*/
|
|
390
390
|
stop = 7,
|
|
391
391
|
/**
|
|
392
392
|
* Go to a position and build a base there.
|
|
393
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
393
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.command.build_base Online documentation}
|
|
394
394
|
*/
|
|
395
395
|
build_base = 8,
|
|
396
396
|
}
|
|
397
397
|
/**
|
|
398
398
|
* How commands are joined together in a compound command (see {@link defines.command.compound}).
|
|
399
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
399
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.compound_command Online documentation}
|
|
400
400
|
*/
|
|
401
401
|
enum compound_command {
|
|
402
402
|
/**
|
|
403
403
|
* Fail on first failure. Only succeeds if all commands (executed one after another) succeed.
|
|
404
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
404
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.compound_command.logical_and Online documentation}
|
|
405
405
|
*/
|
|
406
406
|
logical_and,
|
|
407
407
|
/**
|
|
408
408
|
* Succeed on first success. Only fails if all commands (executed one after another) fail.
|
|
409
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
409
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.compound_command.logical_or Online documentation}
|
|
410
410
|
*/
|
|
411
411
|
logical_or,
|
|
412
412
|
/**
|
|
413
413
|
* Execute all commands in sequence and fail or succeed depending on the return status of the last command.
|
|
414
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
414
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.compound_command.return_last Online documentation}
|
|
415
415
|
*/
|
|
416
416
|
return_last,
|
|
417
417
|
}
|
|
@@ -473,177 +473,177 @@ declare global {
|
|
|
473
473
|
enum type {
|
|
474
474
|
/**
|
|
475
475
|
* {@link LuaContainerControlBehavior}
|
|
476
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
476
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.control_behavior.type.container Online documentation}
|
|
477
477
|
*/
|
|
478
478
|
container,
|
|
479
479
|
/**
|
|
480
480
|
* {@link LuaGenericOnOffControlBehavior}
|
|
481
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
481
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.control_behavior.type.generic_on_off Online documentation}
|
|
482
482
|
*/
|
|
483
483
|
generic_on_off,
|
|
484
484
|
/**
|
|
485
485
|
* {@link LuaInserterControlBehavior}
|
|
486
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
486
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.control_behavior.type.inserter Online documentation}
|
|
487
487
|
*/
|
|
488
488
|
inserter,
|
|
489
489
|
/**
|
|
490
490
|
* {@link LuaLampControlBehavior}
|
|
491
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
491
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.control_behavior.type.lamp Online documentation}
|
|
492
492
|
*/
|
|
493
493
|
lamp,
|
|
494
494
|
/**
|
|
495
495
|
* {@link LuaLogisticContainerControlBehavior}
|
|
496
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
496
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.control_behavior.type.logistic_container Online documentation}
|
|
497
497
|
*/
|
|
498
498
|
logistic_container,
|
|
499
499
|
/**
|
|
500
500
|
* {@link LuaRoboportControlBehavior}
|
|
501
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
501
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.control_behavior.type.roboport Online documentation}
|
|
502
502
|
*/
|
|
503
503
|
roboport,
|
|
504
504
|
/**
|
|
505
505
|
* {@link LuaStorageTankControlBehavior}
|
|
506
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
506
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.control_behavior.type.storage_tank Online documentation}
|
|
507
507
|
*/
|
|
508
508
|
storage_tank,
|
|
509
509
|
/**
|
|
510
510
|
* {@link LuaTrainStopControlBehavior}
|
|
511
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
511
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.control_behavior.type.train_stop Online documentation}
|
|
512
512
|
*/
|
|
513
513
|
train_stop,
|
|
514
514
|
/**
|
|
515
515
|
* {@link LuaDeciderCombinatorControlBehavior}
|
|
516
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
516
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.control_behavior.type.decider_combinator Online documentation}
|
|
517
517
|
*/
|
|
518
518
|
decider_combinator,
|
|
519
519
|
/**
|
|
520
520
|
* {@link LuaArithmeticCombinatorControlBehavior}
|
|
521
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
521
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.control_behavior.type.arithmetic_combinator Online documentation}
|
|
522
522
|
*/
|
|
523
523
|
arithmetic_combinator,
|
|
524
524
|
/**
|
|
525
525
|
* {@link LuaConstantCombinatorControlBehavior}
|
|
526
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
526
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.control_behavior.type.constant_combinator Online documentation}
|
|
527
527
|
*/
|
|
528
528
|
constant_combinator,
|
|
529
529
|
/**
|
|
530
530
|
* {@link LuaTransportBeltControlBehavior}
|
|
531
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
531
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.control_behavior.type.transport_belt Online documentation}
|
|
532
532
|
*/
|
|
533
533
|
transport_belt,
|
|
534
534
|
/**
|
|
535
535
|
* {@link LuaAccumulatorControlBehavior}
|
|
536
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
536
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.control_behavior.type.accumulator Online documentation}
|
|
537
537
|
*/
|
|
538
538
|
accumulator,
|
|
539
539
|
/**
|
|
540
540
|
* {@link LuaRailSignalBaseControlBehavior}
|
|
541
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
541
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.control_behavior.type.rail_signal Online documentation}
|
|
542
542
|
*/
|
|
543
543
|
rail_signal,
|
|
544
544
|
/**
|
|
545
545
|
* {@link LuaRailSignalBaseControlBehavior}
|
|
546
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
546
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.control_behavior.type.rail_chain_signal Online documentation}
|
|
547
547
|
*/
|
|
548
548
|
rail_chain_signal,
|
|
549
549
|
/**
|
|
550
550
|
* {@link LuaWallControlBehavior}
|
|
551
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
551
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.control_behavior.type.wall Online documentation}
|
|
552
552
|
*/
|
|
553
553
|
wall,
|
|
554
554
|
/**
|
|
555
555
|
* {@link LuaMiningDrillControlBehavior}
|
|
556
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
556
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.control_behavior.type.mining_drill Online documentation}
|
|
557
557
|
*/
|
|
558
558
|
mining_drill,
|
|
559
559
|
/**
|
|
560
560
|
* {@link LuaProgrammableSpeakerControlBehavior}
|
|
561
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
561
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.control_behavior.type.programmable_speaker Online documentation}
|
|
562
562
|
*/
|
|
563
563
|
programmable_speaker,
|
|
564
564
|
/**
|
|
565
565
|
* {@link LuaAssemblingMachineControlBehavior}
|
|
566
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
566
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.control_behavior.type.assembling_machine Online documentation}
|
|
567
567
|
*/
|
|
568
568
|
assembling_machine,
|
|
569
569
|
/**
|
|
570
570
|
* {@link LuaPumpControlBehavior}
|
|
571
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
571
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.control_behavior.type.pump Online documentation}
|
|
572
572
|
*/
|
|
573
573
|
pump,
|
|
574
574
|
/**
|
|
575
575
|
* {@link LuaSelectorCombinatorControlBehavior}
|
|
576
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
576
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.control_behavior.type.selector_combinator Online documentation}
|
|
577
577
|
*/
|
|
578
578
|
selector_combinator,
|
|
579
579
|
/**
|
|
580
580
|
* {@link LuaRocketSiloControlBehavior}
|
|
581
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
581
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.control_behavior.type.rocket_silo Online documentation}
|
|
582
582
|
*/
|
|
583
583
|
rocket_silo,
|
|
584
584
|
/**
|
|
585
585
|
* {@link LuaTurretControlBehavior}
|
|
586
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
586
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.control_behavior.type.turret Online documentation}
|
|
587
587
|
*/
|
|
588
588
|
turret,
|
|
589
589
|
/**
|
|
590
590
|
* {@link LuaReactorControlBehavior}
|
|
591
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
591
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.control_behavior.type.reactor Online documentation}
|
|
592
592
|
*/
|
|
593
593
|
reactor,
|
|
594
594
|
/**
|
|
595
595
|
* {@link LuaSpacePlatformHubControlBehavior}
|
|
596
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
596
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.control_behavior.type.space_platform_hub Online documentation}
|
|
597
597
|
*/
|
|
598
598
|
space_platform_hub,
|
|
599
599
|
/**
|
|
600
600
|
* {@link LuaArtilleryTurretControlBehavior}
|
|
601
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
601
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.control_behavior.type.artillery_turret Online documentation}
|
|
602
602
|
*/
|
|
603
603
|
artillery_turret,
|
|
604
604
|
/**
|
|
605
605
|
* {@link LuaAsteroidCollectorControlBehavior}
|
|
606
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
606
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.control_behavior.type.asteroid_collector Online documentation}
|
|
607
607
|
*/
|
|
608
608
|
asteroid_collector,
|
|
609
609
|
/**
|
|
610
610
|
* {@link LuaRadarControlBehavior}
|
|
611
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
611
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.control_behavior.type.radar Online documentation}
|
|
612
612
|
*/
|
|
613
613
|
radar,
|
|
614
614
|
/**
|
|
615
615
|
* {@link LuaDisplayPanelControlBehavior}
|
|
616
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
616
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.control_behavior.type.display_panel Online documentation}
|
|
617
617
|
*/
|
|
618
618
|
display_panel,
|
|
619
619
|
/**
|
|
620
620
|
* {@link LuaLoaderControlBehavior}
|
|
621
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
621
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.control_behavior.type.loader Online documentation}
|
|
622
622
|
*/
|
|
623
623
|
loader,
|
|
624
624
|
/**
|
|
625
625
|
* {@link LuaCargoLandingPadControlBehavior}
|
|
626
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
626
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.control_behavior.type.cargo_landing_pad Online documentation}
|
|
627
627
|
*/
|
|
628
628
|
cargo_landing_pad,
|
|
629
629
|
/**
|
|
630
630
|
* {@link LuaAgriculturalTowerControlBehavior}
|
|
631
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
631
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.control_behavior.type.agricultural_tower Online documentation}
|
|
632
632
|
*/
|
|
633
633
|
agricultural_tower,
|
|
634
634
|
/**
|
|
635
635
|
* {@link LuaFurnaceControlBehavior}
|
|
636
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
636
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.control_behavior.type.furnace Online documentation}
|
|
637
637
|
*/
|
|
638
638
|
furnace,
|
|
639
639
|
/**
|
|
640
640
|
* {@link LuaProxyContainerControlBehavior}
|
|
641
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
641
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.control_behavior.type.proxy_container Online documentation}
|
|
642
642
|
*/
|
|
643
643
|
proxy_container,
|
|
644
644
|
/**
|
|
645
645
|
* {@link LuaSplitterControlBehavior}
|
|
646
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
646
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.control_behavior.type.splitter Online documentation}
|
|
647
647
|
*/
|
|
648
648
|
splitter,
|
|
649
649
|
}
|
|
@@ -651,37 +651,37 @@ declare global {
|
|
|
651
651
|
enum controllers {
|
|
652
652
|
/**
|
|
653
653
|
* Can't interact with the world, can only observe. Used in the multiplayer waiting-to-respawn screen.
|
|
654
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
654
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.controllers.ghost Online documentation}
|
|
655
655
|
*/
|
|
656
656
|
ghost,
|
|
657
657
|
/**
|
|
658
658
|
* The controller controls a character. This is the default controller in freeplay.
|
|
659
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
659
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.controllers.character Online documentation}
|
|
660
660
|
*/
|
|
661
661
|
character,
|
|
662
662
|
/**
|
|
663
663
|
* The controller isn't tied to a character. This is the default controller in sandbox.
|
|
664
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
664
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.controllers.god Online documentation}
|
|
665
665
|
*/
|
|
666
666
|
god,
|
|
667
667
|
/**
|
|
668
668
|
* The Editor Controller near ultimate power to do almost anything in the game.
|
|
669
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
669
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.controllers.editor Online documentation}
|
|
670
670
|
*/
|
|
671
671
|
editor,
|
|
672
672
|
/**
|
|
673
673
|
* The player can't interact with the world, and the camera pans around in a predefined manner.
|
|
674
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
674
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.controllers.cutscene Online documentation}
|
|
675
675
|
*/
|
|
676
676
|
cutscene,
|
|
677
677
|
/**
|
|
678
678
|
* Can't change anything in the world but can view anything.
|
|
679
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
679
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.controllers.spectator Online documentation}
|
|
680
680
|
*/
|
|
681
681
|
spectator,
|
|
682
682
|
/**
|
|
683
683
|
* Can't move/change items but can build ghosts/change settings.
|
|
684
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
684
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.controllers.remote Online documentation}
|
|
685
685
|
*/
|
|
686
686
|
remote,
|
|
687
687
|
}
|
|
@@ -743,22 +743,22 @@ declare global {
|
|
|
743
743
|
enum distraction {
|
|
744
744
|
/**
|
|
745
745
|
* Perform command even if someone attacks the unit.
|
|
746
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
746
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.distraction.none Online documentation}
|
|
747
747
|
*/
|
|
748
748
|
none,
|
|
749
749
|
/**
|
|
750
750
|
* Attack closer enemy entities with force.
|
|
751
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
751
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.distraction.by_enemy Online documentation}
|
|
752
752
|
*/
|
|
753
753
|
by_enemy,
|
|
754
754
|
/**
|
|
755
755
|
* Attack closer enemy entities, including entities "built" by player (belts, inserters, chests).
|
|
756
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
756
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.distraction.by_anything Online documentation}
|
|
757
757
|
*/
|
|
758
758
|
by_anything,
|
|
759
759
|
/**
|
|
760
760
|
* Attack when attacked.
|
|
761
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
761
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.distraction.by_damage Online documentation}
|
|
762
762
|
*/
|
|
763
763
|
by_damage,
|
|
764
764
|
}
|
|
@@ -767,12 +767,12 @@ declare global {
|
|
|
767
767
|
normal,
|
|
768
768
|
/**
|
|
769
769
|
* Used by ghosts.
|
|
770
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
770
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.ghost Online documentation}
|
|
771
771
|
*/
|
|
772
772
|
ghost,
|
|
773
773
|
/**
|
|
774
774
|
* Only used if set through {@link import("factorio:prototype").ContainerPrototype#default_status ContainerPrototype::default_status}.
|
|
775
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
775
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.broken Online documentation}
|
|
776
776
|
*/
|
|
777
777
|
broken,
|
|
778
778
|
no_power,
|
|
@@ -786,272 +786,272 @@ declare global {
|
|
|
786
786
|
marked_for_deconstruction,
|
|
787
787
|
/**
|
|
788
788
|
* Used by space platform hubs.
|
|
789
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
789
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.paused Online documentation}
|
|
790
790
|
*/
|
|
791
791
|
paused,
|
|
792
792
|
/**
|
|
793
793
|
* Used by generators and solar panels.
|
|
794
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
794
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.not_plugged_in_electric_network Online documentation}
|
|
795
795
|
*/
|
|
796
796
|
not_plugged_in_electric_network,
|
|
797
797
|
/**
|
|
798
798
|
* Used by power switches.
|
|
799
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
799
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.networks_connected Online documentation}
|
|
800
800
|
*/
|
|
801
801
|
networks_connected,
|
|
802
802
|
/**
|
|
803
803
|
* Used by power switches.
|
|
804
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
804
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.networks_disconnected Online documentation}
|
|
805
805
|
*/
|
|
806
806
|
networks_disconnected,
|
|
807
807
|
/**
|
|
808
808
|
* Used by accumulators.
|
|
809
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
809
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.charging Online documentation}
|
|
810
810
|
*/
|
|
811
811
|
charging,
|
|
812
812
|
/**
|
|
813
813
|
* Used by accumulators.
|
|
814
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
814
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.discharging Online documentation}
|
|
815
815
|
*/
|
|
816
816
|
discharging,
|
|
817
817
|
/**
|
|
818
818
|
* Used by accumulators.
|
|
819
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
819
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.fully_charged Online documentation}
|
|
820
820
|
*/
|
|
821
821
|
fully_charged,
|
|
822
822
|
/**
|
|
823
823
|
* Used by logistic containers.
|
|
824
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
824
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.out_of_logistic_network Online documentation}
|
|
825
825
|
*/
|
|
826
826
|
out_of_logistic_network,
|
|
827
827
|
/**
|
|
828
828
|
* Used by assembling machines.
|
|
829
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
829
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.no_recipe Online documentation}
|
|
830
830
|
*/
|
|
831
831
|
no_recipe,
|
|
832
832
|
/**
|
|
833
833
|
* Used by furnaces.
|
|
834
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
834
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.no_ingredients Online documentation}
|
|
835
835
|
*/
|
|
836
836
|
no_ingredients,
|
|
837
837
|
/**
|
|
838
838
|
* Used by boilers, fluid turrets and fluid energy sources: Boiler has no fluid to work with.
|
|
839
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
839
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.no_input_fluid Online documentation}
|
|
840
840
|
*/
|
|
841
841
|
no_input_fluid,
|
|
842
842
|
/**
|
|
843
843
|
* Used by labs.
|
|
844
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
844
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.no_research_in_progress Online documentation}
|
|
845
845
|
*/
|
|
846
846
|
no_research_in_progress,
|
|
847
847
|
/**
|
|
848
848
|
* Used by mining drills.
|
|
849
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
849
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.no_minable_resources Online documentation}
|
|
850
850
|
*/
|
|
851
851
|
no_minable_resources,
|
|
852
852
|
/**
|
|
853
853
|
* Used by cargo bays.
|
|
854
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
854
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.not_connected_to_hub_or_pad Online documentation}
|
|
855
855
|
*/
|
|
856
856
|
not_connected_to_hub_or_pad,
|
|
857
857
|
/**
|
|
858
858
|
* Used by boilers and fluid turrets: Boiler still has some fluid but is about to run out.
|
|
859
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
859
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.low_input_fluid Online documentation}
|
|
860
860
|
*/
|
|
861
861
|
low_input_fluid,
|
|
862
862
|
/**
|
|
863
863
|
* Used by crafting machines.
|
|
864
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
864
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.fluid_ingredient_shortage Online documentation}
|
|
865
865
|
*/
|
|
866
866
|
fluid_ingredient_shortage,
|
|
867
867
|
/**
|
|
868
868
|
* Used by crafting machines, boilers, burner energy sources and reactors: Reactor/burner has full burnt result inventory, boiler has full output fluidbox.
|
|
869
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
869
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.full_output Online documentation}
|
|
870
870
|
*/
|
|
871
871
|
full_output,
|
|
872
872
|
/**
|
|
873
873
|
* Used by agricultural towers.
|
|
874
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
874
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.not_enough_space_in_output Online documentation}
|
|
875
875
|
*/
|
|
876
876
|
not_enough_space_in_output,
|
|
877
877
|
/**
|
|
878
878
|
* Used by burner energy sources.
|
|
879
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
879
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.full_burnt_result_output Online documentation}
|
|
880
880
|
*/
|
|
881
881
|
full_burnt_result_output,
|
|
882
882
|
/**
|
|
883
883
|
* Used by crafting machines.
|
|
884
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
884
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.item_ingredient_shortage Online documentation}
|
|
885
885
|
*/
|
|
886
886
|
item_ingredient_shortage,
|
|
887
887
|
/**
|
|
888
888
|
* Used by mining drills when the mining fluid is missing.
|
|
889
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
889
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.missing_required_fluid Online documentation}
|
|
890
890
|
*/
|
|
891
891
|
missing_required_fluid,
|
|
892
892
|
/**
|
|
893
893
|
* Used by labs.
|
|
894
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
894
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.missing_science_packs Online documentation}
|
|
895
895
|
*/
|
|
896
896
|
missing_science_packs,
|
|
897
897
|
/**
|
|
898
898
|
* Used by inserters.
|
|
899
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
899
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.waiting_for_source_items Online documentation}
|
|
900
900
|
*/
|
|
901
901
|
waiting_for_source_items,
|
|
902
902
|
/**
|
|
903
903
|
* Used by inserters when wait_for_full_hand is set.
|
|
904
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
904
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.waiting_for_more_items Online documentation}
|
|
905
905
|
*/
|
|
906
906
|
waiting_for_more_items,
|
|
907
907
|
/**
|
|
908
908
|
* Used by inserters and mining drills.
|
|
909
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
909
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.waiting_for_space_in_destination Online documentation}
|
|
910
910
|
*/
|
|
911
911
|
waiting_for_space_in_destination,
|
|
912
912
|
/**
|
|
913
913
|
* Used by the rocket silo.
|
|
914
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
914
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.preparing_rocket_for_launch Online documentation}
|
|
915
915
|
*/
|
|
916
916
|
preparing_rocket_for_launch,
|
|
917
917
|
/**
|
|
918
918
|
* Used by the rocket silo.
|
|
919
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
919
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.waiting_to_launch_rocket Online documentation}
|
|
920
920
|
*/
|
|
921
921
|
waiting_to_launch_rocket,
|
|
922
922
|
/**
|
|
923
923
|
* Used by the rocket silo.
|
|
924
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
924
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.waiting_for_space_in_platform_hub Online documentation}
|
|
925
925
|
*/
|
|
926
926
|
waiting_for_space_in_platform_hub,
|
|
927
927
|
/**
|
|
928
928
|
* Used by the rocket silo.
|
|
929
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
929
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.launching_rocket Online documentation}
|
|
930
930
|
*/
|
|
931
931
|
launching_rocket,
|
|
932
932
|
/**
|
|
933
933
|
* Used by thrusters.
|
|
934
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
934
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.thrust_not_required Online documentation}
|
|
935
935
|
*/
|
|
936
936
|
thrust_not_required,
|
|
937
937
|
/**
|
|
938
938
|
* Used by space platform hubs.
|
|
939
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
939
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.on_the_way Online documentation}
|
|
940
940
|
*/
|
|
941
941
|
on_the_way,
|
|
942
942
|
/**
|
|
943
943
|
* Used by space platform hubs.
|
|
944
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
944
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.waiting_in_orbit Online documentation}
|
|
945
945
|
*/
|
|
946
946
|
waiting_in_orbit,
|
|
947
947
|
/**
|
|
948
948
|
* Used by trains.
|
|
949
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
949
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.waiting_at_stop Online documentation}
|
|
950
950
|
*/
|
|
951
951
|
waiting_at_stop,
|
|
952
952
|
/**
|
|
953
953
|
* Used by space platform hubs.
|
|
954
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
954
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.waiting_for_rockets_to_arrive Online documentation}
|
|
955
955
|
*/
|
|
956
956
|
waiting_for_rockets_to_arrive,
|
|
957
957
|
/**
|
|
958
958
|
* Used by space platform hubs.
|
|
959
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
959
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.not_enough_thrust Online documentation}
|
|
960
960
|
*/
|
|
961
961
|
not_enough_thrust,
|
|
962
962
|
/**
|
|
963
963
|
* Used by trains.
|
|
964
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
964
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.destination_stop_full Online documentation}
|
|
965
965
|
*/
|
|
966
966
|
destination_stop_full,
|
|
967
967
|
/**
|
|
968
968
|
* Used by trains and space platform hubs.
|
|
969
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
969
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.no_path Online documentation}
|
|
970
970
|
*/
|
|
971
971
|
no_path,
|
|
972
972
|
/**
|
|
973
973
|
* Used by beacons.
|
|
974
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
974
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.no_modules_to_transmit Online documentation}
|
|
975
975
|
*/
|
|
976
976
|
no_modules_to_transmit,
|
|
977
977
|
/**
|
|
978
978
|
* Used by roboports.
|
|
979
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
979
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.recharging_after_power_outage Online documentation}
|
|
980
980
|
*/
|
|
981
981
|
recharging_after_power_outage,
|
|
982
982
|
/**
|
|
983
983
|
* Used by inserters targeting entity ghosts.
|
|
984
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
984
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.waiting_for_target_to_be_built Online documentation}
|
|
985
985
|
*/
|
|
986
986
|
waiting_for_target_to_be_built,
|
|
987
987
|
/**
|
|
988
988
|
* Used by inserters targeting rails.
|
|
989
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
989
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.waiting_for_train Online documentation}
|
|
990
990
|
*/
|
|
991
991
|
waiting_for_train,
|
|
992
992
|
/**
|
|
993
993
|
* Used by ammo turrets.
|
|
994
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
994
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.no_ammo Online documentation}
|
|
995
995
|
*/
|
|
996
996
|
no_ammo,
|
|
997
997
|
/**
|
|
998
998
|
* Used by heat energy sources.
|
|
999
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
999
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.low_temperature Online documentation}
|
|
1000
1000
|
*/
|
|
1001
1001
|
low_temperature,
|
|
1002
1002
|
/**
|
|
1003
1003
|
* Used by constant combinators: Combinator is turned off via switch in GUI.
|
|
1004
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1004
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.disabled Online documentation}
|
|
1005
1005
|
*/
|
|
1006
1006
|
disabled,
|
|
1007
1007
|
/**
|
|
1008
1008
|
* Used by lamps.
|
|
1009
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1009
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.turned_off_during_daytime Online documentation}
|
|
1010
1010
|
*/
|
|
1011
1011
|
turned_off_during_daytime,
|
|
1012
1012
|
/**
|
|
1013
1013
|
* Used by rail signals.
|
|
1014
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1014
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.not_connected_to_rail Online documentation}
|
|
1015
1015
|
*/
|
|
1016
1016
|
not_connected_to_rail,
|
|
1017
1017
|
/**
|
|
1018
1018
|
* Used by rail signals.
|
|
1019
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1019
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.cant_divide_segments Online documentation}
|
|
1020
1020
|
*/
|
|
1021
1021
|
cant_divide_segments,
|
|
1022
1022
|
/**
|
|
1023
1023
|
* Used by filter inserters.
|
|
1024
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1024
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.no_filter Online documentation}
|
|
1025
1025
|
*/
|
|
1026
1026
|
no_filter,
|
|
1027
1027
|
/**
|
|
1028
1028
|
* Used by agricultural towers.
|
|
1029
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1029
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.no_spot_seedable_by_inputs Online documentation}
|
|
1030
1030
|
*/
|
|
1031
1031
|
no_spot_seedable_by_inputs,
|
|
1032
1032
|
/**
|
|
1033
1033
|
* Used by agricultural towers.
|
|
1034
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1034
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.waiting_for_plants_to_grow Online documentation}
|
|
1035
1035
|
*/
|
|
1036
1036
|
waiting_for_plants_to_grow,
|
|
1037
1037
|
/**
|
|
1038
1038
|
* Used by asteroid collectors.
|
|
1039
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1039
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.computing_navigation Online documentation}
|
|
1040
1040
|
*/
|
|
1041
1041
|
computing_navigation,
|
|
1042
1042
|
/**
|
|
1043
1043
|
* Used by pipes, pipes to ground and storage tanks.
|
|
1044
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1044
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.pipeline_overextended Online documentation}
|
|
1045
1045
|
*/
|
|
1046
1046
|
pipeline_overextended,
|
|
1047
1047
|
/**
|
|
1048
1048
|
* Used by assembling machines.
|
|
1049
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1049
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.recipe_not_researched Online documentation}
|
|
1050
1050
|
*/
|
|
1051
1051
|
recipe_not_researched,
|
|
1052
1052
|
/**
|
|
1053
1053
|
* Used by assembling machines.
|
|
1054
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1054
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.entity_status.recipe_is_parameter Online documentation}
|
|
1055
1055
|
*/
|
|
1056
1056
|
recipe_is_parameter,
|
|
1057
1057
|
}
|
|
@@ -1061,8 +1061,8 @@ declare global {
|
|
|
1061
1061
|
yellow,
|
|
1062
1062
|
}
|
|
1063
1063
|
/**
|
|
1064
|
-
* See the {@linkplain https://lua-api.factorio.com/2.0.
|
|
1065
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
1064
|
+
* See the {@linkplain https://lua-api.factorio.com/2.0.75/events.html events page} for more info on what events contain and when they get raised.
|
|
1065
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.events Online documentation}
|
|
1066
1066
|
*/
|
|
1067
1067
|
namespace events {
|
|
1068
1068
|
/**
|
|
@@ -2008,8 +2008,8 @@ declare global {
|
|
|
2008
2008
|
const script_raised_teleported: EventId<ScriptRaisedTeleportedEvent, LuaScriptRaisedTeleportedEventFilter>
|
|
2009
2009
|
}
|
|
2010
2010
|
/**
|
|
2011
|
-
* See the {@linkplain https://lua-api.factorio.com/2.0.
|
|
2012
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
2011
|
+
* See the {@linkplain https://lua-api.factorio.com/2.0.75/events.html events page} for more info on what events contain and when they get raised.
|
|
2012
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.events Online documentation}
|
|
2013
2013
|
*/
|
|
2014
2014
|
type events = (typeof events)[keyof typeof events]
|
|
2015
2015
|
enum flow_precision_index {
|
|
@@ -2025,17 +2025,17 @@ declare global {
|
|
|
2025
2025
|
enum game_controller_interaction {
|
|
2026
2026
|
/**
|
|
2027
2027
|
* Game controller will always hover this element regardless of type or state.
|
|
2028
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
2028
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.game_controller_interaction.always Online documentation}
|
|
2029
2029
|
*/
|
|
2030
2030
|
always,
|
|
2031
2031
|
/**
|
|
2032
2032
|
* Never hover this element with a game controller.
|
|
2033
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
2033
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.game_controller_interaction.never Online documentation}
|
|
2034
2034
|
*/
|
|
2035
2035
|
never,
|
|
2036
2036
|
/**
|
|
2037
2037
|
* Hover according to the element type and implementation.
|
|
2038
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
2038
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.game_controller_interaction.normal Online documentation}
|
|
2039
2039
|
*/
|
|
2040
2040
|
normal,
|
|
2041
2041
|
}
|
|
@@ -2362,22 +2362,22 @@ declare global {
|
|
|
2362
2362
|
logistic_container_trash,
|
|
2363
2363
|
/**
|
|
2364
2364
|
* Deprecated, replaced by `"crafter_input"`.
|
|
2365
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
2365
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.inventory.furnace_source Online documentation}
|
|
2366
2366
|
*/
|
|
2367
2367
|
furnace_source,
|
|
2368
2368
|
/**
|
|
2369
2369
|
* Deprecated, replaced by `"crafter_output"`.
|
|
2370
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
2370
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.inventory.furnace_result Online documentation}
|
|
2371
2371
|
*/
|
|
2372
2372
|
furnace_result,
|
|
2373
2373
|
/**
|
|
2374
2374
|
* Deprecated, replaced by `"crafter_modules"`.
|
|
2375
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
2375
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.inventory.furnace_modules Online documentation}
|
|
2376
2376
|
*/
|
|
2377
2377
|
furnace_modules,
|
|
2378
2378
|
/**
|
|
2379
2379
|
* Deprecated, replaced by `"crafter_trash"`.
|
|
2380
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
2380
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.inventory.furnace_trash Online documentation}
|
|
2381
2381
|
*/
|
|
2382
2382
|
furnace_trash,
|
|
2383
2383
|
character_main,
|
|
@@ -2397,27 +2397,27 @@ declare global {
|
|
|
2397
2397
|
robot_repair,
|
|
2398
2398
|
/**
|
|
2399
2399
|
* Deprecated, replaced by `"crafter_input"`.
|
|
2400
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
2400
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.inventory.assembling_machine_input Online documentation}
|
|
2401
2401
|
*/
|
|
2402
2402
|
assembling_machine_input,
|
|
2403
2403
|
/**
|
|
2404
2404
|
* Deprecated, replaced by `"crafter_output"`.
|
|
2405
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
2405
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.inventory.assembling_machine_output Online documentation}
|
|
2406
2406
|
*/
|
|
2407
2407
|
assembling_machine_output,
|
|
2408
2408
|
/**
|
|
2409
2409
|
* Deprecated, replaced by `"crafter_modules"`.
|
|
2410
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
2410
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.inventory.assembling_machine_modules Online documentation}
|
|
2411
2411
|
*/
|
|
2412
2412
|
assembling_machine_modules,
|
|
2413
2413
|
/**
|
|
2414
2414
|
* Used for ejected items, or items held by inserters that can't be inserted due the recipe being changed with the circuit network.
|
|
2415
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
2415
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.inventory.assembling_machine_dump Online documentation}
|
|
2416
2416
|
*/
|
|
2417
2417
|
assembling_machine_dump,
|
|
2418
2418
|
/**
|
|
2419
2419
|
* Deprecated, replaced by `"crafter_trash"`.
|
|
2420
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
2420
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.inventory.assembling_machine_trash Online documentation}
|
|
2421
2421
|
*/
|
|
2422
2422
|
assembling_machine_trash,
|
|
2423
2423
|
lab_input,
|
|
@@ -2429,22 +2429,22 @@ declare global {
|
|
|
2429
2429
|
rocket_silo_trash,
|
|
2430
2430
|
/**
|
|
2431
2431
|
* Deprecated, replaced by `"crafter_input"`.
|
|
2432
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
2432
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.inventory.rocket_silo_input Online documentation}
|
|
2433
2433
|
*/
|
|
2434
2434
|
rocket_silo_input,
|
|
2435
2435
|
/**
|
|
2436
2436
|
* Deprecated, replaced by `"crafter_output"`.
|
|
2437
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
2437
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.inventory.rocket_silo_output Online documentation}
|
|
2438
2438
|
*/
|
|
2439
2439
|
rocket_silo_output,
|
|
2440
2440
|
/**
|
|
2441
2441
|
* Deprecated, replaced by `"crafter_modules"`.
|
|
2442
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
2442
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.inventory.rocket_silo_modules Online documentation}
|
|
2443
2443
|
*/
|
|
2444
2444
|
rocket_silo_modules,
|
|
2445
2445
|
/**
|
|
2446
2446
|
* Inventory of cargo pod.
|
|
2447
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
2447
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.inventory.cargo_unit Online documentation}
|
|
2448
2448
|
*/
|
|
2449
2449
|
cargo_unit,
|
|
2450
2450
|
car_trunk,
|
|
@@ -2472,7 +2472,7 @@ declare global {
|
|
|
2472
2472
|
crafter_modules,
|
|
2473
2473
|
/**
|
|
2474
2474
|
* 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.
|
|
2475
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
2475
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.inventory.crafter_trash Online documentation}
|
|
2476
2476
|
*/
|
|
2477
2477
|
crafter_trash,
|
|
2478
2478
|
asteroid_collector_output,
|
|
@@ -2501,6 +2501,9 @@ declare global {
|
|
|
2501
2501
|
rocket_silo_trash_provider,
|
|
2502
2502
|
space_platform_hub_requester,
|
|
2503
2503
|
space_platform_hub_provider,
|
|
2504
|
+
cargo_landing_pad_requester,
|
|
2505
|
+
cargo_landing_pad_provider,
|
|
2506
|
+
cargo_landing_pad_trash_provider,
|
|
2504
2507
|
}
|
|
2505
2508
|
enum logistic_mode {
|
|
2506
2509
|
none,
|
|
@@ -2515,12 +2518,12 @@ declare global {
|
|
|
2515
2518
|
circuit_controlled,
|
|
2516
2519
|
/**
|
|
2517
2520
|
* Used by rocket silos.
|
|
2518
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
2521
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.logistic_section_type.transitional_request_controlled Online documentation}
|
|
2519
2522
|
*/
|
|
2520
2523
|
transitional_request_controlled,
|
|
2521
2524
|
/**
|
|
2522
2525
|
* Used by space platform hubs.
|
|
2523
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
2526
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.logistic_section_type.request_missing_materials_controlled Online documentation}
|
|
2524
2527
|
*/
|
|
2525
2528
|
request_missing_materials_controlled,
|
|
2526
2529
|
}
|
|
@@ -2539,17 +2542,17 @@ declare global {
|
|
|
2539
2542
|
enum print_skip {
|
|
2540
2543
|
/**
|
|
2541
2544
|
* Print will not be skipped.
|
|
2542
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
2545
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.print_skip.never Online documentation}
|
|
2543
2546
|
*/
|
|
2544
2547
|
never,
|
|
2545
2548
|
/**
|
|
2546
2549
|
* Print will be skipped if same text was recently printed (within last 60 ticks). Used by most game messages.
|
|
2547
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
2550
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.print_skip.if_redundant Online documentation}
|
|
2548
2551
|
*/
|
|
2549
2552
|
if_redundant,
|
|
2550
2553
|
/**
|
|
2551
2554
|
* Print will be skipped if same text is still visible (printed within last 1152 ticks). Used by some notifications.
|
|
2552
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
2555
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.print_skip.if_visible Online documentation}
|
|
2553
2556
|
*/
|
|
2554
2557
|
if_visible,
|
|
2555
2558
|
}
|
|
@@ -2560,7 +2563,7 @@ declare global {
|
|
|
2560
2563
|
}
|
|
2561
2564
|
/**
|
|
2562
2565
|
* This define describes all top-level prototypes and their associated subtypes. It is organized as a lookup table, meaning the values of all the defines is `0`. As an example, `defines.prototypes['entity']` looks like `{furnace=0, inserter=0, container=0, ...}`.
|
|
2563
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
2566
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.prototypes Online documentation}
|
|
2564
2567
|
*/
|
|
2565
2568
|
interface prototypes {
|
|
2566
2569
|
achievement: {
|
|
@@ -2955,7 +2958,7 @@ declare global {
|
|
|
2955
2958
|
}
|
|
2956
2959
|
/**
|
|
2957
2960
|
* This define describes all top-level prototypes and their associated subtypes. It is organized as a lookup table, meaning the values of all the defines is `0`. As an example, `defines.prototypes['entity']` looks like `{furnace=0, inserter=0, container=0, ...}`.
|
|
2958
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
2961
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.prototypes Online documentation}
|
|
2959
2962
|
*/
|
|
2960
2963
|
const prototypes: prototypes
|
|
2961
2964
|
enum rail_connection_direction {
|
|
@@ -3081,189 +3084,189 @@ declare global {
|
|
|
3081
3084
|
enum robot_order_type {
|
|
3082
3085
|
/**
|
|
3083
3086
|
* Construct a ghost.
|
|
3084
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3087
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.robot_order_type.construct Online documentation}
|
|
3085
3088
|
*/
|
|
3086
3089
|
construct,
|
|
3087
3090
|
/**
|
|
3088
3091
|
* Pickup an item.
|
|
3089
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3092
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.robot_order_type.pickup Online documentation}
|
|
3090
3093
|
*/
|
|
3091
3094
|
pickup,
|
|
3092
3095
|
/**
|
|
3093
3096
|
* Deliver an item.
|
|
3094
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3097
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.robot_order_type.deliver Online documentation}
|
|
3095
3098
|
*/
|
|
3096
3099
|
deliver,
|
|
3097
3100
|
/**
|
|
3098
3101
|
* Repair an entity.
|
|
3099
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3102
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.robot_order_type.repair Online documentation}
|
|
3100
3103
|
*/
|
|
3101
3104
|
repair,
|
|
3102
3105
|
/**
|
|
3103
3106
|
* Deconstruct an entity.
|
|
3104
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3107
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.robot_order_type.deconstruct Online documentation}
|
|
3105
3108
|
*/
|
|
3106
3109
|
deconstruct,
|
|
3107
3110
|
/**
|
|
3108
3111
|
* Deliver specific items to an entity (item request proxy).
|
|
3109
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3112
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.robot_order_type.deliver_items Online documentation}
|
|
3110
3113
|
*/
|
|
3111
3114
|
deliver_items,
|
|
3112
3115
|
/**
|
|
3113
3116
|
* Upgrade an entity.
|
|
3114
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3117
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.robot_order_type.upgrade Online documentation}
|
|
3115
3118
|
*/
|
|
3116
3119
|
upgrade,
|
|
3117
3120
|
/**
|
|
3118
3121
|
* Explode a cliff.
|
|
3119
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3122
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.robot_order_type.explode_cliff Online documentation}
|
|
3120
3123
|
*/
|
|
3121
3124
|
explode_cliff,
|
|
3122
3125
|
/**
|
|
3123
3126
|
* Pickup items from an entity (item request proxy).
|
|
3124
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3127
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.robot_order_type.pickup_items Online documentation}
|
|
3125
3128
|
*/
|
|
3126
3129
|
pickup_items,
|
|
3127
3130
|
}
|
|
3128
3131
|
/**
|
|
3129
3132
|
* The various parts of the launch sequence of the rocket silo.
|
|
3130
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3133
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.rocket_silo_status Online documentation}
|
|
3131
3134
|
*/
|
|
3132
3135
|
enum rocket_silo_status {
|
|
3133
3136
|
/**
|
|
3134
3137
|
* The rocket silo is crafting rocket parts. When there are enough rocket parts, the silo will switch into the `create_rocket` state.
|
|
3135
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3138
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.rocket_silo_status.building_rocket Online documentation}
|
|
3136
3139
|
*/
|
|
3137
3140
|
building_rocket,
|
|
3138
3141
|
/**
|
|
3139
3142
|
* The next state is `lights_blinking_open`. The rocket silo rocket entity gets created.
|
|
3140
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3143
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.rocket_silo_status.create_rocket Online documentation}
|
|
3141
3144
|
*/
|
|
3142
3145
|
create_rocket,
|
|
3143
3146
|
/**
|
|
3144
3147
|
* The next state is `doors_opening`. The rocket is getting prepared for launch.
|
|
3145
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3148
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.rocket_silo_status.lights_blinking_open Online documentation}
|
|
3146
3149
|
*/
|
|
3147
3150
|
lights_blinking_open,
|
|
3148
3151
|
/**
|
|
3149
3152
|
* The next state is `doors_opened`. The rocket is getting prepared for launch.
|
|
3150
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3153
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.rocket_silo_status.doors_opening Online documentation}
|
|
3151
3154
|
*/
|
|
3152
3155
|
doors_opening,
|
|
3153
3156
|
/**
|
|
3154
3157
|
* The next state is `rocket_rising` or if the rocket is destroyed in this state then the next state will be `lights_blinking_close`. The rocket is getting prepared for launch.
|
|
3155
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3158
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.rocket_silo_status.doors_opened Online documentation}
|
|
3156
3159
|
*/
|
|
3157
3160
|
doors_opened,
|
|
3158
3161
|
/**
|
|
3159
3162
|
* The next state is `arms_advance` or if the rocket is destroyed in this state then the next state will be `lights_blinking_close`. The rocket is getting prepared for launch.
|
|
3160
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3163
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.rocket_silo_status.rocket_rising Online documentation}
|
|
3161
3164
|
*/
|
|
3162
3165
|
rocket_rising,
|
|
3163
3166
|
/**
|
|
3164
3167
|
* The next state is `rocket_ready` or if the rocket is destroyed in this state then the next state will be `lights_blinking_close`. The rocket is getting prepared for launch.
|
|
3165
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3168
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.rocket_silo_status.arms_advance Online documentation}
|
|
3166
3169
|
*/
|
|
3167
3170
|
arms_advance,
|
|
3168
3171
|
/**
|
|
3169
3172
|
* The rocket launch can be started by the player. When the launch is started, the silo switches into the `launch_starting` state.
|
|
3170
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3173
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.rocket_silo_status.rocket_ready Online documentation}
|
|
3171
3174
|
*/
|
|
3172
3175
|
rocket_ready,
|
|
3173
3176
|
/**
|
|
3174
3177
|
* The next state is `launch_started`.
|
|
3175
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3178
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.rocket_silo_status.launch_starting Online documentation}
|
|
3176
3179
|
*/
|
|
3177
3180
|
launch_starting,
|
|
3178
3181
|
/**
|
|
3179
3182
|
* The next state is `arms_retract` or if the rocket is destroyed in this state then the next state will be `lights_blinking_close`. The rocket is getting launched.
|
|
3180
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3183
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.rocket_silo_status.engine_starting Online documentation}
|
|
3181
3184
|
*/
|
|
3182
3185
|
engine_starting,
|
|
3183
3186
|
/**
|
|
3184
3187
|
* The next state is `rocket_flying` or if the rocket is destroyed in this state then the next state will be `lights_blinking_close`. The rocket is getting launched.
|
|
3185
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3188
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.rocket_silo_status.arms_retract Online documentation}
|
|
3186
3189
|
*/
|
|
3187
3190
|
arms_retract,
|
|
3188
3191
|
/**
|
|
3189
3192
|
* The next state is `lights_blinking_close`. The rocket is getting launched.
|
|
3190
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3193
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.rocket_silo_status.rocket_flying Online documentation}
|
|
3191
3194
|
*/
|
|
3192
3195
|
rocket_flying,
|
|
3193
3196
|
/**
|
|
3194
3197
|
* The next state is `doors_closing`.
|
|
3195
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3198
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.rocket_silo_status.lights_blinking_close Online documentation}
|
|
3196
3199
|
*/
|
|
3197
3200
|
lights_blinking_close,
|
|
3198
3201
|
/**
|
|
3199
3202
|
* The next state is `building_rocket`.
|
|
3200
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3203
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.rocket_silo_status.doors_closing Online documentation}
|
|
3201
3204
|
*/
|
|
3202
3205
|
doors_closing,
|
|
3203
3206
|
/**
|
|
3204
3207
|
* The next state is `engine_starting` or if the rocket is destroyed in this state then the next state will be `lights_blinking_close`. The rocket is getting launched.
|
|
3205
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3208
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.rocket_silo_status.launch_started Online documentation}
|
|
3206
3209
|
*/
|
|
3207
3210
|
launch_started,
|
|
3208
3211
|
}
|
|
3209
3212
|
enum segmented_unit_activity_mode {
|
|
3210
3213
|
/**
|
|
3211
3214
|
* The segmented unit is completely asleep, only performing the bare minimum checks to wake up if needed.
|
|
3212
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3215
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.segmented_unit_activity_mode.asleep Online documentation}
|
|
3213
3216
|
*/
|
|
3214
3217
|
asleep,
|
|
3215
3218
|
/**
|
|
3216
3219
|
* The segmented unit is minimally active, reducing unnecessary entity movement and trigger effects while continuing to patrol around its territory.
|
|
3217
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3220
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.segmented_unit_activity_mode.minimal Online documentation}
|
|
3218
3221
|
*/
|
|
3219
3222
|
minimal,
|
|
3220
3223
|
/**
|
|
3221
3224
|
* The segmented unit is fully active and simulated as if it is being observed by a player.
|
|
3222
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3225
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.segmented_unit_activity_mode.full Online documentation}
|
|
3223
3226
|
*/
|
|
3224
3227
|
full,
|
|
3225
3228
|
}
|
|
3226
3229
|
enum segmented_unit_ai_state {
|
|
3227
3230
|
/**
|
|
3228
3231
|
* The segmented unit is navigating its territory's patrol path. If the unit is not assigned to a territory, then it is patrolling around the position it was created.
|
|
3229
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3232
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.segmented_unit_ai_state.patrolling Online documentation}
|
|
3230
3233
|
*/
|
|
3231
3234
|
patrolling,
|
|
3232
3235
|
/**
|
|
3233
3236
|
* The segmented unit is investigating a location where it detected a disturbance.
|
|
3234
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3237
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.segmented_unit_ai_state.investigating Online documentation}
|
|
3235
3238
|
*/
|
|
3236
3239
|
investigating,
|
|
3237
3240
|
/**
|
|
3238
3241
|
* The segmented unit is attacking an entity that is trespassing on its territory, but the segmented unit is not using its full strength.
|
|
3239
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3242
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.segmented_unit_ai_state.attacking Online documentation}
|
|
3240
3243
|
*/
|
|
3241
3244
|
attacking,
|
|
3242
3245
|
/**
|
|
3243
3246
|
* The segmented unit is angry because it was attacked and is aggressively attacking an entity with its full strength.
|
|
3244
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3247
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.segmented_unit_ai_state.enraged_at_target Online documentation}
|
|
3245
3248
|
*/
|
|
3246
3249
|
enraged_at_target,
|
|
3247
3250
|
/**
|
|
3248
3251
|
* The segmented unit is angry because it was attacked but it does not have a valid attack target, so it is wandering around trying to find a valid attack target.
|
|
3249
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3252
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.segmented_unit_ai_state.enraged_at_nothing Online documentation}
|
|
3250
3253
|
*/
|
|
3251
3254
|
enraged_at_nothing,
|
|
3252
3255
|
}
|
|
3253
3256
|
enum segmented_unit_created_cause {
|
|
3254
3257
|
/**
|
|
3255
3258
|
* The segmented unit was spawned naturally by the map generator.
|
|
3256
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3259
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.segmented_unit_created_cause.map_generated Online documentation}
|
|
3257
3260
|
*/
|
|
3258
3261
|
map_generated,
|
|
3259
3262
|
/**
|
|
3260
3263
|
* The segmented unit was created manually via script.
|
|
3261
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3264
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.segmented_unit_created_cause.script_created Online documentation}
|
|
3262
3265
|
*/
|
|
3263
3266
|
script_created,
|
|
3264
3267
|
/**
|
|
3265
3268
|
* The segmented unit was cloned from an existing segmented unit via script.
|
|
3266
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3269
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.segmented_unit_created_cause.script_cloned Online documentation}
|
|
3267
3270
|
*/
|
|
3268
3271
|
script_cloned,
|
|
3269
3272
|
}
|
|
@@ -3280,74 +3283,74 @@ declare global {
|
|
|
3280
3283
|
}
|
|
3281
3284
|
/**
|
|
3282
3285
|
* State of an ordinary rail signal.
|
|
3283
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3286
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.signal_state Online documentation}
|
|
3284
3287
|
*/
|
|
3285
3288
|
enum signal_state {
|
|
3286
3289
|
/**
|
|
3287
3290
|
* Green.
|
|
3288
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3291
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.signal_state.open Online documentation}
|
|
3289
3292
|
*/
|
|
3290
3293
|
open,
|
|
3291
3294
|
/**
|
|
3292
3295
|
* Red.
|
|
3293
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3296
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.signal_state.closed Online documentation}
|
|
3294
3297
|
*/
|
|
3295
3298
|
closed,
|
|
3296
3299
|
/**
|
|
3297
3300
|
* Orange.
|
|
3298
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3301
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.signal_state.reserved Online documentation}
|
|
3299
3302
|
*/
|
|
3300
3303
|
reserved,
|
|
3301
3304
|
/**
|
|
3302
3305
|
* Red - From circuit network.
|
|
3303
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3306
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.signal_state.reserved_by_circuit_network Online documentation}
|
|
3304
3307
|
*/
|
|
3305
3308
|
reserved_by_circuit_network,
|
|
3306
3309
|
}
|
|
3307
3310
|
enum space_platform_state {
|
|
3308
3311
|
/**
|
|
3309
3312
|
* Waiting for a starter pack.
|
|
3310
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3313
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.space_platform_state.waiting_for_starter_pack Online documentation}
|
|
3311
3314
|
*/
|
|
3312
3315
|
waiting_for_starter_pack,
|
|
3313
3316
|
/**
|
|
3314
3317
|
* Starter pack was requested from the logistics system.
|
|
3315
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3318
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.space_platform_state.starter_pack_requested Online documentation}
|
|
3316
3319
|
*/
|
|
3317
3320
|
starter_pack_requested,
|
|
3318
3321
|
/**
|
|
3319
3322
|
* Starter pack is on the way.
|
|
3320
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3323
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.space_platform_state.starter_pack_on_the_way Online documentation}
|
|
3321
3324
|
*/
|
|
3322
3325
|
starter_pack_on_the_way,
|
|
3323
3326
|
/**
|
|
3324
3327
|
* Following the path.
|
|
3325
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3328
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.space_platform_state.on_the_path Online documentation}
|
|
3326
3329
|
*/
|
|
3327
3330
|
on_the_path,
|
|
3328
3331
|
/**
|
|
3329
3332
|
* Platform is ready to leave this planet and does not accept deliveries.
|
|
3330
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3333
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.space_platform_state.waiting_for_departure Online documentation}
|
|
3331
3334
|
*/
|
|
3332
3335
|
waiting_for_departure,
|
|
3333
3336
|
/**
|
|
3334
3337
|
* Doesn't have any stations in schedule.
|
|
3335
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3338
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.space_platform_state.no_schedule Online documentation}
|
|
3336
3339
|
*/
|
|
3337
3340
|
no_schedule,
|
|
3338
3341
|
/**
|
|
3339
3342
|
* Doesn't have anywhere to go.
|
|
3340
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3343
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.space_platform_state.no_path Online documentation}
|
|
3341
3344
|
*/
|
|
3342
3345
|
no_path,
|
|
3343
3346
|
/**
|
|
3344
3347
|
* Waiting at a station.
|
|
3345
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3348
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.space_platform_state.waiting_at_station Online documentation}
|
|
3346
3349
|
*/
|
|
3347
3350
|
waiting_at_station,
|
|
3348
3351
|
/**
|
|
3349
3352
|
* Paused.
|
|
3350
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3353
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.space_platform_state.paused Online documentation}
|
|
3351
3354
|
*/
|
|
3352
3355
|
paused,
|
|
3353
3356
|
}
|
|
@@ -3378,64 +3381,64 @@ declare global {
|
|
|
3378
3381
|
enum territory_created_cause {
|
|
3379
3382
|
/**
|
|
3380
3383
|
* The territory was spawned naturally by the map generator.
|
|
3381
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3384
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.territory_created_cause.map_generated Online documentation}
|
|
3382
3385
|
*/
|
|
3383
3386
|
map_generated,
|
|
3384
3387
|
/**
|
|
3385
3388
|
* The territory was created manually via script.
|
|
3386
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3389
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.territory_created_cause.script_created Online documentation}
|
|
3387
3390
|
*/
|
|
3388
3391
|
script_created,
|
|
3389
3392
|
}
|
|
3390
3393
|
enum train_state {
|
|
3391
3394
|
/**
|
|
3392
3395
|
* Normal state -- following the path.
|
|
3393
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3396
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.train_state.on_the_path Online documentation}
|
|
3394
3397
|
*/
|
|
3395
3398
|
on_the_path,
|
|
3396
3399
|
/**
|
|
3397
3400
|
* Doesn't have anywhere to go.
|
|
3398
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3401
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.train_state.no_schedule Online documentation}
|
|
3399
3402
|
*/
|
|
3400
3403
|
no_schedule,
|
|
3401
3404
|
/**
|
|
3402
3405
|
* Has no path and is stopped.
|
|
3403
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3406
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.train_state.no_path Online documentation}
|
|
3404
3407
|
*/
|
|
3405
3408
|
no_path,
|
|
3406
3409
|
/**
|
|
3407
3410
|
* Braking before a rail signal.
|
|
3408
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3411
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.train_state.arrive_signal Online documentation}
|
|
3409
3412
|
*/
|
|
3410
3413
|
arrive_signal,
|
|
3411
3414
|
/**
|
|
3412
3415
|
* Waiting at a signal.
|
|
3413
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3416
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.train_state.wait_signal Online documentation}
|
|
3414
3417
|
*/
|
|
3415
3418
|
wait_signal,
|
|
3416
3419
|
/**
|
|
3417
3420
|
* Braking before a station.
|
|
3418
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3421
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.train_state.arrive_station Online documentation}
|
|
3419
3422
|
*/
|
|
3420
3423
|
arrive_station,
|
|
3421
3424
|
/**
|
|
3422
3425
|
* Switched to manual control and has to stop.
|
|
3423
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3426
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.train_state.manual_control_stop Online documentation}
|
|
3424
3427
|
*/
|
|
3425
3428
|
manual_control_stop,
|
|
3426
3429
|
/**
|
|
3427
3430
|
* Can move if user explicitly sits in and rides the train.
|
|
3428
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3431
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.train_state.manual_control Online documentation}
|
|
3429
3432
|
*/
|
|
3430
3433
|
manual_control,
|
|
3431
3434
|
/**
|
|
3432
3435
|
* Waiting at a station.
|
|
3433
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3436
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.train_state.wait_station Online documentation}
|
|
3434
3437
|
*/
|
|
3435
3438
|
wait_station,
|
|
3436
3439
|
/**
|
|
3437
3440
|
* Same as no_path but all candidate train stops are full
|
|
3438
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3441
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.train_state.destination_full Online documentation}
|
|
3439
3442
|
*/
|
|
3440
3443
|
destination_full,
|
|
3441
3444
|
}
|
|
@@ -3465,17 +3468,17 @@ declare global {
|
|
|
3465
3468
|
enum wire_origin {
|
|
3466
3469
|
/**
|
|
3467
3470
|
* These wires can be modified by players, scripts, and the game. They are visible to the player if the entity's `draw_circuit_wires` prototype property is set to `true` and both ends of it are on the same surface.
|
|
3468
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3471
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.wire_origin.player Online documentation}
|
|
3469
3472
|
*/
|
|
3470
3473
|
player,
|
|
3471
3474
|
/**
|
|
3472
3475
|
* These wires can be modified by scripts and the game. They are not visible to the player, irrespective of the `draw_circuit_wires` prototype property.
|
|
3473
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3476
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.wire_origin.script Online documentation}
|
|
3474
3477
|
*/
|
|
3475
3478
|
script,
|
|
3476
3479
|
/**
|
|
3477
3480
|
* These wires can only be modified by the game. They are not visible to the player, irrespective of the `draw_circuit_wires` prototype property.
|
|
3478
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
|
3481
|
+
* @see {@link https://lua-api.factorio.com/2.0.75/defines.html#defines.wire_origin.radars Online documentation}
|
|
3479
3482
|
*/
|
|
3480
3483
|
radars,
|
|
3481
3484
|
}
|