typed-factorio 3.19.2 → 3.21.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 +2146 -2113
- package/prototype/generated/types.d.ts +2157 -2115
- package/runtime/generated/classes.d.ts +3817 -3682
- package/runtime/generated/concepts.d.ts +472 -384
- package/runtime/generated/defines.d.ts +188 -187
- package/runtime/generated/events.d.ts +205 -205
- package/runtime/generated/global-functions.d.ts +3 -3
- package/runtime/generated/global-objects.d.ts +8 -8
@@ -233,7 +233,7 @@ declare global {
|
|
233
233
|
}
|
234
234
|
/**
|
235
235
|
* AI command exit status. See {@link LuaEntity#set_command LuaEntity::set_command}
|
236
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
236
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.behavior_result Online documentation}
|
237
237
|
*/
|
238
238
|
enum behavior_result {
|
239
239
|
in_progress,
|
@@ -257,33 +257,33 @@ declare global {
|
|
257
257
|
enum cargo_destination {
|
258
258
|
/**
|
259
259
|
* The default destination type of a cargo pod when created runtime. Setting its destination to any other type will instantly launch it.
|
260
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
260
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.cargo_destination.invalid Online documentation}
|
261
261
|
*/
|
262
262
|
invalid,
|
263
263
|
/**
|
264
264
|
* Cargo pods with orbit destination are destroyed when ascent is completed.
|
265
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
265
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.cargo_destination.orbit Online documentation}
|
266
266
|
*/
|
267
267
|
orbit,
|
268
268
|
/**
|
269
269
|
* Any cargo landing pad or space platform hub.
|
270
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
270
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.cargo_destination.station Online documentation}
|
271
271
|
*/
|
272
272
|
station,
|
273
273
|
/**
|
274
274
|
* 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.
|
275
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
275
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.cargo_destination.surface Online documentation}
|
276
276
|
*/
|
277
277
|
surface,
|
278
278
|
/**
|
279
279
|
* 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.
|
280
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
280
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.cargo_destination.space_platform Online documentation}
|
281
281
|
*/
|
282
282
|
space_platform,
|
283
283
|
}
|
284
284
|
/**
|
285
285
|
* State of a chain signal.
|
286
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
286
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.chain_signal_state Online documentation}
|
287
287
|
*/
|
288
288
|
enum chain_signal_state {
|
289
289
|
none,
|
@@ -301,73 +301,73 @@ declare global {
|
|
301
301
|
}
|
302
302
|
/**
|
303
303
|
* Command given to units describing what they should do.
|
304
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
304
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.command Online documentation}
|
305
305
|
*/
|
306
306
|
enum command {
|
307
307
|
/**
|
308
308
|
* Attack another entity.
|
309
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
309
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.command.attack Online documentation}
|
310
310
|
*/
|
311
311
|
attack = 0,
|
312
312
|
/**
|
313
313
|
* Go to a specific position.
|
314
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
314
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.command.go_to_location Online documentation}
|
315
315
|
*/
|
316
316
|
go_to_location = 1,
|
317
317
|
/**
|
318
318
|
* Chain commands together, see {@link defines.compound_command}.
|
319
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
319
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.command.compound Online documentation}
|
320
320
|
*/
|
321
321
|
compound = 2,
|
322
322
|
/**
|
323
323
|
* Do what your group wants you to do.
|
324
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
324
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.command.group Online documentation}
|
325
325
|
*/
|
326
326
|
group = 3,
|
327
327
|
/**
|
328
328
|
* Go to a place and attack what you see.
|
329
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
329
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.command.attack_area Online documentation}
|
330
330
|
*/
|
331
331
|
attack_area = 4,
|
332
332
|
/**
|
333
333
|
* Chill.
|
334
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
334
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.command.wander Online documentation}
|
335
335
|
*/
|
336
336
|
wander = 5,
|
337
337
|
/**
|
338
338
|
* Flee from another entity.
|
339
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
339
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.command.flee Online documentation}
|
340
340
|
*/
|
341
341
|
flee = 6,
|
342
342
|
/**
|
343
343
|
* Stop moving and stay where you are.
|
344
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
344
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.command.stop Online documentation}
|
345
345
|
*/
|
346
346
|
stop = 7,
|
347
347
|
/**
|
348
348
|
* Go to a position and build a base there.
|
349
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
349
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.command.build_base Online documentation}
|
350
350
|
*/
|
351
351
|
build_base = 8,
|
352
352
|
}
|
353
353
|
/**
|
354
354
|
* How commands are joined together in a compound command (see {@link defines.command.compound}).
|
355
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
355
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.compound_command Online documentation}
|
356
356
|
*/
|
357
357
|
enum compound_command {
|
358
358
|
/**
|
359
359
|
* Fail on first failure. Only succeeds if all commands (executed one after another) succeed.
|
360
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
360
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.compound_command.logical_and Online documentation}
|
361
361
|
*/
|
362
362
|
logical_and,
|
363
363
|
/**
|
364
364
|
* Succeed on first success. Only fails if all commands (executed one after another) fail.
|
365
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
365
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.compound_command.logical_or Online documentation}
|
366
366
|
*/
|
367
367
|
logical_or,
|
368
368
|
/**
|
369
369
|
* Execute all commands in sequence and fail or succeed depending on the return status of the last command.
|
370
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
370
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.compound_command.return_last Online documentation}
|
371
371
|
*/
|
372
372
|
return_last,
|
373
373
|
}
|
@@ -429,172 +429,172 @@ declare global {
|
|
429
429
|
enum type {
|
430
430
|
/**
|
431
431
|
* {@link LuaContainerControlBehavior}
|
432
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
432
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.control_behavior.type.container Online documentation}
|
433
433
|
*/
|
434
434
|
container,
|
435
435
|
/**
|
436
436
|
* {@link LuaGenericOnOffControlBehavior}
|
437
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
437
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.control_behavior.type.generic_on_off Online documentation}
|
438
438
|
*/
|
439
439
|
generic_on_off,
|
440
440
|
/**
|
441
441
|
* {@link LuaInserterControlBehavior}
|
442
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
442
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.control_behavior.type.inserter Online documentation}
|
443
443
|
*/
|
444
444
|
inserter,
|
445
445
|
/**
|
446
446
|
* {@link LuaLampControlBehavior}
|
447
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
447
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.control_behavior.type.lamp Online documentation}
|
448
448
|
*/
|
449
449
|
lamp,
|
450
450
|
/**
|
451
451
|
* {@link LuaLogisticContainerControlBehavior}
|
452
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
452
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.control_behavior.type.logistic_container Online documentation}
|
453
453
|
*/
|
454
454
|
logistic_container,
|
455
455
|
/**
|
456
456
|
* {@link LuaRoboportControlBehavior}
|
457
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
457
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.control_behavior.type.roboport Online documentation}
|
458
458
|
*/
|
459
459
|
roboport,
|
460
460
|
/**
|
461
461
|
* {@link LuaStorageTankControlBehavior}
|
462
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
462
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.control_behavior.type.storage_tank Online documentation}
|
463
463
|
*/
|
464
464
|
storage_tank,
|
465
465
|
/**
|
466
466
|
* {@link LuaTrainStopControlBehavior}
|
467
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
467
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.control_behavior.type.train_stop Online documentation}
|
468
468
|
*/
|
469
469
|
train_stop,
|
470
470
|
/**
|
471
471
|
* {@link LuaDeciderCombinatorControlBehavior}
|
472
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
472
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.control_behavior.type.decider_combinator Online documentation}
|
473
473
|
*/
|
474
474
|
decider_combinator,
|
475
475
|
/**
|
476
476
|
* {@link LuaArithmeticCombinatorControlBehavior}
|
477
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
477
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.control_behavior.type.arithmetic_combinator Online documentation}
|
478
478
|
*/
|
479
479
|
arithmetic_combinator,
|
480
480
|
/**
|
481
481
|
* {@link LuaConstantCombinatorControlBehavior}
|
482
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
482
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.control_behavior.type.constant_combinator Online documentation}
|
483
483
|
*/
|
484
484
|
constant_combinator,
|
485
485
|
/**
|
486
486
|
* {@link LuaTransportBeltControlBehavior}
|
487
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
487
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.control_behavior.type.transport_belt Online documentation}
|
488
488
|
*/
|
489
489
|
transport_belt,
|
490
490
|
/**
|
491
491
|
* {@link LuaAccumulatorControlBehavior}
|
492
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
492
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.control_behavior.type.accumulator Online documentation}
|
493
493
|
*/
|
494
494
|
accumulator,
|
495
495
|
/**
|
496
496
|
* {@link LuaRailSignalBaseControlBehavior}
|
497
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
497
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.control_behavior.type.rail_signal Online documentation}
|
498
498
|
*/
|
499
499
|
rail_signal,
|
500
500
|
/**
|
501
501
|
* {@link LuaRailSignalBaseControlBehavior}
|
502
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
502
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.control_behavior.type.rail_chain_signal Online documentation}
|
503
503
|
*/
|
504
504
|
rail_chain_signal,
|
505
505
|
/**
|
506
506
|
* {@link LuaWallControlBehavior}
|
507
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
507
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.control_behavior.type.wall Online documentation}
|
508
508
|
*/
|
509
509
|
wall,
|
510
510
|
/**
|
511
511
|
* {@link LuaMiningDrillControlBehavior}
|
512
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
512
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.control_behavior.type.mining_drill Online documentation}
|
513
513
|
*/
|
514
514
|
mining_drill,
|
515
515
|
/**
|
516
516
|
* {@link LuaProgrammableSpeakerControlBehavior}
|
517
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
517
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.control_behavior.type.programmable_speaker Online documentation}
|
518
518
|
*/
|
519
519
|
programmable_speaker,
|
520
520
|
/**
|
521
521
|
* {@link LuaAssemblingMachineControlBehavior}
|
522
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
522
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.control_behavior.type.assembling_machine Online documentation}
|
523
523
|
*/
|
524
524
|
assembling_machine,
|
525
525
|
/**
|
526
526
|
* {@link LuaPumpControlBehavior}
|
527
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
527
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.control_behavior.type.pump Online documentation}
|
528
528
|
*/
|
529
529
|
pump,
|
530
530
|
/**
|
531
531
|
* {@link LuaSelectorCombinatorControlBehavior}
|
532
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
532
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.control_behavior.type.selector_combinator Online documentation}
|
533
533
|
*/
|
534
534
|
selector_combinator,
|
535
535
|
/**
|
536
536
|
* {@link LuaRocketSiloControlBehavior}
|
537
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
537
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.control_behavior.type.rocket_silo Online documentation}
|
538
538
|
*/
|
539
539
|
rocket_silo,
|
540
540
|
/**
|
541
541
|
* {@link LuaTurretControlBehavior}
|
542
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
542
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.control_behavior.type.turret Online documentation}
|
543
543
|
*/
|
544
544
|
turret,
|
545
545
|
/**
|
546
546
|
* {@link LuaReactorControlBehavior}
|
547
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
547
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.control_behavior.type.reactor Online documentation}
|
548
548
|
*/
|
549
549
|
reactor,
|
550
550
|
/**
|
551
551
|
* {@link LuaSpacePlatformHubControlBehavior}
|
552
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
552
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.control_behavior.type.space_platform_hub Online documentation}
|
553
553
|
*/
|
554
554
|
space_platform_hub,
|
555
555
|
/**
|
556
556
|
* {@link LuaArtilleryTurretControlBehavior}
|
557
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
557
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.control_behavior.type.artillery_turret Online documentation}
|
558
558
|
*/
|
559
559
|
artillery_turret,
|
560
560
|
/**
|
561
561
|
* {@link LuaAsteroidCollectorControlBehavior}
|
562
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
562
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.control_behavior.type.asteroid_collector Online documentation}
|
563
563
|
*/
|
564
564
|
asteroid_collector,
|
565
565
|
/**
|
566
566
|
* {@link LuaRadarControlBehavior}
|
567
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
567
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.control_behavior.type.radar Online documentation}
|
568
568
|
*/
|
569
569
|
radar,
|
570
570
|
/**
|
571
571
|
* {@link LuaDisplayPanelControlBehavior}
|
572
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
572
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.control_behavior.type.display_panel Online documentation}
|
573
573
|
*/
|
574
574
|
display_panel,
|
575
575
|
/**
|
576
576
|
* {@link LuaLoaderControlBehavior}
|
577
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
577
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.control_behavior.type.loader Online documentation}
|
578
578
|
*/
|
579
579
|
loader,
|
580
580
|
/**
|
581
581
|
* {@link LuaCargoLandingPadControlBehavior}
|
582
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
582
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.control_behavior.type.cargo_landing_pad Online documentation}
|
583
583
|
*/
|
584
584
|
cargo_landing_pad,
|
585
585
|
/**
|
586
586
|
* {@link LuaAgriculturalTowerControlBehavior}
|
587
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
587
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.control_behavior.type.agricultural_tower Online documentation}
|
588
588
|
*/
|
589
589
|
agricultural_tower,
|
590
590
|
/**
|
591
591
|
* {@link LuaFurnaceControlBehavior}
|
592
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
592
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.control_behavior.type.furnace Online documentation}
|
593
593
|
*/
|
594
594
|
furnace,
|
595
595
|
/**
|
596
596
|
* {@link LuaProxyContainerControlBehavior}
|
597
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
597
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.control_behavior.type.proxy_container Online documentation}
|
598
598
|
*/
|
599
599
|
proxy_container,
|
600
600
|
}
|
@@ -602,37 +602,37 @@ declare global {
|
|
602
602
|
enum controllers {
|
603
603
|
/**
|
604
604
|
* Can't interact with the world, can only observe. Used in the multiplayer waiting-to-respawn screen.
|
605
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
605
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.controllers.ghost Online documentation}
|
606
606
|
*/
|
607
607
|
ghost,
|
608
608
|
/**
|
609
609
|
* The controller controls a character. This is the default controller in freeplay.
|
610
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
610
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.controllers.character Online documentation}
|
611
611
|
*/
|
612
612
|
character,
|
613
613
|
/**
|
614
614
|
* The controller isn't tied to a character. This is the default controller in sandbox.
|
615
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
615
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.controllers.god Online documentation}
|
616
616
|
*/
|
617
617
|
god,
|
618
618
|
/**
|
619
619
|
* The Editor Controller near ultimate power to do almost anything in the game.
|
620
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
620
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.controllers.editor Online documentation}
|
621
621
|
*/
|
622
622
|
editor,
|
623
623
|
/**
|
624
624
|
* The player can't interact with the world, and the camera pans around in a predefined manner.
|
625
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
625
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.controllers.cutscene Online documentation}
|
626
626
|
*/
|
627
627
|
cutscene,
|
628
628
|
/**
|
629
629
|
* Can't change anything in the world but can view anything.
|
630
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
630
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.controllers.spectator Online documentation}
|
631
631
|
*/
|
632
632
|
spectator,
|
633
633
|
/**
|
634
634
|
* Can't move/change items but can build ghosts/change settings.
|
635
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
635
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.controllers.remote Online documentation}
|
636
636
|
*/
|
637
637
|
remote,
|
638
638
|
}
|
@@ -694,22 +694,22 @@ declare global {
|
|
694
694
|
enum distraction {
|
695
695
|
/**
|
696
696
|
* Perform command even if someone attacks the unit.
|
697
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
697
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.distraction.none Online documentation}
|
698
698
|
*/
|
699
699
|
none,
|
700
700
|
/**
|
701
701
|
* Attack closer enemy entities with force.
|
702
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
702
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.distraction.by_enemy Online documentation}
|
703
703
|
*/
|
704
704
|
by_enemy,
|
705
705
|
/**
|
706
706
|
* Attack closer enemy entities, including entities "built" by player (belts, inserters, chests).
|
707
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
707
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.distraction.by_anything Online documentation}
|
708
708
|
*/
|
709
709
|
by_anything,
|
710
710
|
/**
|
711
711
|
* Attack when attacked.
|
712
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
712
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.distraction.by_damage Online documentation}
|
713
713
|
*/
|
714
714
|
by_damage,
|
715
715
|
}
|
@@ -718,12 +718,12 @@ declare global {
|
|
718
718
|
normal,
|
719
719
|
/**
|
720
720
|
* Used by ghosts.
|
721
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
721
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.ghost Online documentation}
|
722
722
|
*/
|
723
723
|
ghost,
|
724
724
|
/**
|
725
725
|
* Only used if set through {@link LuaEntity#status LuaEntity::status} or {@link import("factorio:prototype").ContainerPrototype#default_status ContainerPrototype::default_status}.
|
726
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
726
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.broken Online documentation}
|
727
727
|
*/
|
728
728
|
broken,
|
729
729
|
no_power,
|
@@ -737,267 +737,267 @@ declare global {
|
|
737
737
|
marked_for_deconstruction,
|
738
738
|
/**
|
739
739
|
* Used by space platform hubs.
|
740
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
740
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.paused Online documentation}
|
741
741
|
*/
|
742
742
|
paused,
|
743
743
|
/**
|
744
744
|
* Used by generators and solar panels.
|
745
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
745
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.not_plugged_in_electric_network Online documentation}
|
746
746
|
*/
|
747
747
|
not_plugged_in_electric_network,
|
748
748
|
/**
|
749
749
|
* Used by power switches.
|
750
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
750
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.networks_connected Online documentation}
|
751
751
|
*/
|
752
752
|
networks_connected,
|
753
753
|
/**
|
754
754
|
* Used by power switches.
|
755
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
755
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.networks_disconnected Online documentation}
|
756
756
|
*/
|
757
757
|
networks_disconnected,
|
758
758
|
/**
|
759
759
|
* Used by accumulators.
|
760
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
760
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.charging Online documentation}
|
761
761
|
*/
|
762
762
|
charging,
|
763
763
|
/**
|
764
764
|
* Used by accumulators.
|
765
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
765
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.discharging Online documentation}
|
766
766
|
*/
|
767
767
|
discharging,
|
768
768
|
/**
|
769
769
|
* Used by accumulators.
|
770
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
770
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.fully_charged Online documentation}
|
771
771
|
*/
|
772
772
|
fully_charged,
|
773
773
|
/**
|
774
774
|
* Used by logistic containers.
|
775
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
775
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.out_of_logistic_network Online documentation}
|
776
776
|
*/
|
777
777
|
out_of_logistic_network,
|
778
778
|
/**
|
779
779
|
* Used by assembling machines.
|
780
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
780
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.no_recipe Online documentation}
|
781
781
|
*/
|
782
782
|
no_recipe,
|
783
783
|
/**
|
784
784
|
* Used by furnaces.
|
785
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
785
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.no_ingredients Online documentation}
|
786
786
|
*/
|
787
787
|
no_ingredients,
|
788
788
|
/**
|
789
789
|
* Used by boilers, fluid turrets and fluid energy sources: Boiler has no fluid to work with.
|
790
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
790
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.no_input_fluid Online documentation}
|
791
791
|
*/
|
792
792
|
no_input_fluid,
|
793
793
|
/**
|
794
794
|
* Used by labs.
|
795
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
795
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.no_research_in_progress Online documentation}
|
796
796
|
*/
|
797
797
|
no_research_in_progress,
|
798
798
|
/**
|
799
799
|
* Used by mining drills.
|
800
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
800
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.no_minable_resources Online documentation}
|
801
801
|
*/
|
802
802
|
no_minable_resources,
|
803
803
|
/**
|
804
804
|
* Used by cargo bays.
|
805
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
805
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.not_connected_to_hub_or_pad Online documentation}
|
806
806
|
*/
|
807
807
|
not_connected_to_hub_or_pad,
|
808
808
|
/**
|
809
809
|
* Used by boilers and fluid turrets: Boiler still has some fluid but is about to run out.
|
810
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
810
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.low_input_fluid Online documentation}
|
811
811
|
*/
|
812
812
|
low_input_fluid,
|
813
813
|
/**
|
814
814
|
* Used by crafting machines.
|
815
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
815
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.fluid_ingredient_shortage Online documentation}
|
816
816
|
*/
|
817
817
|
fluid_ingredient_shortage,
|
818
818
|
/**
|
819
819
|
* Used by crafting machines, boilers, burner energy sources and reactors: Reactor/burner has full burnt result inventory, boiler has full output fluidbox.
|
820
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
820
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.full_output Online documentation}
|
821
821
|
*/
|
822
822
|
full_output,
|
823
823
|
/**
|
824
824
|
* Used by agricultural towers.
|
825
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
825
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.not_enough_space_in_output Online documentation}
|
826
826
|
*/
|
827
827
|
not_enough_space_in_output,
|
828
828
|
/**
|
829
829
|
* Used by burner energy sources.
|
830
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
830
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.full_burnt_result_output Online documentation}
|
831
831
|
*/
|
832
832
|
full_burnt_result_output,
|
833
833
|
/**
|
834
834
|
* Used by crafting machines.
|
835
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
835
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.item_ingredient_shortage Online documentation}
|
836
836
|
*/
|
837
837
|
item_ingredient_shortage,
|
838
838
|
/**
|
839
839
|
* Used by mining drills when the mining fluid is missing.
|
840
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
840
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.missing_required_fluid Online documentation}
|
841
841
|
*/
|
842
842
|
missing_required_fluid,
|
843
843
|
/**
|
844
844
|
* Used by labs.
|
845
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
845
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.missing_science_packs Online documentation}
|
846
846
|
*/
|
847
847
|
missing_science_packs,
|
848
848
|
/**
|
849
849
|
* Used by inserters.
|
850
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
850
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.waiting_for_source_items Online documentation}
|
851
851
|
*/
|
852
852
|
waiting_for_source_items,
|
853
853
|
/**
|
854
854
|
* Used by inserters when wait_for_full_hand is set.
|
855
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
855
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.waiting_for_more_items Online documentation}
|
856
856
|
*/
|
857
857
|
waiting_for_more_items,
|
858
858
|
/**
|
859
859
|
* Used by inserters and mining drills.
|
860
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
860
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.waiting_for_space_in_destination Online documentation}
|
861
861
|
*/
|
862
862
|
waiting_for_space_in_destination,
|
863
863
|
/**
|
864
864
|
* Used by the rocket silo.
|
865
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
865
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.preparing_rocket_for_launch Online documentation}
|
866
866
|
*/
|
867
867
|
preparing_rocket_for_launch,
|
868
868
|
/**
|
869
869
|
* Used by the rocket silo.
|
870
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
870
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.waiting_to_launch_rocket Online documentation}
|
871
871
|
*/
|
872
872
|
waiting_to_launch_rocket,
|
873
873
|
/**
|
874
874
|
* Used by the rocket silo.
|
875
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
875
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.waiting_for_space_in_platform_hub Online documentation}
|
876
876
|
*/
|
877
877
|
waiting_for_space_in_platform_hub,
|
878
878
|
/**
|
879
879
|
* Used by the rocket silo.
|
880
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
880
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.launching_rocket Online documentation}
|
881
881
|
*/
|
882
882
|
launching_rocket,
|
883
883
|
/**
|
884
884
|
* Used by thrusters.
|
885
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
885
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.thrust_not_required Online documentation}
|
886
886
|
*/
|
887
887
|
thrust_not_required,
|
888
888
|
/**
|
889
889
|
* Used by space platform hubs.
|
890
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
890
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.on_the_way Online documentation}
|
891
891
|
*/
|
892
892
|
on_the_way,
|
893
893
|
/**
|
894
894
|
* Used by space platform hubs.
|
895
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
895
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.waiting_in_orbit Online documentation}
|
896
896
|
*/
|
897
897
|
waiting_in_orbit,
|
898
898
|
/**
|
899
899
|
* Used by trains.
|
900
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
900
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.waiting_at_stop Online documentation}
|
901
901
|
*/
|
902
902
|
waiting_at_stop,
|
903
903
|
/**
|
904
904
|
* Used by space platform hubs.
|
905
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
905
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.waiting_for_rockets_to_arrive Online documentation}
|
906
906
|
*/
|
907
907
|
waiting_for_rockets_to_arrive,
|
908
908
|
/**
|
909
909
|
* Used by space platform hubs.
|
910
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
910
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.not_enough_thrust Online documentation}
|
911
911
|
*/
|
912
912
|
not_enough_thrust,
|
913
913
|
/**
|
914
914
|
* Used by trains.
|
915
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
915
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.destination_stop_full Online documentation}
|
916
916
|
*/
|
917
917
|
destination_stop_full,
|
918
918
|
/**
|
919
919
|
* Used by trains and space platform hubs.
|
920
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
920
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.no_path Online documentation}
|
921
921
|
*/
|
922
922
|
no_path,
|
923
923
|
/**
|
924
924
|
* Used by beacons.
|
925
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
925
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.no_modules_to_transmit Online documentation}
|
926
926
|
*/
|
927
927
|
no_modules_to_transmit,
|
928
928
|
/**
|
929
929
|
* Used by roboports.
|
930
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
930
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.recharging_after_power_outage Online documentation}
|
931
931
|
*/
|
932
932
|
recharging_after_power_outage,
|
933
933
|
/**
|
934
934
|
* Used by inserters targeting entity ghosts.
|
935
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
935
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.waiting_for_target_to_be_built Online documentation}
|
936
936
|
*/
|
937
937
|
waiting_for_target_to_be_built,
|
938
938
|
/**
|
939
939
|
* Used by inserters targeting rails.
|
940
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
940
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.waiting_for_train Online documentation}
|
941
941
|
*/
|
942
942
|
waiting_for_train,
|
943
943
|
/**
|
944
944
|
* Used by ammo turrets.
|
945
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
945
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.no_ammo Online documentation}
|
946
946
|
*/
|
947
947
|
no_ammo,
|
948
948
|
/**
|
949
949
|
* Used by heat energy sources.
|
950
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
950
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.low_temperature Online documentation}
|
951
951
|
*/
|
952
952
|
low_temperature,
|
953
953
|
/**
|
954
954
|
* Used by constant combinators: Combinator is turned off via switch in GUI.
|
955
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
955
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.disabled Online documentation}
|
956
956
|
*/
|
957
957
|
disabled,
|
958
958
|
/**
|
959
959
|
* Used by lamps.
|
960
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
960
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.turned_off_during_daytime Online documentation}
|
961
961
|
*/
|
962
962
|
turned_off_during_daytime,
|
963
963
|
/**
|
964
964
|
* Used by rail signals.
|
965
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
965
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.not_connected_to_rail Online documentation}
|
966
966
|
*/
|
967
967
|
not_connected_to_rail,
|
968
968
|
/**
|
969
969
|
* Used by rail signals.
|
970
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
970
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.cant_divide_segments Online documentation}
|
971
971
|
*/
|
972
972
|
cant_divide_segments,
|
973
973
|
/**
|
974
974
|
* Used by filter inserters.
|
975
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
975
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.no_filter Online documentation}
|
976
976
|
*/
|
977
977
|
no_filter,
|
978
978
|
/**
|
979
979
|
* Used by agricultural towers.
|
980
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
980
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.no_spot_seedable_by_inputs Online documentation}
|
981
981
|
*/
|
982
982
|
no_spot_seedable_by_inputs,
|
983
983
|
/**
|
984
984
|
* Used by agricultural towers.
|
985
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
985
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.waiting_for_plants_to_grow Online documentation}
|
986
986
|
*/
|
987
987
|
waiting_for_plants_to_grow,
|
988
988
|
/**
|
989
989
|
* Used by asteroid collectors.
|
990
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
990
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.computing_navigation Online documentation}
|
991
991
|
*/
|
992
992
|
computing_navigation,
|
993
993
|
/**
|
994
994
|
* Used by pipes, pipes to ground and storage tanks.
|
995
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
995
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.pipeline_overextended Online documentation}
|
996
996
|
*/
|
997
997
|
pipeline_overextended,
|
998
998
|
/**
|
999
999
|
* Used by assembling machines.
|
1000
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1000
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.entity_status.recipe_not_researched Online documentation}
|
1001
1001
|
*/
|
1002
1002
|
recipe_not_researched,
|
1003
1003
|
}
|
@@ -1007,8 +1007,8 @@ declare global {
|
|
1007
1007
|
yellow,
|
1008
1008
|
}
|
1009
1009
|
/**
|
1010
|
-
* See the {@linkplain https://lua-api.factorio.com/2.0.
|
1011
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1010
|
+
* See the {@linkplain https://lua-api.factorio.com/2.0.47/events.html events page} for more info on what events contain and when they get raised.
|
1011
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.events Online documentation}
|
1012
1012
|
*/
|
1013
1013
|
namespace events {
|
1014
1014
|
/**
|
@@ -1829,8 +1829,8 @@ declare global {
|
|
1829
1829
|
const script_raised_teleported: EventId<ScriptRaisedTeleportedEvent>
|
1830
1830
|
}
|
1831
1831
|
/**
|
1832
|
-
* See the {@linkplain https://lua-api.factorio.com/2.0.
|
1833
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1832
|
+
* See the {@linkplain https://lua-api.factorio.com/2.0.47/events.html events page} for more info on what events contain and when they get raised.
|
1833
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.events Online documentation}
|
1834
1834
|
*/
|
1835
1835
|
type events = (typeof events)[keyof typeof events]
|
1836
1836
|
enum flow_precision_index {
|
@@ -1846,17 +1846,17 @@ declare global {
|
|
1846
1846
|
enum game_controller_interaction {
|
1847
1847
|
/**
|
1848
1848
|
* Game controller will always hover this element regardless of type or state.
|
1849
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1849
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.game_controller_interaction.always Online documentation}
|
1850
1850
|
*/
|
1851
1851
|
always,
|
1852
1852
|
/**
|
1853
1853
|
* Never hover this element with a game controller.
|
1854
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1854
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.game_controller_interaction.never Online documentation}
|
1855
1855
|
*/
|
1856
1856
|
never,
|
1857
1857
|
/**
|
1858
1858
|
* Hover according to the element type and implementation.
|
1859
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
1859
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.game_controller_interaction.normal Online documentation}
|
1860
1860
|
*/
|
1861
1861
|
normal,
|
1862
1862
|
}
|
@@ -1924,6 +1924,7 @@ declare global {
|
|
1924
1924
|
change_active_quick_bar,
|
1925
1925
|
change_arithmetic_combinator_parameters,
|
1926
1926
|
change_entity_label,
|
1927
|
+
change_heading_riding_state,
|
1927
1928
|
change_item_label,
|
1928
1929
|
change_logistic_point_group,
|
1929
1930
|
change_multiplayer_config,
|
@@ -2184,7 +2185,7 @@ declare global {
|
|
2184
2185
|
furnace_modules,
|
2185
2186
|
/**
|
2186
2187
|
* Used for spoil result items that do not fit into the recipe slots.
|
2187
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2188
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.inventory.furnace_trash Online documentation}
|
2188
2189
|
*/
|
2189
2190
|
furnace_trash,
|
2190
2191
|
character_main,
|
@@ -2207,12 +2208,12 @@ declare global {
|
|
2207
2208
|
assembling_machine_modules,
|
2208
2209
|
/**
|
2209
2210
|
* Used when items are ejected or items held by inserters cannot be inserted due to changing the recipe with the circuit network.
|
2210
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2211
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.inventory.assembling_machine_dump Online documentation}
|
2211
2212
|
*/
|
2212
2213
|
assembling_machine_dump,
|
2213
2214
|
/**
|
2214
2215
|
* 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.
|
2215
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2216
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.inventory.assembling_machine_trash Online documentation}
|
2216
2217
|
*/
|
2217
2218
|
assembling_machine_trash,
|
2218
2219
|
lab_input,
|
@@ -2276,12 +2277,12 @@ declare global {
|
|
2276
2277
|
circuit_controlled,
|
2277
2278
|
/**
|
2278
2279
|
* Used by rocket silos.
|
2279
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2280
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.logistic_section_type.transitional_request_controlled Online documentation}
|
2280
2281
|
*/
|
2281
2282
|
transitional_request_controlled,
|
2282
2283
|
/**
|
2283
2284
|
* Used by space platform hubs.
|
2284
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2285
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.logistic_section_type.request_missing_materials_controlled Online documentation}
|
2285
2286
|
*/
|
2286
2287
|
request_missing_materials_controlled,
|
2287
2288
|
}
|
@@ -2300,17 +2301,17 @@ declare global {
|
|
2300
2301
|
enum print_skip {
|
2301
2302
|
/**
|
2302
2303
|
* Print will not be skipped.
|
2303
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2304
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.print_skip.never Online documentation}
|
2304
2305
|
*/
|
2305
2306
|
never,
|
2306
2307
|
/**
|
2307
2308
|
* Print will be skipped if same text was recently printed (within last 60 ticks). Used by most game messages.
|
2308
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2309
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.print_skip.if_redundant Online documentation}
|
2309
2310
|
*/
|
2310
2311
|
if_redundant,
|
2311
2312
|
/**
|
2312
2313
|
* Print will be skipped if same text is still visible (printed within last 1152 ticks). Used by some notifications.
|
2313
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2314
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.print_skip.if_visible Online documentation}
|
2314
2315
|
*/
|
2315
2316
|
if_visible,
|
2316
2317
|
}
|
@@ -2321,7 +2322,7 @@ declare global {
|
|
2321
2322
|
}
|
2322
2323
|
/**
|
2323
2324
|
* 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, ...}`.
|
2324
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2325
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.prototypes Online documentation}
|
2325
2326
|
*/
|
2326
2327
|
interface prototypes {
|
2327
2328
|
achievement: {
|
@@ -2712,7 +2713,7 @@ declare global {
|
|
2712
2713
|
}
|
2713
2714
|
/**
|
2714
2715
|
* 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, ...}`.
|
2715
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2716
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.prototypes Online documentation}
|
2716
2717
|
*/
|
2717
2718
|
const prototypes: prototypes
|
2718
2719
|
enum rail_connection_direction {
|
@@ -2838,128 +2839,128 @@ declare global {
|
|
2838
2839
|
enum robot_order_type {
|
2839
2840
|
/**
|
2840
2841
|
* Construct a ghost.
|
2841
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2842
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.robot_order_type.construct Online documentation}
|
2842
2843
|
*/
|
2843
2844
|
construct,
|
2844
2845
|
/**
|
2845
2846
|
* Pickup an item.
|
2846
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2847
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.robot_order_type.pickup Online documentation}
|
2847
2848
|
*/
|
2848
2849
|
pickup,
|
2849
2850
|
/**
|
2850
2851
|
* Deliver an item.
|
2851
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2852
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.robot_order_type.deliver Online documentation}
|
2852
2853
|
*/
|
2853
2854
|
deliver,
|
2854
2855
|
/**
|
2855
2856
|
* Repair an entity.
|
2856
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2857
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.robot_order_type.repair Online documentation}
|
2857
2858
|
*/
|
2858
2859
|
repair,
|
2859
2860
|
/**
|
2860
2861
|
* Deconstruct an entity.
|
2861
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2862
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.robot_order_type.deconstruct Online documentation}
|
2862
2863
|
*/
|
2863
2864
|
deconstruct,
|
2864
2865
|
/**
|
2865
2866
|
* Deliver specific items to an entity (item request proxy).
|
2866
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2867
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.robot_order_type.deliver_items Online documentation}
|
2867
2868
|
*/
|
2868
2869
|
deliver_items,
|
2869
2870
|
/**
|
2870
2871
|
* Upgrade an entity.
|
2871
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2872
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.robot_order_type.upgrade Online documentation}
|
2872
2873
|
*/
|
2873
2874
|
upgrade,
|
2874
2875
|
/**
|
2875
2876
|
* Explode a cliff.
|
2876
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2877
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.robot_order_type.explode_cliff Online documentation}
|
2877
2878
|
*/
|
2878
2879
|
explode_cliff,
|
2879
2880
|
/**
|
2880
2881
|
* Pickup items from an entity (item request proxy).
|
2881
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2882
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.robot_order_type.pickup_items Online documentation}
|
2882
2883
|
*/
|
2883
2884
|
pickup_items,
|
2884
2885
|
}
|
2885
2886
|
/**
|
2886
2887
|
* The various parts of the launch sequence of the rocket silo.
|
2887
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2888
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.rocket_silo_status Online documentation}
|
2888
2889
|
*/
|
2889
2890
|
enum rocket_silo_status {
|
2890
2891
|
/**
|
2891
2892
|
* The rocket silo is crafting rocket parts. When there are enough rocket parts, the silo will switch into the `create_rocket` state.
|
2892
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2893
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.rocket_silo_status.building_rocket Online documentation}
|
2893
2894
|
*/
|
2894
2895
|
building_rocket,
|
2895
2896
|
/**
|
2896
2897
|
* The next state is `lights_blinking_open`. The rocket silo rocket entity gets created.
|
2897
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2898
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.rocket_silo_status.create_rocket Online documentation}
|
2898
2899
|
*/
|
2899
2900
|
create_rocket,
|
2900
2901
|
/**
|
2901
2902
|
* The next state is `doors_opening`. The rocket is getting prepared for launch.
|
2902
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2903
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.rocket_silo_status.lights_blinking_open Online documentation}
|
2903
2904
|
*/
|
2904
2905
|
lights_blinking_open,
|
2905
2906
|
/**
|
2906
2907
|
* The next state is `doors_opened`. The rocket is getting prepared for launch.
|
2907
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2908
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.rocket_silo_status.doors_opening Online documentation}
|
2908
2909
|
*/
|
2909
2910
|
doors_opening,
|
2910
2911
|
/**
|
2911
2912
|
* 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.
|
2912
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2913
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.rocket_silo_status.doors_opened Online documentation}
|
2913
2914
|
*/
|
2914
2915
|
doors_opened,
|
2915
2916
|
/**
|
2916
2917
|
* 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.
|
2917
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2918
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.rocket_silo_status.rocket_rising Online documentation}
|
2918
2919
|
*/
|
2919
2920
|
rocket_rising,
|
2920
2921
|
/**
|
2921
2922
|
* 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.
|
2922
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2923
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.rocket_silo_status.arms_advance Online documentation}
|
2923
2924
|
*/
|
2924
2925
|
arms_advance,
|
2925
2926
|
/**
|
2926
2927
|
* The rocket launch can be started by the player. When the launch is started, the silo switches into the `launch_starting` state.
|
2927
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2928
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.rocket_silo_status.rocket_ready Online documentation}
|
2928
2929
|
*/
|
2929
2930
|
rocket_ready,
|
2930
2931
|
/**
|
2931
2932
|
* The next state is `launch_started`.
|
2932
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2933
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.rocket_silo_status.launch_starting Online documentation}
|
2933
2934
|
*/
|
2934
2935
|
launch_starting,
|
2935
2936
|
/**
|
2936
2937
|
* 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.
|
2937
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2938
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.rocket_silo_status.engine_starting Online documentation}
|
2938
2939
|
*/
|
2939
2940
|
engine_starting,
|
2940
2941
|
/**
|
2941
2942
|
* 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.
|
2942
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2943
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.rocket_silo_status.arms_retract Online documentation}
|
2943
2944
|
*/
|
2944
2945
|
arms_retract,
|
2945
2946
|
/**
|
2946
2947
|
* The next state is `lights_blinking_close`. The rocket is getting launched.
|
2947
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2948
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.rocket_silo_status.rocket_flying Online documentation}
|
2948
2949
|
*/
|
2949
2950
|
rocket_flying,
|
2950
2951
|
/**
|
2951
2952
|
* The next state is `doors_closing`.
|
2952
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2953
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.rocket_silo_status.lights_blinking_close Online documentation}
|
2953
2954
|
*/
|
2954
2955
|
lights_blinking_close,
|
2955
2956
|
/**
|
2956
2957
|
* The next state is `building_rocket`.
|
2957
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2958
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.rocket_silo_status.doors_closing Online documentation}
|
2958
2959
|
*/
|
2959
2960
|
doors_closing,
|
2960
2961
|
/**
|
2961
2962
|
* 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.
|
2962
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2963
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.rocket_silo_status.launch_started Online documentation}
|
2963
2964
|
*/
|
2964
2965
|
launch_started,
|
2965
2966
|
}
|
@@ -2976,74 +2977,74 @@ declare global {
|
|
2976
2977
|
}
|
2977
2978
|
/**
|
2978
2979
|
* State of an ordinary rail signal.
|
2979
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2980
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.signal_state Online documentation}
|
2980
2981
|
*/
|
2981
2982
|
enum signal_state {
|
2982
2983
|
/**
|
2983
2984
|
* Green.
|
2984
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2985
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.signal_state.open Online documentation}
|
2985
2986
|
*/
|
2986
2987
|
open,
|
2987
2988
|
/**
|
2988
2989
|
* Red.
|
2989
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2990
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.signal_state.closed Online documentation}
|
2990
2991
|
*/
|
2991
2992
|
closed,
|
2992
2993
|
/**
|
2993
2994
|
* Orange.
|
2994
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
2995
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.signal_state.reserved Online documentation}
|
2995
2996
|
*/
|
2996
2997
|
reserved,
|
2997
2998
|
/**
|
2998
2999
|
* Red - From circuit network.
|
2999
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
3000
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.signal_state.reserved_by_circuit_network Online documentation}
|
3000
3001
|
*/
|
3001
3002
|
reserved_by_circuit_network,
|
3002
3003
|
}
|
3003
3004
|
enum space_platform_state {
|
3004
3005
|
/**
|
3005
3006
|
* Waiting for a starter pack.
|
3006
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
3007
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.space_platform_state.waiting_for_starter_pack Online documentation}
|
3007
3008
|
*/
|
3008
3009
|
waiting_for_starter_pack,
|
3009
3010
|
/**
|
3010
3011
|
* Starter pack was requested from the logistics system.
|
3011
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
3012
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.space_platform_state.starter_pack_requested Online documentation}
|
3012
3013
|
*/
|
3013
3014
|
starter_pack_requested,
|
3014
3015
|
/**
|
3015
3016
|
* Starter pack is on the way.
|
3016
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
3017
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.space_platform_state.starter_pack_on_the_way Online documentation}
|
3017
3018
|
*/
|
3018
3019
|
starter_pack_on_the_way,
|
3019
3020
|
/**
|
3020
3021
|
* Following the path.
|
3021
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
3022
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.space_platform_state.on_the_path Online documentation}
|
3022
3023
|
*/
|
3023
3024
|
on_the_path,
|
3024
3025
|
/**
|
3025
3026
|
* Platform is ready to leave this planet and does not accept deliveries.
|
3026
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
3027
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.space_platform_state.waiting_for_departure Online documentation}
|
3027
3028
|
*/
|
3028
3029
|
waiting_for_departure,
|
3029
3030
|
/**
|
3030
3031
|
* Doesn't have any stations in schedule.
|
3031
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
3032
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.space_platform_state.no_schedule Online documentation}
|
3032
3033
|
*/
|
3033
3034
|
no_schedule,
|
3034
3035
|
/**
|
3035
3036
|
* Doesn't have anywhere to go.
|
3036
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
3037
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.space_platform_state.no_path Online documentation}
|
3037
3038
|
*/
|
3038
3039
|
no_path,
|
3039
3040
|
/**
|
3040
3041
|
* Waiting at a station.
|
3041
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
3042
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.space_platform_state.waiting_at_station Online documentation}
|
3042
3043
|
*/
|
3043
3044
|
waiting_at_station,
|
3044
3045
|
/**
|
3045
3046
|
* Paused.
|
3046
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
3047
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.space_platform_state.paused Online documentation}
|
3047
3048
|
*/
|
3048
3049
|
paused,
|
3049
3050
|
}
|
@@ -3072,52 +3073,52 @@ declare global {
|
|
3072
3073
|
enum train_state {
|
3073
3074
|
/**
|
3074
3075
|
* Normal state -- following the path.
|
3075
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
3076
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.train_state.on_the_path Online documentation}
|
3076
3077
|
*/
|
3077
3078
|
on_the_path,
|
3078
3079
|
/**
|
3079
3080
|
* Doesn't have anywhere to go.
|
3080
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
3081
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.train_state.no_schedule Online documentation}
|
3081
3082
|
*/
|
3082
3083
|
no_schedule,
|
3083
3084
|
/**
|
3084
3085
|
* Has no path and is stopped.
|
3085
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
3086
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.train_state.no_path Online documentation}
|
3086
3087
|
*/
|
3087
3088
|
no_path,
|
3088
3089
|
/**
|
3089
3090
|
* Braking before a rail signal.
|
3090
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
3091
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.train_state.arrive_signal Online documentation}
|
3091
3092
|
*/
|
3092
3093
|
arrive_signal,
|
3093
3094
|
/**
|
3094
3095
|
* Waiting at a signal.
|
3095
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
3096
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.train_state.wait_signal Online documentation}
|
3096
3097
|
*/
|
3097
3098
|
wait_signal,
|
3098
3099
|
/**
|
3099
3100
|
* Braking before a station.
|
3100
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
3101
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.train_state.arrive_station Online documentation}
|
3101
3102
|
*/
|
3102
3103
|
arrive_station,
|
3103
3104
|
/**
|
3104
3105
|
* Switched to manual control and has to stop.
|
3105
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
3106
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.train_state.manual_control_stop Online documentation}
|
3106
3107
|
*/
|
3107
3108
|
manual_control_stop,
|
3108
3109
|
/**
|
3109
3110
|
* Can move if user explicitly sits in and rides the train.
|
3110
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
3111
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.train_state.manual_control Online documentation}
|
3111
3112
|
*/
|
3112
3113
|
manual_control,
|
3113
3114
|
/**
|
3114
3115
|
* Waiting at a station.
|
3115
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
3116
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.train_state.wait_station Online documentation}
|
3116
3117
|
*/
|
3117
3118
|
wait_station,
|
3118
3119
|
/**
|
3119
3120
|
* Same as no_path but all candidate train stops are full
|
3120
|
-
* @see {@link https://lua-api.factorio.com/2.0.
|
3121
|
+
* @see {@link https://lua-api.factorio.com/2.0.47/defines.html#defines.train_state.destination_full Online documentation}
|
3121
3122
|
*/
|
3122
3123
|
destination_full,
|
3123
3124
|
}
|